A Bug of gfortran, g77 and g95 on default optimization
Tobias Burnus
burnus@net-b.de
Mon Jun 18 16:55:00 GMT 2007
Tobias Burnus wrote:
> Sunjoong Lee wrote:
>
>> I had traced side effects of optimization levels for the legacy program;
>> -O0 level and -O1 level were different
>> but from -O1 to -O3 gave same (wrong) results on gfortran, g77 and
>> g95.
>> I tested it with pgi fortran and got same (right) results.
>>
Follow up: I can reproduce this on my Pentium M with FX's nightly build
(4.3.0) and SUSE's 4.2.1; I failed to reproduce the problem on x86-64
even using -m32 and according to Dominique it does not occur on PPC either.
The problem is tracked as
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32391
Tobias
More information about the Fortran
mailing list