https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110618
--- Comment #1 from Mikael Morin <mikael at gcc dot gnu.org> --- Created attachment 55517 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55517&action=edit Draft patch This seems to work for this case, but I'm not sure how reliable it is.