Problem with unsigned long long on ultrasparc
David S. Miller
davem@dm.cobaltmicro.com
Thu Aug 20 18:26:00 GMT 1998
Date: Thu, 20 Aug 1998 16:22:03 -0500 (EST)
From: Brad Lucier <lucier@math.purdue.edu>
With this version of gcc:
peano-30% gcc -v
Reading specs from /opt/egcs-19980816/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.54/specs
gcc version egcs-2.91.54 19980816 (gcc2 ss-980609 experimental)
...
peano-27% gcc -O1 -mcpu=ultrasparc -o testlong testlong.c
peano-28% testlong
4294967295ll
2147483648ll
Problem
This is on Solaris 2.5.1.
Please check the latest in CVS as I believe a change I made on the
17th cures this problem, I cannot make the compiler output the code
you are seeing.
Later,
David S. Miller
davem@dm.cobaltmicro.com
More information about the Gcc-bugs
mailing list