https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84537
--- Comment #4 from Marek Polacek ---
Author: mpolacek
Date: Mon Feb 26 14:12:25 2018
New Revision: 257988
URL: https://gcc.gnu.org/viewcvs?rev=257988&root=gcc&view=rev
Log:
PR c++/84537
* name-lookup.c (suggest_alternative_in_ex
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84537
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84537
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84537
--- Comment #3 from Marek Polacek ---
I think just
--- a/gcc/cp/name-lookup.c
+++ b/gcc/cp/name-lookup.c
@@ -5541,6 +5541,10 @@ bool
suggest_alternative_in_explicit_scope (location_t location, tree name,
tree scope)
{
+
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84537
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84537
--- Comment #1 from Volker Reichelt ---
With a slightly modified testcase (namespace std instead of N) I get
a different stack-trace:
===
namespace std
{
template struct A {};
}
std::template A<> a;
===