Revision 162491 -- fortran -fwhole-file regressions
Tobias Burnus
burnus@net-b.de
Sat Jul 24 06:39:00 GMT 2010
Steve Kargl wrote:
> * options.c (gfc_init_options): Enable -fwhole-file by default.
> is causing
>
> FAIL: gfortran.dg/entry_13.f90 -O2 execution test
> FAIL: gfortran.dg/integer_exponentiation_3.F90 -O2 execution test
>
> on i386-*-freebsd. Please backup revision 162491
I think reverting the patch is the wrong solution. If you use
-ffloat-store, the tests are successful. The reason is that one now
inlines the function and uses the result from the register instead from
memory. And as the x87 coprocessor has an excess precision, the
comparison fails. As on x86-64 one uses SSE it works there.
I will change the tests to use "abs(a-b) > epsilon(a)" instead of "(a
/= b)".
Tobias
More information about the Gcc-patches
mailing list