From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3EC3B3858029; Wed, 1 Dec 2021 20:58:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3EC3B3858029 From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/103523] New: [12 Regression] SVE float auto-vect float format expand failure Date: Wed, 01 Dec 2021 20:58:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.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: 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: Wed, 01 Dec 2021 20:58:25 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103523 Bug ID: 103523 Summary: [12 Regression] SVE float auto-vect float format expand failure Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: tnfchris at gcc dot gnu.org Target Milestone: --- Target: aarch64-* The following testcase float *a; b, c; d() { float e; for (; c; c--, e +=3D b) a[c] =3D e; } ICEs with -march=3Darmv8-a+sve -mtune=3Dneoverse-v1 -Ofast, the ICE require= s SVE to be enabled but also requires the neoverse-v1 tuning model to trigger. The ICE is during RTL pass: expand zbuf.i: In function 'd': zbuf.i:3:1: internal compiler error: in format_helper, at real.h:233 3 | d() { | ^ 0xb20be3 format_helper::format_helper(machine_mode const&) /buildAgent/work/aca863c599d7ab73/gcc/real.h:233 0xb20be3 expand_float(rtx_def*, rtx_def*, int) /buildAgent/work/aca863c599d7ab73/gcc/optabs.c:5282 0x902f37 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) /buildAgent/work/aca863c599d7ab73/gcc/expr.c:9607 0x7f2c4b expand_gimple_stmt_1 /buildAgent/work/aca863c599d7ab73/gcc/cfgexpand.c:3967 0x7f2c4b expand_gimple_stmt /buildAgent/work/aca863c599d7ab73/gcc/cfgexpand.c:4028 0x7f7903 expand_gimple_basic_block /buildAgent/work/aca863c599d7ab73/gcc/cfgexpand.c:6069 0x7f9f97 execute /buildAgent/work/aca863c599d7ab73/gcc/cfgexpand.c:6795=