https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435
--- Comment #10 from Iain Sandoe <iains at gcc dot gnu.org> --- Created attachment 53358 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53358&action=edit Patch under test This works without regression on x86_64 Darwin, now doing wider testing. The basic approach should be applicable to open (and supported closed) branches.