diff options
author | Richard Henderson <rth@redhat.com> | 2003-09-11 00:14:12 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-09-11 00:14:12 -0700 |
commit | 6b00c969c4be4455d900fd7f2d802bb68f45598c (patch) | |
tree | b849ba0e43631f349c7d6dbe1465e4f5bbf2c0de /gcc/cp/semantics.c | |
parent | dd5c7759f3432e795c5ee738eec5e931c0ef45b2 (diff) | |
download | gcc-6b00c969c4be4455d900fd7f2d802bb68f45598c.zip gcc-6b00c969c4be4455d900fd7f2d802bb68f45598c.tar.gz gcc-6b00c969c4be4455d900fd7f2d802bb68f45598c.tar.bz2 |
cgraphunit.c (cgraph_finalize_function): Add nested arg.
* cgraphunit.c (cgraph_finalize_function): Add nested arg.
Tweek tests for function already generated.
(cgraph_expand_function): Don't double announce in !unit-at-a-time.
* cgraph.h (cgraph_finalize_function): Update for extra arg.
* c-decl.c (finish_function): Likewise.
* semantics.c (expand_or_defer_fn): Update for new
cgraph_finalize_function argument.
* parse.y (source_end_java_method): Update for new
cgraph_finalize_function argument.
From-SVN: r71298
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r-- | gcc/cp/semantics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 50923ab..b4ea1a1 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -2940,7 +2940,7 @@ expand_or_defer_fn (tree fn) import_export_decl (fn); /* Expand or defer, at the whim of the compilation unit manager. */ - cgraph_finalize_function (fn); + cgraph_finalize_function (fn, function_depth > 1); } /* Helper function for walk_tree, used by finish_function to override all |