PR c/82679
commita76253516cd8bdae508dde41e94a3370898dc493
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Dec 2017 10:38:09 +0000 (12 10:38 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Dec 2017 10:38:09 +0000 (12 10:38 +0000)
tree36ecf67aba857eb090279ba388496485a9f879b7
parentd398aa5956b7b28b8511e75c04a5968588429872
PR c/82679
* c-decl.c (grokdeclarator): Check declspecs insted of atomicp.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255577 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c11-atomic-5.c [new file with mode: 0644]