Commit 08bbd316 by Richard Kenner

(expand_expr, case COMPONENT_REF): Fix error in last change: don't

suppress conversion if just EXPAND_SUM.

From-SVN: r13383
parent 0bc39987
......@@ -5672,7 +5672,7 @@ expand_expr (exp, target, tmode, modifier)
MEM_IN_STRUCT_P (op0) = 1;
MEM_VOLATILE_P (op0) |= volatilep;
if (mode == mode1 || mode1 == BLKmode || mode1 == tmode
|| modifier == EXPAND_CONST_ADDRESS || modifier == EXPAND_SUM
|| modifier == EXPAND_CONST_ADDRESS
|| modifier == EXPAND_INITIALIZER)
return op0;
else if (target == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment