[Bug c++/122185] [16 Regression] ICE: in propagate_necessity, at tree-ssa-dce.cc:1148 since r16-610-g3ecca8f3ad7e7f

sjames at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 7 06:28:15 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122185

--- Comment #15 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 62516
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62516&action=edit
signature.cpp.ii.xz (working)

I've attached my signature.cpp.ii.xz from one attempt:

g++ -DGLOBAL_DATA_DIR=\"/usr/share/openttd\" -DNDEBUG
-DPERSONAL_DIR=\".openttd\" -DPOINTER_IS_64BIT -DTTD_ENDIAN=TTD_LITTLE_ENDIAN
-DUNIX -DWITH_CURL -DWITH_FLUIDSYNTH -DWITH_FONTCONFIG -DWITH_FREETYPE
-DWITH_HARFBUZZ -DWITH_ICU_I18N -DWITH_ICU_UC -DWITH_LIBLZMA -DWITH_OPENGL
-DWITH_PERSONAL_DIR -DWITH_PNG -DWITH_SDL2 -DWITH_SSE -DWITH_ZLIB
-I/var/tmp/portage/games-simulation/openttd-14.1/work/openttd-14.1/src
-I/var/tmp/portage/games-simulation/openttd-14.1/work/openttd-14.1/src/3rdparty/squirrel/include
-I/usr/include/harfbuzz
-I/var/tmp/portage/games-simulation/openttd-14.1/work/openttd-14.1_build/generated
-I/var/tmp/portage/games-simulation/openttd-14.1/work/openttd-14.1_build/generated/script/api
-I/var/tmp/portage/games-simulation/openttd-14.1/work/openttd-14.1/src/script/api
-I/var/tmp/portage/games-simulation/openttd-14.1/work/openttd-14.1_build/generated/script
-I/var/tmp/portage/games-simulation/openttd-14.1/work/openttd-14.1_build/generated/script/api/ai
-I/var/tmp/portage/games-simulation/openttd-14.1/work/openttd-14.1/src/script/api/ai
-I/var/tmp/portage/games-simulation/openttd-14.1/work/openttd-14.1_build/generated/script/api/game
-I/var/tmp/portage/games-simulation/openttd-14.1/work/openttd-14.1/src/script/api/game
-I/var/tmp/portage/games-simulation/openttd-14.1/work/openttd-14.1_build/generated/script/api/template
-I/var/tmp/portage/games-simulation/openttd-14.1/work/openttd-14.1/src/script/api/template
-isystem /usr/include/SDL2 -isystem /usr/include/freetype2 -std=c++20
-fdiagnostics-color=always -finput-charset=utf-8  -MD -MT
CMakeFiles/openttd_lib.dir/src/signature.cpp.o -MF
CMakeFiles/openttd_lib.dir/src/signature.cpp.o.d -o
CMakeFiles/openttd_lib.dir/src/signature.cpp.o -c
/var/tmp/portage/games-simulation/openttd-14.1/work/openttd-14.1/src/signature.cpp
-save-temps -O

in case it's useful for comparison, but I'm a loss for now.


More information about the Gcc-bugs mailing list