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++/22136] [4.1/4.2 regression] Rejects old-style using declaration



------- Comment #19 from mmitchel at gcc dot gnu dot org  2006-01-20 03:07 -------
Subject: Bug 22136

Author: mmitchel
Date: Fri Jan 20 03:07:49 2006
New Revision: 110016

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110016
Log:
        PR c++/22136
        * name-lookup.c (do_class_using_decl): Don't try to look up base
        classes in templates with dependent base types.
        PR c++/22136
        * g++.dg/template/using10.C: New test.
        * g++.dg/temlpate/using11.C: Likewise.
        * g++.dg/inherit/using5.C: Tweak error messages.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/using10.C
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/using11.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/name-lookup.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/inherit/using5.C


-- 


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


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