]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/pt.c
c-decl.c (c_expand_body_1): Push and pop function context here.
authorRichard Henderson <rth@redhat.com>
Mon, 8 Sep 2003 15:56:27 +0000 (08:56 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 8 Sep 2003 15:56:27 +0000 (08:56 -0700)
commitc1f927e84ec73debafbc0114cc4d81abd1b27ae7
treead932cb4dec8a82eb9fd686cb0a6c341596f0816
parent7f14bbe68f1fac27349b5154730aeb2e23e97dfa
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
gcc/ChangeLog
gcc/c-decl.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/optimize.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/cp/tree.c
gcc/toplev.h
gcc/tree-optimize.c
This page took 0.106312 seconds and 5 git commands to generate.