https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120250
Bug ID: 120250 Summary: ICE during RTL pass: dwarf2, in create_trace_edges, at dwarf2cfi.cc:2686 Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rundongyang22 at m dot fudan.edu.cn Target Milestone: --- Created attachment 61414 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61414&action=edit The source file that does not include others. ---------- GCC Version & System Type & Configure Option $ $CC -v Using built-in specs. COLLECT_GCC=/home/liuyu/Desktop/gcc-13/bin/gcc COLLECT_LTO_WRAPPER=/home/liuyu/Desktop/gcc-13/bin/../libexec/gcc/x86_64-pc-linux-gnu/13.1.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../configure --disable-multilib --enable-languages=c,c++ --prefix=/home/liuyu/Desktop/bin Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.1.0 (GCC) ---------- # Compile with -O2 $ $CC -O2 -c ./7672.c; echo $? 0 ---------- # Compile with -O3 $ $CC -O3 -c ./7672.c during RTL pass: dwarf2 ./7672.c: In function ‘main’: ./7672.c:43:1: internal compiler error: in create_trace_edges, at dwarf2cfi.cc:2686 43 | } | ^ 0xf6138f create_trace_edges ../../gcc/dwarf2cfi.cc:2686 0xf61daa scan_trace ../../gcc/dwarf2cfi.cc:2911 0xf61eee create_cfi_notes ../../gcc/dwarf2cfi.cc:2938 0xf62e2a execute_dwarf2_frame ../../gcc/dwarf2cfi.cc:3309 0xf63c64 execute ../../gcc/dwarf2cfi.cc:3799 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.