This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/22147] [4.0 regression] ICE in get_bindings



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]