From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CF14A383982C; Wed, 6 Apr 2022 14:44:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CF14A383982C From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/104578] [12 Regression][CWG1315] accepts invalid partial template specialization, non-type template argument depends on a template parameter Date: Wed, 06 Apr 2022 14:44:32 +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: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: jason 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: 12.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc cc 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2022 14:44:32 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104578 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[12 Regression] accepts |[12 Regression][CWG1315] |invalid partial template |accepts invalid partial |specialization, non-type |template specialization, |template argument depends |non-type template argument |on a template parameter |depends on a template | |parameter CC| |jason at gcc dot gnu.org, | |ppalka at gcc dot gnu.org Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Jason Merrill --- This was changed by r12-1093, which implements https://wg21.link/cwg1315 .= =20 This testcase seems like exactly the sort of thing that DR1315 intended to allow.=