Re: [PATCH v2] c++: Fix parsing of invalid enum specifiers [PR90995]

2020-03-16 Thread Jason Merrill via Gcc-patches
On 3/15/20 7:35 PM, Jakub Jelinek wrote: On Sun, Mar 15, 2020 at 05:21:59PM -0400, Jason Merrill wrote: Let's use temp_override. So like this? Yes, thanks. Bootstrapped/regtested on x86_64-linux and i686-linux. 2020-03-15 Jakub Jelinek PR c++/90995 * parser.c (cp_parse

[PATCH v2] c++: Fix parsing of invalid enum specifiers [PR90995]

2020-03-15 Thread Jakub Jelinek via Gcc-patches
On Sun, Mar 15, 2020 at 05:21:59PM -0400, Jason Merrill wrote: > Let's use temp_override. So like this? Bootstrapped/regtested on x86_64-linux and i686-linux. 2020-03-15 Jakub Jelinek PR c++/90995 * parser.c (cp_parser_enum_specifier): Use temp_override for parser->co