This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 2.95.2 for AIX handles 'long long' incorrectly
- To: Wayne Scott <wscott at ichips dot intel dot com>
- Subject: Re: GCC 2.95.2 for AIX handles 'long long' incorrectly
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: 08 Mar 2000 17:38:35 -0800
- CC: gcc-bugs at gcc dot gnu dot org
- References: <20000308153216F.wscott@ichips.intel.com>
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>