[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106849 Nathaniel Shead changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |14.0 Assignee|unassigned at gcc dot gnu.org |nshead at gcc dot gnu.org CC||nshead at gcc dot gnu.org --- Comment #6 from Nathaniel Shead --- Fixed for GCC 14.
[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106849 Sam James changed: What|Removed |Added Keywords||ice-checking Ever confirmed|0 |1 CC||nathan at gcc dot gnu.org Last reconfirmed||2023-11-15 Status|UNCONFIRMED |NEW --- Comment #5 from Sam James --- Fixed for 14 then?
[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106849 --- 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
[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106849 --- Comment #3 from David Stone --- Oh, as per https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112355#c3 it's just that the 13.2 build isn't checked, so it's not a new bug.
[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106849 --- Comment #2 from David Stone --- Looks like it works in 13.2 but fails in trunk. 13.2: https://godbolt.org/z/d54ToW7zW trunk: https://godbolt.org/z/eej9d7ccM
[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106849 Andrew Pinski changed: What|Removed |Added CC||davidfromonline at gmail dot com --- Comment #1 from Andrew Pinski --- *** Bug 112355 has been marked as a duplicate of this bug. ***