From: Richard Kenner Date: Mon, 11 Oct 1993 17:56:01 +0000 (-0400) Subject: (trampoline_address): Don't allocate anything from parent function's X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=284986442930cd6c0105351e9327b055c3824b02;p=gcc.git (trampoline_address): Don't allocate anything from parent function's current obstack. From-SVN: r5734 --- 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);