This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C PATCH] Warn for _Alignas in an array declarator (PR c/58267)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 22 Oct 2013 14:31:37 +0000
- Subject: Re: [C PATCH] Warn for _Alignas in an array declarator (PR c/58267)
- Authentication-results: sourceware.org; auth=none
- References: <20131016113405 dot GC10967 at redhat dot com> <Pine dot LNX dot 4 dot 64 dot 1310161221520 dot 10873 at digraph dot polyomino dot org dot uk> <20131016151956 dot GE10967 at redhat dot com> <Pine dot LNX dot 4 dot 64 dot 1310191914250 dot 1525 at digraph dot polyomino dot org dot uk> <20131021182943 dot GO10967 at redhat dot com>
On Mon, 21 Oct 2013, Marek Polacek wrote:
> Tested via make check -C gcc RUNTESTFLAGS=dg.exp=c1x-*.c, ok for
> trunk?
>
> 2013-10-21 Marek Polacek <polacek@redhat.com>
>
> c/
> * c-parser.c (c_parser_struct_declaration): Add a comment.
> (c_parser_declarator): Don't allow _Alignas here.
> testsuite/
> * gcc.dg/c1x-align-5.c: Add more testing.
OK.
--
Joseph S. Myers
joseph@codesourcery.com