https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111873
Bug ID: 111873 Summary: runtime Segmentation fault with '-O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-loop-optimize -fno-tree-pre' Product: gcc Version: 14.0 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 56148 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56148&action=edit The preprocessed file ******************************************************************************* OS and Platform: Ubuntu 20.04.4 LTS ******************************************************************************* gcc version: $ gcc -v Using built-in specs. COLLECT_GCC=/home/cuisk/ctc/gcc-releases/gcc-14/bin/gcc COLLECT_LTO_WRAPPER=/home/cuisk/ctc/gcc-releases/gcc-14/libexec/gcc/x86_64-pc-linux-gnu/14.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ./configure --prefix=/home/cuisk/ctc/gcc-releases/gcc-14 --disable-multilib --enable-language=c,c++ Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20231015 (experimental) (GCC) ******************************************************************************* Command Lines: $ gcc -O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-loop-optimize -fno-tree-pre -I ~/ctc/csmith/include/csmith-2.3.0 a.c -o ec $ ./ec Segmentation fault (core dumped) $ gcc -fsanitize=undefined -I ~/ctc/csmith/include/csmith-2.3.0 a.c -o nec $ ./nec checksum = 99D13A7E