summaryrefslogtreecommitdiff
path: root/gnu/egcs
diff options
context:
space:
mode:
authorHiroaki Etoh <etoh@cvs.openbsd.org>2003-02-03 09:16:32 +0000
committerHiroaki Etoh <etoh@cvs.openbsd.org>2003-02-03 09:16:32 +0000
commit38f39c9ec4e7c87aadbba858b5778b1766265061 (patch)
tree0912029c42f2594d16143b0814f670a14de19bf4 /gnu/egcs
parentffef0326046a55b2db490107c8fbe0ea0b5f33c1 (diff)
allocate a space (keep=5) to return a structure, not protecting it as a character string.
Diffstat (limited to 'gnu/egcs')
-rw-r--r--gnu/egcs/gcc/calls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/calls.c b/gnu/egcs/gcc/calls.c
index d6aa4d7968c..a10eec630bc 100644
--- a/gnu/egcs/gcc/calls.c
+++ b/gnu/egcs/gcc/calls.c
@@ -1754,7 +1754,7 @@ expand_call (exp, target, ignore)
/* This DECL is just something to feed to mark_addressable;
it doesn't get pushed. */
d = build_decl (VAR_DECL, NULL_TREE, TREE_TYPE (exp));
- DECL_RTL (d) = assign_temp (TREE_TYPE (exp), 1, 0, 1);
+ DECL_RTL (d) = assign_temp (TREE_TYPE (exp), 5, 0, 1);
mark_addressable (d);
structure_value_addr = XEXP (DECL_RTL (d), 0);
TREE_USED (d) = 1;