This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Restore bootstrap on x86
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 8 May 2008 14:12:02 +0200 (CEST)
- Subject: [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);