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++/32898] [4.2/4.3 regression] Definition of variable N::i outside namespace N not rejected



------- Comment #3 from jakub at gcc dot gnu dot org  2007-08-23 23:27 -------
Subject: Bug 32898

Author: jakub
Date: Thu Aug 23 23:27:34 2007
New Revision: 127749

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127749
Log:
        PR c++/32898
        * name-lookup.c (set_decl_namespace): lookup_qualified_name failure
        is error_mark_node rather than NULL_TREE.
        * pt.c (check_explicit_specialization): Likewise.

        * g++.dg/lookup/ns3.C: New test.

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


-- 


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


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