summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-20 13:22:49 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-20 13:22:49 +0000
commit1a8bf94d3197b82fc41436b2a3043f339536f603 (patch)
tree4d66b707d35b8c679d14f070a4cc42b15a95d2a8 /gcc/tree-ssa-alias.c
parent5cc6d735d73e4810078b05e651751ba7b84539be (diff)
downloadgcc-1a8bf94d3197b82fc41436b2a3043f339536f603.tar.gz
2008-03-20 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r133366 * gcc/basilys.c: pass_basilys is now a gimple_opt_pass. * gcc/tree-pass.h: pass_basilys is now a gimple_opt_pass. pass_compiler_probe now declared here. * gcc/passes.c: using new struct-s for passes. * gcc/compiler-probe.h: moved pass_compiler_probe from here to tree-pass.h * gcc/compiler-probe.c: pass_compiler_probe is a gimple_opt_pass. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@133372 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r--gcc/tree-ssa-alias.c24
1 files changed, 15 insertions, 9 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c
index 7ab2f6b5473..a9ae29fa876 100644
--- a/gcc/tree-ssa-alias.c
+++ b/gcc/tree-ssa-alias.c
@@ -4205,8 +4205,10 @@ gate_structure_vars (void)
return flag_tree_salias != 0;
}
-struct tree_opt_pass pass_create_structure_vars =
+struct gimple_opt_pass pass_create_structure_vars =
{
+ {
+ GIMPLE_PASS,
"salias", /* name */
gate_structure_vars, /* gate */
create_structure_vars, /* execute */
@@ -4218,8 +4220,8 @@ struct tree_opt_pass pass_create_structure_vars =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func, /* todo_flags_finish */
- 0 /* letter */
+ TODO_dump_func /* todo_flags_finish */
+ }
};
/* Reset the call_clobbered flags on our referenced vars. In
@@ -4236,8 +4238,10 @@ reset_cc_flags (void)
return 0;
}
-struct tree_opt_pass pass_reset_cc_flags =
+struct gimple_opt_pass pass_reset_cc_flags =
{
+ {
+ GIMPLE_PASS,
NULL, /* name */
NULL, /* gate */
reset_cc_flags, /* execute */
@@ -4249,8 +4253,8 @@ struct tree_opt_pass pass_reset_cc_flags =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- 0, /* todo_flags_finish */
- 0 /* letter */
+ 0 /* todo_flags_finish */
+ }
};
static bool
@@ -4260,8 +4264,10 @@ gate_build_alias (void)
}
-struct tree_opt_pass pass_build_alias =
+struct gimple_opt_pass pass_build_alias =
{
+ {
+ GIMPLE_PASS,
"build_alias", /* name */
gate_build_alias, /* gate */
NULL, /* execute */
@@ -4273,6 +4279,6 @@ struct tree_opt_pass pass_build_alias =
PROP_alias, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_rebuild_alias, /* todo_flags_finish */
- 0 /* letter */
+ TODO_rebuild_alias /* todo_flags_finish */
+ }
};