Commit 4aeb3896 by Jan Hubicka Committed by Jan Hubicka

* tree-tailcall.c (eliminate_tail_call): Expect unrenamed return value.

From-SVN: r128101
parent ba6c89a9
2007-09-04 Jan Hubicka <jh@suse.cz> 2007-09-04 Jan Hubicka <jh@suse.cz>
* tree-tailcall.c (eliminate_tail_call): Expect unrenamed return value.
2007-09-04 Jan Hubicka <jh@suse.cz>
* invoke.texi (-finline-small-functions): Document. * invoke.texi (-finline-small-functions): Document.
* ipa-inline.c (cgraph_default_inline_p): Do not use DECL_INLINE * ipa-inline.c (cgraph_default_inline_p): Do not use DECL_INLINE
when deciding what is inlinable. when deciding what is inlinable.
......
...@@ -800,7 +800,8 @@ eliminate_tail_call (struct tailcall *t) ...@@ -800,7 +800,8 @@ eliminate_tail_call (struct tailcall *t)
/* Result of the call will no longer be defined. So adjust the /* Result of the call will no longer be defined. So adjust the
SSA_NAME_DEF_STMT accordingly. */ SSA_NAME_DEF_STMT accordingly. */
SSA_NAME_DEF_STMT (rslt) = build_empty_stmt (); if (TREE_CODE (rslt) == SSA_NAME)
SSA_NAME_DEF_STMT (rslt) = build_empty_stmt ();
} }
bsi_remove (&t->call_bsi, true); bsi_remove (&t->call_bsi, true);
......
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