aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2015-01-18 20:33:32 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2015-01-18 19:33:32 +0000
commit69fe4502488fea1573f2d5166235540e3d9a466e (patch)
treecf23e76b8f42e9e894e3a931485f9da2c7c1f1b8 /gcc
parenta89bd7d2ec399590ba7a284eff5e4de28ab5a83a (diff)
downloadgcc-69fe4502488fea1573f2d5166235540e3d9a466e.zip
gcc-69fe4502488fea1573f2d5166235540e3d9a466e.tar.gz
gcc-69fe4502488fea1573f2d5166235540e3d9a466e.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/lto/ChangeLog5
-rw-r--r--gcc/lto/lto.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 9b98edd..f247f41 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-11 Jan Hubicka <hubicka@ucw.cz>
+
+ * lto.c (compare_tree_sccs_1): Add comparsion of
+ DECL_FUNCTION_SPECIFIC_TARGET
+
2015-01-15 Thomas Schwinge <thomas@codesourcery.com>
James Norris <jnorris@codesourcery.com>
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index 15d3f10..a875ede 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));
}