https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106582
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Piotr from comment #3) > (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) Just to note besides the conversation with Andrew - if you got the compiler from some vendor and are not willing to try a plain version from upstream it might be useful to report it to the vendor - those often apply changes to GCC we do not know about and of course those might also introduce bugs (and I hope they are interested in such bugreports).