aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-03-21 08:02:21 +0000
committerRichard Guenther <rguenther@suse.de>2012-03-21 08:02:21 +0000
commit1a40f7d591d98aa0958bec97856ff8b04a1fb98d (patch)
treeac5969cac9f16efc22521450737be550667ef96f /gcc/function.c
parentba5b927a5358bad7ed27f5418462eadff6203c7f (diff)
2012-03-21 Richard Guenther <rguenther@suse.de>
* Makefile.in (cfgexpand.o): Add $(REGS_H) and $(INTEGRATE_H) dependencies. * cfgexpand.c (gimple_expand_cfg): Fold in pass_init_function, pass_jump, pass_initial_value_sets and pass_unshare_all_rtl. * passes.c (init_optimization_passes): Remove pass_init_function, pass_jump, pass_initial_value_sets and pass_unshare_all_rtl. * tree-pass.h (pass_init_function): Remove. (pass_jump): Remove. (pass_initial_value_sets): Remove. (pass_unshare_all_rtl): Remove. * integrate.c (pass_initial_value_sets): Remove. * emit-rtl.c (pass_unshare_all_rtl): Remove. * tree.h (init_function_for_compilation): Remove. * function.c (init_function_for_compilation): Remove. (pass_init_function): Remove. * cfgcleanup.c (rest_of_handle_jump): Remove. (pass_jump): Remove. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@185598 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 9add7c1a007..3e903ef94da 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -4558,33 +4558,6 @@ init_function_start (tree subr)
warning (OPT_Waggregate_return, "function returns an aggregate");
}
-/* Make sure all values used by the optimization passes have sane defaults. */
-unsigned int
-init_function_for_compilation (void)
-{
- reg_renumber = 0;
- return 0;
-}
-
-struct rtl_opt_pass pass_init_function =
-{
- {
- RTL_PASS,
- "*init_function", /* name */
- NULL, /* gate */
- init_function_for_compilation, /* execute */
- NULL, /* sub */
- NULL, /* next */
- 0, /* static_pass_number */
- TV_NONE, /* tv_id */
- 0, /* properties_required */
- 0, /* properties_provided */
- 0, /* properties_destroyed */
- 0, /* todo_flags_start */
- 0 /* todo_flags_finish */
- }
-};
-
void
expand_main_function (void)