From 1da93fe012a0f34e4c50f3ccc98bd8a21ab396d3 Mon Sep 17 00:00:00 2001
From: Mark Mitchell <mark@codesourcery.com>
Date: Tue, 24 Aug 1999 18:09:10 +0000
Subject: [PATCH] expr.c (store_expr): Always pass down the target, even when
 not doing CSE.

	* expr.c (store_expr): Always pass down the target, even when not
	doing CSE.

From-SVN: r28824
---
 gcc/ChangeLog | 5 +++++
 gcc/expr.c    | 3 +--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7cf02177feb6..4681f69447e5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
+
+	* expr.c (store_expr): Always pass down the target, even when not
+	doing CSE.
+
 1999-08-24  Nick Clifton  <nickc@cygnus.com>
 
 	* configure.in: Define target_cpu_default for v850 targets.
diff --git a/gcc/expr.c b/gcc/expr.c
index e96fe58ed876..7783bf97b803 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -3578,8 +3578,7 @@ store_expr (exp, target, want_value)
        Don't do this if TARGET is volatile because we are supposed
        to write it and then read it.  */
     {
-      temp = expand_expr (exp, cse_not_expected ? NULL_RTX : target,
-			  GET_MODE (target), 0);
+      temp = expand_expr (exp, target, GET_MODE (target), 0);
       if (GET_MODE (temp) != BLKmode && GET_MODE (temp) != VOIDmode)
 	temp = copy_to_reg (temp);
       dont_return_target = 1;
-- 
GitLab