(store_expr): Call size_binop instead of doing the same thing with
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 3 Apr 1993 22:37:45 +0000 (17:37 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 3 Apr 1993 22:37:45 +0000 (17:37 -0500)
fold and build.

From-SVN: r3993

gcc/expr.c

index 6526e211d809ca2b268e2488808fc8758c3c7f36..3d0bc0e716801e1f580a7599b59b4e948a338d22 100644 (file)
@@ -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;