[Bug c++/22147] [4.0 regression] ICE in get_bindings
nathan at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Oct 18 16:41:00 GMT 2005
------- 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 <nathan@codesourcery.com>
PR c++/22147
Backport 2005-09-27 Mark Mitchell <mark@codesourcery.com>
* 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 <mark@codesourcery.com>
* 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
More information about the Gcc-bugs
mailing list