https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110721
Bug ID: 110721 Summary: Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink' 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 55570 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55570&action=edit The preprocessed file ******************************************************************************* OS and Platform: CentOS Linux release 7.9.2009 (Core), x86_64 GNU/Linux ******************************************************************************* gcc version: gcc -v Using built-in specs. COLLECT_GCC=/home/new-gcc/gcc-11-0713/bin/gcc COLLECT_LTO_WRAPPER=/home/new-gcc/gcc-11-0713/libexec/gcc/x86_64-pc-linux-gnu/11.4.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ./configure --prefix=/home/new-gcc/gcc-11-0713/ --disable-multilib --enable-languae=c,c++ Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.4.1 20230713 (GCC) ******************************************************************************* Command Lines: # /home/new-gcc/gcc-11-0713/bin/gcc -I /home/csmith/include/csmith-2.3.0/ -O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink ecn.c -o ecn.o #/home/new-gcc/gcc-11-0713/bin/gcc -I /home/csmith/include/csmith-2.3.0/ ecn.c -o ecn2.o # ./ecn.o Segmentation fault # ./ecn2.o checksum = AF78526F