c-typeck.c (really_start_incremental_init): Use bitsize_zero_node for vectors.

2002-02-26  Aldy Hernandez  <aldyh@redhat.com>

        * c-typeck.c (really_start_incremental_init): Use
        bitsize_zero_node for vectors.

From-SVN: r50046
This commit is contained in:
Aldy Hernandez 2002-02-26 06:22:24 +00:00 committed by Aldy Hernandez
parent 376aec5d8a
commit b799728433
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-02-26 Aldy Hernandez <aldyh@redhat.com>
* c-typeck.c (really_start_incremental_init): Use
bitsize_zero_node for vectors.
2002-02-26 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.

View File

@ -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