Re: [PATCH] c++: Improve diagnostics about conflicting specifiers

2022-09-26 Thread Jason Merrill via Gcc-patches
On 9/19/22 03:24, Jakub Jelinek wrote: Hi! On Sat, Sep 17, 2022 at 01:23:59AM +0200, Jason Merrill wrote: I wonder why we don't give an error when setting the conflicting_specifiers_p flag in cp_parser_set_storage_class? We should be able to give a better diagnostic at that point. I didn't h

[PATCH] c++: Improve diagnostics about conflicting specifiers

2022-09-19 Thread Jakub Jelinek via Gcc-patches
Hi! On Sat, Sep 17, 2022 at 01:23:59AM +0200, Jason Merrill wrote: > I wonder why we don't give an error when setting the > conflicting_specifiers_p flag in cp_parser_set_storage_class? We should be > able to give a better diagnostic at that point. I didn't have time to update the whole patch la