From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4FD1C384AB47; Fri, 3 May 2024 07:58:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4FD1C384AB47 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714723129; bh=cv8emjCvIfz+3QRlXCdKNDdICkn2YE3pYOqRyxqnKCk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hwRd9STDN/swNYr4FGNAVbwaVXGtPhVBphav67e6TiuZRPm4CpIlpCmaXdAiOZoh1 V0sKTQjxGWxf9q+46acL9Zwdnn/ubz8JgpvtMjWTe6NnHs0TjLnvfADG6BCdlyzdTA td6owS2mlmGjVxQD4L7pHbWEyXTwIZwsG1VHI/0M= From: "jlame646 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107945] static constexpr incomplete (depedent) data member of a class template and in-member initialized incorrectly accepted Date: Fri, 03 May 2024 07:58:48 +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: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: jlame646 at gmail dot com X-Bugzilla-Status: NEW 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=3D107945 --- Comment #6 from Jason Liam --- Here is the thread that explains why this is ill-formed.=20 https://stackoverflow.com/questions/74642250/incomplete-type-works-with-gcc= -but-not-with-clang-and-msvc=