public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Fix g++.dg/lto/20101010-4
@ 2015-04-30 13:39 Jan Hubicka
  0 siblings, 0 replies; only message in thread
From: Jan Hubicka @ 2015-04-30 13:39 UTC (permalink / raw)
  To: gcc-patches

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  <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: 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:

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-30 13:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-30 13:39 Fix g++.dg/lto/20101010-4 Jan Hubicka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).