https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98871
--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- Created attachment 50092 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50092&action=edit Patch for GCC 12. The attached patch applied on top the one for pr98465 (https://gcc.gnu.org/pipermail/gcc-patches/2021-January/563862.html) resolves this bug. Since it's not a regression it's out of scope for GCC 11 but if the prerequisite patch is accepted I'll submit it for GCC 12.