From: Richard Stallman Date: Thu, 12 Aug 1993 08:06:01 +0000 (+0000) Subject: (store_expr): Don't return TEMP if it's a MEM. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d26fec6ad4427524ae363313e610c77b48e9993;p=gcc.git (store_expr): Don't return TEMP if it's a MEM. From-SVN: r5139 --- diff --git a/gcc/expr.c b/gcc/expr.c index 713f7d4eb77..5d7eebd8c0a 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -2547,7 +2547,7 @@ store_expr (exp, target, want_value) emit_move_insn (target, temp); } - if (dont_return_target) + if (dont_return_target && GET_CODE (temp) != MEM) return temp; if (want_value && GET_MODE (target) != BLKmode) return copy_to_reg (target);