re PR tree-optimization/65948 (FAIL: g++.dg/lto/20101010-4 cp_lto_20101010-4_0.o...
authorJan Hubicka <hubicka@ucw.cz>
Thu, 30 Apr 2015 13:18:22 +0000 (15:18 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 30 Apr 2015 13:18:22 +0000 (13:18 +0000)
PR lto/65948
* ipa-devirt.c (odr_types_equivalent_p): NULLPTR_TYPE is equivalent
to itself.

From-SVN: r222621

gcc/ChangeLog
gcc/ipa-devirt.c

index 8b18882f652bd97e9003d83e7bcda704d6eaf770..734058e406439155cd6c242975faf034a45fa60a 100644 (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
index aacc59cf7a1257b76d3e04d5df5e78e4add8c998..e878bc1206e94c7c142a03e0eba81e1229d2bff0 100644 (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: