re PR c++/22464 (ICE on classes in template functions which attempt closure)
PR c++/22464 * semantics.c (finish_id_expression): Issue errors about uses of local variables in containing functions even in templates. PR c++/22180 * call.c (build_new_method_call): Correct pretty-printing of destructor names. * pt.c (tsubst_qualified_id): Recognize invalid uses of "~T" as an identifier. PR c++/23694 * decl.c (start_method): Return error_mark_node for errors. PR c++/23307 * pt.c (push_template_decl_real): Complain about attempts to declare template variables. PR c++/22352 * pt.c (tsubst_template_parms): Set processing_template_decl while processing the parameters. (tsubst_decl): Set processing_template_decl when substituting into a TEMPLATE_DECL. PR c++/22405 * pt.c (most_specialized_instantiation): Robustify. PR c++/22464 * g++.dg/template/crash/41.C: New test. PR c++/22180 * g++.dg/template/crash40.C: New test. PR c++/23694 * g++.dg/parse/friend5.C: New test. PR c++/23307 * g++.dg/template/crash38.C: New test. PR c++/22352 * g++.dg/template/friend38.C: New test. PR c++/22405 * g++.dg/template/crash39.C: New test. From-SVN: r105365
Showing
gcc/testsuite/g++.dg/parse/friend5.C
0 → 100644
gcc/testsuite/g++.dg/template/crash38.C
0 → 100644
gcc/testsuite/g++.dg/template/crash39.C
0 → 100644
gcc/testsuite/g++.dg/template/crash40.C
0 → 100644
gcc/testsuite/g++.dg/template/crash41.C
0 → 100644
gcc/testsuite/g++.dg/template/friend38.C
0 → 100644
Please
register
or
sign in
to comment