From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 31AD93858D29; Mon, 15 Mar 2021 11:50:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 31AD93858D29 From: "acoplan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/97252] [10/11 Regression] arm: ICE compiling pure-code/pr94538-2.c with MVE since r10-7293-g3eff57aa Date: Mon, 15 Mar 2021 11:50:30 +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: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: acoplan at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cf_known_to_fail everconfirmed cc keywords cf_gcctarget bug_status 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 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, 15 Mar 2021 11:50:30 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97252 Alex Coplan changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-03-15 Known to fail| |11.0 Ever confirmed|0 |1 CC| |ktkachov at gcc dot gnu.or= g, | |sripar01 at gcc dot gnu.org Keywords| |ice-on-valid-code Target|arm |arm-eabi Status|UNCONFIRMED |NEW --- Comment #1 from Alex Coplan --- The problematic insn is: (insn 8 7 9 2 (set (reg:V4SI 119) (const_vector:V4SI [ (const_int 4095 [0xfff]) (const_int 0 [0]) repeated x3 ])) "ice.c":3:21 2998 {*mve_movv4si} (nil)) We ICE in the output code for *mve_mov with which_alternative =3D=3D = 4. It looks like the constraint is wrong for this alternative: (define_insn "*mve_mov" [(set (match_operand:MVE_types 0 "nonimmediate_operand" "=3Dw,w,r,w,w,r,w,Ux,w") (match_operand:MVE_types 1 "general_operand" "w,r,w,Dn,Uxi,r,Dm,w,Ul"))] Unless I'm missing something, I don't think "Uxi" is a valid constraint. Perhaps the "Ux" constraint was intended instead? If the constraint really is invalid, it would be nice to catch this earlier (ideally when the MD files are processed at build time). Changing the constraint to Ux leads to cycling in LRA. Perhaps something we= nt wrong at expand time? Need to do some more debugging.=