diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-07 23:03:53 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-07 23:03:53 +0000 |
commit | 9a06f763ea00f328645742fced61949ad70ce256 (patch) | |
tree | 7ccbcc164a7592bdd6997aef28f77a0c44a50d2e /gcc/cp/expr.c | |
parent | 75c64e9cb8e56416a94f3c15e192bee19fb25af6 (diff) | |
download | gcc-9a06f763ea00f328645742fced61949ad70ce256.tar.gz |
* expr.c (cplus_expand_expr): Don't reset `target'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38787 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/expr.c')
-rw-r--r-- | gcc/cp/expr.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/cp/expr.c b/gcc/cp/expr.c index 918e54dbb0f..603984ad017 100644 --- a/gcc/cp/expr.c +++ b/gcc/cp/expr.c @@ -1,7 +1,7 @@ /* Convert language-specific tree expression to rtl instructions, for GNU compiler. Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 2000 Free Software Foundation, Inc. + 2000, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -100,10 +100,6 @@ cplus_expand_expr (exp, target, tmode, modifier) tree type = TREE_TYPE (exp); register enum machine_mode mode = TYPE_MODE (type); register enum tree_code code = TREE_CODE (exp); - int ignore = target == const0_rtx; - - if (ignore) - target = 0; /* No sense saving up arithmetic to be done if it's all in the wrong mode to form part of an address. |