expr.c (expand_expr_real_1): For vector constants with integer modes...
authorRoger Sayle <roger@eyesopen.com>
Tue, 20 Jun 2006 15:02:05 +0000 (15:02 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Tue, 20 Jun 2006 15:02:05 +0000 (15:02 +0000)
commit1000b34d95a6319206389feb136879d42d4675f2
treec9dae92eb51b59b6f01612dfb8113ea758cf617a
parentc82f61c591c903d2faab8e9e0257c2fbb004c1fc
expr.c (expand_expr_real_1): For vector constants with integer modes...

* 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.

From-SVN: r114815
gcc/ChangeLog
gcc/expr.c
gcc/fold-const.c
gcc/tree.c