aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-12-31 15:03:23 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-12-31 15:03:23 -0500
commite1686233d23e7833be81e2cea1341d6938bef265 (patch)
treed6a88d63420e5f5df4a6e3a1efa1b40d2b9367b8 /gcc/function.c
parentb7c2e1e2e48db49c54a4bf71366853a1518705c3 (diff)
downloadgcc-e1686233d23e7833be81e2cea1341d6938bef265.zip
gcc-e1686233d23e7833be81e2cea1341d6938bef265.tar.gz
gcc-e1686233d23e7833be81e2cea1341d6938bef265.tar.bz2
(instantiate_decls): Check DECL_SAVED_INSNS to see if obstack change
is needed. From-SVN: r10915
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 0c3aa7e..7d103c3 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