https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117493
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 59564 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59564&action=edit Quick hack Let me think of a good limit, 5 seems reasonable at this point. Without -fno-tree-forwprop, the code is almost all cleaned up.