From 4ae2880561b93c556f33b94ea74cdf8bcfb1be56 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 21 Jul 2004 08:22:59 +0000 Subject: [PATCH] c-common.c (vector_types_convertible_p): Use vector types' TYPE_SIZE and TREE_TYPE instead of their mode. 2004-07-21 Paolo Bonzini * c-common.c (vector_types_convertible_p): Use vector types' TYPE_SIZE and TREE_TYPE instead of their mode. * convert.c (convert_to_integer): Likewise. (convert_to_vector): Likewise. * fold-const.c (fold_convert): Likewise. * varasm.c (output_constant): Likewise. * expr.c (store_constructor): Split ARRAY_TYPE and VECTOR_TYPE. Allow a VECTOR_TYPE initializer to be made of several vectors. For ARRAY_TYPEs and VECTOR_TYPES, simplify a bit the handling of cleared and need_to_clear, and use fold_convert. * c-typeck.c (build_binary_op): Do not use RDIV_EXPR for integer vectors. cp/ChangeLog: 2004-07-21 Paolo Bonzini * c-typeck.c (build_binary_op): Do not use RDIV_EXPR for integer vectors. From-SVN: r85000 --- gcc/ChangeLog | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ecb93aab60d..8c8e783bb0a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,18 @@ +2004-07-21 Paolo Bonzini + + * c-common.c (vector_types_convertible_p): Use vector types' + TYPE_SIZE and TREE_TYPE instead of their mode. + * convert.c (convert_to_integer): Likewise. + (convert_to_vector): Likewise. + * fold-const.c (fold_convert): Likewise. + * varasm.c (output_constant): Likewise. + * expr.c (store_constructor): Split ARRAY_TYPE and VECTOR_TYPE. + Allow a VECTOR_TYPE initializer to be made of several vectors. + For ARRAY_TYPEs and VECTOR_TYPES, simplify a bit the handling + of cleared and need_to_clear, and use fold_convert. + * c-typeck.c (build_binary_op): Do not use RDIV_EXPR for + integer vectors. + 2004-07-20 Richard Henderson * cfgexpand.c (expand_gimple_cond_expr, expand_gimple_tailcall): Split, @@ -89,6 +104,7 @@ for EXTRA_SECTION_FUNCTIONS. * doc/install.texi: Update binutils requirements. +>>>>>>> 2.4622 2004-07-20 Nathan Sidwell * vec.h (VEC_T_length, VEC_T_index, VEC_T_iterate, VEC_T_truncate, -- 2.30.2