aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/expr.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 140cb60..b34da4d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-14 Mark Mitchell <mark@codesourcery.com>
+
+ * expr.c (expand_expr): Revove bogus conditional.
+
Wed Mar 14 19:29:50 CET 2001 Jan Hubicka <jh@suse.cz>
* expr.c (emit_move_insn_1): Guard PUSH_ROUNDING use by ifdef.
diff --git a/gcc/expr.c b/gcc/expr.c
index 4dc430e..df1a0cf 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -8428,12 +8428,6 @@ expand_expr (exp, target, tmode, modifier)
temp = 0;
- if (TREE_CODE (lhs) != VAR_DECL
- && TREE_CODE (lhs) != RESULT_DECL
- && TREE_CODE (lhs) != PARM_DECL
- && ! (TREE_CODE (lhs) == INDIRECT_REF
- && TYPE_READONLY (TREE_TYPE (TREE_OPERAND (lhs, 0)))))
-
/* Check for |= or &= of a bitfield of size one into another bitfield
of size 1. In this case, (unless we need the result of the
assignment) we can do this more efficiently with a