From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0F93D3858C52; Tue, 5 Mar 2024 20:47:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F93D3858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709671629; bh=9kz1ddWOP66Hk6n4Z3sTzd/9K0hhK+kTc1R5hc2KcFE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bhPQOuFpeDGPJedZ+1E13QG0bSFvaPu/Hr0pnaHNQNVWtPG+UxPPRiu4lzU88mZMp Vtn4rky5pJ6R+AmPam30hzfxqQE+m1jJS4GXyzWUty8glzMKRy7F8BhMHVmkLPMwm8 aPhS3lG5RNQn4/ugYGBRhLf/ApoqErG8cHcpwLlk= From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110323] [11/12/13/14 Regression] Code for explicit instantiation of template method of template class not generated Date: Tue, 05 Mar 2024 20:47:08 +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: 11.1.0 X-Bugzilla-Keywords: wrong-code 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: 11.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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=3D110323 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 CC| |mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek --- Started with r11-291-g0f50f6daa14018: commit 0f50f6daa140186a048cbf33f54f4591eabf5f12 Author: Jason Merrill Date: Mon May 11 15:46:59 2020 -0400 c++: tree walk into TYPENAME_TYPE. ``` template struct conditional { using type =3D T; }; template struct conditional { using type =3D F; }; constexpr int VAL =3D 1; struct foo { template void bar(typename conditional::type arg) { } }; template void foo::bar<1>(int arg); ```=