https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116271
--- Comment #2 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> --- Created attachment 58861 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58861&action=edit proposed patch Does this patch work for you?