------- Comment #7 from jason at gcc dot gnu dot org  2009-12-24 21:46 -------
Subject: Bug 41305

Author: jason
Date: Thu Dec 24 21:46:14 2009
New Revision: 155461

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155461
Log:
        PR c++/41305, DR 384
        * name-lookup.c (arg_assoc_class): Split out arg_assoc_class_only
        and arg_assoc_bases.
        (friend_of_associated_class_p): Remove.
        (arg_assoc_namespace): Don't call it.
        (arg_assoc_template_arg): Use arg_assoc_class_only for member
        template context.
        (arg_assoc_type): Handle UNION_TYPE and ENUMERAL_TYPE properly.

        * name-lookup.c (arg_assoc): Handle TEMPLATE_ID_EXPR properly.

Added:
    trunk/gcc/testsuite/g++.dg/lookup/koenig10.C
    trunk/gcc/testsuite/g++.dg/lookup/koenig11.C
    trunk/gcc/testsuite/g++.dg/lookup/koenig12.C
    trunk/gcc/testsuite/g++.dg/lookup/koenig9.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/testsuite/ChangeLog


-- 


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

Reply via email to