]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ipa-devirt.c (odr_subtypes_equivalent_p): Disable temporary hack forgotten in previou...
authorJan Hubicka <hubicka@ucw.cz>
Sun, 13 Jul 2014 17:30:56 +0000 (19:30 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 13 Jul 2014 17:30:56 +0000 (17:30 +0000)
* ipa-devirt.c (odr_subtypes_equivalent_p): Disable temporary hack
forgotten in previous commit.

From-SVN: r212497

gcc/ChangeLog
gcc/ipa-devirt.c

index 1f32bf02ff59c7a0f96b5a589613c9a33868e1f5..6c639436eb45e2f5ab34bab359b64bbb1f4c5215 100644 (file)
@@ -1,3 +1,8 @@
+2014-07-12  Jan Hubicka  <hubicka@ucw.cz>
+
+       * ipa-devirt.c (odr_subtypes_equivalent_p): Disable temporary hack
+       forgotten in previous commit.
+
 2014-07-12  Jan Hubicka  <hubicka@ucw.cz>
 
        * tree.c (type_in_anonymous_namespace_p): Ignore TREE_PUBLIC
index 1a0837b1a60aafe67157515d46cfeb9499453ac1..59781a1ec1db248e3d036ee5f5452772f1566d5e 100644 (file)
@@ -474,7 +474,7 @@ odr_subtypes_equivalent_p (tree t1, tree t2, pointer_set_t *visited)
         recursion here is needed only for component types.  */
       if (pointer_set_insert (visited, t1))
        return true;
-      return odr_types_equivalent_p (t1, t2, true, NULL, visited);
+      return odr_types_equivalent_p (t1, t2, false, NULL, visited);
     }
   return types_same_for_odr (t1, t2);
 }