This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] unbreak bootstrap on i686-apple-darwin
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <jh at suse dot cz>
- Date: Fri, 14 Sep 2007 21:04:39 +0200
- Subject: [patch] unbreak bootstrap on i686-apple-darwin
Hello all,
I'm going to commit this patch soon. Preaproved by Honza.
After svn r128369 the bootstrap is broken on i686-apple-darwin.
Any objections?
Thanks,
Andreas
2007-09-14 Jan Hubicka <jh@suse.cz>
* config/i386/i386.md (*floatdi<mode>2_i387): Guard against
TARGET_64BIT.
Index: config/i386/i386.md
===================================================================
--- config/i386/i386.md (revision 128445)
+++ config/i386/i386.md (working copy)
@@ -5230,7 +5230,8 @@
(float:MODEF
(match_operand:DI 1 "nonimmediate_operand" "m,?r")))]
"TARGET_80387
- && (!TARGET_SSE_MATH || !SSE_FLOAT_MODE_P (GET_MODE (operands[0])))"
+ && (!TARGET_SSE_MATH || !TARGET_64BIT
+ || !SSE_FLOAT_MODE_P (GET_MODE (operands[0])))"
"@
fild%z1\t%1
#"