re PR tree-optimization/65948 (FAIL: g++.dg/lto/20101010-4 cp_lto_20101010-4_0.o-cp_lto_20101010-4_0.o link)

PR lto/65948
	* ipa-devirt.c (odr_types_equivalent_p): NULLPTR_TYPE is equivalent
	to itself.

From-SVN: r222621
This commit is contained in:
Jan Hubicka 2015-04-30 15:18:22 +02:00 committed by Jan Hubicka
parent 1309f1d25b
commit bb83a43d6b
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2015-04-30 Jan Hubicka <hubicka@ucw.cz>
PR lto/65948
* ipa-devirt.c (odr_types_equivalent_p): NULLPTR_TYPE is equivalent
to itself.
2015-04-30 Richard Sandiford <richard.sandiford@arm.com>
* genrecog.c (simplify_tests): Check that CONST_INT and XWINT tests

View File

@ -1537,6 +1537,7 @@ odr_types_equivalent_p (tree t1, tree t2, bool warn, bool *warned,
break;
}
case VOID_TYPE:
case NULLPTR_TYPE:
break;
default: