summaryrefslogtreecommitdiff
path: root/gcc/toplev.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-09-08 08:56:27 -0700
committerRichard Henderson <rth@gcc.gnu.org>2003-09-08 08:56:27 -0700
commitc1f927e84ec73debafbc0114cc4d81abd1b27ae7 (patch)
treead932cb4dec8a82eb9fd686cb0a6c341596f0816 /gcc/toplev.h
parent7f14bbe68f1fac27349b5154730aeb2e23e97dfa (diff)
downloadgcc-c1f927e84ec73debafbc0114cc4d81abd1b27ae7.tar.gz
c-decl.c (c_expand_body_1): Push and pop function context here.
gcc/ * c-decl.c (c_expand_body_1): Push and pop function context here. * tree-optimize.c (tree_rest_of_compilation): ... not here. Take nested argument instead of computing nesting ourselves. gcc/cp/ * decl.c (finish_function): Clear current_function_decl. * decl2.c (mark_used): Don't push/pop gc context. * optimize.c (optimize_function): Likewise. * tree.c (cp_cannot_inline_tree_fn): Likewise. * pt.c (instantiate_decl): Inc/dec function_depth instead. * semantics.c (expand_body): Update for tree_rest_of_compilation nested argument. From-SVN: r71208
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r--gcc/toplev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h
index 3ebd8e493f2..ae05f4b22ec 100644
--- a/gcc/toplev.h
+++ b/gcc/toplev.h
@@ -66,7 +66,7 @@ extern void inform (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2);
extern void rest_of_decl_compilation (tree, const char *, int, int);
extern void rest_of_type_compilation (tree, int);
extern void rest_of_compilation (tree);
-extern void tree_rest_of_compilation (tree);
+extern void tree_rest_of_compilation (tree, bool);
extern void announce_function (tree);