https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64600
--- Comment #4 from ktkachov at gcc dot gnu.org --- I can't reproduce with -mcpu=xscale and any of -Os,O1,O2,O3 with or without -g. Can you post the full configuration of gcc? maybe there's something there that plays a role...