summaryrefslogtreecommitdiffstats
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-06 03:08:21 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-06 03:08:21 +0000
commitda1ac2c9df13df46525460c0120949731f74f00c (patch)
tree0b8a183489dc0531743dd25e38c68e69337e0836 /gcc/c-decl.c
parent5e56561070852635c1873f5a1eda98deadcc9a0a (diff)
downloadppe42-gcc-da1ac2c9df13df46525460c0120949731f74f00c.tar.gz
ppe42-gcc-da1ac2c9df13df46525460c0120949731f74f00c.zip
* c-semantics.c (genrtl_scope_stmt): Write out nested inline
functions here, instead of ... * c-decl.c (c_expand_body): ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42930 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index e60ab9de785..378b53e355f 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -6931,19 +6931,8 @@ c_expand_body (fndecl, nested_p)
}
if (nested_p)
- {
- /* Return to the enclosing function. */
- pop_function_context ();
- /* If the nested function was inline, write it out if that is
- necessary. */
- if (!TREE_ASM_WRITTEN (fndecl) && TREE_ADDRESSABLE (fndecl))
- {
- push_function_context ();
- output_inline_function (fndecl);
- pop_function_context ();
- }
- }
-
+ /* Return to the enclosing function. */
+ pop_function_context ();
}
/* Check the declarations given in a for-loop for satisfying the C99
OpenPOWER on IntegriCloud