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++/29105] [4.2 Regression] segfault in add_candidates with a non template base class and a template member function



------- Comment #4 from mmitchel at gcc dot gnu dot org  2006-10-02 04:13 -------
Subject: Bug 29105

Author: mmitchel
Date: Mon Oct  2 04:12:51 2006
New Revision: 117361

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117361
Log:
        PR c++/29105
        * pt.c (tsubst_baselink): Substituteinto the qualifying scope.
        * semantics.c (baselink_for_fns): Build a baselink, even when
        processing a template.
        PR c++/29105
        * g++.dg/template/member6.C: New test.
        * g++.dg/parse/typename7.C: Adjust error markers.

Added:
    trunk/gcc/testsuite/g++.dg/template/member6.C
Modified:
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/g++.dg/parse/typename7.C


-- 


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


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