https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121623
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note the main difference between stage 2 and 3 is with or without debugging info. The instruction scheduler in some cases messes up due to an extra insn due to that. Sel scheduling is most likely issue too.