[Bug c/59351] ICE on empty compound literal with -pedantic
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 3 12:52:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59351
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Dec 3 12:52:39 2013
New Revision: 205629
URL: http://gcc.gnu.org/viewcvs?rev=205629&root=gcc&view=rev
Log:
PR c/59351
c/
* c-decl.c (build_compound_literal): Allow compound literals with
empty initial value.
testsuite/
* gcc.dg/pr59351.c: New test.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/pr59351.c
Modified:
branches/gcc-4_8-branch/gcc/c/ChangeLog
branches/gcc-4_8-branch/gcc/c/c-decl.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list