From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15878 invoked by alias); 25 Feb 2008 06:27:58 -0000 Received: (qmail 15768 invoked by alias); 25 Feb 2008 06:27:12 -0000 Date: Mon, 25 Feb 2008 06:27:00 -0000 Message-ID: <20080225062712.15767.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/33486] namespace association doesn't handle parallel namespaces In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jason at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-02/txt/msg02621.txt.bz2 ------- Comment #6 from jason at gcc dot gnu dot org 2008-02-25 06:27 ------- Subject: Bug 33486 Author: jason Date: Mon Feb 25 06:26:24 2008 New Revision: 132611 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132611 Log: * gcc/cp/parser.c (cp_parser_declaration): Handle 'inline namespace'. (cp_parser_namespace_definition): Likewise. PR c++/33486 * gcc/cp/name-lookup.c (arg_assoc_namespace): Look down into inline namespaces, too. * libstdc++-v3/include/bits/c++config: Use 'inline namespace' instead of strong using. Added: trunk/gcc/testsuite/g++.dg/lookup/strong-using-5.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/name-lookup.c trunk/gcc/cp/parser.c trunk/gcc/testsuite/g++.dg/lookup/strong-using-1.C trunk/gcc/testsuite/g++.dg/lookup/strong-using-2.C trunk/gcc/testsuite/g++.dg/lookup/strong-using-3.C trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/c++config -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33486