https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40375
Segher Boessenkool <segher at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |segher at gcc dot gnu.org Resolution|--- |FIXED --- Comment #10 from Segher Boessenkool <segher at gcc dot gnu.org> --- This now works fine with trunk on both powerpc and arm thumb, with -O2 and -Os and with or without -fno-schedule-insns. Closing as fixed; please reopen if any case still does not work.