* expr.c (expand_expr): Revove bogus conditional.
authorMark Mitchell <mark@codesourcery.com>
Wed, 14 Mar 2001 18:33:42 +0000 (18:33 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 14 Mar 2001 18:33:42 +0000 (18:33 +0000)
From-SVN: r40464

gcc/ChangeLog
gcc/expr.c

index 140cb60a4c5b89bf27fa14c6409d7bed4e2be2f1..b34da4d089c3b5b2f01e7361740d24513d71a20c 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 4dc430e0f807391bb0b3043be79059ea453e3b92..df1a0cf64ff9e2841b38807914574879a19e6469 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