This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: new FAILs on HEAD
- From: Richard Henderson <rth at redhat dot com>
- To: Michael Ritzert <gcc at server2 dot mailsys dot de>
- Cc: gcc-regression at gcc dot gnu dot org, kkojima at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 23 Dec 2004 02:39:34 -0800
- Subject: Re: new FAILs on HEAD
- References: <20041223094000.GA32662@server2.mailsys.de>
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