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/c-decl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/c-decl.c') diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 26a012a021c..1eb3482cc12 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -6144,7 +6144,7 @@ finish_function () /* ??? Objc emits functions after finalizing the compilation unit. This should be cleaned up later and this conditional removed. */ if (!cgraph_global_info_ready) - cgraph_finalize_function (fndecl); + cgraph_finalize_function (fndecl, false); else c_expand_body (fndecl); current_function_decl = NULL; -- cgit v1.2.1