From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8F60F3858C2C; Sat, 1 Oct 2022 23:34:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8F60F3858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664667264; bh=hmITSQXrKQGGdRoW9dLLIgAGOXC0lYYJtKBqbQSBarY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wTceqGIgC/aGetEkuoGudzYvzHOo2+WpoHEaPOxAyuBjbXLVWAyIJY1vZLtXlAzvv /UWpez5qj2DEYGg1375mADbI5ewLgkNabGhrevxSO1TKCKLhq7D7i3++ffgQefuWvb 9+UEOFTEE6X3U9NdipbIuWNnaJzRTeJBQmKdGmis= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/107115] Wrong codegen from TBAA under stores that change effective type? Date: Sat, 01 Oct 2022 23:34:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: alias, wrong-code 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed component cf_reconfirmed_on bug_status 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=3D107115 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Component|middle-end |rtl-optimization Last reconfirmed| |2022-10-01 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski --- The tree level looks fine, though I didn't look at the aliasing info that is exported: [local count: 1073741824]: MEM[(long int *)p4_2(D)] =3D 1; _6 =3D (long unsigned int) index1_3(D); _7 =3D _6 * 8; _8 =3D p4_2(D) + _7; *_8 =3D 2; _9 =3D (long unsigned int) index2_4(D); _10 =3D _9 * 8; _11 =3D p4_2(D) + _10; _12 =3D *_11; MEM[(long int *)_11] =3D _12; _5 =3D MEM[(long int *)p4_2(D)]; return _5;=