https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106582
--- Comment #3 from Piotr <jankowski938 at gmail dot com> --- (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 10 branch head) or possibly even GCC 12.1 to see if the issue still > reproduces there? Attached preprocessed file. The compiler comes with STMCubeIDE and I would not manually change it. Full command line is in the original post (excluding include and library files and paths)