https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497

--- Comment #1 from Andi Kleen <andi-gcc at firstfloor dot org> ---
Disable check for no_caller_saved_registers enforcing non FP.

diff --git a/gcc/config/i386/i386-options.cc b/gcc/config/i386/i386-options.cc
index f79257cc764..cec652cc9e6 100644
--- a/gcc/config/i386/i386-options.cc
+++ b/gcc/config/i386/i386-options.cc
@@ -3639,8 +3639,8 @@ ix86_set_current_function (tree fndecl)
     reinit_regs ();

   if (cfun->machine->func_type != TYPE_NORMAL
-      || (cfun->machine->call_saved_registers
-         == TYPE_NO_CALLER_SAVED_REGISTERS))
+      /* || (cfun->machine->call_saved_registers
+        == TYPE_NO_CALLER_SAVED_REGISTERS) */)
     {
       /* Don't allow SSE, MMX nor x87 instructions since they
         may change processor state.  */

Reply via email to