aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2015-04-30 15:18:22 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2015-04-30 13:18:22 +0000
commitbb83a43d6b768886ea4733ca6218f30d90ea0e15 (patch)
treeeea0febf6f522bd246904289f702204d68f1c222 /gcc
parent1309f1d25bc90fb607679fab4e4af9386f641951 (diff)
downloadgcc-bb83a43d6b768886ea4733ca6218f30d90ea0e15.zip
gcc-bb83a43d6b768886ea4733ca6218f30d90ea0e15.tar.gz
gcc-bb83a43d6b768886ea4733ca6218f30d90ea0e15.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/ipa-devirt.c1
2 files changed, 7 insertions, 0 deletions
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 <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
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: