https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112102
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Also is this function from real code or just an example to show the issue? I suspect in real code you either have 2 extra nops or a scheduling bubble. the nops might not make a huge difference ...