This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bug in g77 -O2 optimization found -- resending with attachment
- To: Bernd Schmidt <bernds at redhat dot com>
- Subject: Re: bug in g77 -O2 optimization found -- resending with attachment
- From: Jonathan DeSena <jonathan dot desena at jhuapl dot edu>
- Date: Tue, 09 Jan 2001 15:29:12 -0500
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: JHU/APL
- References: <Pine.LNX.4.30.0101091731230.1268-100000@host140.cambridge.redhat.com>
Bernd Schmidt wrote:
> On Mon, 8 Jan 2001, Jonathan DeSena wrote:
>
>
>> Synopsis
>> g77 generates incorrect code for a particular looping construct
>> when optimization of -O2 or higher is used.
>>
>> Release 2.95.3 19991030 (prerelease)
>
>
> Can you reproduce this problem with 2.95.2 and the more recent 2.95.3 test
> release as well?
>
>
> Bernd
I just tested this on a Sun Ultra5 (Solaris 2.7 SPARC IIi) with g77
version 2.95.2 19991024. The result was the same: the code produced the
exact same numbers, which of course is the wrong result. (This
surprised me a little.) I do not have the output of g77 -v now as I am
writing this on my Linux PC, which is separately located from the Sun.
If you need it, I could get this output and send it too.
Also I could try downloading a more recent version of 2.95.3 if necessary.
Thanks,
JTD