diff mbox

Fix g++.dg/debug/nullptr01.C on the SPARC

Message ID 201010242117.15195.ebotcazou@adacore.com
State New
Headers show

Commit Message

Eric Botcazou Oct. 24, 2010, 7:17 p.m. UTC
The back-end needs to cope with the newly introduced NULLPTR_TYPE.

Tested on sparc-sun-solaris2.8, applied on the mainline.


2010-10-24  Eric Botcazou  <ebotcazou@adacore.com>

	* config/sparc/sparc.c (sparc_type_code) <NULLPTR_TYPE>: New case.
diff mbox

Patch

Index: config/sparc/sparc.c
===================================================================
--- config/sparc/sparc.c	(revision 165881)
+++ config/sparc/sparc.c	(working copy)
@@ -7729,7 +7729,8 @@  sparc_type_code (register tree type)
 
 	case VECTOR_TYPE:
 	case BOOLEAN_TYPE:	/* Boolean truth value type.  */
-	case LANG_TYPE:		/* ? */
+	case LANG_TYPE:
+	case NULLPTR_TYPE:
 	  return qualifiers;
 
 	default: