Commit 28498644 by Richard Kenner

(trampoline_address): Don't allocate anything from parent function's

current obstack.

From-SVN: r5734
parent 01565a55
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment