OSDN Git Service

* expr.c (expand_expr): Revove bogus conditional.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Mar 2001 18:33:42 +0000 (18:33 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Mar 2001 18:33:42 +0000 (18:33 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40464 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/expr.c

index 140cb60..b34da4d 100644 (file)
@@ -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.
index 4dc430e..df1a0cf 100644 (file)
@@ -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