This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix RETURN_IN_MEMORY for x86 Solaris
- From: Richard Sandiford <richard at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 26 Apr 2007 11:45:32 +0100
- Subject: Re: Fix RETURN_IN_MEMORY for x86 Solaris
- References: <87vefn1nzs.fsf@firetop.home>
Richard Sandiford <richard@codesourcery.com> writes:
> + int needed_intregs, needed_sseregs, size;
Sorry, the testing I did was with a Canadian cross compiler, so I didn't
notice that these variables were unused. I've applied the fix below
as obvious.
Sorry for the breakage.
Richard
gcc/
* config/i386/i386.c (ix86_sol10_return_in_memory): Remove unused
variables.
Index: gcc/config/i386/i386.c
===================================================================
--- gcc/config/i386/i386.c (revision 124176)
+++ gcc/config/i386/i386.c (working copy)
@@ -4380,7 +4380,7 @@ ix86_return_in_memory (tree type)
int
ix86_sol10_return_in_memory (tree type)
{
- int needed_intregs, needed_sseregs, size;
+ int size;
enum machine_mode mode = type_natural_mode (type);
if (TARGET_64BIT)