[C++ PATCH] Pedwarn on a non-standard position of a C++ attribute.

Ville Voutilainen ville.voutilainen@gmail.com
Thu May 24 17:16:00 GMT 2018


On 24 May 2018 at 19:57, Nathan Sidwell <nathan@acm.org> wrote:
> On 05/24/2018 10:48 AM, Ville Voutilainen wrote:
>>
>> Tested manually on Linux-x64, finishing testing with the full suite
>> on Linux-PPC64. Ok for trunk?
>>
>> 2018-05-24  Ville Voutilainen  <ville.voutilainen@gmail.com>
>>
>>      gcc/cp/
>>
>>      Pedwarn on a non-standard position of a C++ attribute.
>>      * parser.c (cp_parser_namespace_definition): Pedwarn about attributes
>>      after the namespace name.
>>
>>      testsuite/
>>
>>      Pedwarn on a non-standard position of a C++ attribute.
>>      * g++.dg/cpp1z/namespace-attribs2.C: New.
>>
>
> ok, thanks

The full suite run revealed a couple of adjustments:

2018-05-24  Ville Voutilainen  <ville.voutilainen@gmail.com>

    gcc/cp/

    Pedwarn on a non-standard position of a C++ attribute.
    * parser.c (cp_parser_namespace_definition): Pedwarn about attributes
    after the namespace name.

    testsuite/

    Pedwarn on a non-standard position of a C++ attribute.
    * g++.dg/cpp0x/gen-attrs-56.C: Adjust.
    * g++.dg/cpp0x/gen-attrs-64.C: Likewise.
    * g++.dg/cpp1z/namespace-attribs2.C: New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pedwarn-namespace-pos2.diff
Type: text/x-patch
Size: 1884 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180524/a8860de8/attachment.bin>


More information about the Gcc-patches mailing list