From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8F6D238582AE; Mon, 18 Dec 2023 15:36:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8F6D238582AE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702913771; bh=z1ZrKGeplMI1LOcUyYA72hkCTM44ZI7oxaTF8m2Sn0M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ykxEHMIgIIAtmtJa2TRtoEPSI8jMT9+QuP9+m6BjoeM0AAKnlk6Ext2O53nVQ4rGK 2aip4zM6QHXJ6EkoALhaLWFrTBRjWYXsmcDxMc0RilXAj59f2tsI66Xio4Kc8xLTT1 +52Nht2ZCHySBVWzN0OSTZl41EDWopcMlUvQYI1s= From: "acoplan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113062] [14 Regression][aarch64] ICE in fuse_pair, at config/aarch64/aarch64-ldp-fusion.cc:1456 since r14-6605-gc0911c6b357ba9 Date: Mon, 18 Dec 2023 15:36:11 +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 X-Bugzilla-Severity: normal X-Bugzilla-Who: acoplan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: acoplan 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=3D113062 --- Comment #2 from Alex Coplan --- So we try to combine these two insns: (insn 14 82 16 2 (set (mem/c:TF (plus:DI (reg/f:DI 31 sp) (const_int 32 [0x20])) [3 %sfp+-32 S16 A128]) (asm_operands:TF ("") ("=3Dg") 0 [ (mem/c:TF (plus:DI (reg/f:DI 31 sp) (const_int 32 [0x20])) [3 %sfp+-32 S16 A128]) ] [ (asm_input:TF ("0") t.c:5) ] [] t.c:5)) "t.c":5:6 -1 (nil)) (insn 16 14 19 2 (set (mem/c:TF (plus:DI (reg/f:DI 31 sp) (const_int 48 [0x30])) [3 %sfp+-16 S16 A128]) (asm_operands:TF ("") ("=3Dg") 0 [ (mem/c:TF (plus:DI (reg/f:DI 31 sp) (const_int 48 [0x30])) [3 %sfp+-16 S16 A128]) ] [ (asm_input:TF ("0") t.c:5) ] [] t.c:5)) "t.c":5:6 -1 (nil)) I think we aren't expecting to see memory operands in the RHS of the stores= , I think the pass needs to reject invalid operands earlier before we even start tracking them. Testing a patch.=