https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112684
--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> --- This happens also with --help=c: $ x86_64-pc-linux-gnu-gcc --help=c -fdiagnostics-generate-patch testcase.c The following options are supported by the language C: --all-warnings Same as -Wall. ... -undef Do not predefine system-specific and GCC-specific macros. -v Enable verbose output. -w Suppress warnings. cc1: internal compiler error: in main, at toplev.cc:2329 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.