Re: [PATCH v2] c++: Accept C++11 attribute-definition [PR101582]

2021-07-30 Thread Jakub Jelinek via Gcc-patches
On Thu, Jul 29, 2021 at 03:03:50PM -0400, Jason Merrill wrote: > Let's not mention the obscure attribute-declaration grammar nonterminal, > "attribute ignored" seems sufficient. Ok, thanks. Here is what I've committed and I have also filed PR101686 for the module related xfails. 2021-07-30 Jaku

Re: [PATCH v2] c++: Accept C++11 attribute-definition [PR101582]

2021-07-29 Thread Jason Merrill via Gcc-patches
On 7/29/21 5:28 AM, Jakub Jelinek wrote: On Wed, Jul 28, 2021 at 04:32:08PM -0400, Jason Merrill wrote: As the following testcase shows, we don't parse properly C++11 attribute-declaration: https://eel.is/c++draft/dcl.dcl#nt:attribute-declaration cp_parser_toplevel_declaration just handles empt

[PATCH v2] c++: Accept C++11 attribute-definition [PR101582]

2021-07-29 Thread Jakub Jelinek via Gcc-patches
On Wed, Jul 28, 2021 at 04:32:08PM -0400, Jason Merrill wrote: > > As the following testcase shows, we don't parse properly > > C++11 attribute-declaration: > > https://eel.is/c++draft/dcl.dcl#nt:attribute-declaration > > > > cp_parser_toplevel_declaration just handles empty-declaration parsing >