OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2006-05-06 Chao-ying Fu <fu@mips.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
tree-optimize.c
diff --git
a/gcc/tree-optimize.c
b/gcc/tree-optimize.c
index
34f2d46
..
fdf8ca1
100644
(file)
--- a/
gcc/tree-optimize.c
+++ b/
gcc/tree-optimize.c
@@
-100,10
+100,11
@@
struct tree_opt_pass pass_early_local_passes =
because after the tree optimizers have run such cleanups may
be necessary. */
because after the tree optimizers have run such cleanups may
be necessary. */
-static
void
+static
unsigned int
execute_cleanup_cfg_pre_ipa (void)
{
cleanup_tree_cfg ();
execute_cleanup_cfg_pre_ipa (void)
{
cleanup_tree_cfg ();
+ return 0;
}
struct tree_opt_pass pass_cleanup_cfg =
}
struct tree_opt_pass pass_cleanup_cfg =
@@
-129,13
+130,14
@@
struct tree_opt_pass pass_cleanup_cfg =
because after the tree optimizers have run such cleanups may
be necessary. */
because after the tree optimizers have run such cleanups may
be necessary. */
-static
void
+static
unsigned int
execute_cleanup_cfg_post_optimizing (void)
{
fold_cond_expr_cond ();
cleanup_tree_cfg ();
cleanup_dead_labels ();
group_case_labels ();
execute_cleanup_cfg_post_optimizing (void)
{
fold_cond_expr_cond ();
cleanup_tree_cfg ();
cleanup_dead_labels ();
group_case_labels ();
+ return 0;
}
struct tree_opt_pass pass_cleanup_cfg_post_optimizing =
}
struct tree_opt_pass pass_cleanup_cfg_post_optimizing =
@@
-158,7
+160,7
@@
struct tree_opt_pass pass_cleanup_cfg_post_optimizing =
/* Pass: do the actions required to finish with tree-ssa optimization
passes. */
/* Pass: do the actions required to finish with tree-ssa optimization
passes. */
-static
void
+static
unsigned int
execute_free_datastructures (void)
{
/* ??? This isn't the right place for this. Worse, it got computed
execute_free_datastructures (void)
{
/* ??? This isn't the right place for this. Worse, it got computed
@@
-169,6
+171,7
@@
execute_free_datastructures (void)
/* Remove the ssa structures. Do it here since this includes statement
annotations that need to be intact during disband_implicit_edges. */
delete_tree_ssa ();
/* Remove the ssa structures. Do it here since this includes statement
annotations that need to be intact during disband_implicit_edges. */
delete_tree_ssa ();
+ return 0;
}
struct tree_opt_pass pass_free_datastructures =
}
struct tree_opt_pass pass_free_datastructures =
@@
-189,7
+192,7
@@
struct tree_opt_pass pass_free_datastructures =
};
/* Pass: free cfg annotations. */
};
/* Pass: free cfg annotations. */
-static
void
+static
unsigned int
execute_free_cfg_annotations (void)
{
basic_block bb;
execute_free_cfg_annotations (void)
{
basic_block bb;
@@
-215,6
+218,7
@@
execute_free_cfg_annotations (void)
the integrity of statements in the EH throw table. */
verify_eh_throw_table_statements ();
#endif
the integrity of statements in the EH throw table. */
verify_eh_throw_table_statements ();
#endif
+ return 0;
}
struct tree_opt_pass pass_free_cfg_annotations =
}
struct tree_opt_pass pass_free_cfg_annotations =
@@
-237,7
+241,7
@@
struct tree_opt_pass pass_free_cfg_annotations =
changed some properties - such as marked functions nothrow. Remove now
redundant edges and basic blocks. */
changed some properties - such as marked functions nothrow. Remove now
redundant edges and basic blocks. */
-static
void
+static
unsigned int
execute_fixup_cfg (void)
{
basic_block bb;
execute_fixup_cfg (void)
{
basic_block bb;
@@
-260,6
+264,7
@@
execute_fixup_cfg (void)
}
cleanup_tree_cfg ();
}
cleanup_tree_cfg ();
+ return 0;
}
struct tree_opt_pass pass_fixup_cfg =
}
struct tree_opt_pass pass_fixup_cfg =
@@
-282,11
+287,12
@@
struct tree_opt_pass pass_fixup_cfg =
/* Do the actions required to initialize internal data structures used
in tree-ssa optimization passes. */
/* Do the actions required to initialize internal data structures used
in tree-ssa optimization passes. */
-static
void
+static
unsigned int
execute_init_datastructures (void)
{
/* Allocate hash tables, arrays and other structures. */
init_tree_ssa ();
execute_init_datastructures (void)
{
/* Allocate hash tables, arrays and other structures. */
init_tree_ssa ();
+ return 0;
}
struct tree_opt_pass pass_init_datastructures =
}
struct tree_opt_pass pass_init_datastructures =