From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3830A3858D35; Thu, 19 Jan 2023 01:31:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3830A3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674091868; bh=ZTYuNk3p4d79Ah6x64FQPFWdNm2XNxDruLpLMU+CBEU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pVSqJUafBCynTp8cbCiXXqq6XLIP504zyShpiXLd1x/iAdFRc8q1yWS1/uy9ORMGC 7TyXC3XQ949IPMV4qNIlRK2Xx3vhTl4ImD+9ItdFo3XIgWi6JGYxOznLR9UPizXU0+ ff9VPtGCEXnV3q4ULTnPK2D9sjvxFJ6scaJJiWmk= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/104512] [c++20] consteval constructor does not need to initialize all data members Date: Thu, 19 Jan 2023 01:31:08 +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: 12.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: bug_status resolution 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=3D104512 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > constexpr works but consteval does not. >=20 > Also I notice ICC rejects the consteval version but accepts the constexpr > one. This gives the hint that both MSVC and clang are incorrect really. EDG also implements correctly static_assert not being an immediate function context. So closing as invalid.=