summaryrefslogtreecommitdiff
path: root/gcc/lto/lto.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-18 19:33:32 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-18 19:33:32 +0000
commit90617f125cdee7c5bf61ba31327cdfcd8037a18f (patch)
treecf23e76b8f42e9e894e3a931485f9da2c7c1f1b8 /gcc/lto/lto.c
parentf070b34df3b6f0bad47b833b8d2a387bcde9c74d (diff)
downloadgcc-90617f125cdee7c5bf61ba31327cdfcd8037a18f.tar.gz
* lto.c (compare_tree_sccs_1): Add comparsion of
DECL_FUNCTION_SPECIFIC_TARGET git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219826 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto/lto.c')
-rw-r--r--gcc/lto/lto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index 15d3f1040bb..a875edeef9a 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -1567,8 +1567,8 @@ compare_tree_sccs_1 (tree t1, tree t2, tree **map)
compare_tree_edges (DECL_FUNCTION_PERSONALITY (t1),
DECL_FUNCTION_PERSONALITY (t2));
compare_tree_edges (DECL_VINDEX (t1), DECL_VINDEX (t2));
- /* DECL_FUNCTION_SPECIFIC_TARGET is not yet created. We compare
- the attribute list instead. */
+ compare_tree_edges (DECL_FUNCTION_SPECIFIC_TARGET (t1),
+ DECL_FUNCTION_SPECIFIC_TARGET (t2));
compare_tree_edges (DECL_FUNCTION_SPECIFIC_OPTIMIZATION (t1),
DECL_FUNCTION_SPECIFIC_OPTIMIZATION (t2));
}