PR c/67964
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Oct 2015 16:53:45 +0000 (16:53 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Oct 2015 16:53:45 +0000 (16:53 +0000)
commit3f73be3ec9986115d7f7b720e5399861a2831a9f
treec8c49700d2ef453f3aba6ccf592745725642b511
parentafb6adb98a5c7b44bc2d12a83e90e6e4bd250777
PR c/67964
* c-parser.c (c_parser_attributes): Break out of the loop if the
token after an attribute isn't a comma.

* gcc.dg/pr67964.c: New test.

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