Fix PR39977, bootstrap on HPPA
Michael Matz
matz@suse.de
Fri May 1 19:58:00 GMT 2009
Hi,
Steve mentioned that this fixes the bootstrap problem on HPPA, and I've
regstrapped this on x86_64-linux without regressions.
Okay for trunk?
Ciao,
Michael.
--
* calls.c (initialize_argument_information): Handle SSA names like
decls with a non MEM_P DECL_RTL.
Index: calls.c
===================================================================
--- calls.c (Revision 146955)
+++ calls.c (Arbeitskopie)
@@ -1054,6 +1054,7 @@ initialize_argument_information (int num
|| (callee_copies
&& !TREE_ADDRESSABLE (type)
&& (base = get_base_address (args[i].tree_value))
+ && TREE_CODE (base) != SSA_NAME
&& (!DECL_P (base) || MEM_P (DECL_RTL (base)))))
{
/* We can't use sibcalls if a callee-copied argument is
More information about the Gcc-patches
mailing list