From: Jan Hubicka Date: Sun, 13 Jul 2014 17:30:56 +0000 (+0200) Subject: ipa-devirt.c (odr_subtypes_equivalent_p): Disable temporary hack forgotten in previou... X-Git-Tag: releases/gcc-5.1.0~6365 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=69dc8208ee905dbc2a6d04faa4cec7211874745e;p=thirdparty%2Fgcc.git ipa-devirt.c (odr_subtypes_equivalent_p): Disable temporary hack forgotten in previous commit. * ipa-devirt.c (odr_subtypes_equivalent_p): Disable temporary hack forgotten in previous commit. From-SVN: r212497 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1f32bf02ff59..6c639436eb45 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-07-12 Jan Hubicka + + * ipa-devirt.c (odr_subtypes_equivalent_p): Disable temporary hack + forgotten in previous commit. + 2014-07-12 Jan Hubicka * tree.c (type_in_anonymous_namespace_p): Ignore TREE_PUBLIC diff --git a/gcc/ipa-devirt.c b/gcc/ipa-devirt.c index 1a0837b1a60a..59781a1ec1db 100644 --- a/gcc/ipa-devirt.c +++ b/gcc/ipa-devirt.c @@ -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); }