From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 03E303858C2B; Sat, 5 Nov 2022 02:31:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 03E303858C2B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667615477; bh=3ZQlGTXrJqgQGYAuFR4hmTSHz5C7HwjIAvL1abCZTEc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=b+8q2ZLDrXlTWPDOdSdIR2kV7DuINxGJNFj91C3CPTpVSONNW3y83l0RlPKoxE/6W HsBuPBz/KwoCox6vrFNohRDHZIu3RgvQnwL6++Fcef/G1JizeYO/QzDDC1ZjsAK1jf ALFytVzD/w96kf6VULIJtHseERixEbztkYx3L1rY= From: "de34 at live dot cn" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107528] constexpr evaluator doesn't check for deallocate of mismatched size Date: Sat, 05 Nov 2022 02:31:16 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: de34 at live dot cn 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: cc 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=3D107528 Jiang An changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |de34 at live dot cn --- Comment #1 from Jiang An --- Currently it's unspecified whether this UB results in constant evaluation failure, because this is only caused by the specification in the standard library part (see [expr.const]).=