gcc.dg/cpp/charconst.c vs. WCHAR_TYPE "long int"

Neil Booth neil@daikokuya.demon.co.uk
Fri Mar 22 16:12:00 GMT 2002


Richard Henderson wrote:-

> On Fri, Mar 22, 2002 at 11:42:23PM +0000, Neil Booth wrote:
> > With my cross compiler it goes in as 506806141029
> > and comes out as 101 with overflow; it should be unchanged IMO.
> 
> Why?  5e11 _does_ overflow an int.

Hmmm, you're right.  Never mind.  I'll investigate further why I
don't have the same issue on x86.

Neil.



More information about the Gcc mailing list