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]

[PATCH] Restore bootstrap on x86


I'll apply this after bootstrap has successfully finished on 
x86_64-unknown-linux-gnu, it's currently in stage3.

Richard.


2008-05-08  Richard Guenther  <rguenther@suse.de>

	* config/i386/i386-protos.h (ix86_return_in_memory): Adjust
	return type to bool.
	* config/i386/i386.c (ix86_return_in_memory): Likewise.

Index: config/i386/i386-protos.h
===================================================================
--- config/i386/i386-protos.h	(revision 135079)
+++ config/i386/i386-protos.h	(working copy)
@@ -134,7 +134,7 @@ extern rtx ix86_libcall_value (enum mach
 extern bool ix86_function_value_regno_p (int);
 extern bool ix86_function_arg_regno_p (int);
 extern int ix86_function_arg_boundary (enum machine_mode, tree);
-extern int ix86_return_in_memory (const_tree, const_tree);
+extern bool ix86_return_in_memory (const_tree, const_tree);
 extern int ix86_sol10_return_in_memory (const_tree,const_tree);
 extern int ix86_i386elf_return_in_memory (const_tree,const_tree);
 extern int ix86_i386interix_return_in_memory (const_tree,const_tree);
Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c	(revision 135079)
+++ config/i386/i386.c	(working copy)
@@ -4901,7 +4901,7 @@ return_in_memory_ms_64 (const_tree type,
   return (size != 1 && size != 2 && size != 4 && size != 8);
 }
 
-int
+bool
 ix86_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED)
 {
   const enum machine_mode mode = type_natural_mode (type);


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