https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94310
Andrew Pinski changed:
What|Removed |Added
Resolution|FIXED |DUPLICATE
--- Comment #5 from Andrew Pin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94310
Patrick Palka changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94310
--- Comment #3 from Marek Polacek ---
Potential fix:
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -16982,6 +16982,15 @@ cp_parser_template_name (cp_parser* parser,
decl = strip_using_decl (decl);
+ if (TREE_CODE (decl) == USING_DECL
+
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94310
--- Comment #2 from Marek Polacek ---
The difference stems from the fact that in this test:
template
struct B { };
template
struct A : public B... {
using B::B...; // #1
using B::operator=...; // #2
};
int main() {}
when parsing B in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94310
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
CC|