From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C54203858C62; Wed, 22 May 2024 21:43:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C54203858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716414235; bh=+5mtKkUArwADfWlMCwIQkRrKosR6UZ4txN/uXROJV6Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LYpNN6ZM2e5JQFc2t9/JyfSeZVdiQTgp4szaBfm+2AHBbY7dBmoRXYBUl9o+LZoeB f3hp1fvP6LfppOCAzudT3jvSJMwy/l/VQ+ovA/C50+Yu2W0Un1wOeoI+6+dVb5Mm0+ pdcxYRwY61AR37uf82iS4e6AuPQrmQEwn0sMIf3U= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/115199] [15 regression] gettext (libtextstyle) testsuite miscompiled Date: Wed, 22 May 2024 21:43:55 +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: unknown 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: 15.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone bug_status cc keywords cf_reconfirmed_on everconfirmed 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=3D115199 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |15.0 Status|UNCONFIRMED |NEW CC| |rguenth at gcc dot gnu.org Keywords| |alias Last reconfirmed| |2024-05-22 Ever confirmed|0 |1 --- Comment #4 from Andrew Pinski --- Confirmed. ``` Deleted dead call: # .MEM_6 =3D VDEF <.MEM_4> # PT =3D null { D.2790 } # ALIGN =3D 8, MISALIGN =3D 0 e_7 =3D memcpyD.1670 (f_5, "z", 1); ``` Note the volatile makes the difference. It seems like we miss that the memo= ry escapes through the volatile store so we delete the memcpy as being dead.=