Re: [C++ PATCH] Reject invalid GNU attribute syntax (PR c++/87175)

2019-01-31 Thread Jason Merrill
On 1/31/19 5:51 PM, Jakub Jelinek wrote: Hi! THe following patch rejects invalid __attribute__ syntax where one or both opening parens are missing, but it is accepted anyway. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2019-01-31 Jakub Jelinek PR c++/87175

[C++ PATCH] Reject invalid GNU attribute syntax (PR c++/87175)

2019-01-31 Thread Jakub Jelinek
Hi! THe following patch rejects invalid __attribute__ syntax where one or both opening parens are missing, but it is accepted anyway. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2019-01-31 Jakub Jelinek PR c++/87175 * parser.c (cp_parser_gnu_attribute