Re: [PATCH] c++: Fix ICE with delayed parsing of noexcept-specifier [PR95562]

2020-06-09 Thread Jason Merrill via Gcc-patches
On 6/9/20 7:54 PM, Marek Polacek wrote: Here we ICE because a DEFERRED_PARSE expression leaked to tsubst_copy. We create these expressions for deferred noexcept-specifiers in cp_parser_save_noexcept; they are supposed to be re-parsed in cp_parser_late_noexcept_specifier. In this case we never go

[PATCH] c++: Fix ICE with delayed parsing of noexcept-specifier [PR95562]

2020-06-09 Thread Marek Polacek via Gcc-patches
Here we ICE because a DEFERRED_PARSE expression leaked to tsubst_copy. We create these expressions for deferred noexcept-specifiers in cp_parser_save_noexcept; they are supposed to be re-parsed in cp_parser_late_noexcept_specifier. In this case we never got around to re-parsing it because the noex