Commit 9f2583c7 by Jan Hubicka Committed by Jan Hubicka

* ipa-inline.c (cgraph_clone_inlined_nodes): Revert previous patch.

From-SVN: r101476
parent 740e80e8
2005-06-30 Jan Hubicka <jh@suse.cz>
* ipa-inline.c (cgraph_clone_inlined_nodes): Revert previous patch.
2005-06-30 Francois-Xavier Coudert <coudert@clipper.ens.fr> 2005-06-30 Francois-Xavier Coudert <coudert@clipper.ens.fr>
PR middle-end/22247 PR middle-end/22247
......
...@@ -121,7 +121,7 @@ cgraph_clone_inlined_nodes (struct cgraph_edge *e, bool duplicate) ...@@ -121,7 +121,7 @@ cgraph_clone_inlined_nodes (struct cgraph_edge *e, bool duplicate)
if (!e->callee->callers->next_caller if (!e->callee->callers->next_caller
&& (!e->callee->needed || DECL_EXTERNAL (e->callee->decl)) && (!e->callee->needed || DECL_EXTERNAL (e->callee->decl))
&& duplicate && duplicate
&& (flag_unit_at_a_time && cgraph_global_info_ready)) && flag_unit_at_a_time)
{ {
gcc_assert (!e->callee->global.inlined_to); gcc_assert (!e->callee->global.inlined_to);
if (!DECL_EXTERNAL (e->callee->decl)) if (!DECL_EXTERNAL (e->callee->decl))
......
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