re PR c/19435 (spurious warnings with nested array constructors)
authorJoseph Myers <joseph@codesourcery.com>
Wed, 2 Feb 2005 18:03:20 +0000 (18:03 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 2 Feb 2005 18:03:20 +0000 (18:03 +0000)
commit493179dae3e45a9b25767c46c61f04ca3f9a3a17
tree7ccd1aca680b7efb33ec9badfa5bf24703bbed11
parentc7273283dffbb501858dbfbecd42d5515c49ad8e
re PR c/19435 (spurious warnings with nested array constructors)

PR c/19435
* c-typeck.c (really_start_incremental_init): Reset
constructor_max_index for arrays of incomplete type.

testsuite:
* gcc.dg/c99-init-4.c: New test.

From-SVN: r94595
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c99-init-4.c [new file with mode: 0644]