This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix RETURN_IN_MEMORY for x86 Solaris


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]