aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-03-02 14:30:32 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1996-03-02 14:30:32 -0500
commitba3a053e4d99ff474186785de101999cb0f0e79e (patch)
tree645a08c513c2a73700b09a1a4fd013ea08c60396 /gcc
parenta490482938c0e7ca7193571901dd16df9260a92a (diff)
downloadgcc-ba3a053e4d99ff474186785de101999cb0f0e79e.zip
gcc-ba3a053e4d99ff474186785de101999cb0f0e79e.tar.gz
gcc-ba3a053e4d99ff474186785de101999cb0f0e79e.tar.bz2
(expand_call): If passing by invisible ref, not const.
From-SVN: r11404
Diffstat (limited to 'gcc')
-rw-r--r--gcc/calls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index 0344279..9a6b7fb 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),