https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20906
Andrew Pinski changed:
What|Removed |Added
Keywords||diagnostic
Status|REOPENED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20906
--- Comment #5 from Manuel López-Ibáñez ---
With a slight change in the parse tree, we get a much better message.
prog.cc:3:38: error: wrong number of template arguments (0, should be 1)
template void foo::pop(bar<>&, int) {}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20906
Manuel López-Ibáñez changed:
What|Removed |Added
Summary|excessive diagnostic|excessive diagnostic
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20906
David Malcolm changed:
What|Removed |Added
CC||dmalcolm at gcc dot gnu.org
--- Comment
--- Comment #2 from manu at gcc dot gnu dot org 2010-06-05 23:45 ---
This is not a duplicate of PR 99 (it shows it but that is not what this PR is
about). This is about the excessive diagnostics. In revision 159764 we get:
/home/manuel/pr20906.C:3:34: error: variable or field pop decl