This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]