(trampoline_address): Don't allocate anything from parent function's
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 11 Oct 1993 17:56:01 +0000 (13:56 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 11 Oct 1993 17:56:01 +0000 (13:56 -0400)
current obstack.

From-SVN: r5734

gcc/function.c

index 4fb616f09dffd516f4d881bebd57bd6a03a879ac..60ab0d42018dcf0fd845ecd5402ab9fe1e6f43ba 100644 (file)
@@ -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);