https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107193
Bug ID: 107193 Summary: [13 regression] bootstrap error caused by r13-3172-gf30e9fd33e56a5 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: crazylht at gmail dot com Target Milestone: --- Created attachment 53683 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53683&action=edit _sd_to_udi.i export/users2/liuhongt/tools-build/build_git_trunk_master_native_bootstrap/./gcc/xgcc -B/export/users2/liuhongt/tools-build/build_git_trunk_master_native_bootstrap/./gcc/ -B/export/users2/liuhongt/install/git_trunk_master_native_bootstrap/x86_64-pc-linux-gnu/bin/ -B/export/users2/liuhongt/install/git_trunk_master_native_bootstrap/x86_64-pc-linux-gnu/lib/ -isystem /export/users2/liuhongt/install/git_trunk_master_native_bootstrap/x86_64-pc-linux-gnu/include -isystem /export/users2/liuhongt/install/git_trunk_master_native_bootstrap/x86_64-pc-linux-gnu/sys-include -fno-checking -g -O2 -m32 -O2 -g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fpic -mlong-double-80 -DUSE_ELF_SYMVER -fcf-protection -mshstk -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fpic -mlong-double-80 -DUSE_ELF_SYMVER -fcf-protection -mshstk -I. -I. -I../../.././gcc -I/export/users2/liuhongt/gcc/git_trunk/master/libgcc -I/export/users2/liuhongt/gcc/git_trunk/master/libgcc/. -I/export/users2/liuhongt/gcc/git_trunk/master/libgcc/../gcc -I/export/users2/liuhongt/gcc/git_trunk/master/libgcc/../include -I/export/users2/liuhongt/gcc/git_trunk/master/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _sd_to_udi.o -MT _sd_to_udi.o -MD -MP -MF _sd_to_udi.dep -DFINE_GRAINED_LIBRARIES -DL_sd_to_udi -DWIDTH=32 -c /export/users2/liuhongt/gcc/git_trunk/master/libgcc/config/libbid/_sd_to_udi.c during GIMPLE pass: cfg /export/users2/liuhongt/gcc/git_trunk/master/libgcc/config/libbid/_sd_to_udi.c: In function ‘__bid_fixunssddi’: /export/users2/liuhongt/gcc/git_trunk/master/libgcc/config/libbid/_sd_to_udi.c:29:1: internal compiler error: Segmentation fault 29 | __bid_fixunssddi (_Decimal32 x) { | ^~~~~~~~~~~~~~~~ Please submit a full bug report, with preprocessed source (by using -freport-bug). See <https://gcc.gnu.org/bugs/> for instructions. make[5]: *** [Makefile:722: _sd_to_udi.o] Error 1 make[5]: Leaving directory '/export/users2/liuhongt/tools-build/build_git_trunk_master_native_bootstrap/x86_64-pc-linux-gnu/32/libgcc' make[4]: *** [Makefile:1214: multi-do] Error 1 make[4]: Leaving directory '/export/users2/liuhongt/tools-build/build_git_trunk_master_native_bootstrap/x86_64-pc-linux-gnu/libgcc' make[3]: *** [Makefile:127: all-multi] Error 2 make[3]: Leaving directory '/export/users2/liuhongt/tools-build/build_git_trunk_master_native_bootstrap/x86_64-pc-linux-gnu/libgcc' make[2]: *** [Makefile:24226: all-stage2-target-libgcc] Error 2 make[2]: Leaving directory '/export/users2/liuhongt/tools-build/build_git_trunk_master_native_bootstrap' make[1]: *** [Makefile:30117: stage2-bubble] Error 2 make[1]: Leaving directory '/export/users2/liuhongt/tools-build/build_git_trunk_master_native_bootstrap' make: *** [Makefile:1071: all] Error 2 reproduce with attached testcase ./gcc/xgcc -B ./gcc -O2 _sd_to_udi.i -g -m32 And It looks like there's some random when reproducing.(sometimes pass, sometimes failed).