]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-typeck.c
c-typeck.c (really_start_incremental_init, [...]): Avoid constructor_max_index being...
authorJoseph Myers <jsm28@cam.ac.uk>
Mon, 3 Dec 2001 00:09:34 +0000 (00:09 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 3 Dec 2001 00:09:34 +0000 (00:09 +0000)
commit39bc99c26599afa6f3a8bfe0710b11e00b00365b
treebe5d4e7771afbef3ccf72b8f9c94878ef8323adc
parent671f5733ffa12a8b7d7a7f01e1c734a122217b4a
c-typeck.c (really_start_incremental_init, [...]): Avoid constructor_max_index being other than an INTEGER_CST.

* c-typeck.c (really_start_incremental_init, push_init_level):
Avoid constructor_max_index being other than an INTEGER_CST.

testsuite:
* gcc.dg/vla-init-1.c: New test.

From-SVN: r47539
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vla-init-1.c [new file with mode: 0644]