c-typeck.c (set_init_index): If first is equal to last, assume as if it was not a...
authorJakub Jelinek <jakub@redhat.com>
Wed, 31 Jan 2001 17:38:11 +0000 (18:38 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 31 Jan 2001 17:38:11 +0000 (18:38 +0100)
commitce662d4c92d5a0fd86a4ea80e91ca58db778b7ee
tree707e99442268409e3649852380d881d2309809da
parent4673dd2cc142a761e9a5d0df21e1001f52498ec5
c-typeck.c (set_init_index): If first is equal to last, assume as if it was not a range at all.

* c-typeck.c (set_init_index): If first is equal to last, assume as
if it was not a range at all.

* gcc.dg/gnu99-init-1.c: Add test for [0 ... 0] range.

From-SVN: r39380
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gnu99-init-1.c