aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-10-11 13:56:01 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-10-11 13:56:01 -0400
commit284986442930cd6c0105351e9327b055c3824b02 (patch)
treeaeb1cd6fecc4b55cbb5bdab9bd0de940bdf983cf
parent01565a557f2ff7e16829091530cac5e0bd26b2b5 (diff)
downloadgcc-284986442930cd6c0105351e9327b055c3824b02.zip
gcc-284986442930cd6c0105351e9327b055c3824b02.tar.gz
gcc-284986442930cd6c0105351e9327b055c3824b02.tar.bz2
(trampoline_address): Don't allocate anything from parent function's
current obstack. From-SVN: r5734
-rw-r--r--gcc/function.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 4fb616f..60ab0d4 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -4142,7 +4142,8 @@ trampoline_address (function)
by expand_function_end. */
if (fp != 0)
{
- push_obstacks (fp->current_obstack, fp->function_maybepermanent_obstack);
+ push_obstacks (fp->function_maybepermanent_obstack,
+ fp->function_maybepermanent_obstack);
rtlexp = make_node (RTL_EXPR);
RTL_EXPR_RTL (rtlexp) = tramp;
fp->trampoline_list = tree_cons (function, rtlexp, fp->trampoline_list);