Re: [PATCH] c++: Fix up parsing of attributes for using-directive

2021-08-11 Thread Jason Merrill via Gcc-patches
On 8/4/21 6:05 AM, Jakub Jelinek wrote: Hi! As I've said earlier and added xfails in gen-attrs-76.C test, https://eel.is/c++draft/namespace.udir#nt:using-directive has attribute-specifier-seq[opt] at the start, not at the end before ; as gcc is expecting. IMHO we should continue parsing at the e

[PATCH] c++: Fix up parsing of attributes for using-directive

2021-08-04 Thread Jakub Jelinek via Gcc-patches
Hi! As I've said earlier and added xfails in gen-attrs-76.C test, https://eel.is/c++draft/namespace.udir#nt:using-directive has attribute-specifier-seq[opt] at the start, not at the end before ; as gcc is expecting. IMHO we should continue parsing at the end the GNU attributes because using namesp