diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-02-19 17:01:50 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-02-19 17:01:50 +0100 |
commit | 19e2158623cf45a9c9ea731957bea6c3de4a4e56 (patch) | |
tree | e5a018c85eb5153fd7dee63c69b092e027fefa0c /gcc/expr.c | |
parent | 2db16594fe8bebd0ea784d4b3004a8f0c1af7869 (diff) | |
download | gcc-19e2158623cf45a9c9ea731957bea6c3de4a4e56.zip gcc-19e2158623cf45a9c9ea731957bea6c3de4a4e56.tar.gz gcc-19e2158623cf45a9c9ea731957bea6c3de4a4e56.tar.bz2 |
re PR c++/67767 (-Wsuggest-attribute=noreturn suggests noreturn for function which already has noreturn and cold.)
PR c++/67767
* parser.c (cp_parser_std_attribute_spec_seq): Don't assume
attr_spec is always single element chain, chain all the attributes
properly together in the right order.
* g++.dg/cpp0x/pr67767.C: New test.
From-SVN: r233560
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions