From ba3a053e4d99ff474186785de101999cb0f0e79e Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 2 Mar 1996 14:30:32 -0500 Subject: [PATCH] (expand_call): If passing by invisible ref, not const. From-SVN: r11404 --- gcc/calls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/calls.c b/gcc/calls.c index 03442793ac8..9a6b7fb75f9 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -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), -- 2.30.2