lto.c (compare_tree_sccs_1): Add comparsion of DECL_FUNCTION_SPECIFIC_TARGET
authorJan Hubicka <hubicka@ucw.cz>
Sun, 18 Jan 2015 19:33:32 +0000 (20:33 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 18 Jan 2015 19:33:32 +0000 (19:33 +0000)
* lto.c (compare_tree_sccs_1): Add comparsion of
DECL_FUNCTION_SPECIFIC_TARGET

From-SVN: r219826

gcc/lto/ChangeLog
gcc/lto/lto.c

index 9b98edd63787fbab0112ed27ec99d9b799b13c98..f247f4193c771997e92ecaad5ca3eea6c3bf1898 100644 (file)
@@ -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>
 
index 15d3f1040bb5d5a4ece3a144ac4e14c9cd0f8f5d..a875edeef9ad41caf25ada90ac29f7fa0a9a1e6c 100644 (file)
@@ -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));
     }