summaryrefslogtreecommitdiff
path: root/gcc/cp/semantics.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-11 07:14:12 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-11 07:14:12 +0000
commit28df663bb621dcf2daa666164152c8ebe07a560d (patch)
treeb849ba0e43631f349c7d6dbe1465e4f5bbf2c0de /gcc/cp/semantics.c
parent885460534c19a0c03925680466c21a344e59aee0 (diff)
downloadgcc-28df663bb621dcf2daa666164152c8ebe07a560d.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71298 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r--gcc/cp/semantics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index 50923abb8e7..b4ea1a18563 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