https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108854
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- You can e.g. try to pass additional -freport-bug option, then the preprocessed source with command line and other important details should be stored into a /tmp/cc*.out file which the diagnostics will tell you which one it was.