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

            Bug ID: 110435
           Summary: ICE in in convert_move, at expr.cc:297 on Aarch64 with
                    -Ofast
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jamborm at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux
            Target: aarch64-linux

Using a cross compiler (revision r14-2079-g9326a49c9e9d63) configured with

  /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/configure
--enable-languages=c,c++,fortran,rust,m2 --disable-bootstrap
--disable-libsanitizer --disable-multilib --enable-checking=release
--prefix=/home/worker/cross --target=aarch64-linux-gnu
--with-as=/usr/bin/aarch64-suse-linux-as

to compile our own testcase gcc/testsuite/gfortran.dg/pr68251.f90 with -Ofast
results in an ICE:

$ ~/cross/bin/aarch64-linux-gnu-gfortran gcc/testsuite/gfortran.dg/pr68251.f90
-Ofast -o /tmp/aaa.out
during RTL pass: expand
gcc/testsuite/gfortran.dg/pr68251.f90:1043:57:

 1043 |             kbc((mc-1)*15+mb) = kbc((mc-1)*15+mb) - ks_bc
      |                                                         ^
internal compiler error: in convert_move, at expr.cc:297
0x74393a convert_move(rtx_def*, rtx_def*, int)
        /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/expr.cc:297
0xa5ffa5 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/expr.cc:9368
0x961290 expand_gimple_stmt_1
       
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/cfgexpand.cc:3983
0x961290 expand_gimple_stmt
       
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/cfgexpand.cc:4044
0x9661c7 expand_gimple_basic_block
       
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/cfgexpand.cc:6096
0x967e2e execute
       
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/cfgexpand.cc:6831
Please submit a full bug report, with preprocessed source (by using
-freport-bug).

Reply via email to