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: new FAILs on HEAD


On Thu, Dec 23, 2004 at 10:40:00AM +0100, Michael Ritzert wrote:
> These new FAILs appeared since the last run:
> 
> FAIL: gcc.dg/i386-387-2.c scan-assembler fsin

Huh.  I must have only looked at the results of the new tests I added.

This is testing exactly the opposite of what I would have expected --
that explicit options take precidence over inferences from -march.

Oh well.  Reverted.


r~


        * config/i386/i386.c (override_options): Revert last change
        wrt fancy 387 math.

Index: i386.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.c,v
retrieving revision 1.763
diff -c -p -d -u -r1.763 i386.c
--- i386.c	23 Dec 2004 10:20:00 -0000	1.763
+++ i386.c	23 Dec 2004 10:35:50 -0000
@@ -1469,8 +1469,7 @@ override_options (void)
 
   /* If the architecture always has an FPU, turn off NO_FANCY_MATH_387,
      since the insns won't need emulation.  */
-  if (!(target_flags_explicit & MASK_NO_FANCY_MATH_387)
-      && (x86_arch_always_fancy_math_387 & (1 << ix86_arch)))
+  if (x86_arch_always_fancy_math_387 & (1 << ix86_arch))
     target_flags &= ~MASK_NO_FANCY_MATH_387;
 
   /* Likewise, if the target doesn't have a 387, or we've specified


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