re PR c++/60365 (multiple noreturn attribute specifiers in a single declaration doesn...
authorPaolo Carlini <paolo@gcc.gnu.org>
Wed, 1 Jul 2015 09:08:17 +0000 (09:08 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 1 Jul 2015 09:08:17 +0000 (09:08 +0000)
commita31dc4e516d2816c6be4c5f7329718223fced1e3
treee5175fe43c39b8951c80af2483cba321b1a172da
parentd0baaae35172c6cfb7a0c314842bf2cfc62a40f2
re PR c++/60365 (multiple noreturn attribute specifiers in a single declaration doesn't result in a diagnostic)

/cp
2015-07-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60365
* parser.c (cp_parser_check_std_attribute): New.
(cp_parser_std_attribute_list): Call it.

/testsuite
2015-07-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60365
* g++.dg/cpp0x/gen-attrs-60.C: New.
* g++.dg/cpp1y/attr-deprecated-2.C: Likewise.

From-SVN: r225234
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/gen-attrs-60.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/attr-deprecated-2.C [new file with mode: 0644]