On 4/5/19 7:11 AM, Paolo Carlini wrote:
Hi,

this error-recovery regressions is mostly another case - similar to c++/89488 - where we want to check that maybe_instantiate_noexcept actually succeeds before calling a function that asserts !DEFERRED_NOEXCEPT_SPEC_P, nothrow_spec_p this time. I think we want to do that consistently in both the semantics.c places. Beyond that, there is a secondary issue with -std=c++98, because, in that case, synthesized_method_walk, called by implicitly_declare_fn, sets raises to error_mark_node and we can't pass it to build_exception_variant (we explicitly avoid that elsewhere too). Tested x86_64-linux.

OK.

Jason

Reply via email to