[patch] unbreak bootstrap on i686-apple-darwin

Andreas Tobler toa@pop.agri.ch
Fri Sep 14 19:35:00 GMT 2007


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
     #"



More information about the Gcc-patches mailing list