https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90813
--- Comment #17 from Segher Boessenkool <segher at gcc dot gnu.org> --- sched2 swaps the two insns (37 and 40 for me -- use -dp to see the numbers in your .s file, use -da if you want lots of dumps, -dap together). So why did sched2 decide it can swap these? They are in the same aliasing set, so it shouldn't do this. Hrm.