diff options
author | Jan Hubicka <jh@suse.cz> | 2007-09-11 10:39:53 +0000 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2007-09-11 10:39:53 +0000 |
commit | 0decdff32bb90a7ab89af42db63487adece11fa0 (patch) | |
tree | a9c246259502c55141f2c727f2747541fd04e58b /gcc/function.c | |
parent | 204668f38c3d29f53bf27c7d928b37d09ccc3a15 (diff) |
* decl.c (java_expand_body): Kill.
(LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.
* toplev.c (process_options): all frontends now do unit-at-a-time.
* cgraphunit.c: update comments.
(cgraph_expand_function): call passmanager dirrectly; emit thunks.
* c-decl.c (finish_function): use cgraph_add_new_function.
* method.c (use_thunk): Use tree_rest_of_compilation
* cp-objecp-common.h (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.
(LANG_HOOKS_CALLGRAPH_EMIT_ASSOCIATED_THUNKS): Define.
* cp-tree.h (expand_body): Kill.
(emit_associated_thunks): Declare.
* semantics.c (emit_associated_thunks): Export.
(expand_body): Kill.
* misc.c (gnat_expand_body): Kill.
(LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.
* f95-lang.c (gfc_expand_function): Kill.
(LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.
* function.c (expand_function_end): We are always unit-at-a-time.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@128367 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/function.c b/gcc/function.c index a2956b363a9..ffee5982071 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4404,13 +4404,6 @@ expand_function_end (void) } } - /* Possibly warn about unused parameters. - When frontend does unit-at-a-time, the warning is already - issued at finalization time. */ - if (warn_unused_parameter - && !lang_hooks.callgraph.expand_function) - do_warn_unused_parameter (current_function_decl); - /* End any sequences that failed to be closed due to syntax errors. */ while (in_sequence_p ()) end_sequence (); |