summaryrefslogtreecommitdiff
path: root/gcc/lto/lto.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-31 14:01:45 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-31 14:01:45 +0000
commit5a7d537d7b3b9c218e8579d9dc6d57a45fc0d2ea (patch)
tree883d3ee48ef2bfcf463dc7da46a8ef793e0cc197 /gcc/lto/lto.c
parented1990ec06fa77c3e1c2071a175be45e4a1fad55 (diff)
downloadgcc-5a7d537d7b3b9c218e8579d9dc6d57a45fc0d2ea.tar.gz
2015-08-31 Richard Biener <rguenther@suse.de>
lto/ * lto.c (compare_tree_sccs_1): Compare DECL_ABSTRACT_ORIGIN. * lto-symtab.c (lto_symtab_merge): Merge DECL_POSSIBLY_INLINED flag. (lto_symtab_prevailing_decl): Do not replace a decl that didn't participate in merging with something else. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227345 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto/lto.c')
-rw-r--r--gcc/lto/lto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index b4287a358f8..4bb0aafcb7d 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -1305,6 +1305,7 @@ compare_tree_sccs_1 (tree t1, tree t2, tree **map)
compare_tree_edges (DECL_SIZE (t1), DECL_SIZE (t2));
compare_tree_edges (DECL_SIZE_UNIT (t1), DECL_SIZE_UNIT (t2));
compare_tree_edges (DECL_ATTRIBUTES (t1), DECL_ATTRIBUTES (t2));
+ compare_tree_edges (DECL_ABSTRACT_ORIGIN (t1), DECL_ABSTRACT_ORIGIN (t2));
if ((code == VAR_DECL
|| code == PARM_DECL)
&& DECL_HAS_VALUE_EXPR_P (t1))