[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
This commit is contained in:
parent
3849c24686
commit
c84495c0e1
@ -1,3 +1,9 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user