From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6E0563861823; Fri, 26 Feb 2021 09:34:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6E0563861823 From: "andrew.goodbody at linaro dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93353] ICE: in final_scan_insn_1, at final.c:3073 (error: could not split insn) Date: Fri, 26 Feb 2021 09:34:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: andrew.goodbody at linaro dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2021 09:34:36 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D93353 andrew.goodbody at linaro dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew.goodbody at linaro = dot org --- Comment #1 from andrew.goodbody at linaro dot org --- gcc 10.2.0 built from tarball running native on aarch64 shows the same behaviour. I will attach the pre-processed source if I can although its over 9MB. In file included from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:144, from ./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1, from ./tensorflow/core/framework/numeric_types.h:20, from ./tensorflow/core/framework/allocator.h:26, from ./tensorflow/core/framework/op_kernel.h:25, from ./tensorflow/core/kernels/histogram_op.h:19, from tensorflow/core/kernels/histogram_op.cc:20: external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h:= In static member function 'static void Eigen::internal::EvalRange::run(Evaluator*, StorageIndex, StorageIndex) [with Evaluator =3D Eigen::TensorEvaluator, = 16, Eigen::MakePointer>, const Eigen::TensorConversionOp, const Eigen::TensorCwiseUnaryOp >, const Eigen::TensorConversionOp, const Eigen::TensorCwiseBinaryOp, const Eigen::TensorMap, 16, Eigen::MakePointer>, const Eigen::TensorCwiseNullaryOp, const Eigen::TensorMap, 16, Eigen::MakePointer> > >, const Eigen::TensorCwiseNullaryOp, const Eigen::TensorMap, 16, Eigen::MakePointer> > > > >, const Eigen::TensorCwiseNullaryOp, co= nst Eigen::TensorCwiseUnaryOp >, const Eigen::TensorConversionOp, const Eigen::TensorCwiseBinaryOp, const Eigen::TensorMap, 16, Eigen::MakePointer>, const Eigen::TensorCwiseNullaryOp, const Eigen::TensorMap, 16, Eigen::MakePointer> > >, const Eigen::TensorCwiseNullaryOp, const Eigen::TensorMap, 16, Eigen::MakePointer> > > > > > > > >, Eigen::ThreadPoolDevice= >; StorageIndex =3D long int]': external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h:= 349:3: error: could not split insn 349 | } | ^ (insn 1615 2102 1433 (set (reg:VNx4SF 34 v2 [orig:554 _1597 ] [554]) (unspec:VNx4SF [ (reg:VNx4BI 72 p4 [orig:376 vec_mask_and_1413 ] [376]) (unspec:VNx4SF [ (reg:VNx4BI 78 p10 [orig:376 vec_mask_and_1413 ] [3= 76]) (const_int 1 [0x1]) (reg:VNx4SF 49 v17 [2017]) (reg:VNx4SF 32 v0 [2049]) ] UNSPEC_COND_FADD) (reg:VNx4SF 39 v7 [orig:392 vect__ifc__887.8029 ] [392]) ] UNSPEC_SEL)) 5628 {*cond_addvnx4sf_any} (expr_list:REG_DEAD (reg:VNx4BI 78 p10 [orig:376 vec_mask_and_1413 ] [376]) (expr_list:REG_DEAD (reg:VNx4BI 72 p4 [orig:376 vec_mask_and_1413 ] [376]) (expr_list:REG_DEAD (reg:VNx4SF 39 v7 [orig:392 vect__ifc__887.= 8029 ] [392]) (expr_list:REG_EQUAL (unspec:VNx4SF [ (reg:VNx4BI 78 p10 [orig:376 vec_mask_and_1413 ] [376]) (unspec:VNx4SF [ (reg:VNx4BI 78 p10 [orig:376 vec_mask_and_1413 ] [376]) (const_int 1 [0x1]) (reg:VNx4SF 49 v17 [2017]) (const_vector:VNx4SF [ (const_double:SF -6.103515625e-5 [-0x0.8p-13]) ]) ] UNSPEC_COND_FADD) (subreg:VNx4SF (reg:VNx4SI 39 v7 [orig:392 vect__ifc__887.8029 ] [392]) 0) ] UNSPEC_SEL) (nil)))))) during RTL pass: final external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h:= 349:3: internal compiler error: in final_scan_insn_1, at final.c:3073 0x69255f _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/builder/src/gcc/10.2.0/gcc-10.2.0/gcc/rtl-error.c:108 0x9debcf final_scan_insn_1 /home/builder/src/gcc/10.2.0/gcc-10.2.0/gcc/final.c:3073 0x9dede3 final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) /home/builder/src/gcc/10.2.0/gcc-10.2.0/gcc/final.c:3152 0x9df0a7 final_1 /home/builder/src/gcc/10.2.0/gcc-10.2.0/gcc/final.c:2020 0x9df823 rest_of_handle_final /home/builder/src/gcc/10.2.0/gcc-10.2.0/gcc/final.c:4658 0x9df823 execute /home/builder/src/gcc/10.2.0/gcc-10.2.0/gcc/final.c:4736 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=