From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 33A553951C39; Mon, 8 Mar 2021 16:33:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 33A553951C39 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99378] [8/9/10 Regression] ICE in decompose_normal_address, at rtlanal.c:6710 Date: Mon, 08 Mar 2021 16:33:16 +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: jakub 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: 8.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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, 08 Mar 2021 16:33:17 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99378 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[8/9/10/11 Regression] ICE |[8/9/10 Regression] ICE in |in |decompose_normal_address, |decompose_normal_address, |at rtlanal.c:6710 |at rtlanal.c:6710 | --- Comment #5 from Jakub Jelinek --- Yes. But note the https://gcc.gnu.org/g:04b4828c6dd215385fde6964a5e13da8a01a78ba=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 commit r11-7554-g04b4828c6dd215385fde6964a5e13da8a01a78ba=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Author: Vladimir N. Makarov =20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Date: Mon Mar 8 09:24:57 2021 -0500=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 [PR99422] LRA: Skip modifiers when processing memory address.=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 Function process_address_1 can wrongly look at constraint modifiers= =20=20=20=20=20=20=20 instead of the 1st constraint itself. The patch solves the problem.=20= =20=20=20=20=20=20=20 gcc/ChangeLog:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 PR target/99422=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 * lra-constraints.c (skip_contraint_modifiers): New function.= =20=20=20=20=20=20=20 (process_address_1): Use it before lookup_constraint call.=20= =20=20=20=20=20=20=20=20=20 follow-up.=