From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BBF103858D35; Mon, 8 May 2023 13:31:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BBF103858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683552701; bh=R9ZMpHPoTVP+FHDERl/831GsG9qnkBcAwXz5/dDNCdU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WQypNrKDutDl2lhTYN/EBnq6lf6hGXQz2hDY4poo8UdoRbtwzOIPhBXowtRA+qzVp X7wKXTJcTz3rdn+OUH4B2bTyv7o35SrpvGbi8vZN8K+K/DrModC+C2S2cL3tA/lZNz tYKkLQ+S6CkZUP1YbPH9G/daoyBL58wd1GN2ZGbw= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/109770] wrong(?) devirtualization Date: Mon, 08 May 2023 13:31:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109770 --- Comment #1 from Richard Biener --- I cannot find a clause in the C++ standard constraining the object returned= by a new expression (well, not clearly enough) nor whether re-using the object storage during construction is allowed.=