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++/38278] [4.4 Regression] C++ namespace collision



------- Comment #3 from jason at gcc dot gnu dot org  2008-11-28 21:25 -------
Subject: Bug 38278

Author: jason
Date: Fri Nov 28 21:23:38 2008
New Revision: 142263

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142263
Log:
        PR c++/38278
        * parser.c (cp_parser_class_name): Only call
        maybe_note_name_used_in_class if we actually found a class name.

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


-- 


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


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