https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120550
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 61581 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61581&action=edit Might be miscompiled before r16-372 Can you re-bisect using this testcase? This changes your main into a new function which is noinline and calls the new function from main. This basically makes what r16-372 is doing for main now.