From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3AECA3858C41; Fri, 9 Jun 2023 18:40:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3AECA3858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686336003; bh=M8JBglmlyk67EJ8jdfTLmLQKnJ2et80Es+7H2hIbE8Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eACMQUW76q2ywePiYzpH/qZNV2UBsizfkms1PrZJQKaXIj79QfeAgS2ZdlvAeUgxK izS15zdtFoa/iFc015aXjUuUe8633eqoHZHtj7xKMQ5VobNTMHjtYMwHiUsne1iqEL F+7aO1bnjQdDVqvfAUgm07daPBYNFnx3bw2mt3/Y= From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110197] [13/14 Regression] Empty constexpr object constructor erronously claims out of range access Date: Fri, 09 Jun 2023 18:40:02 +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: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.2 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=3D110197 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #1 from Marek Polacek --- Started with r13-963: commit d19b4342c19e5a7fd84888aa06ebc106438d0c46 Author: Jason Merrill Date: Wed Jun 1 17:30:25 2022 -0400 c++: more constexpr empty base [PR105795] Following on from the previous patch, for trunk let's consistently set ctx->ctor to NULL_TREE for empty subobjects.=