aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.se>1998-08-30 21:21:22 +0200
committerJeff Law <law@gcc.gnu.org>1998-08-30 13:21:22 -0600
commit9862dea9245ee7727f7c48ac542fa3972808f01c (patch)
tree16c6d9614f1f8e05978455ca1935f5e5ec64150d /gcc/expr.c
parente916423b59f100866c969fc5df9099d19ee32e8c (diff)
downloadgcc-9862dea9245ee7727f7c48ac542fa3972808f01c.zip
gcc-9862dea9245ee7727f7c48ac542fa3972808f01c.tar.gz
gcc-9862dea9245ee7727f7c48ac542fa3972808f01c.tar.bz2
expr.c (expand_expr): Change ">" to ">=" making MOVE_RATIO use consistent.
* expr.c (expand_expr): Change ">" to ">=" making MOVE_RATIO use consistent. * tm.texi (Costs): Say MOVE_RATIO is number of mem-mem move *sequences* *below* which scalar moves will be used. From-SVN: r22107
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 22fc5f7..0390126 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -5889,7 +5889,7 @@ expand_expr (exp, target, tmode, modifier)
&& (move_by_pieces_ninsns
(TREE_INT_CST_LOW (TYPE_SIZE (type))/BITS_PER_UNIT,
TYPE_ALIGN (type) / BITS_PER_UNIT)
- > MOVE_RATIO)
+ >= MOVE_RATIO)
&& ! mostly_zeros_p (exp))))
|| (modifier == EXPAND_INITIALIZER && TREE_CONSTANT (exp)))
{