From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DE65C3858418; Wed, 18 Oct 2023 02:21:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DE65C3858418 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697595691; bh=0MWH9D3MEJ25mmLVkHDFNRL2lwPyG8QrRIRs/d8LjI4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=i8OCCGeM1OHMMwBWs0FHsLtm2Sok5+WpzsAarYbpUGgu2WYiN/d/6A0d/b3iSEmq4 WBJNAWxFXpFlr1lM2rx1IGa4fv/VQTiDRPkN4ALbAvq3aMwh0GJECEHCcq2JaixpdY K4lskpFZ3YL8ZOpMKmHfzTCNz74nV/S/Y2WdLI+4= From: "rs2740 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/111854] new (align_val_t) should be ill-formed Date: Wed, 18 Oct 2023 02:21:30 +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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rs2740 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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=3D111854 TC changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rs2740 at gmail dot com --- Comment #7 from TC --- Per https://eel.is/c++draft/basic.stc.dynamic.deallocation#3.sentence-4, `v= oid operator delete(void*, std::size_t, std::align_val_t);` is a usual dealloca= tion function just like `void operator delete(void*, std::size_t);` and therefore this should be rejected for the same reason that the example in comment #3 = is rejected.=