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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb83a43d6b768886ea4733ca6218f30d90ea0e15;p=gcc.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 8b18882f652..734058e4064 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 aacc59cf7a1..e878bc1206e 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: