https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116779

            Bug ID: 116779
           Summary: [lra][avr] internal compiler error: in
                    patch_jump_insn, at cfgrtl.cc:1303
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gjl at gcc dot gnu.org
  Target Milestone: ---

Created attachment 59146
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59146&action=edit
simd-2.c: C test case

This ICE does not occur without -mlra:

$ avr-gcc simd-2.c -S -mlra -O2

during RTL pass: reload
/home/john/xgnu/source/gcc-master/gcc/testsuite/gcc.c-torture/execute/simd-2.c:
In function 'main':
/home/john/xgnu/source/gcc-master/gcc/testsuite/gcc.c-torture/execute/simd-2.c:75:1:
internal compiler error: in patch_jump_insn, at cfgrtl.cc:1303
   75 | }
      | ^
0x5e8b48 patch_jump_insn
        ../../../source/gcc-master/gcc/cfgrtl.cc:1303
0x5e8bf8 redirect_branch_edge
        ../../../source/gcc-master/gcc/cfgrtl.cc:1330
0x5e9127 rtl_redirect_edge_and_branch
        ../../../source/gcc-master/gcc/cfgrtl.cc:1463
0x7fc402af1d8f __libc_start_call_main
        ../sysdeps/nptl/libc_start_call_main.h:58
0x7fc402af1e3f __libc_start_main_impl
        ../csu/libc-start.c:392

Target: avr
Configured with: ../../source/gcc-master/configure --target=avr --disable-nls
--with-dwarf2 --with-gnu-as --with-gnu-ld --disable-shared
--enable-languages=c,c++
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 15.0.0 20240918 (experimental) (GCC)

Reply via email to