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

            Bug ID: 89752
           Summary: [8/9 Regression] ICE in emit_move_insn, at expr.c:3723
           Product: gcc
           Version: 8.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

Created attachment 45985
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45985&action=edit
unreduced testcase

The attached testcase ICEs on the GCC 8 branch and trunk (the preprocessed
source doesn't work on the 7 branch).

> /abuild/rguenther/obj8-aarch64-g/gcc/cc1plus -quiet matmul_op.ii -std=c++11 
> -mlittle-endian -mabi=lp64 -fno-exceptions - w -Wfatal-errors -I 
> /abuild/rguenther/obj8-aarch64-g/gcc/include
during RTL pass: reload
In file included from
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/Core:296,
                 from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:14,
                 from ./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
                 from ./tensorflow/core/kernels/matmul_op.h:19,
                 from tensorflow/core/kernels/matmul_op.cc:20:
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/products/GeneralBlockPanelKernel.h:
In member function ‘void Eigen::internal::gebp_kernel<LhsScalar, RhsScalar,
Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>::operator()(const
DataMapper&, const LhsScalar*, const RhsScalar*, Index, Index, Index,
Eigen::internal::gebp_kernel<LhsScalar, RhsScalar, Index, DataMapper, mr, nr,
ConjugateLhs, ConjugateRhs>::ResScalar, Index, Index, Index, Index) [with
LhsScalar = Eigen::half; RhsScalar = Eigen::half; Index = long int; DataMapper
= Eigen::internal::blas_data_mapper<Eigen::half, long int, 0, 0>; int mr = 2;
int nr = 4; bool ConjugateLhs = false; bool ConjugateRhs = false]’:
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/products/GeneralBlockPanelKernel.h:1879:3:
internal compiler error: in emit_move_insn, at expr.c:3723
0xc429cb emit_move_insn(rtx_def*, rtx_def*)
        /space/rguenther/src/svn/gcc-8-branch/gcc/expr.c:3722
0xe404a6 lra_emit_move(rtx_def*, rtx_def*)
        /space/rguenther/src/svn/gcc-8-branch/gcc/lra.c:497
0xe50fcc match_reload
        /space/rguenther/src/svn/gcc-8-branch/gcc/lra-constraints.c:1055
0xe5a255 curr_insn_transform
        /space/rguenther/src/svn/gcc-8-branch/gcc/lra-constraints.c:4356
0xe5bc52 lra_constraints(bool)
        /space/rguenther/src/svn/gcc-8-branch/gcc/lra-constraints.c:4898
0xe4507c lra(_IO_FILE*)
        /space/rguenther/src/svn/gcc-8-branch/gcc/lra.c:2422
0xdf17bc do_reload
        /space/rguenther/src/svn/gcc-8-branch/gcc/ira.c:5465
0xdf1c08 execute
        /space/rguenther/src/svn/gcc-8-branch/gcc/ira.c:5649
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

tested with a cross from x86_64-linux to aarch64-linux.

Reply via email to