aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/expr.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 42d40c9..17d453a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * expr.c (expand_assignment): Delete unused variable.
+
2002-08-01 Toon Moene <toon@moene.indiv.nluug.nl>
* c-common.c (cb_register_builtins): Set
diff --git a/gcc/expr.c b/gcc/expr.c
index 810400c..4aa0195 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -3840,8 +3840,6 @@ expand_assignment (to, from, want_value, suggest_reg)
if (GET_CODE (to_rtx) == MEM)
{
- tree old_expr = MEM_EXPR (to_rtx);
-
/* If the field is at offset zero, we could have been given the
DECL_RTX of the parent struct. Don't munge it. */
to_rtx = shallow_copy_rtx (to_rtx);