[Bug c++/63392] poor error recovery with missing typename
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63392 --- Comment #5 from Eric Gallager --- (In reply to David Malcolm from comment #4) > I've added a fix-it hint (for gcc 9), but I'm not planning to improve the > error-recovery at this time. "at this time" meaning maybe later?
[Bug c++/63392] poor error recovery with missing typename
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63392 David Malcolm changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|dmalcolm at gcc dot gnu.org|unassigned at gcc dot gnu.org Target Milestone|9.0 |--- --- Comment #4 from David Malcolm --- I've added a fix-it hint (for gcc 9), but I'm not planning to improve the error-recovery at this time.
[Bug c++/63392] poor error recovery with missing typename
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63392 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Mon Aug 27 23:33:02 2018 New Revision: 263899 URL: https://gcc.gnu.org/viewcvs?rev=263899=gcc=rev Log: C++: fix-it hint for missing "typename" (PR c++/63392) This patch adds a fix-it hint to missing "typename" errors in the C++ frontend, suggesting the insertion of "typename ". This addresses part of PR c++/63392; however it does not improve the error-recovery for such cases. gcc/cp/ChangeLog: PR c++/63392 * parser.c (cp_parser_diagnose_invalid_type_name): Add fix-it hint. gcc/testsuite/ChangeLog: PR c++/63392 * g++.dg/diagnostic/missing-typename.C: New test. Added: trunk/gcc/testsuite/g++.dg/diagnostic/missing-typename.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog
[Bug c++/63392] poor error recovery with missing typename
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63392 Eric Gallager changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Eric Gallager --- ASSIGNED since there's an assignee
[Bug c++/63392] poor error recovery with missing typename
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63392 David Malcolm changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org Target Milestone|--- |9.0
[Bug c++/63392] poor error recovery with missing typename
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63392 Eric Gallager changed: What|Removed |Added Keywords||error-recovery Status|UNCONFIRMED |NEW Last reconfirmed||2017-09-27 CC||egallager at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Eric Gallager --- Confirmed.