diff options
author | jgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-01 08:56:05 +0000 |
---|---|---|
committer | jgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-01 08:56:05 +0000 |
commit | b3a78a8ce767fbadba86a4c102b2b61a89851c34 (patch) | |
tree | fbb688b08e7dcfd9198452efdcbc737bc338653a /gcc/cgraphunit.c | |
parent | aa16d73e0816598eb12751cd021acb9dfbe87f18 (diff) | |
download | gcc-b3a78a8ce767fbadba86a4c102b2b61a89851c34.tar.gz |
[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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213425 138bc75d-0d04-0410-961f-82ee72b054a4
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 3080b9a5921..02c9fa13f57 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; } } |