OSDN Git Service

* expr.c (expand_expr_real_1) <VECTOR_CST>: For vector constants with
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jun 2006 15:02:05 +0000 (15:02 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jun 2006 15:02:05 +0000 (15:02 +0000)
commit9fd22806c8efa2bfafae3691c43e691b772d9286
treec9dae92eb51b59b6f01612dfb8113ea758cf617a
parent4eb278908ec332094891617e74647e64ec8cd11b
* expr.c (expand_expr_real_1) <VECTOR_CST>: For vector constants with
integer modes, attempt to directly construct an integer constant.

* fold-const.c (native_encode_vector): Determine the size of each
element from the vector type instead of the first vector element.

* tree.c (build_constructor_single): Mark a CONSTRUCTOR as constant,
if all of its elements/components are constant.
(build_constructor_from_list): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114815 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/fold-const.c
gcc/tree.c