From 284986442930cd6c0105351e9327b055c3824b02 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 11 Oct 1993 13:56:01 -0400 Subject: [PATCH] (trampoline_address): Don't allocate anything from parent function's current obstack. From-SVN: r5734 --- gcc/function.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/function.c b/gcc/function.c index 4fb616f09df..60ab0d42018 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); -- 2.30.2