https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107617
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 53976 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53976&action=edit patch Can you please test this patch? Visually inspecting the fortran testcase and the GIMPLE testcase shows it fixes this case.