https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90505
--- Comment #8 from Marek Polacek ---
Test from Bug 92221:
template class a {
using b = int;
using c = int;
b d;
void e() { g(d); }
template static void g(f...);
};
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90505
Marek Polacek changed:
What|Removed |Added
CC||dimitar.yordanov at sap dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90505
--- Comment #6 from Marek Polacek ---
Test from 91479:
template struct foo
{
template
static void bar(const U&) {}
static void bar(int x) { bar(x); }
};
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90505
Marek Polacek changed:
What|Removed |Added
CC||dmatthews at utexas dot edu
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90505
Jakub Jelinek changed:
What|Removed |Added
Target Milestone|9.2 |9.3
--- Comment #4 from Jakub Jelinek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90505
--- Comment #3 from Marek Polacek ---
Seems to be caused by this change:
@@ -16327,15 +16388,6 @@ cp_parser_template_name (cp_parser* parser,
}
}
- /* If DECL is dependent, and refers to a function, then just return
- its name;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90505
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned