https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110294
Bug ID: 110294 Summary: Segmentation fault with '-O3 -fno-dce -fno-toplevel-reorder -fno-tree-dce -fno-tree-pta -fno-tree-sink -ftoplevel-reorder' Product: gcc Version: 11.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: 19373742 at buaa dot edu.cn Target Milestone: --- Created attachment 55352 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55352&action=edit The preprocessed file ******************************************************************************* OS and Platform: CentOS Linux release 7.9.2009 (Core), x86_64 GNU/Linux ******************************************************************************* gcc version: # /home/gcc-releases/gcc-11-0615/bin/gcc -v Using built-in specs. COLLECT_GCC=/home/gcc-releases/gcc-11-0615/bin/gcc COLLECT_LTO_WRAPPER=/home/gcc-releases/gcc-11-0615/libexec/gcc/x86_64-pc-linux-gnu/11.4.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ./configure --prefix=/home/gcc-releases/gcc-11-0615/ --disable-multilib --enable-languages=c,c++ Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.4.1 20230615 (GCC) ******************************************************************************* Command Lines: # /home/gcc-releases/gcc-11-0615/bin/gcc -I /home/csmith_record/include/csmith-2.3.0/ -O3 -fno-dce -fno-toplevel-reorder -fno-tree-dce -fno-tree-pta -fno-tree-sink -ftoplevel-reorder -save-temps f.c -o f.o # ./f.o Segmentation fault # /home/gcc-releases/gcc-11-0615/bin/gcc -I /home/csmith_record/include/csmith-2.3.0/ -O3 f.c -o f2.o # ./f2.o checksum = E1BE9725