From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4ACEA3858002; Wed, 24 Mar 2021 06:33:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4ACEA3858002 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/99746] New: ICE in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1450 Date: Wed, 24 Mar 2021 06:33:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget attachments.created Message-ID: 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: Wed, 24 Mar 2021 06:33:39 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99746 Bug ID: 99746 Summary: ICE in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1450 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: aarch64-linux-gnu Created attachment 50467 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D50467&action=3Dedit Testcase gfortran-11.0.1-alpha20210321 snapshot (g:fc24ea2374259d401a46ce3526688b7e79d4cc13) ICEs when compiling the attach= ed testcase w/ -march=3Darmv8.3-a -O2 -ftree-loop-vectorize: % aarch64-linux-gnu-gfortran-11.0.1 -march=3Darmv8.3-a -O2 -ftree-loop-vect= orize -c k8x66s8b.f during GIMPLE pass: vect k8x66s8b.f:1:23: 1 | SUBROUTINE CLAREF(A, LDA, WANTZ, Z, BLOCK, IROW1, ICOL1, | ^ internal compiler error: in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1450 0x7ba760 vect_get_vec_defs_for_operand(vec_info*, _stmt_vec_info*, unsigned int, tree_node*, vec*, tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-= 11-20210321/gcc/tree-vect-stmts.c:1450 0x11e6df6 vectorizable_call =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-= 11-20210321/gcc/tree-vect-stmts.c:3459 0x11f6478 vect_transform_stmt(vec_info*, _stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-= 11-20210321/gcc/tree-vect-stmts.c:10962 0x11f9ce5 vect_transform_loop_stmt =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-= 11-20210321/gcc/tree-vect-loop.c:9212 0x1215d5c vect_transform_loop(_loop_vec_info*, gimple*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-= 11-20210321/gcc/tree-vect-loop.c:9641 0x1244daf try_vectorize_loop_1 =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-= 11-20210321/gcc/tree-vectorizer.c:1104 0x1245b50 vectorize_loops() =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-= 11-20210321/gcc/tree-vectorizer.c:1243=