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
This commit is contained in:
Iain Sandoe 2013-09-14 11:09:55 +00:00 committed by Iain Sandoe
parent 20442b36c4
commit 492d1e0ac5
2 changed files with 9 additions and 11 deletions

View 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

View 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