Re: [PATCH] PR c++/39751: ICE-on-invalid parsing regression.

2022-03-09 Thread Jason Merrill via Gcc-patches
On 2/26/22 19:55, Roger Sayle wrote: This is a fix for PR c++/39751 which is an ICE-on-invalid regression in the C++ parser after encountering the end of file. The one line change is to check that the tokens cached in DECL_PENDING_INLINE_INFO haven't been purged before processing them in cp_par

[PATCH] PR c++/39751: ICE-on-invalid parsing regression.

2022-02-26 Thread Roger Sayle
This is a fix for PR c++/39751 which is an ICE-on-invalid regression in the C++ parser after encountering the end of file. The one line change is to check that the tokens cached in DECL_PENDING_INLINE_INFO haven't been purged before processing them in cp_parser_late_parsing_for_member. Alas in a