From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3EA053858D37; Mon, 17 Jul 2023 09:14:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3EA053858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689585255; bh=cEAMbXU7hZUeDP6xb/q9+LVha36yki715HPbgWNjWBo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=H7+TTqaRrx5cyv0ZIxj7M8XXhQEZJSOwDPd3d33d/tTYNawQhw+XSSX7hxs+m7yV4 fHq2m5jUfix2+dmSlvJVEhW6hNzuCZaQWhxy5K0on56QVfnJfChUZXshHB4o4HPSt4 r2SvSmX2u7y1ZycxS73sQb2Yb+ZsvhXF6kTZSt20= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110687] problem with class template Date: Mon, 17 Jul 2023 09:13:35 +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: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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=3D110687 --- Comment #2 from Jonathan Wakely --- Fixed for 12.1 and 11.4 by: c++: template-id with current inst qualifier [PR102300] The patch for PR41723 properly changed one place to look into the curre= nt instantiation; now we need to fix this place as well. PR c++/102300 gcc/cp/ChangeLog: * parser.cc (cp_parser_template_name): Use dependent_scope_p. Probably a dup of PR 41723.=