DR 1510 PR c++/60420
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 12 Nov 2014 20:43:09 +0000 (20:43 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 12 Nov 2014 20:43:09 +0000 (20:43 +0000)
commit186ad798b9f039e5c824636687d0ee67f29bfc80
tree37b754ad44204cc97f4a58e07513379bf4250128
parent7eb0def89e57086611a044febf906ffd3e515c3a
DR 1510 PR c++/60420

/cp
2014-11-12  Paolo Carlini  <paolo.carlini@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.carlini@oracle.com>

DR 1510
PR c++/60420
* g++.dg/cpp0x/decltype61.C: New.

From-SVN: r217444
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/parser.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype61.C [new file with mode: 0644]