summaryrefslogtreecommitdiffstats
path: root/gcc/c-decl.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/c-decl.c
parent885460534c19a0c03925680466c21a344e59aee0 (diff)
downloadppe42-gcc-28df663bb621dcf2daa666164152c8ebe07a560d.tar.gz
ppe42-gcc-28df663bb621dcf2daa666164152c8ebe07a560d.zip
* 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/c-decl.c')
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud