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


Steven Bosscher wrote:
> On Sat, Jul 24, 2010 at 9:48 AM, Tobias Burnus <burnus@net-b.de> wrote:
>>
>> For integer_exponentiation_3.F90 I could not use "eps" as the check
>> contains nearest.Thus, I use -ffloat-store.
>
> Maybe use float-store only for x86 in 32 bits mode?

You mean something like the following?

Tobias

--- gcc/testsuite/gfortran.dg/integer_exponentiation_3.F90
(revision 162498)
+++ gcc/testsuite/gfortran.dg/integer_exponentiation_3.F90      (working
copy)
@@ -1,8 +1,7 @@
 ! { dg-do run { xfail spu-*-* } }
 ! FAILs on SPU because of wrong compile-time rounding mode
-! { dg-options "-ffloat-store" }
+! { dg-options "-ffloat-store" { target i?86-*-* } }
 !
-! -ffloat-store needed for x87
 !
 module mod_check
   implicit none


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