aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-08-24 18:09:10 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-08-24 18:09:10 +0000
commit1da93fe012a0f34e4c50f3ccc98bd8a21ab396d3 (patch)
treee7974cec15d5ca7ca1594f789d498c9a2746584e
parent7a846a6c88251ef8c1276c1283557f92380ed761 (diff)
downloadgcc-1da93fe012a0f34e4c50f3ccc98bd8a21ab396d3.zip
gcc-1da93fe012a0f34e4c50f3ccc98bd8a21ab396d3.tar.gz
gcc-1da93fe012a0f34e4c50f3ccc98bd8a21ab396d3.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/expr.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7cf0217..4681f69 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 e96fe58..7783bf9 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;