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

--- Comment #6 from fabien at gcc dot gnu.org 2012-04-11 20:40:58 UTC ---
Author: fabien
Date: Wed Apr 11 20:40:51 2012
New Revision: 186355

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186355
Log:
gcc/testsuite/ChangeLog

2012-04-09  Fabien ChĂȘne  <fab...@gcc.gnu.org>

    PR c++/52465
    * g++.dg/lookup/using52.C: New.

gcc/cp/ChangeLog

2012-04-09  Fabien ChĂȘne  <fab...@gcc.gnu.org>

    PR c++/52465
    * parser.c (cp_parser_class_name): Call strip_using_decl and
    return the target decl.
    * name-lookup.c (strip_using_decl): Returns NULL_TREE if the decl
    to be stripped is NULL_TREE.
    (qualify_lookup): Call strip_using_decl and perform some checks on
    the target decl.

Added:
    trunk/gcc/testsuite/g++.dg/lookup/using52.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to