aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@codesourcery.com>2013-09-14 11:09:55 +0000
committerIain Sandoe <iains@gcc.gnu.org>2013-09-14 11:09:55 +0000
commit492d1e0ac5c5bae22a29c0e436b50603052f2c29 (patch)
treeb109e06d9e90a32fe6732fbe4b1804c3dfda6b04 /gcc
parent20442b36c457fcf2cb7039f3b18c6aa7c81f3f4e (diff)
downloadgcc-492d1e0ac5c5bae22a29c0e436b50603052f2c29.zip
gcc-492d1e0ac5c5bae22a29c0e436b50603052f2c29.tar.gz
gcc-492d1e0ac5c5bae22a29c0e436b50603052f2c29.tar.bz2
re PR target/58269 (ICE when building libobjc on x86_64-apple-darwin* after revision 201915)
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/i386.c14
2 files changed, 9 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0224228..5113efd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 72549e9..bba2147 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -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