diff options
author | James Greenhalgh <james.greenhalgh@arm.com> | 2014-08-01 08:56:05 +0000 |
---|---|---|
committer | James Greenhalgh <jgreenhalgh@gcc.gnu.org> | 2014-08-01 08:56:05 +0000 |
commit | c84495c0e1f09b876c4db803a9436632eed74cb1 (patch) | |
tree | fbb688b08e7dcfd9198452efdcbc737bc338653a /gcc/cgraphunit.c | |
parent | 3849c2468667a5f15e6dae5ec9ef8a8d4d99cba2 (diff) | |
download | gcc-c84495c0e1f09b876c4db803a9436632eed74cb1.zip gcc-c84495c0e1f09b876c4db803a9436632eed74cb1.tar.gz gcc-c84495c0e1f09b876c4db803a9436632eed74cb1.tar.bz2 |
[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
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 3080b9a..02c9fa1 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -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; } } |