[PATCH][C++] Move decltype(nullptr) back to NULLPTR_TYPE tree code
Richard Guenther
rguenther@suse.de
Thu Oct 14 13:07:00 GMT 2010
On Wed, 13 Oct 2010, Jason Merrill wrote:
> On 10/13/2010 11:05 AM, Richard Guenther wrote:
> > + case NULLPTR_TYPE:
> > + /* No Dwarf representation currently defined. Fallthru. */
> > +
> > case LANG_TYPE:
> > /* Just use DW_TAG_unspecified_type. */
>
> Well, the proposed representation is to use DW_TAG_unspecified_type, as I
> implemented for LANG_TYPE, so I'd leave out the new comment and just add the
> new case.
Ok.
> Otherwise Ok.
Testing revealed I need the following additional hunk, added as ovious,
committed after re-bootstrapping and testing on x86_64-linux.
Thanks,
Richard.
* pt.c (tsubst): Handle NULLPTR_TYPE.
Index: gcc/cp/pt.c
===================================================================
--- gcc/cp/pt.c.orig 2010-10-14 10:33:07.000000000 +0200
+++ gcc/cp/pt.c 2010-10-14 11:08:36.000000000 +0200
@@ -10097,6 +10097,7 @@ tsubst (tree t, tree args, tsubst_flags_
case COMPLEX_TYPE:
case VECTOR_TYPE:
case BOOLEAN_TYPE:
+ case NULLPTR_TYPE:
case LANG_TYPE:
return t;
More information about the Gcc-patches
mailing list