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
This commit is contained in:
parent
a14fb6faeb
commit
284893341f
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue