From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 166F838A8152; Mon, 12 Sep 2022 17:23:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 166F838A8152 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663003390; bh=PhK0aooO5MijcNzdZVHgw5sdq+ptc9grZfp0YfeJUMI=; h=From:To:Subject:Date:From; b=DhkEVaWU7tRsaqPUjKMKK3t6rpJO35egY65V1UoLiYhvFkiEKyhODr5pt64KuhMag P0OTxAVbYVxcu1mVEWfxmN45IfwD3Shra6ttkB6i71nJ7tM2cyF2eaWAi04JkDFXWr 49lXca/NH1O7NYTDGDZVqm3L7kpzCf2H4mv8TNJA= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/106912] New: [13 Regression] ICE in vect_transform_loops, at tree-vectorizer.cc:1032 Date: Mon, 12 Sep 2022 17:23:09 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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 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=3D106912 Bug ID: 106912 Summary: [13 Regression] ICE in vect_transform_loops, at tree-vectorizer.cc:1032 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Started between 20220703 and 20220710, at -O1+, with file gcc.target/aarch64/simd_pcs_attribute-3.c : $ cat z1.c __attribute__ ((__simd__)) __attribute__ ((__nothrow__ , __leaf__ , __const__)) double foo (double x); void bar(double *f, int n) { int i; for (i =3D 0; i < n; i++) f[i] =3D foo(f[i]); } double foo(double x) { return x * x / 3.0; } $ gcc-13-20220911 -c z1.c -O2 -fPIC -ftree-vectorize -fprofile-generate during GIMPLE pass: vect z1.c: In function 'bar': z1.c:4:6: internal compiler error: in vect_transform_loops, at tree-vectorizer.cc:1032 4 | void bar(double *f, int n) | ^~~ 0xf5afe7 vect_transform_loops ../../gcc/tree-vectorizer.cc:1032 0xf5b394 try_vectorize_loop_1 ../../gcc/tree-vectorizer.cc:1153 0xf5b394 try_vectorize_loop ../../gcc/tree-vectorizer.cc:1185 0xf5b904 execute ../../gcc/tree-vectorizer.cc:1299=