https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110518
Bug ID: 110518 Summary: ICE in alloc_succs_info, at sel-sched-ir.cc:4723 Product: gcc Version: 12.3.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 55450 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55450&action=edit The compiler output ******************************************************************************* OS and Platform: CentOS Linux release 7.9.2009 (Core), x86_64 GNU/Linux ******************************************************************************* gcc version: # /home/gcc-releases/gcc-12-0630/bin/gcc -v Using built-in specs. COLLECT_GCC=/home/gcc-releases/gcc-12-0630/bin/gcc COLLECT_LTO_WRAPPER=/home/gcc-releases/gcc-12-0630/libexec/gcc/x86_64-pc-linux-gnu/12.3.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ./configure --prefix=/home/gcc-releases/gcc-12-0630/ --disable-multilib --enable-languages=c,c++ Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.3.1 20230630 (GCC) ******************************************************************************* Command Lines: # /home/gcc-releases/gcc-12-0630/bin/gcc -I /home/csmith/include/csmith-2.3.0/ -O3 -fno-tree-dominator-opts -fno-tree-fre -fno-tree-pre -fcode-hoisting -fexpensive-optimizations -finline -finline-functions -finline-small-functions -fmove-loop-stores -fsched-interblock -fschedule-insns2 -fstrict-aliasing -fthread-jumps -fno-toplevel-reorder -ftree-bit-ccp -ftree-ccp -ftree-dce -ftree-loop-im -ftree-loop-optimize -ftree-ter -fselective-scheduling2 -fvar-tracking-assignments -save-temps cra2.c -o cra2.o 2>cra2_error.txt ******************************************************************************* Error Messages: during RTL pass: sched2 cra2.c: In function ‘func_12’: cra2.c:361:1: internal compiler error: in alloc_succs_info, at sel-sched-ir.cc:4723 361 | } | ^ 0x6e24f5 alloc_succs_info ../.././gcc/sel-sched-ir.cc:4723 0x6e24f5 compute_succs_info(rtx_insn*, short) ../.././gcc/sel-sched-ir.cc:4760 0xc5cb66 compute_av_set_at_bb_end ../.././gcc/sel-sched.cc:2738 0xc5cb66 compute_av_set_inside_bb ../.././gcc/sel-sched.cc:2969 0xc5cc16 compute_av_set_at_bb_end ../.././gcc/sel-sched.cc:2758 0xc5cc16 compute_av_set_inside_bb ../.././gcc/sel-sched.cc:2969 0xc5cc16 compute_av_set_at_bb_end ../.././gcc/sel-sched.cc:2758 0xc5cc16 compute_av_set_inside_bb ../.././gcc/sel-sched.cc:2969 0xc5cc16 compute_av_set_at_bb_end ../.././gcc/sel-sched.cc:2758 0xc5cc16 compute_av_set_inside_bb ../.././gcc/sel-sched.cc:2969 0xc5cc16 compute_av_set_at_bb_end ../.././gcc/sel-sched.cc:2758 0xc5cc16 compute_av_set_inside_bb ../.././gcc/sel-sched.cc:2969 0xc5cc16 compute_av_set_at_bb_end ../.././gcc/sel-sched.cc:2758 0xc5cc16 compute_av_set_inside_bb ../.././gcc/sel-sched.cc:2969 0xc5cc16 compute_av_set_at_bb_end ../.././gcc/sel-sched.cc:2758 0xc5cc16 compute_av_set_inside_bb ../.././gcc/sel-sched.cc:2969 0xc5cc16 compute_av_set_at_bb_end ../.././gcc/sel-sched.cc:2758 0xc5cc16 compute_av_set_inside_bb ../.././gcc/sel-sched.cc:2969 0xc5cc16 compute_av_set_at_bb_end ../.././gcc/sel-sched.cc:2758 0xc5cc16 compute_av_set_inside_bb ../.././gcc/sel-sched.cc:2969 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.