------- Comment #10 from rguenth at gcc dot gnu dot org  2006-10-18 09:18 
-------
Subject: Bug 25878

Author: rguenth
Date: Wed Oct 18 09:18:07 2006
New Revision: 117852

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117852
Log:
2006-10-18  Richard Guenther  <[EMAIL PROTECTED]>

        PR C++/25878
        Backport from mainline:
        2006-08-25  Nathan Sidwell  <[EMAIL PROTECTED]>

        PR c++/27787
        * decl.c (make_typename_type): Only try and resolve it when
        context is not dependent.  Refactor.
        * decl2.c (check_classfn): Push to class scope before looking
        * for
        the function.

        * g++.dg/template/typename10.C: New.
        * g++.dg/template/lookup4.C: Remove bogus error marker.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/typename10.C
      - copied unchanged from r116409,
trunk/gcc/testsuite/g++.dg/template/typename10.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/decl.c
    branches/gcc-4_1-branch/gcc/cp/decl2.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/lookup4.C


-- 


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

Reply via email to