Commit 69dc8208 by Jan Hubicka Committed by Jan Hubicka

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
parent 5c8efaf2
2014-07-12 Jan Hubicka <hubicka@ucw.cz> 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 * tree.c (type_in_anonymous_namespace_p): Ignore TREE_PUBLIC
on builtin types. on builtin types.
* ipa-devirt.c: Include stor-layout.h and intl.h * ipa-devirt.c: Include stor-layout.h and intl.h
......
...@@ -474,7 +474,7 @@ odr_subtypes_equivalent_p (tree t1, tree t2, pointer_set_t *visited) ...@@ -474,7 +474,7 @@ odr_subtypes_equivalent_p (tree t1, tree t2, pointer_set_t *visited)
recursion here is needed only for component types. */ recursion here is needed only for component types. */
if (pointer_set_insert (visited, t1)) if (pointer_set_insert (visited, t1))
return true; 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); return types_same_for_odr (t1, t2);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment