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

2021-07-28 Thread Jason Merrill via Gcc-patches
On 7/23/21 4:03 AM, Jakub Jelinek wrote: Hi! 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 (with diagnostics for C++98) This s

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

2021-07-23 Thread Jakub Jelinek via Gcc-patches
Hi! 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 (with diagnostics for C++98) and otherwise calls cp_parser_declaration which on