From 28df663bb621dcf2daa666164152c8ebe07a560d Mon Sep 17 00:00:00 2001 From: rth Date: Thu, 11 Sep 2003 07:14:12 +0000 Subject: * 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 --- gcc/cp/semantics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cp/semantics.c') 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 -- cgit v1.2.1