From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C95513858D28; Wed, 18 Jan 2023 18:29:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C95513858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674066592; bh=ci3ZtiKl1+j/fnwOkZLFrsNaZoz85rXWZn9eENr/3AI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=axwLloJyPJ6hu97rc8anqdBNVEC4SlYQZnVODNWCw39obfA1qaUtDGmb1dMLlKvZH ndB7CUgIrRI300k/3YGI1AI9VuYldb5wgpuHMUPRLvIViqusXU5FT+tPfo5Q7Bd1r0 X+YOA5atT2t8vUyifNb1r+fbEzWaM4fMOpZ5lZyQ= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/108448] GCC Elides Assignment to Pointer and memcpy Date: Wed, 18 Jan 2023 18:29:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 11.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: 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=3D108448 --- Comment #4 from Andrew Pinski --- Does it work at -O0? Does -fsanitizer=3Daddress -fsanitizer=3Dundefined report anything?=