From: Jan Hubicka Date: Thu, 30 Apr 2015 13:18:22 +0000 (+0200) Subject: re PR tree-optimization/65948 (FAIL: g++.dg/lto/20101010-4 cp_lto_20101010-4_0.o... X-Git-Tag: upstream/12.2.0~55379 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb83a43d6b768886ea4733ca6218f30d90ea0e15;p=platform%2Fupstream%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b18882..734058e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-04-30 Jan Hubicka + + PR lto/65948 + * ipa-devirt.c (odr_types_equivalent_p): NULLPTR_TYPE is equivalent + to itself. + 2015-04-30 Richard Sandiford * genrecog.c (simplify_tests): Check that CONST_INT and XWINT tests diff --git a/gcc/ipa-devirt.c b/gcc/ipa-devirt.c index aacc59c..e878bc1 100644 --- a/gcc/ipa-devirt.c +++ b/gcc/ipa-devirt.c @@ -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: