GCC 2.95.2 for AIX handles 'long long' incorrectly

Geoff Keating geoffk@cygnus.com
Wed Mar 8 17:42:00 GMT 2000


Wayne Scott <wscott@ichips.intel.com> writes:

> Attached is a simple testcase of a function that returns a 'long long'
> 
> GCC version 2.95.2 produced incorrect results when the optimizer is
> enabled.
> 
> # this is a IBM 397 with 1G of memory
> $ uname -a
> AIX pdxcs566 1 4 000111179400

This appears to be fixed in the newppc-branch and so will be fixed in
the next release.  I'm not sure what patch fixed it or whether it's
fixed in the mainline CVS.

-- 
- Geoffrey Keating <geoffk@cygnus.com>


More information about the Gcc-bugs mailing list