diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 775bdc6cef9..2a705deb16c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-02-26 Aldy Hernandez + + * c-typeck.c (really_start_incremental_init): Use + bitsize_zero_node for vectors. + 2002-02-26 Aldy Hernandez * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo. diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 4a804389ce1..2646a558850 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -5235,7 +5235,7 @@ really_start_incremental_init (type) /* Vectors are like simple fixed-size arrays. */ constructor_max_index = build_int_2 (TYPE_VECTOR_SUBPARTS (constructor_type) - 1, 0); - constructor_index = convert (bitsizetype, integer_zero_node); + constructor_index = convert (bitsizetype, bitsize_zero_node); constructor_unfilled_index = constructor_index; } else