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);