From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7FFD139A6890; Fri, 29 May 2020 21:00:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7FFD139A6890 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1590786020; bh=gduElbZEMwpQeqf599/FljjcKBSd26Z39T+6WmJpq9k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yPZ1bMiT8Bh4rehzcn9E2p1+3JHIBHBB4WpuYXoJqF/lhdLeF7xXoiWzJh1Wai1rX aaNapFFPSWikyUOCGHZ+cRNzD5Bw+hg8ril9FXDCzp8J3j2i75MiqT+YW/ezwAmTDk M4zcWbeg54pREzvh7LrkcBqgef7SSuS9Ea7a1pQ4= From: "andrew2085 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/95349] Using std::launder(p) produces unexpected behavior where (p) produces expected behavior Date: Fri, 29 May 2020 21:00:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: andrew2085 at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2020 21:00:20 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95349 --- Comment #17 from Andrew Downing --- Also none of the behavior described in p0593 is required for this C++ progr= am to be well defined. All objects that are required to exists here are created explicitly. It's not relying on the implicit creation of any objects. This = is valid C++17 code.=