[C++ PATCH] PR c++/89571 - ICE with ill-formed noexcept on constructor.

Jason Merrill jason@redhat.com
Wed Mar 20 21:51:00 GMT 2019


On 3/20/19 4:50 PM, Paolo Carlini wrote:
> Hi Jason ---
> 
> On 17/03/19 21:06, Jason Merrill wrote:
>> Earlier changes to defer instantiating a defaulted noexcept-specifier 
>> that
>> depends on yet-unparsed default member initializers broke this testcase,
>> where instantiation fails for another reason.  In this case there's no
>> reason to defer and try again later, so let's not.
> 
> [snip]
> 
> Thanks.
> 
> Volker added to the audit trail the below, vaguely related, testcase, 
> also a recent error recovery regression. Shall we just avoid passing 
> error_mark_node to comp_except_specs and continue? Tested x86_64-linux.

OK.

Jason



More information about the Gcc-patches mailing list