aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2014-07-13 19:30:56 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2014-07-13 17:30:56 +0000
commit69dc8208ee905dbc2a6d04faa4cec7211874745e (patch)
tree0c393c3912c3416e5e795666e7601a75b151fc7b /gcc
parent5c8efaf2fb28b94a6c9201abf88fb5a0c86ebfe6 (diff)
downloadgcc-69dc8208ee905dbc2a6d04faa4cec7211874745e.zip
gcc-69dc8208ee905dbc2a6d04faa4cec7211874745e.tar.gz
gcc-69dc8208ee905dbc2a6d04faa4cec7211874745e.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ipa-devirt.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1f32bf0..6c63943 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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
on builtin types.
* ipa-devirt.c: Include stor-layout.h and intl.h
diff --git a/gcc/ipa-devirt.c b/gcc/ipa-devirt.c
index 1a0837b..59781a1 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);
}