https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83077
--- Comment #19 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to François Dumont from comment #17) > (In reply to Iain Sandoe from comment #15) Your proposed patch for the friend issue does fix the libstdc++ cases for my Darwin patchset. > > many of the c++ fails are of this form: > > > > contracts-tmpl-spec1.C:(.text+0x6f): undefined reference to > > `handle_contract_violation(std::experimental::contract_violation const&)' > > I'm surprised that my patch can have an impact on the C++ front end but I'll > give it a try. I do not think it's affecting the FE as such - but rather that some of the tests include stdc++ headers (I try to avoid it in the testsuite, but obviously things like coroutines cannot avoid it)