https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #60622|0 |1 is obsolete| | --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 60623 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60623&action=edit gimple level is ok So the issue is NOT on the gimple level, my patch just exposed the latent bug on the RTL level. This testcase does `startwith("expand")`. It fails with -O2 but works with `-O2 -fno-tree-ter` so it could be expand issue though.