From: Richard Kenner Date: Sat, 3 Apr 1993 22:37:45 +0000 (-0500) Subject: (store_expr): Call size_binop instead of doing the same thing with X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c03b7665c267cb9a910c05323c8d4c0571711cd0;p=gcc.git (store_expr): Call size_binop instead of doing the same thing with fold and build. From-SVN: r3993 --- 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;