(expand_builtin, case BUILT_IN_MEMCPY): Call force_operand
authorJim Wilson <wilson@gcc.gnu.org>
Mon, 17 Apr 1995 19:19:48 +0000 (12:19 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 17 Apr 1995 19:19:48 +0000 (12:19 -0700)
on dest_rtx before returning it.

From-SVN: r9393

gcc/expr.c

index 14ca3660310ac5cbc16be6abc94f81124ba9318e..fa75db4c54795013fa0653db0e4b76b1e222f85a 100644 (file)
@@ -7754,7 +7754,7 @@ expand_builtin (exp, target, subtarget, mode, ignore)
          emit_block_move (dest_mem, src_mem,
                           expand_expr (len, NULL_RTX, VOIDmode, 0),
                           MIN (src_align, dest_align));
-         return dest_rtx;
+         return force_operand (dest_rtx, NULL_RTX);
        }
 
 /* These comparison functions need an instruction that returns an actual