From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DFFD53858C56; Wed, 17 Jan 2024 15:54:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DFFD53858C56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705506865; bh=IkA/IsQn2DIwiQC7qRf3rmR6fV3RsdgADpz3VUmagb0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Frirsr32xT8kLVcuYeNMX1tYNlS06I0YCu7z4a9wbgSl6oy+FlHoZQL+rnXHDh/c8 EhVA2RSYxao+tsimjJcFBWbU32Y7/tPflqJCLq9Gl9rKDKq1SgcpBYSXcPuW4FsmR3 P6ixZD3/ypHaj94f0pTSLTtDPdvLB6kNYNuGPtxY= From: "acoplan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113114] [14 Regression] ICE compiling gcc.c-torture/execute/pr59643.cwith -mabi=ilp32; in try_promote_writeback aarch64-ldp-fusion.cc Date: Wed, 17 Jan 2024 15:54:25 +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, testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: acoplan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 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=3D113114 --- Comment #3 from Alex Coplan --- The following ICEs in the same way without ILP32 (reduced from a testsuite = run with -funroll-loops): $ cat t.c float val[128]; float x; void bar() { int i =3D 55; for (; i >=3D 0; --i) x +=3D val[i]; } $ gcc/xgcc -B gcc -c t.c -O -funroll-loops -mearly-ldp-fusion -mlate-ldp-fu= sion during RTL pass: ldp_fusion t.c: In function =E2=80=98bar=E2=80=99: t.c:7:1: internal compiler error: in try_promote_writeback, at config/aarch64/aarch64-ldp-fusion.cc:2675 7 | } | ^ 0x14671b3 try_promote_writeback =20=20=20=20=20=20=20 /home/alecop01/toolchain/src/other_gcc/gcc/config/aarch64/aarch64-ldp-fusio= n.cc:2675 0x14671b3 ldp_fusion_bb(rtl_ssa::bb_info*) =20=20=20=20=20=20=20 /home/alecop01/toolchain/src/other_gcc/gcc/config/aarch64/aarch64-ldp-fusio= n.cc:2706 0x1467307 ldp_fusion() =20=20=20=20=20=20=20 /home/alecop01/toolchain/src/other_gcc/gcc/config/aarch64/aarch64-ldp-fusio= n.cc:2726 0x146737b execute =20=20=20=20=20=20=20 /home/alecop01/toolchain/src/other_gcc/gcc/config/aarch64/aarch64-ldp-fusio= n.cc:2776 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. I'll investigate. Probably we just shouldn't assert that recog succeeds he= re, but I'll take a closer look at what's going on.=