From 69fe4502488fea1573f2d5166235540e3d9a466e Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sun, 18 Jan 2015 20:33:32 +0100 Subject: [PATCH] lto.c (compare_tree_sccs_1): Add comparsion of DECL_FUNCTION_SPECIFIC_TARGET * lto.c (compare_tree_sccs_1): Add comparsion of DECL_FUNCTION_SPECIFIC_TARGET From-SVN: r219826 --- gcc/lto/ChangeLog | 5 +++++ gcc/lto/lto.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 9b98edd6378..f247f4193c7 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,8 @@ +2014-12-11 Jan Hubicka + + * lto.c (compare_tree_sccs_1): Add comparsion of + DECL_FUNCTION_SPECIFIC_TARGET + 2015-01-15 Thomas Schwinge James Norris 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)); } -- 2.30.2