From: Richard Kenner Date: Sun, 31 Dec 1995 20:03:23 +0000 (-0500) Subject: (instantiate_decls): Check DECL_SAVED_INSNS to see if obstack change X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1686233d23e7833be81e2cea1341d6938bef265;p=gcc.git (instantiate_decls): Check DECL_SAVED_INSNS to see if obstack change is needed. From-SVN: r10915 --- diff --git a/gcc/function.c b/gcc/function.c index 0c3aa7e07ad..7d103c33f36 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -2554,7 +2554,7 @@ instantiate_decls (fndecl, valid_only) { tree decl; - if (DECL_INLINE (fndecl) || DECL_DEFER_OUTPUT (fndecl)) + if (DECL_SAVED_INSNS (fndecl)) /* When compiling an inline function, the obstack used for rtl allocation is the maybepermanent_obstack. Calling `resume_temporary_allocation' switches us back to that