From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73570 invoked by alias); 15 May 2017 20:27:32 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 73551 invoked by uid 89); 15 May 2017 20:27:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:976, HX-Gm-Message-State:AODbwcB X-HELO: mail-yb0-f181.google.com Received: from mail-yb0-f181.google.com (HELO mail-yb0-f181.google.com) (209.85.213.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 15 May 2017 20:27:30 +0000 Received: by mail-yb0-f181.google.com with SMTP id p143so30592977yba.2 for ; Mon, 15 May 2017 13:27:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:from:to:references:message-id :date:user-agent:mime-version:in-reply-to:content-language; bh=/hdRxB3WhO3S8nQ/SfYR94n6P5QrYR61Pi+vPNzuzjg=; b=hd4MesTR30ojFIvtSX/QOs+sLQW6+pOPS/EVH+lLRrELrb/6a+04P+5+N5uYcoSlub ktSgPBQVxyaGosLeGk+kUKZpr2R87rqKPmdZF33xbWLaWvLa5YxRDyto9SFsIn7QYhW1 c2jgMB3ZXWaPiMn9aRux01zwgB+oCIUidJ/xRK1AbambjY+rdiU2D8c4UCXeM7+RsqZW ox7tyOtR2npf2EwzAEFiZHp79tbLnYCt9T1qgDC6nU7zC7MURJ/Y3DfE5Xw49vhfoiCu 00KzyO6CpfbVjjbB/b9zUvNumpaMoMmYyTK5PVe2Vrl78+Si1l4emlP3BddHDvbBqU5Z SjZQ== X-Gm-Message-State: AODbwcB/B3bT0dsANoq00wf/x0Y9Op4AjfNB/hUQH64ePmnfm7ek1Wr/ cs7HS1dFc3jVTw== X-Received: by 10.37.108.67 with SMTP id h64mr6596055ybc.12.1494880051694; Mon, 15 May 2017 13:27:31 -0700 (PDT) Received: from ?IPv6:2620:10d:c0a3:20fb:f6d0:5ac5:64cd:f102? ([2620:10d:c091:200::7:4a1a]) by smtp.googlemail.com with ESMTPSA id e62sm6184614ywa.62.2017.05.15.13.27.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 May 2017 13:27:31 -0700 (PDT) Subject: Re: [C++ PATCH] push_namespace cleanup From: Nathan Sidwell To: GCC Patches References: <5a5c09f5-1e45-8b63-bed9-7e9531519abd@acm.org> Message-ID: <3cc5a864-cf2c-f835-f79a-45b9660aff7d@acm.org> Date: Mon, 15 May 2017 20:29:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <5a5c09f5-1e45-8b63-bed9-7e9531519abd@acm.org> Content-Type: multipart/mixed; boundary="------------FBC9C9937144117375763B4F" X-SW-Source: 2017-05/txt/msg01220.txt.bz2 This is a multi-part message in MIME format. --------------FBC9C9937144117375763B4F Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-length: 240 On 05/15/2017 03:38 PM, Nathan Sidwell wrote: > This cleanup patch from the modules branch fixes pr 79369, where we > would accept inlining of an already existing namespace. missed this testcase tweak. now committed. -- Nathan Sidwell --------------FBC9C9937144117375763B4F Content-Type: text/x-patch; name="ns-2.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ns-2.diff" Content-length: 706 2017-05-15 Nathan Sidwell PR c++/79369 * g++.dg/cpp1z/nested-namespace-def1.C: Adjust. Index: testsuite/g++.dg/cpp1z/nested-namespace-def1.C =================================================================== --- testsuite/g++.dg/cpp1z/nested-namespace-def1.C (revision 248066) +++ testsuite/g++.dg/cpp1z/nested-namespace-def1.C (working copy) @@ -11,7 +11,7 @@ A::B::C::T::U::V::Y y; inline namespace D::E {} // { dg-error "cannot be inline" } -namespace F::G:: {} // { dg-error "nested identifier required" } +namespace F::G:: {} // { dg-error "namespace name required" } namespace G __attribute ((visibility ("default"))) ::H {} // { dg-error "cannot have attributes" } --------------FBC9C9937144117375763B4F--