Commit 28489334 by Jan Hubicka Committed by Jan Hubicka

re PR middle-end/30696 (Linker failure with OpenMP and inline function)

	PR middle-end/30696
	* ipa-inline.c (cgraph_clone_inlined_nodes): When there are unanalyzed
	nodes in cgraph, don't remove offline copy of the function.

From-SVN: r121582
parent a14fb6fa
2007-02-05 Jan Hubicka <jh@suse.cz>
PR middle-end/30696
* ipa-inline.c (cgraph_clone_inlined_nodes): When there are unanalyzed
nodes in cgraph, don't remove offline copy of the function.
2007-02-04 Jan Hubicka <jh@suse.cz>
* tree-sra.c (sra_walk_expr): Add linebreaks. BITFIELD_REFs into
......
......@@ -204,6 +204,7 @@ cgraph_clone_inlined_nodes (struct cgraph_edge *e, bool duplicate, bool update_o
In that case just go ahead and re-use it. */
if (!e->callee->callers->next_caller
&& !e->callee->needed
&& !cgraph_new_nodes
&& flag_unit_at_a_time)
{
gcc_assert (!e->callee->global.inlined_to);
......
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