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++/25342] [3.4/4.0/4.1/4.2 Regression] internal compiler error: in lookup_member, at cp/search.c:1209



------- Comment #6 from janis at gcc dot gnu dot org  2006-01-16 20:34 -------
A regression hunt on powerpc-linux using the testcase from comment #1
identified the following patch:

http://gcc.gnu.org/viewcvs?view=rev&rev=72611

r72611 | lerdsuwa | 2003-10-17 15:41:46 +0000 (Fri, 17 Oct 2003) | 13 lines

        PR c++/2513
        * decl.c (make_typename_type): Use dependent_type_p.
        (make_unbound_class_template): Likewise.
        * pt.c (instantiate_class_template): Increment
        processing_template_decl during substitution of template friend
        function.  Preincrement processing_template_decl rather than
        postincrement.
        (get_mostly_instantiated_function_type): Increment
        processing_template_decl during partial substitution of function
        type.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25342


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