-
- Downloads
re PR c++/9298 ([new parser] ICE with function-pointer-type template args)
PR c++/9298 * parser.c (cp_parser_consume_semicolon_at_end_of_statement): New function. (cp_parser_expression_statement): Use it. (cp_parser_explicit_instantiation): Likewise. * pt.c (do_decl_instantiation): Improve error handling logic. PR c++/9298 * g++.dg/parse/template1.C: New test. From-SVN: r61618
Showing
- gcc/cp/ChangeLog 9 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/parser.c 23 additions, 11 deletionsgcc/cp/parser.c
- gcc/cp/pt.c 2 additions, 2 deletionsgcc/cp/pt.c
- gcc/testsuite/ChangeLog 3 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/parse/template1.C 11 additions, 0 deletionsgcc/testsuite/g++.dg/parse/template1.C
Loading
Please register or sign in to comment