https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106582
--- Comment #4 from Andrew Pinski ---
>
080157fe: movsr3, #0
08015800: ldr.w r2, [r9, #20]
08015804: str r2, [r3, #12]
This is doing a store at the address 12 which is invalid normally.
I suspect for your code you need -fno-dele
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106582
--- Comment #3 from Piotr ---
(In reply to Richard Biener from comment #1)
> Can you provide preprocessed source of the file where the crash occurs and
> the compiler commandline? Can you also try GCC 10.4 (or a compiler built
> from
> the GCC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106582
--- Comment #2 from Piotr ---
Created attachment 53434
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53434&action=edit
Preprocessed file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106582
Richard Biener changed:
What|Removed |Added
Target||arm-none-eabi
Last reconfirmed|