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...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64600
--- Comment #3 from Joel Sherrill ---
(In reply to Joel Sherrill from comment #1)
> Created attachment 34450 [details]
> Preprocessed RTEMS source which produces the error
Attached test case compiles at -Os but not -O1 or -O2.
-O2 without -mcpu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64600
--- Comment #2 from Joel Sherrill ---
*** Bug 64599 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64600
--- Comment #1 from Joel Sherrill ---
Created attachment 34450
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34450&action=edit
Preprocessed RTEMS source which produces the error