PR c/69507 - bogus warning: ISO C does not allow ‘__alignof__ (expression)’
authorMartin Sebor <msebor@redhat.com>
Sun, 19 Jun 2016 16:10:04 +0000 (16:10 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Sun, 19 Jun 2016 16:10:04 +0000 (10:10 -0600)
commitaa0db437bce053c3e9fe55ad422b0807aad8b290
treed4cf7b762145a93108c8bef3afb532ccb90ebbee
parentd42844f1fadda7cb8bf37a104d57f4f0e0302a1f
PR c/69507 - bogus warning: ISO C does not allow ‘__alignof__ (expression)’

gcc/testsuite/ChangeLog:

PR c/69507
* gcc.dg/alignof.c: New test.

gcc/c/ChangeLog:

PR c/69507
* c-parser.c (c_parser_alignof_expression): Avoid diagnosing
__alignof__ (expression).

From-SVN: r237581
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/testsuite/ChangeLog