Commit 9c3d55b4 by Michael Matz Committed by Michael Matz

calls.c (initialize_argument_information): Handle SSA names like decls with a non MEM_P DECL_RTL.

        * calls.c (initialize_argument_information): Handle SSA names
        like decls with a non MEM_P DECL_RTL.

From-SVN: r147044
parent ea264ca5
2009-05-01 Michael Matz <matz@suse.de>
* calls.c (initialize_argument_information): Handle SSA names like
decls with a non MEM_P DECL_RTL.
2009-05-01 Steven Bosscher <steven@gcc.gnu.org>
* ipa-reference.c: Do not include c-common.h, include splay-tree.h.
......
......@@ -1054,6 +1054,7 @@ initialize_argument_information (int num_actuals ATTRIBUTE_UNUSED,
|| (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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment