]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/58269 (ICE when building libobjc on x86_64-apple-darwin* after revision...
authorIain Sandoe <iain@codesourcery.com>
Sat, 14 Sep 2013 11:09:55 +0000 (11:09 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sat, 14 Sep 2013 11:09:55 +0000 (11:09 +0000)
gcc:

PR target/58269
config/i386/i386.c (ix86_function_arg_regno_p): Make Darwin use the
xmm register set described in the psABI.

From-SVN: r202590

gcc/ChangeLog
gcc/config/i386/i386.c

index 0224228f253df2f3e32325fa870c153ba4b73e78..5113efd4404ad586e9cde6f383400c73dad47403 100644 (file)
@@ -1,3 +1,9 @@
+2013-09-14  Iain Sandoe  <iain@codesourcery.com>
+
+       PR target/58269
+       config/i386/i386.c (ix86_function_arg_regno_p): Make Darwin use the
+       xmm register set described in the psABI.
+
 2013-09-13  Evgeny Gavrin <e.gavrin@samsung.com>
 
         * dwarf2out.c (should_emit_struct_debug): Add check
index 72549e928736428c30c08657085e5990f0e2cfaa..bba214712a052cc0d4286c58c8827c61ea32c0dd 100644 (file)
@@ -5723,17 +5723,9 @@ ix86_function_arg_regno_p (int regno)
                    && (regno < FIRST_SSE_REG + SSE_REGPARM_MAX)));
     }
 
-  if (TARGET_MACHO)
-    {
-      if (SSE_REGNO_P (regno) && TARGET_SSE)
-        return true;
-    }
-  else
-    {
-      if (TARGET_SSE && SSE_REGNO_P (regno)
-          && (regno < FIRST_SSE_REG + SSE_REGPARM_MAX))
-        return true;
-    }
+  if (TARGET_SSE && SSE_REGNO_P (regno)
+      && (regno < FIRST_SSE_REG + SSE_REGPARM_MAX))
+    return true;
 
   /* TODO: The function should depend on current function ABI but
      builtins.c would need updating then. Therefore we use the