This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/82679] Uses of typedefs of arrays of _Atomic-qualified types are rejected
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 12 Dec 2017 10:38:40 +0000
- Subject: [Bug c/82679] Uses of typedefs of arrays of _Atomic-qualified types are rejected
- Auto-submitted: auto-generated
- References: <bug-82679-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82679
--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Dec 12 10:38:09 2017
New Revision: 255577
URL: https://gcc.gnu.org/viewcvs?rev=255577&root=gcc&view=rev
Log:
PR c/82679
* c-decl.c (grokdeclarator): Check declspecs insted of atomicp.
* gcc.dg/c11-atomic-5.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/c11-atomic-5.c
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-decl.c
trunk/gcc/testsuite/ChangeLog