From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BCB383838D62; Mon, 5 Sep 2022 19:14:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BCB383838D62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662405285; bh=OpH0eTRSu1cV0ypxzPJIeuSQXBS1L4mjYYRUi72gYGE=; h=From:To:Subject:Date:From; b=AEO5n+kqvNFJk55Vq0emqa4UXPoOrEJHVrfen7L+0+jme4/DKUeB4b5bSfq6rDXK8 y4/457DFchxhb1A4mr5S5HyzNBK72QAev6qtlWAZVNlBcqX4Yar2PlX+YYWajkPliU gsXce6SV3a3R1dPdeO4U9gCbFEHmnVOh+cvE0kMw= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/106841] New: ice in vect_get_vec_defs_for_operand, at tree-vect-stmts.cc:1509 Date: Mon, 05 Sep 2022 19:14:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail 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 bug_severity priority component assigned_to reporter target_milestone 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106841 Bug ID: 106841 Summary: ice in vect_get_vec_defs_for_operand, at tree-vect-stmts.cc:1509 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 53540 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53540&action=3Dedit gzipped C++ source code The attached C++ code does this: during GIMPLE pass: vect msh3.cpp: In member function 'virtual AnyType Square_Op::operator()(Stack) const': msh3.cpp:8044:9: internal compiler error: in vect_get_vec_defs_for_operand,= at tree-vect-stmts.cc:1509 8044 | AnyType Square_Op::operator( )(Stack stack) const { | ^~~~~~~~~ 0x20af236 vect_get_vec_defs_for_operand(vec_info*, _stmt_vec_info*, unsigned int, tree_node*, vec*, tree_node*) ../../trunk.git/gcc/tree-vect-stmts.cc:1509 0x20cf508 vect_get_gather_scatter_ops(_loop_vec_info*, loop*, _stmt_vec_inf= o*, _slp_tree*, gather_scatter_info*, tree_node**, vec*) ../../trunk.git/gcc/tree-vect-stmts.cc:3066 0x20bab42 vectorizable_load(vec_info*, _stmt_vec_info*, gimple_stmt_iterato= r*, gimple**, _slp_tree*, vec*) ../../trunk.git/gcc/tree-vect-stmts.cc:9627 when compiled with -c -w -O3 -ffast-math -march=3Dbdver2. I will have a go at producing a git range.=