re PR c/82679 (Uses of typedefs of arrays of _Atomic-qualified types are rejected)
authorMarek Polacek <polacek@redhat.com>
Tue, 12 Dec 2017 10:38:09 +0000 (10:38 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 12 Dec 2017 10:38:09 +0000 (10:38 +0000)
commit49e6a6c023d1b91c90d3fbdf16adf20dff246156
tree36ecf67aba857eb090279ba388496485a9f879b7
parent6c939c2e9c6c3437fd5664a163890d3006dba45c
re PR c/82679 (Uses of typedefs of arrays of _Atomic-qualified types are rejected)

PR c/82679
* c-decl.c (grokdeclarator): Check declspecs insted of atomicp.

* gcc.dg/c11-atomic-5.c: New test.

From-SVN: r255577
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c11-atomic-5.c [new file with mode: 0644]