Commit ba3a053e by Richard Kenner

(expand_call): If passing by invisible ref, not const.

From-SVN: r11404
parent a4904829
......@@ -1086,6 +1086,7 @@ expand_call (exp, target, ignore)
MEM_IN_STRUCT_P (copy) = AGGREGATE_TYPE_P (type);
store_expr (args[i].tree_value, copy, 0);
is_const = 0;
args[i].tree_value = build1 (ADDR_EXPR,
build_pointer_type (type),
......
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