OSDN Git Service

2004-07-21 Paolo Bonzini <bonzini@gnu.org>
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jul 2004 08:22:59 +0000 (08:22 +0000)
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jul 2004 08:22:59 +0000 (08:22 +0000)
commit8523463bd857d31e4ca8dd9fe1fbef4710a86bae
treed539ddbcfdc0949f473110d4bc6a07151f03e075
parentce2c2e608d8e386345049bffe6892df54c002450
2004-07-21  Paolo Bonzini  <bonzini@gnu.org>

* 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  <bonzini@gnu.org>

* c-typeck.c (build_binary_op): Do not use RDIV_EXPR for
integer vectors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85000 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog