From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8AAC33858C52; Wed, 10 Jan 2024 08:05:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8AAC33858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704873909; bh=RK2CmBrfknDb4Zzad4l2uJ3FlkROmG8IYNzHDiaZleM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LTr9OtDuj2c9PEKr1iXVx5EhnI4darm4zYscIrl2vMj6kJmdln/VoVUGexqJX8mO6 cxdlTIudc7+LB2vI1Sjd36QqT+8YZR2ZyDOY46FjJwUZ7dWB/Lldu8HvQp+o/goH34 XmRZfU7DI+sw0Kfc/fZjIObhL2Pg4jJup2eHHJcA= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109636] [14 Regression] ICE: in paradoxical_subreg_p, at rtl.h:3205 with -O -march=armv8.4-a+sve Date: Wed, 10 Jan 2024 08:05:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code, needs-bisection, testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D109636 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #9) > The following testcases now fail due to this ICE when compiled with > -march=3Darmv9-a+sve2 (something which I have been testing recently too): > gcc.dg/torture/pr70083.c > gcc.dg/pr69896.c > gcc.target/aarch64/pr70120-1.c Note gcc.dg/pr69896.c has a different path (not via gen_*divv*) to the ICE though: ``` /home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.dg/pr69896.c:22= :1: internal compiler error: in paradoxical_subreg_p, at rtl.h:3213 0x80c65b paradoxical_subreg_p(machine_mode, machine_mode) ../../gcc/rtl.h:3213 0x80cfc8 paradoxical_subreg_p(machine_mode, machine_mode) ../../gcc/poly-int.h:2179 0x80cfc8 simplify_const_vector_subreg ../../gcc/simplify-rtx.cc:7423 0x80cfc8 simplify_context::simplify_subreg(machine_mode, rtx_def*, machine_mode, poly_int<2u, unsigned long>) ../../gcc/simplify-rtx.cc:7595 0xfae1c9 insn_propagation::apply_to_rvalue_1(rtx_def**) ../../gcc/recog.cc:1176 0xfadcab insn_propagation::apply_to_rvalue_1(rtx_def**) ../../gcc/recog.cc:1117 0xfade93 insn_propagation::apply_to_rvalue_1(rtx_def**) ../../gcc/recog.cc:1254 0xfae63f insn_propagation::apply_to_pattern(rtx_def**) ../../gcc/recog.cc:1396 0x1cfdb66 try_fwprop_subst_pattern ../../gcc/fwprop.cc:440 0x1cfdb66 try_fwprop_subst ../../gcc/fwprop.cc:613 0x1cfe500 forward_propagate_and_simplify ../../gcc/fwprop.cc:809 0x1cfe500 forward_propagate_into ../../gcc/fwprop.cc:872 0x1cfe89d forward_propagate_into ../../gcc/fwprop.cc:821 0x1cfe89d fwprop_insn ../../gcc/fwprop.cc:929 0x1cfe9c1 fwprop ../../gcc/fwprop.cc:981 ```=