summaryrefslogtreecommitdiffstats
path: root/gcc/function.c
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1995-04-17 19:23:52 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1995-04-17 19:23:52 +0000
commitde2e834c6a5bfd3ccfe543f11eecb1de9e88599b (patch)
tree1fdc85f8f7e1c8d1680076dc3f35976c874ed948 /gcc/function.c
parent29422756c03616636342ed0c20d932b26e0d56bb (diff)
downloadppe42-gcc-de2e834c6a5bfd3ccfe543f11eecb1de9e88599b.tar.gz
ppe42-gcc-de2e834c6a5bfd3ccfe543f11eecb1de9e88599b.zip
(instantiate_decls): Use temporary allocation if
DECL_DEFER_OUTPUT is set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9394 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c4
1 files changed, 2 insertions, 2 deletions
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. */
OpenPOWER on IntegriCloud