From: mason@primenet.com.au (Geoff Wing)
To: zsh-workers@sunsite.auc.dk
Subject: Re: Bad optimisations: (Was: Test version zsh-3.1.6-test-1)
Date: 16 Jul 1999 08:26:13 GMT [thread overview]
Message-ID: <slrn7otr55.fbr.mason@coral.primenet.com.au> (raw)
In-Reply-To: <199907160634.IAA14160@beta.informatik.hu-berlin.de>
Sven Wischnowsky <wischnow@informatik.hu-berlin.de> typed:
:Geoff Wing wrote:
:> What about just expanding it slightly (with appropriate comments of course)
:> instead of duplicating it.
:> e.g.
:> if (*args && **args == '?')
:> args++;
:> /* default result parameter */
:> if (*args)
:> reply = *args++;
:> else
:> reply = ops['A'] ? "reply" : "REPLY";
:Note this isn't intended as an optimisation (of course), but to work
:around a bug in gcc-2.8.1 under DU.
I thought it may be a gcc optimisation bug. i.e. Does it appear at -O0 or
-01 or -O2? All of them?
Regards,
--
Geoff Wing : <gcw@pobox.com> Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@rxvt.org> Ego URL : http://pobox.com/~gcw/
Zsh Stuff : <gcw@zsh.org> Phone : (Australia) 0413 431 874
next prev parent reply other threads:[~1999-07-16 8:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-16 6:34 Sven Wischnowsky
1999-07-16 8:26 ` Geoff Wing [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-07-16 9:20 Sven Wischnowsky
1999-07-16 9:12 Sven Wischnowsky
1999-07-16 8:45 ` Peter Stephenson
1999-07-16 8:56 Sven Wischnowsky
[not found] <199907131130.NAA30286@beta.informatik.hu-berlin.de>
1999-07-15 16:20 ` Geoff Wing
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrn7otr55.fbr.mason@coral.primenet.com.au \
--to=mason@primenet.com.au \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).