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 | |
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')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/semantics.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 4d53eb7..5c123b9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2003-09-11 Richard Henderson <rth@redhat.com> + + * semantics.c (expand_or_defer_fn): Update for new + cgraph_finalize_function argument. + 2003-09-10 Richard Henderson <rth@redhat.com> * decl2.c (cxx_callgraph_analyze_expr): Mark argument unused. 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 |