aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-06-06 03:08:21 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-06-06 03:08:21 +0000
commit7b2b3f29e59c06c3c75c62f5e9148b186d8fca07 (patch)
tree0b8a183489dc0531743dd25e38c68e69337e0836 /gcc/c-decl.c
parent9166f7a36ad696ddce1faecbed02a271587261dd (diff)
downloadgcc-7b2b3f29e59c06c3c75c62f5e9148b186d8fca07.zip
gcc-7b2b3f29e59c06c3c75c62f5e9148b186d8fca07.tar.gz
gcc-7b2b3f29e59c06c3c75c62f5e9148b186d8fca07.tar.bz2
c-semantics.c (genrtl_scope_stmt): Write out nested inline functions here, instead of ...
* c-semantics.c (genrtl_scope_stmt): Write out nested inline functions here, instead of ... * c-decl.c (c_expand_body): ... here. From-SVN: r42930
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 e60ab9d..378b53e 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