From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A84543858C2B; Tue, 14 Nov 2023 19:43:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A84543858C2B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699991012; bh=zeysIGwd3c3J5B/oaT5Yqgb+UGq9rgCgVamUGwLEt58=; h=From:To:Subject:Date:In-Reply-To:References:From; b=k6yNCx7rJQ2gTr2MrXPz8xRaykUwykUnkCX+N8XU9+q98aLtrt5ZetvfVvME5LHpP xECphP52crbBvBFGkAE5Ocrt9FpDt+xG4Iu3LyhOIfmVNpXDufdafP/CerD+wxGbH8 r39BurggncjqKDdws0UJD309EqaW2NWNw4VZDI6s= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/106849] internal compiler error: tree check: expected none of template_decl, have template_decl in do_nonmember_using_decl, at cp/name-lookup.cc:4841 Date: Tue, 14 Nov 2023 19:43:31 +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: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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=3D106849 --- Comment #4 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:5b9ecce87e8f315e2681743d75401991cdfefa71 commit r14-5460-g5b9ecce87e8f315e2681743d75401991cdfefa71 Author: Nathaniel Shead Date: Thu Nov 9 19:05:09 2023 -0500 c++: Fix exported using decls of templates We need to look at DECL_TEMPLATE_RESULT to get the module attachment. PR c++/106849 gcc/cp/ChangeLog: * name-lookup.cc (do_nonmember_using_decl): Handle TEMPLATE_DECLs when checking module attachment. gcc/testsuite/ChangeLog: * g++.dg/modules/using-9.C: New test. Signed-off-by: Nathaniel Shead Signed-off-by: Nathan Sidwell =