re PR c/59351 (ICE on empty compound literal with -pedantic)
authorMarek Polacek <polacek@redhat.com>
Tue, 3 Dec 2013 11:57:31 +0000 (11:57 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 3 Dec 2013 11:57:31 +0000 (11:57 +0000)
commitda0fc4547a3377430cbc522c4676cd1f707f32d2
tree91085ec52c0073bd8c0dcaca52eb9f01e822159a
parent199f847c9819b6cb2c36f109e53d1ef0ad8ace83
re PR c/59351 (ICE on empty compound literal with -pedantic)

PR c/59351
c/
* c-decl.c (build_compound_literal): Allow compound literals with
empty initial value.
testsuite/
* gcc.dg/pr59351.c: New test.

From-SVN: r205627
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr59351.c [new file with mode: 0644]