From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8CB843858403; Sat, 2 Dec 2023 00:28:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8CB843858403 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701476907; bh=G2cQdmNifHrS5C3Tv1dgRegWBuR0NBTcmeccX9GbEEM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=brnOTAJ5FXv/0ydivrHLqxiponcqC08ffr8C3pRW1jk2uiyECpwUTKjDQXfSvvFtg gODgYD1lMvQOCoARrZnUNyZPFPyGT6wNRluMYdZaAlZEtDEnWmy3XOmdELaF+Skfgr UPa1hndEHGLkuqT8/otLU1j53jPfFyBPKsy+C+zo= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/112775] Class template partial specialization with decltype(n) is wrongly rejected Date: Sat, 02 Dec 2023 00:28:26 +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.2.1 X-Bugzilla-Keywords: diagnostic, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: everconfirmed cf_reconfirmed_on bug_status keywords 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=3D112775 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2023-12-02 Status|UNCONFIRMED |NEW Keywords| |diagnostic --- Comment #1 from Andrew Pinski --- Confirmed. What is interesting is if we don't use -pedantic-errors, the following is accepted: ``` template class A; template class A {}; A b; ``` And even more if we have 2 different values for the 2/3rd arguments, it is rejected as an incomplete class.=