https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114792
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 58024 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58024&action=edit patch I quickly tried this which works for the testcase but I'm sure it'll break quickly.