From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3DFDC3858403; Mon, 25 Jul 2022 08:12:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3DFDC3858403 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/106433] New: [13 Regression] ICE in vect_transform_loops, at tree-vectorizer.cc:1032 Date: Mon, 25 Jul 2022 08:12:04 +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: 13.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 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: Mon, 25 Jul 2022 08:12:04 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106433 Bug ID: 106433 Summary: [13 Regression] ICE in vect_transform_loops, at tree-vectorizer.cc:1032 Product: gcc Version: 13.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 gcc 13.0.0 20220724 snapshot (g:8b8103dcd2624936bd1f56ac2ee63d1fb779a7e4) I= CEs when compiling the following testcase w/ -march=3Darmv8-a+sve -O1: int n; int quux () { return n; } __attribute__ ((simd)) int bar (int x) { if (quux () !=3D quux (0)) n =3D 0; return quux (); } __attribute__ ((simd)) int foo (void) { return bar (0); } % aarch64-linux-gnu-gcc-13.0.0 -march=3Darmv8-a+sve -O1 -c x83c1h7f.c during GIMPLE pass: vect x83c1h7f.c: In function 'foo.simdclone.0': x83c1h7f.c:19:1: internal compiler error: in vect_transform_loops, at tree-vectorizer.cc:1032 19 | foo (void) | ^~~ 0x7d0332 vect_transform_loops =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.0_p20220724/work/gcc-13-2= 0220724/gcc/tree-vectorizer.cc:1032 0x11f9f73 try_vectorize_loop_1 =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.0_p20220724/work/gcc-13-2= 0220724/gcc/tree-vectorizer.cc:1153 0x11f9f73 try_vectorize_loop =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.0_p20220724/work/gcc-13-2= 0220724/gcc/tree-vectorizer.cc:1183 0x11fa534 execute =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.0_p20220724/work/gcc-13-2= 0220724/gcc/tree-vectorizer.cc:1299=