From: Jim Wilson Date: Mon, 17 Apr 1995 19:23:52 +0000 (-0700) Subject: (instantiate_decls): Use temporary allocation if X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79c0672ee61f4484b9d06252fad5086c879a65a9;p=gcc.git (instantiate_decls): Use temporary allocation if DECL_DEFER_OUTPUT is set. From-SVN: r9394 --- diff --git a/gcc/function.c b/gcc/function.c index 4b2df475467..654a3af4860 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -2465,7 +2465,7 @@ instantiate_decls (fndecl, valid_only) { tree decl; - if (DECL_INLINE (fndecl)) + if (DECL_INLINE (fndecl) || DECL_DEFER_OUTPUT (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 @@ -2484,7 +2484,7 @@ instantiate_decls (fndecl, valid_only) /* Now process all variables defined in the function or its subblocks. */ instantiate_decls_1 (DECL_INITIAL (fndecl), valid_only); - if (DECL_INLINE (fndecl)) + if (DECL_INLINE (fndecl) || DECL_DEFER_OUTPUT (fndecl)) { /* Save all rtl allocated for this function by raising the high-water mark on the maybepermanent_obstack. */