mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 18:50:09 +08:00
(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:
parent
2d59d98e01
commit
b60334e840
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user