OSDN Git Service

* c-typeck.c (really_start_incremental_init, push_init_level):
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Dec 2001 00:09:34 +0000 (00:09 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Dec 2001 00:09:34 +0000 (00:09 +0000)
commitc052c0baa736ddf24d20dfddd922c42f4e3743b2
treebe5d4e7771afbef3ccf72b8f9c94878ef8323adc
parent6e06ecdf6db9e0af8e947cbf7fea9ad7d32d78c1
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47539 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vla-init-1.c [new file with mode: 0644]