This is the mail archive of the
mailing list for the GCC project.
Re: Revision 162491 -- fortran -fwhole-file regressions
- From: Tobias Burnus <burnus at net-b dot de>
- To: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sat, 24 Jul 2010 08:39:32 +0200
- Subject: Re: Revision 162491 -- fortran -fwhole-file regressions
- References: <20100724032640.GA23140@troutmask.apl.washington.edu>
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