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

2019-03-20 Thread Jason Merrill
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 th

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

2019-03-20 Thread Paolo Carlini
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

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

2019-03-17 Thread Jason Merrill
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. Tested x86_64-pc-linux-gnu,