https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100246
--- Comment #1 from Iain Sandoe <iains at gcc dot gnu.org> --- Created attachment 50669 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50669&action=edit Patch that works around the clang issue/bug this is against GCC-11.1rc2, but not likely to need much/any amendment for GCC12.