Re: [C++ Patch] PR 60365

2015-06-30 Thread Paolo Carlini
oops, I mean the below. Paolo. Index: cp/parser.c === --- cp/parser.c (revision 225177) +++ cp/parser.c (working copy) @@ -22532,6 +22547,28 @@ cp_parser_std_attribute (cp_parser *parser) return attribute; } +

Re: [C++ Patch] PR 60365

2015-06-30 Thread Paolo Carlini
Hi, On 06/30/2015 08:31 PM, Jason Merrill wrote: OK. Thanks Jason. If you don't object, I propose to commit instead the simpler version below, which makes for better error-recovery in case of multiple errors. Thanks again, Paolo. / Index: cp/parser.c ==

Re: [C++ Patch] PR 60365

2015-06-30 Thread Jason Merrill
OK. Jason

[C++ Patch] PR 60365

2015-06-30 Thread Paolo Carlini
Hi, this issue is an accepts invalid about multiple noreturn in an attribute-list. The same issue exists for deprecated in C++14 (and will exist for carries_dependency when we'll implement it...). Of course it would be easy to imagine more efficient algorithms doing the check only once after