r158074 - in /trunk: gcc/cp/ChangeLog gcc/cp/cp...
jason@gcc.gnu.org
jason@gcc.gnu.org
Wed Apr 7 15:55:00 GMT 2010
Author: jason
Date: Wed Apr 7 15:55:02 2010
New Revision: 158074
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158074
Log:
* name-lookup.c (current_decl_namespace): Non-static.
(pop_nested_namespace): Sanity check.
* cp-tree.h: Declare current_decl_namespace.
* decl.c (grokvardecl): Use it instead of current_namespace.
(grokfndecl): Likewise.
* gnu/gcj/runtime/natSharedLibLoader.cc (findCore): Move
declaration of _Jv_create_core out of the function.
Added:
trunk/gcc/testsuite/g++.dg/lookup/ns4.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/decl.c
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog
trunk/libjava/ChangeLog
trunk/libjava/gnu/gcj/runtime/natSharedLibLoader.cc
More information about the Gcc-cvs
mailing list