[gfortran testsuite, committed] Re: gfortran.dg/forall_1.f90
Andreas Jaeger
aj@suse.de
Mon Jun 6 05:02:00 GMT 2005
Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de> writes:
F> Andreas Jaeger wrote:
>> The following tests fail for me on Linux/x86-64 now:
>>
>> gfortran.dg/forall_1.f90 -O1 execution test
>> gfortran.dg/forall_1.f90 -O2 execution test
>> gfortran.dg/forall_1.f90 -O3 -fomit-frame-pointer execution test
>> gfortran.dg/forall_1.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test
>> gfortran.dg/forall_1.f90 -O3 -fomit-frame-pointer -funroll-loops execution test
>> gfortran.dg/forall_1.f90 -O3 -g execution test
>>
>> Note that the test work correctly compiled as 32-bit binaries - they
>> just fail as 64-bit tests. The output is an "Aborted".
>>
> ...
>> Tobias, any ideas? Is the code they are testing not 64-bit clean?
>
> The test made the assumption that
> if (i /= 0) i = 0
> means that even if i is uninitialized in the beginning it will be zero
> afterwards. Since this is the only thing that could be affected by
> optimization, I've committed this change to the mainline and I will also put
> this on the 4.0 branch once testing finishes.
>
> Does this cure the problem?
No, it does not for me,
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050606/8b4e1fe7/attachment.sig>
More information about the Fortran
mailing list