projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aa7750
)
(expand_call): Add yet another assignment to MEM_IN_STRUCT_P.
author
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 6 Oct 1993 10:54:56 +0000
(06:54 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 6 Oct 1993 10:54:56 +0000
(06:54 -0400)
From-SVN: r5630
gcc/calls.c
patch
|
blob
|
history
diff --git
a/gcc/calls.c
b/gcc/calls.c
index 22cdf5c3511017bd385f67f3d9e3aad58c370a84..3d2943072c60d4077b430f737de626e8b0fbf03a 100644
(file)
--- 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,