------- Comment #14 from nathan at gcc dot gnu dot org 2005-10-18 16:41 ------- fixed on 4.0 branch 2005-10-18 Nathan Sidwell <[EMAIL PROTECTED]>
PR c++/22147 Backport 2005-09-27 Mark Mitchell <[EMAIL PROTECTED]> * name-lookup.c (maybe_process_template_type_declaration): Don't treat forward declarations of classes as templates just because we're processing_template_decl. * pt.c (tsubst_decl): Clear DECL_TEMPLATE_INFO for friend functions. PR c++/22147 Backport 2005-09-27 Mark Mitchell <[EMAIL PROTECTED]> * g++.dg/template/friend37.C: New test. * g++.dg/parse/crash28.C: Adjust error markers. -- nathan at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22147