This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Possible bug in optimization
- From: "Chris Croswhite" <ccroswhite at get2chip dot com>
- To: <neil at daikokuya dot co dot uk>
- Cc: <ccroswhite at get2chip dot com>, <zack at codesourcery dot com>, <gcc-bugs at gcc dot gnu dot org>
- Date: Tue, 18 Feb 2003 13:08:56 -0800 (PST)
- Subject: Re: Possible bug in optimization
- References: <20030218210422.GC28993@daikokuya.co.uk>
- Reply-to: ccroswhite at get2chip dot com
OKAY, what rule am I not adhearing to/have broken? Is there an alternate
solution to this?
TIA,
Chris
Neil Booth said:
> Chris Croswhite wrote:-
>
>> How is this casting & masking undefined in O but -g works OKAY? Also,
>> why does 2.95.x treat this as expected? Also, Sun, HP and Intel
>> compilers treat this as expected? What am I not understanding about
>> c/c++ standard?
>
> You got lucky. Luck runs out in the end.
>
> Neil.