(expand_expr, case MODIFY_EXPR): Don't preexpand calls if LHS is an

indirect via a constant pointer.

From-SVN: r14527
This commit is contained in:
Richard Kenner 1997-07-25 08:36:42 -04:00
parent 2d59d98e01
commit b60334e840

View File

@ -6861,7 +6861,9 @@ expand_expr (exp, target, tmode, modifier)
if (TREE_CODE (lhs) != VAR_DECL
&& TREE_CODE (lhs) != RESULT_DECL
&& TREE_CODE (lhs) != PARM_DECL)
&& TREE_CODE (lhs) != PARM_DECL
&& ! (TREE_CODE (lhs) == INDIRECT_REF
&& TYPE_READONLY (TREE_TYPE (TREE_OPERAND (lhs, 0)))))
preexpand_calls (exp);
/* Check for |= or &= of a bitfield of size one into another bitfield