https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60420
--- Comment #7 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Wed Nov 12 20:43:09 2014 New Revision: 217444 URL: https://gcc.gnu.org/viewcvs?rev=217444&root=gcc&view=rev Log: /cp 2014-11-12 Paolo Carlini <paolo.carl...@oracle.com> DR 1510 PR c++/60420 * cp-tree.h (struct cp_decl_specifier_seq): Add decltype_p bool field. * decl.c (grokdeclarator): Use it. * parser.c (cp_parser_simple_type_specifier): Likewise. * pt.c (tsubst, case DECLTYPE_TYPE): Use tf_ignore_bad_quals. /testsuite 2014-11-12 Paolo Carlini <paolo.carl...@oracle.com> DR 1510 PR c++/60420 * g++.dg/cpp0x/decltype61.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp0x/decltype61.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/decl.c trunk/gcc/cp/parser.c trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog