aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-10-06 06:54:56 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-10-06 06:54:56 -0400
commit6e87e69e8f877f51f8cf15f10805a83f59ddb7c1 (patch)
tree2dfcdd2f1748898d6950340a5a2dafc48d997eef /gcc
parent3aa7750055e5c85373408826dc53f2cd7b80cc07 (diff)
downloadgcc-6e87e69e8f877f51f8cf15f10805a83f59ddb7c1.zip
gcc-6e87e69e8f877f51f8cf15f10805a83f59ddb7c1.tar.gz
gcc-6e87e69e8f877f51f8cf15f10805a83f59ddb7c1.tar.bz2
(expand_call): Add yet another assignment to MEM_IN_STRUCT_P.
From-SVN: r5630
Diffstat (limited to 'gcc')
-rw-r--r--gcc/calls.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index 22cdf5c..3d29430 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -996,6 +996,12 @@ expand_call (exp, target, ignore)
copy = assign_stack_temp (TYPE_MODE (type), size, 1);
}
+ MEM_IN_STRUCT_P (copy)
+ = (TREE_CODE (type) == RECORD_TYPE
+ || TREE_CODE (type) == UNION_TYPE
+ || TREE_CODE (type) == QUAL_UNION_TYPE
+ || TREE_CODE (type) == ARRAY_TYPE);
+
store_expr (args[i].tree_value, copy, 0);
args[i].tree_value = build1 (ADDR_EXPR,