diff options
| author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-14 18:33:42 +0000 |
|---|---|---|
| committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-14 18:33:42 +0000 |
| commit | c9e066df285fbe8d89c713046b9ee7e4e583809d (patch) | |
| tree | 3ce34dd929ce801b1ec4d2805442d0a60c828f1a | |
| parent | a448128e25fa9993976c9953f0161d44afc093bc (diff) | |
| download | ppe42-gcc-c9e066df285fbe8d89c713046b9ee7e4e583809d.tar.gz ppe42-gcc-c9e066df285fbe8d89c713046b9ee7e4e583809d.zip | |
* expr.c (expand_expr): Revove bogus conditional.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40464 138bc75d-0d04-0410-961f-82ee72b054a4
| -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 140cb60a4c5..b34da4d089c 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 4dc430e0f80..df1a0cf64ff 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 |

