egcs-1.1.2 miscompiles Linux (only) with glibc-2.1.1?!
Jeffrey A Law
law@cygnus.com
Wed Jun 30 23:07:00 GMT 1999
In message < r2iu85psss.fsf@happy.cygnus.com >you write:
> Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> writes:
>
> > This compile-time test for 32bit vs. 64bit is probably broken,
>
> Yes. The ISO C9x draft standard demands that the preprocessor
> arithmetic is carried out with at least 64 bits, regardless of the
> paltform.
Note that gcc-2.95 will always use at least 64bits for cpp arithmetic.
egcs-1.x is buggy in this regard because on some host/target combos it will
do cpp arithmetic using only 32bits of precision.
jeff
More information about the Gcc-bugs
mailing list