From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 635133858C42; Sat, 30 Dec 2023 18:46:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 635133858C42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703961982; bh=NeN4EMwWvRoxo/ukjdB1aAY/K9ukj0jIXa4ofgd28bs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=memcjoCWPD6SjLm4fX5vZyKLK47OIFN17gid5Di73MWII8gjLCnCAGit8WkUXz7q1 xZnnc6dC/rzPUo5ogtxnoRR7KWsBMAo8uhtNa7g4X/3AWmM0hczyjykXfQ/bHW+56g UDF8DDJFiWNfXSjRksJLwjMAmG4lbBBKY/VtPxCc= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113178] [14 Regression] ice in find_uses_to_rename_use Date: Sat, 30 Dec 2023 18:46:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status keywords everconfirmed cf_reconfirmed_on 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=3D113178 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |needs-bisection Ever confirmed|0 |1 Last reconfirmed| |2023-12-30 --- Comment #1 from Andrew Pinski --- More reduced testcase and converted into one is C code too: ``` struct PixelWeight { int m_SrcStart; int m_Weights[16]; }; char h; void f(struct PixelWeight *pPixelWeights) { int dest_g_m; long tt; for (int j =3D 0; j < 16; j++) { int *p =3D 0; if (j < pPixelWeights->m_SrcStart) p =3D tt ? &pPixelWeights->m_Weights[0] : 0; int pWeight =3D *p; dest_g_m +=3D pWeight; } h =3D dest_g_m; } ```=