]>
gcc.gnu.org Git - gcc.git/commit
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
This page took 0.0582 seconds and 5 git commands to generate.