Commit c84495c0 by James Greenhalgh Committed by James Greenhalgh

[Patch] Not very subtle fix for pr61510

gcc/

	PR regression/61510
	* cgraphunit.c (analyze_functions): Use get_create rather than get
	for decls which are clones of abstract functions.

From-SVN: r213425
parent 3849c246
2014-08-01 James Greenhalgh <james.greenhalgh@arm.com>
PR regression/61510
* cgraphunit.c (analyze_functions): Use get_create rather than get
for decls which are clones of abstract functions.
2014-08-01 Martin Liska <mliska@suse.cz>
* gimple-iterator.h (gsi_next_nonvirtual_phi): New function.
......
......@@ -1047,7 +1047,7 @@ analyze_functions (void)
if (DECL_ABSTRACT_ORIGIN (decl))
{
struct cgraph_node *origin_node
= cgraph_node::get (DECL_ABSTRACT_ORIGIN (decl));
= cgraph_node::get_create (DECL_ABSTRACT_ORIGIN (decl));
origin_node->used_as_abstract_origin = 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