From c03b7665c267cb9a910c05323c8d4c0571711cd0 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 3 Apr 1993 17:37:45 -0500 Subject: [PATCH] (store_expr): Call size_binop instead of doing the same thing with fold and build. From-SVN: r3993 --- gcc/expr.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/expr.c b/gcc/expr.c index 6526e211d80..3d0bc0e7168 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -2399,12 +2399,12 @@ store_expr (exp, target, suggest_reg) { /* Compute the size of the data to copy from the string. */ tree copy_size - = fold (build (MIN_EXPR, sizetype, - size_binop (CEIL_DIV_EXPR, - TYPE_SIZE (TREE_TYPE (exp)), - size_int (BITS_PER_UNIT)), - convert (sizetype, - build_int_2 (TREE_STRING_LENGTH (exp), 0)))); + = size_binop (MIN_EXPR, + size_binop (CEIL_DIV_EXPR, + TYPE_SIZE (TREE_TYPE (exp)), + size_int (BITS_PER_UNIT)), + convert (sizetype, + build_int_2 (TREE_STRING_LENGTH (exp), 0))); rtx copy_size_rtx = expand_expr (copy_size, NULL_RTX, VOIDmode, 0); rtx label = 0; -- 2.30.2