diff options
author | Mark Mitchell <mark@codesourcery.com> | 2001-03-14 18:33:42 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-03-14 18:33:42 +0000 |
commit | f80022ff3df97a3f8f47e32ad22b989c7c70c00b (patch) | |
tree | 3ce34dd929ce801b1ec4d2805442d0a60c828f1a /gcc | |
parent | d2dda7177b13400139fc9cb314f6fa2a5c730b98 (diff) | |
download | gcc-f80022ff3df97a3f8f47e32ad22b989c7c70c00b.zip gcc-f80022ff3df97a3f8f47e32ad22b989c7c70c00b.tar.gz gcc-f80022ff3df97a3f8f47e32ad22b989c7c70c00b.tar.bz2 |
* expr.c (expand_expr): Revove bogus conditional.
From-SVN: r40464
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/expr.c | 6 |
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. @@ -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 |