aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/semantics.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r--gcc/cp/semantics.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index 5502df3..d6099f3 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -2185,14 +2185,9 @@ expand_body (fn)
tree fn;
{
int saved_expanding_p;
- int nested;
tree t;
tree try_block;
- /* Remember whether we're already processing a function definition
- so that we can tell finish_function. */
- nested = in_function_p ();
-
/* Let the compiler know that now is the time to really generate
actualy RTL. */
saved_expanding_p = expanding_p;
@@ -2248,7 +2243,7 @@ expand_body (fn)
finish_function_handler_sequence (NULL_TREE);
}
- finish_function (lineno, 0, nested);
+ finish_function (lineno, 0);
/* Restore EXPANDING_P. */
expanding_p = saved_expanding_p;