https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70566
ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |ktkachov at gcc dot gnu.org --- Comment #4 from ktkachov at gcc dot gnu.org --- The culprit seems to be the peephole in thumb2.md at line 1539. Adding -fno-peephole2 gives the correct behaviour.