(instantiate_decls): Check DECL_SAVED_INSNS to see if obstack change
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 31 Dec 1995 20:03:23 +0000 (15:03 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 31 Dec 1995 20:03:23 +0000 (15:03 -0500)
is needed.

From-SVN: r10915

gcc/function.c

index 0c3aa7e07ad867a48e06deab11e75119c467dbb7..7d103c33f367cd7cc17b95bca56e438573a70225 100644 (file)
@@ -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