Commit 93609dfb by Richard Kenner

(variable_size): When evaluating sizes of variable types, do so just

for side-effects (the SAVE_EXPRs).

From-SVN: r3895
parent f16fe394
......@@ -90,8 +90,10 @@ variable_size (size)
}
if (immediate_size_expand)
/* NULL_RTX is not defined; neither is the rtx type. */
expand_expr (size, NULL_PTR, VOIDmode, 0);
/* NULL_RTX is not defined; neither is the rtx type.
Also, we would like to pass const0_rtx here, but don't have it. */
expand_expr (size, expand_expr (integer_zero_node, NULL_PTR, VOIDmode, 0),
VOIDmode, 0);
else
pending_sizes = tree_cons (NULL_TREE, size, pending_sizes);
......
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