This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Revision 162491 -- fortran -fwhole-file regressions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]