re PR c++/8338 (Infinite loop on illegal code)
PR c++/8338 * pt.c (for_each_template_parm): Add htab parameter. (process_partial_specialization): Adjust call. (push_template_decl_real): Likewise. (pair_fn_data): Add visited. (for_each_template_parm_r): Avoid walking duplicates more than once. (uses_template_parms): Adjust call to for_each_template_parm. PR c++/8338 * g++.dg/template/crash2.C: New test. From-SVN: r58911
Showing
gcc/testsuite/g++.dg/template/crash2.C
0 → 100644
Please
register
or
sign in
to comment