aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-vect-transform.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f627c97..a97d43c0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-04 Steve Ellcey <sje@cup.hp.com>
+
+ * tree-vect-transform.c (vect_create_epilog_for_reduction):
+ Use BYTES_BIG_ENDIAN instead of BITS_BIG_ENDIAN.
+
2005-10-04 Adrian Straetling <straetling@de.ibm.com>
* config/s390/s390.md ("TDSI","DP"): New mode macros.
diff --git a/gcc/tree-vect-transform.c b/gcc/tree-vect-transform.c
index bc37bd2..8a09f1a 100644
--- a/gcc/tree-vect-transform.c
+++ b/gcc/tree-vect-transform.c
@@ -994,7 +994,7 @@ vect_create_epilog_for_reduction (tree vect_def, tree stmt, tree reduction_op,
fprintf (vect_dump, "extract scalar result");
/* The result is in the low order bits. */
- if (BITS_BIG_ENDIAN)
+ if (BYTES_BIG_ENDIAN)
bitpos = size_binop (MULT_EXPR,
bitsize_int (TYPE_VECTOR_SUBPARTS (vectype) - 1),
TYPE_SIZE (scalar_type));