https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103639
--- Comment #13 from Iain Sandoe <iains at gcc dot gnu.org> --- Created attachment 52090 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52090&action=edit patch with test case this is what I'm going to test (it passes for NeXT and GNU runtimes on x86_64-darwin18, but needs wider testing) -- it should work also on Linux.