https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114137
--- Comment #4 from Sam James <sjames at gcc dot gnu.org> --- I have another testcase where it works with -save-temps or the GC params. bibtexu-3.71_p20210325: ``` # i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DUNIX -DKPATHSEA -DU_DISABLE_RENAMING=1 -I/usr/include -DUTF_8 -Wimplicit -Wreturn-type -O3 -pipe -march=i686 -fdiagnostics-color=always -mfpmath=sse -msse -msse2 -fno-vect-cost-model -fharden-control-flow-redundancy -fpermissive -c -o bibtexu-bibtex-4.o bibtex-4.c -fharden-control-flow-redundancy during RTL pass: rtl pre In file included from bibtex-4.c:130: bibtex-4.c: In function ‘x_format_name’: sysdep.h:210:37: internal compiler error: Segmentation fault 210 | #define END } | ^ bibtex-4.c:1303:1: note: in expansion of macro ‘END’ 1303 | END | ^~~ 0x579d3dc9 crash_signal /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/toplev.cc:319 0x586e7ff0 mark_used_flags /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/emit-rtl.cc:3364 0x586e6638 mark_used_flags /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/emit-rtl.cc:3416 0x586e6638 mark_used_flags /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/emit-rtl.cc:3411 0x586e6638 mark_used_flags /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/emit-rtl.cc:3411 0x586e6638 reset_used_flags(rtx_def*) /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/emit-rtl.cc:3428 0x586e6638 reset_insn_used_flags /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/emit-rtl.cc:3094 0x586e6638 reset_all_used_flags /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/emit-rtl.cc:3111 0x586e4737 verify_rtl_sharing() /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/emit-rtl.cc:3147 0x5832756c execute_function_todo /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/passes.cc:2109 0x5832756c do_per_function /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/passes.cc:1687 0x5832756c execute_todo /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/passes.cc:2142 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://bugs.gentoo.org/> for instructions. ``` For both test cases, -fno-harden-control-flow-redundancy also suppresses the ICE.