From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 71DE8385DC08; Tue, 3 Aug 2021 17:02:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 71DE8385DC08 From: "law at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/101697] [11/12 regression] ICE compiling uClibc-ng for h8300-linux Date: Tue, 03 Aug 2021 17:02:48 +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.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law 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: 11.3 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 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: Tue, 03 Aug 2021 17:02:48 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101697 --- Comment #2 from Jeffrey A. Law --- I can't reproduce this on the trunk or with the referenced git hashes. (insn 1444 1443 164 31 (parallel [ (set (mem/f:SI (pre_dec:SI (reg/f:SI 7 sp)) [3 S4 A32]) (reg/f:SI 7 sp)) (clobber (reg:CC 12 cc)) ]) "libc/inet/getaddrinfo.c":466:11 -1 (expr_list:REG_ARGS_SIZE (const_int 4 [0x4]) (nil))) I'm pretty sure this is ill-formed though. The register inside the auto-increment addressing mode isn't allowed to be used elsewhere in the sa= me insn. In particular note that we have (pre_dec (reg sp)) and another refer= ence to (reg sp) in the same insn. I would probably start by identifying when that happens in the dumps.=