This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22147] [4.0 regression] ICE in get_bindings
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Oct 2005 16:41:07 -0000
- Subject: [Bug c++/22147] [4.0 regression] ICE in get_bindings
- References: <bug-22147-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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