This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR c/6677 and al.
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: Eric Botcazou <ebotcazou at libertysurf dot fr>
- Cc: Andreas Schwab <schwab at suse dot de>, Richard Henderson <rth at redhat dot com>,gcc-patches at gcc dot gnu dot org
- Date: Wed, 29 May 2002 18:30:25 +0100
- Subject: Re: PR c/6677 and al.
- References: <je3cwb1drt.fsf@sykes.suse.de> <007301c20707$7b284f40$118824d5@zephyr>
Eric Botcazou wrote:-
> > The value of (i << 1) is undefined according to the C standard
> > (6.5.7[#4]), thus setting j to 42 would be perfectly valid. :-)
>
> Thus any argument of consistency is blown away ?
That started with the CPU when 1U << 31 was a big number, but 1U << 32
was 1.
Neil.