Hi,
this patch fixes ICE when comparing NULLPTR_TYPEs.

Comitted as obvious.

Honza

Index: ChangeLog
===================================================================
--- ChangeLog   (revision 222620)
+++ ChangeLog   (working copy)
@@ -1,3 +1,9 @@
+2015-04-30  Jan Hubicka  <hubi...@ucw.cz>
+
+       PR lto/65948
+       * ipa-devirt.c (odr_types_equivalent_p): NULLPTR_TYPE is equivalent
+       to itself.
+
 2015-04-30  Richard Sandiford  <richard.sandif...@arm.com>
 
        * genrecog.c (simplify_tests): Check that CONST_INT and XWINT tests
Index: ipa-devirt.c
===================================================================
--- ipa-devirt.c        (revision 222620)
+++ ipa-devirt.c        (working copy)
@@ -1537,6 +1537,7 @@ odr_types_equivalent_p (tree t1, tree t2
        break;
       }
     case VOID_TYPE:
+    case NULLPTR_TYPE:
       break;
 
     default:

Reply via email to