]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/ChangeLog
re PR c/71362 (Wrong position for "error: size of unnamed array is negative")
authorMarek Polacek <polacek@redhat.com>
Mon, 6 Jun 2016 21:15:07 +0000 (21:15 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 6 Jun 2016 21:15:07 +0000 (21:15 +0000)
commit1f40cff37998535a8f6f3eb6989327d8be3c8efb
tree5e94980823d22597d1674945fb32b9b600964729
parent6f5bcd24004651c3b92af349fcfa56d7328c8ee4
re PR c/71362 (Wrong position for "error: size of unnamed array is negative")

PR c/71362
* c-parser.c (c_parser_direct_declarator): Set location.

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

From-SVN: r237155
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr71362.c [new file with mode: 0644]