This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Remove DUP_PASS macro
- From: Brian Booth <bbooth at redhat dot com>
- To: GCC-Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Diego <dnovillo at redhat dot com>, Richard Henderson <rth at redhat dot com>
- Date: Fri, 23 Jul 2004 13:32:22 -0400
- Subject: [PATCH] Remove DUP_PASS macro
Hi,
This patch adds a flag to struct tree_opt_pass that keeps track of
whether the optimization pass has been added to the pass list. This flag
is then used by NEXT_PASS to determine whether the optimization pass
being added to the list needs to be copied. This removes the need to
manually use the macro DUP_PASS to duplicate optimization passes.
Bootstrapped and tested on i686-pc-linux-gnu. OK?
Brian
---
2004-07-23 Brian Booth <bbooth@redhat.com>
* cfgexpand.c (pass_expand): Initialize in_pass_list.
* gimple-low.c (pass_lower_cf): Likewise.
(pass_remove_useless_vars): Likewise.
* passes.c (pass_rest_of_compil): Likewise.
* predict.c (pass_profile): Likewise.
* tree-alias-common.c (pass_build_pta): Likewise.
(pass_del_pta): Likewise.
* tree-cfg.c (pass_build_cfg): Likewise.
(pass_remove_useless_stmts): Likewise.
(pass_split_crit_edges): Likewise.
(pass_warn_function_return): Likewise.
* tree-complex.c (pass_lower_vector_ssa): Likewise.
(pass_pre_expand): Likewise.
* tree-dfa.c (pass_referenced_vars): Likewise.
* tree-eh.c (pass_lower_eh): Likewise.
* tree-into-ssa.c (pass_build_ssa): Likewise.
* tree-mudflap.c (pass_mudflap_1): Likewise.
(pass_mudflap_2): Likewise.
* tree-nomudflap.c (pass_mudflap_1): Likewise.
(pass_mudflap_2): Likewise.
* tree-nrv.c (pass_nrv): Likewise.
* tree-optimize.c (pass_gimple): Likewise.
(pass_all_optimizations): Likewise.
(pass_cleanup_cfg_post_optimizing): Likewise.
(pass_init_datastructures): Likewise.
(pass_free_datastructures): Likewise.
(NEXT_PASS): Add detection of passes that need to be
duplicated.
(DUP_PASS): Remove macro.
(init_tree_optimization_passes): Remove uses of DUP_PASS.
* tree-outof-ssa.c (pass_del_ssa): Initialize in_pass_list.
* tree-pass.h (tree_opt_pass): Add in_pass_list flag.
* tree-profile.c (pass_tree_profile): Initialize
in_pass_list.
* tree-sra.c (pass_sra): Likewise.
* tree-ssa-alias.c (pass_may_alias): Likewise.
* tree-ssa-ccp.c (pass_ccp): Likewise.
(pass_fold_builtins): Likewise.
* tree-ssa-copyrename.c (pass_rename_ssa_copies): Likewise.
* tree-ssa-dce.c (pass_dce): Likewise.
(pass_cd_dce): Likewise.
* tree-ssa-dom.c (pass_dominator): Likewise.
* tree-ssa-dse.c (pass_dse): Likewise.
* tree-ssa-forwprop.c (pass_forwprop): Likewise.
* tree-ssa-loop-ch.c (pass_ch): Likewise.
* tree-ssa-loop.c (pass_loop): Likewise.
(pass_loop_init): Likewise.
(pass_lim): Likewise.
(pass_loop_done): Likewise.
* tree-ssa-phiopt.c (pass_phiopt): Likewise.
* tree-ssa-pre.c (pass_pre): Likewise.
(pass_fre): Likewise.
* tree-ssa.c (pass_redundant_phi): Likewise.
(pass_early_warn_uninitialized): Likewise.
(pass_late_warn_uninitialized): Likewise.
* tree-tailcall.c (pass_tail_recursion): Likewise.
(pass_tail_calls): Likewise.
Index: cfgexpand.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfgexpand.c,v
retrieving revision 2.14
diff -u -p -r2.14 cfgexpand.c
--- cfgexpand.c 22 Jul 2004 02:48:26 -0000 2.14
+++ cfgexpand.c 23 Jul 2004 14:33:27 -0000
@@ -493,5 +493,6 @@ struct tree_opt_pass pass_expand =
PROP_rtl, /* properties_provided */
PROP_gimple_leh, /* properties_destroyed */
0, /* todo_flags_start */
- 0 /* todo_flags_finish */
+ 0, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: gimple-low.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gimple-low.c,v
retrieving revision 2.12
diff -u -p -r2.12 gimple-low.c
--- gimple-low.c 22 Jul 2004 02:48:26 -0000 2.12
+++ gimple-low.c 23 Jul 2004 14:33:27 -0000
@@ -138,7 +138,8 @@ struct tree_opt_pass pass_lower_cf =
PROP_gimple_lcf, /* properties_provided */
PROP_gimple_any, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func /* todo_flags_finish */
+ TODO_dump_func, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
@@ -538,5 +539,6 @@ struct tree_opt_pass pass_remove_useless
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func /* todo_flags_finish */
+ TODO_dump_func, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: passes.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/passes.c,v
retrieving revision 2.33
diff -u -p -r2.33 passes.c
--- passes.c 21 Jul 2004 18:57:09 -0000 2.33
+++ passes.c 23 Jul 2004 14:33:27 -0000
@@ -2095,7 +2095,8 @@ struct tree_opt_pass pass_rest_of_compil
0, /* properties_provided */
PROP_rtl, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_ggc_collect /* todo_flags_finish */
+ TODO_ggc_collect, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: predict.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/predict.c,v
retrieving revision 1.108
diff -u -p -r1.108 predict.c
--- predict.c 21 Jul 2004 18:57:09 -0000 1.108
+++ predict.c 23 Jul 2004 14:33:27 -0000
@@ -1459,5 +1459,6 @@ struct tree_opt_pass pass_profile =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_ggc_collect | TODO_verify_ssa /* todo_flags_finish */
+ TODO_ggc_collect | TODO_verify_ssa, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-alias-common.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-alias-common.c,v
retrieving revision 2.7
diff -u -p -r2.7 tree-alias-common.c
--- tree-alias-common.c 16 Jul 2004 21:13:02 -0000 2.7
+++ tree-alias-common.c 23 Jul 2004 14:33:27 -0000
@@ -1046,7 +1046,8 @@ struct tree_opt_pass pass_build_pta =
PROP_pta, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- 0 /* todo_flags_finish */
+ 0, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
@@ -1094,7 +1095,8 @@ struct tree_opt_pass pass_del_pta =
0, /* properties_provided */
PROP_pta, /* properties_destroyed */
0, /* todo_flags_start */
- 0 /* todo_flags_finish */
+ 0, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-cfg.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-cfg.c,v
retrieving revision 2.35
diff -u -p -r2.35 tree-cfg.c
--- tree-cfg.c 22 Jul 2004 08:20:37 -0000 2.35
+++ tree-cfg.c 23 Jul 2004 14:33:27 -0000
@@ -206,7 +206,8 @@ struct tree_opt_pass pass_build_cfg =
PROP_cfg, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_verify_stmts /* todo_flags_finish */
+ TODO_verify_stmts, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
/* Search the CFG for any computed gotos. If found, factor them to a
@@ -1648,7 +1649,8 @@ struct tree_opt_pass pass_remove_useless
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func /* todo_flags_finish */
+ TODO_dump_func, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
@@ -4780,7 +4782,7 @@ split_critical_edges (void)
struct tree_opt_pass pass_split_crit_edges =
{
- "crited", /* name */
+ "crited", /* name */
NULL, /* gate */
split_critical_edges, /* execute */
NULL, /* sub */
@@ -4791,7 +4793,8 @@ struct tree_opt_pass pass_split_crit_edg
PROP_no_crit_edges, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func, /* todo_flags_finish */
+ TODO_dump_func, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
@@ -4985,7 +4988,8 @@ struct tree_opt_pass pass_warn_function_
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- 0 /* todo_flags_finish */
+ 0, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
#include "gt-tree-cfg.h"
Index: tree-complex.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-complex.c,v
retrieving revision 2.6
diff -u -p -r2.6 tree-complex.c
--- tree-complex.c 22 Jul 2004 08:20:37 -0000 2.6
+++ tree-complex.c 23 Jul 2004 14:33:27 -0000
@@ -935,7 +935,8 @@ struct tree_opt_pass pass_lower_vector_s
0, /* todo_flags_start */
TODO_dump_func | TODO_rename_vars /* todo_flags_finish */
| TODO_ggc_collect | TODO_verify_ssa
- | TODO_verify_stmts | TODO_verify_flow
+ | TODO_verify_stmts | TODO_verify_flow, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
struct tree_opt_pass pass_pre_expand =
@@ -952,5 +953,6 @@ struct tree_opt_pass pass_pre_expand =
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_dump_func | TODO_ggc_collect
- | TODO_verify_stmts /* todo_flags_finish */
+ | TODO_verify_stmts, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-dfa.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-dfa.c,v
retrieving revision 2.20
diff -u -p -r2.20 tree-dfa.c
--- tree-dfa.c 16 Jul 2004 20:40:24 -0000 2.20
+++ tree-dfa.c 23 Jul 2004 14:33:27 -0000
@@ -136,6 +136,7 @@ struct tree_opt_pass pass_referenced_var
0, /* properties_destroyed */
0, /* todo_flags_start */
0, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-eh.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-eh.c,v
retrieving revision 2.13
diff -u -p -r2.13 tree-eh.c
--- tree-eh.c 17 Jul 2004 00:31:10 -0000 2.13
+++ tree-eh.c 23 Jul 2004 14:33:27 -0000
@@ -1656,7 +1656,8 @@ struct tree_opt_pass pass_lower_eh =
PROP_gimple_leh, /* properties_provided */
PROP_gimple_lcf, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func /* todo_flags_finish */
+ TODO_dump_func, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-into-ssa.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-into-ssa.c,v
retrieving revision 2.13
diff -u -p -r2.13 tree-into-ssa.c
--- tree-into-ssa.c 22 Jul 2004 16:39:48 -0000 2.13
+++ tree-into-ssa.c 23 Jul 2004 14:33:27 -0000
@@ -1910,5 +1910,6 @@ struct tree_opt_pass pass_build_ssa =
PROP_ssa, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func | TODO_verify_ssa /* todo_flags_finish */
+ TODO_dump_func | TODO_verify_ssa, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-mudflap.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-mudflap.c,v
retrieving revision 2.15
diff -u -p -r2.15 tree-mudflap.c
--- tree-mudflap.c 20 Jul 2004 20:01:12 -0000 2.15
+++ tree-mudflap.c 23 Jul 2004 14:33:27 -0000
@@ -1316,7 +1316,8 @@ struct tree_opt_pass pass_mudflap_1 =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func /* todo_flags_finish */
+ TODO_dump_func, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
struct tree_opt_pass pass_mudflap_2 =
@@ -1333,7 +1334,8 @@ struct tree_opt_pass pass_mudflap_2 =
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_verify_flow | TODO_verify_stmts
- | TODO_dump_func /* todo_flags_finish */
+ | TODO_dump_func, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
#include "gt-tree-mudflap.h"
Index: tree-nomudflap.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-nomudflap.c,v
retrieving revision 2.2
diff -u -p -r2.2 tree-nomudflap.c
--- tree-nomudflap.c 14 May 2004 02:29:22 -0000 2.2
+++ tree-nomudflap.c 23 Jul 2004 14:33:27 -0000
@@ -98,7 +98,8 @@ struct tree_opt_pass pass_mudflap_1 =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- 0 /* todo_flags_finish */
+ 0, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
struct tree_opt_pass pass_mudflap_2 =
@@ -114,7 +115,8 @@ struct tree_opt_pass pass_mudflap_2 =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- 0 /* todo_flags_finish */
+ 0, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
/* Instead of:
Index: tree-nrv.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-nrv.c,v
retrieving revision 2.4
diff -u -p -r2.4 tree-nrv.c
--- tree-nrv.c 26 Jun 2004 05:03:53 -0000 2.4
+++ tree-nrv.c 23 Jul 2004 14:33:27 -0000
@@ -214,5 +214,6 @@ struct tree_opt_pass pass_nrv =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */
+ TODO_dump_func | TODO_ggc_collect, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-optimize.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-optimize.c,v
retrieving revision 2.32
diff -u -p -r2.32 tree-optimize.c
--- tree-optimize.c 22 Jul 2004 08:20:38 -0000 2.32
+++ tree-optimize.c 23 Jul 2004 14:33:27 -0000
@@ -72,7 +72,8 @@ static struct tree_opt_pass pass_gimple
PROP_gimple_any, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func /* todo_flags_finish */
+ TODO_dump_func, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
/* Gate: execute, or not, all of the non-trivial optimizations. */
@@ -98,7 +99,8 @@ static struct tree_opt_pass pass_all_opt
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- 0 /* todo_flags_finish */
+ 0, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
/* Pass: cleanup the CFG just before expanding trees to RTL.
@@ -127,7 +129,8 @@ static struct tree_opt_pass pass_cleanup
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- 0 /* todo_flags_finish */
+ 0, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
/* Pass: do the actions required to finish with tree-ssa optimization
@@ -170,7 +173,8 @@ static struct tree_opt_pass pass_free_da
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- 0 /* todo_flags_finish */
+ 0, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
@@ -197,7 +201,8 @@ static struct tree_opt_pass pass_init_da
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- 0 /* todo_flags_finish */
+ 0, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
/* Iterate over the pass tree allocating dump file numbers. We want
@@ -289,8 +294,15 @@ init_tree_optimization_passes (void)
{
struct tree_opt_pass **p;
-#define NEXT_PASS(PASS) (*p = &PASS, p = &(*p)->next)
-#define DUP_PASS(PASS) (*dup_pass_1 (&PASS))
+#define NEXT_PASS(PASS) \
+ if (PASS.in_pass_list) \
+ *p = dup_pass_1 (&PASS); \
+ else \
+ { \
+ *p = &PASS; \
+ PASS.in_pass_list = 1; \
+ } \
+ p = &(*p)->next;
p = &all_passes;
NEXT_PASS (pass_gimple);
@@ -319,7 +331,7 @@ init_tree_optimization_passes (void)
NEXT_PASS (pass_dce);
NEXT_PASS (pass_dominator);
NEXT_PASS (pass_redundant_phi);
- NEXT_PASS (DUP_PASS (pass_dce));
+ NEXT_PASS (pass_dce);
NEXT_PASS (pass_forwprop);
NEXT_PASS (pass_phiopt);
NEXT_PASS (pass_may_alias);
@@ -327,26 +339,26 @@ init_tree_optimization_passes (void)
NEXT_PASS (pass_ch);
NEXT_PASS (pass_profile);
NEXT_PASS (pass_sra);
- NEXT_PASS (DUP_PASS (pass_rename_ssa_copies));
- NEXT_PASS (DUP_PASS (pass_dominator));
- NEXT_PASS (DUP_PASS (pass_redundant_phi));
- NEXT_PASS (DUP_PASS (pass_dce));
+ NEXT_PASS (pass_rename_ssa_copies);
+ NEXT_PASS (pass_dominator);
+ NEXT_PASS (pass_redundant_phi);
+ NEXT_PASS (pass_dce);
NEXT_PASS (pass_dse);
- NEXT_PASS (DUP_PASS (pass_may_alias));
- NEXT_PASS (DUP_PASS (pass_forwprop));
- NEXT_PASS (DUP_PASS (pass_phiopt));
+ NEXT_PASS (pass_may_alias);
+ NEXT_PASS (pass_forwprop);
+ NEXT_PASS (pass_phiopt);
NEXT_PASS (pass_ccp);
- NEXT_PASS (DUP_PASS (pass_redundant_phi));
+ NEXT_PASS (pass_redundant_phi);
NEXT_PASS (pass_fold_builtins);
NEXT_PASS (pass_split_crit_edges);
NEXT_PASS (pass_pre);
NEXT_PASS (pass_loop);
- NEXT_PASS (DUP_PASS (pass_dominator));
- NEXT_PASS (DUP_PASS (pass_redundant_phi));
+ NEXT_PASS (pass_dominator);
+ NEXT_PASS (pass_redundant_phi);
NEXT_PASS (pass_cd_dce);
- NEXT_PASS (DUP_PASS (pass_dse));
- NEXT_PASS (DUP_PASS (pass_forwprop));
- NEXT_PASS (DUP_PASS (pass_phiopt));
+ NEXT_PASS (pass_dse);
+ NEXT_PASS (pass_forwprop);
+ NEXT_PASS (pass_phiopt);
NEXT_PASS (pass_tail_calls);
NEXT_PASS (pass_late_warn_uninitialized);
NEXT_PASS (pass_del_pta);
@@ -363,7 +375,6 @@ init_tree_optimization_passes (void)
*p = NULL;
#undef NEXT_PASS
-#undef DUP_PASS
/* Register the passes with the tree dump code. */
register_dump_files (all_passes, 0);
Index: tree-outof-ssa.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-outof-ssa.c,v
retrieving revision 2.12
diff -u -p -r2.12 tree-outof-ssa.c
--- tree-outof-ssa.c 26 Jun 2004 21:11:12 -0000 2.12
+++ tree-outof-ssa.c 23 Jul 2004 14:33:27 -0000
@@ -2219,5 +2219,6 @@ struct tree_opt_pass pass_del_ssa =
PROP_ssa, /* properties_destroyed */
TODO_verify_ssa | TODO_verify_flow
| TODO_verify_stmts, /* todo_flags_start */
- TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */
+ TODO_dump_func | TODO_ggc_collect, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-pass.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-pass.h,v
retrieving revision 2.6
diff -u -p -r2.6 tree-pass.h
--- tree-pass.h 22 Jul 2004 08:20:39 -0000 2.6
+++ tree-pass.h 23 Jul 2004 14:33:27 -0000
@@ -64,6 +64,11 @@ struct tree_opt_pass
/* Flags indicating common sets things to do before and after. */
unsigned int todo_flags_start;
unsigned int todo_flags_finish;
+
+ /* Flag indicating whether the pass has already been added to the
+ pass list. */
+ unsigned int in_pass_list: 1;
+
};
/* Pass properties. */
Index: tree-profile.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-profile.c,v
retrieving revision 2.1
diff -u -p -r2.1 tree-profile.c
--- tree-profile.c 13 May 2004 06:39:49 -0000 2.1
+++ tree-profile.c 23 Jul 2004 14:33:27 -0000
@@ -174,7 +174,8 @@ struct tree_opt_pass pass_tree_profile =
PROP_gimple_leh | PROP_cfg, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_verify_stmts /* todo_flags_finish */
+ TODO_verify_stmts, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
struct profile_hooks tree_profile_hooks =
Index: tree-sra.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-sra.c,v
retrieving revision 2.21
diff -u -p -r2.21 tree-sra.c
--- tree-sra.c 16 Jul 2004 21:13:03 -0000 2.21
+++ tree-sra.c 23 Jul 2004 14:33:28 -0000
@@ -2123,5 +2123,6 @@ struct tree_opt_pass pass_sra =
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_dump_func | TODO_rename_vars
- | TODO_ggc_collect | TODO_verify_ssa /* todo_flags_finish */
+ | TODO_ggc_collect | TODO_verify_ssa, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-ssa-alias.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-alias.c,v
retrieving revision 2.14
diff -u -p -r2.14 tree-ssa-alias.c
--- tree-ssa-alias.c 22 Jul 2004 16:39:48 -0000 2.14
+++ tree-ssa-alias.c 23 Jul 2004 14:33:28 -0000
@@ -367,7 +367,8 @@ struct tree_opt_pass pass_may_alias =
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_dump_func | TODO_rename_vars
- | TODO_ggc_collect | TODO_verify_ssa /* todo_flags_finish */
+ | TODO_ggc_collect | TODO_verify_ssa, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-ssa-ccp.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-ccp.c,v
retrieving revision 2.25
diff -u -p -r2.25 tree-ssa-ccp.c
--- tree-ssa-ccp.c 22 Jul 2004 18:33:18 -0000 2.25
+++ tree-ssa-ccp.c 23 Jul 2004 14:33:28 -0000
@@ -251,7 +251,8 @@ struct tree_opt_pass pass_ccp =
0, /* todo_flags_start */
TODO_dump_func | TODO_rename_vars
| TODO_ggc_collect | TODO_verify_ssa
- | TODO_verify_stmts /* todo_flags_finish */
+ | TODO_verify_stmts, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
@@ -2709,7 +2710,8 @@ struct tree_opt_pass pass_fold_builtins
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func | TODO_verify_ssa /* todo_flags_finish */
+ TODO_dump_func | TODO_verify_ssa, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-ssa-copyrename.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-copyrename.c,v
retrieving revision 2.6
diff -u -p -r2.6 tree-ssa-copyrename.c
--- tree-ssa-copyrename.c 16 Jul 2004 20:40:24 -0000 2.6
+++ tree-ssa-copyrename.c 23 Jul 2004 14:33:28 -0000
@@ -386,6 +386,7 @@ struct tree_opt_pass pass_rename_ssa_cop
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func | TODO_verify_ssa /* todo_flags_finish */
+ TODO_dump_func | TODO_verify_ssa, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-ssa-dce.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-dce.c,v
retrieving revision 2.10
diff -u -p -r2.10 tree-ssa-dce.c
--- tree-ssa-dce.c 22 Jul 2004 16:39:48 -0000 2.10
+++ tree-ssa-dce.c 23 Jul 2004 14:33:28 -0000
@@ -912,7 +912,8 @@ struct tree_opt_pass pass_dce =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_ggc_collect | TODO_verify_ssa /* todo_flags_finish */
+ TODO_ggc_collect | TODO_verify_ssa, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
struct tree_opt_pass pass_cd_dce =
@@ -928,7 +929,8 @@ struct tree_opt_pass pass_cd_dce =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_ggc_collect | TODO_verify_ssa | TODO_verify_flow
+ TODO_ggc_collect | TODO_verify_ssa | TODO_verify_flow,
/* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-ssa-dom.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-dom.c,v
retrieving revision 2.26
diff -u -p -r2.26 tree-ssa-dom.c
--- tree-ssa-dom.c 22 Jul 2004 16:39:48 -0000 2.26
+++ tree-ssa-dom.c 23 Jul 2004 14:33:28 -0000
@@ -697,7 +697,8 @@ struct tree_opt_pass pass_dominator =
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_dump_func | TODO_rename_vars
- | TODO_verify_ssa /* todo_flags_finish */
+ | TODO_verify_ssa, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-ssa-dse.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-dse.c,v
retrieving revision 2.6
diff -u -p -r2.6 tree-ssa-dse.c
--- tree-ssa-dse.c 8 Jul 2004 16:16:41 -0000 2.6
+++ tree-ssa-dse.c 23 Jul 2004 14:33:28 -0000
@@ -442,5 +442,6 @@ struct tree_opt_pass pass_dse = {
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */
- | TODO_verify_ssa
+ | TODO_verify_ssa,
+ 0 /* in_pass_list */
};
Index: tree-ssa-forwprop.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-forwprop.c,v
retrieving revision 2.2
diff -u -p -r2.2 tree-ssa-forwprop.c
--- tree-ssa-forwprop.c 13 May 2004 20:55:02 -0000 2.2
+++ tree-ssa-forwprop.c 23 Jul 2004 14:33:28 -0000
@@ -522,5 +522,6 @@ struct tree_opt_pass pass_forwprop = {
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */
- | TODO_verify_ssa
+ | TODO_verify_ssa,
+ 0 /* in_pass_list */
};
Index: tree-ssa-loop-ch.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-loop-ch.c,v
retrieving revision 2.1
diff -u -p -r2.1 tree-ssa-loop-ch.c
--- tree-ssa-loop-ch.c 30 Jun 2004 21:11:28 -0000 2.1
+++ tree-ssa-loop-ch.c 23 Jul 2004 14:33:28 -0000
@@ -345,5 +345,6 @@ struct tree_opt_pass pass_ch =
0, /* properties_destroyed */
0, /* todo_flags_start */
(TODO_dump_func
- | TODO_verify_ssa) /* todo_flags_finish */
+ | TODO_verify_ssa), /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-ssa-loop.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-loop.c,v
retrieving revision 2.8
diff -u -p -r2.8 tree-ssa-loop.c
--- tree-ssa-loop.c 10 Jul 2004 04:57:54 -0000 2.8
+++ tree-ssa-loop.c 23 Jul 2004 14:33:28 -0000
@@ -84,7 +84,8 @@ struct tree_opt_pass pass_loop =
0, /* properties_provided */
0, /* properties_destroyed */
TODO_ggc_collect, /* todo_flags_start */
- TODO_dump_func | TODO_verify_ssa | TODO_ggc_collect /* todo_flags_finish */
+ TODO_dump_func | TODO_verify_ssa | TODO_ggc_collect, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
/* Loop optimizer initialization. */
@@ -108,7 +109,8 @@ struct tree_opt_pass pass_loop_init =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- 0 /* todo_flags_finish */
+ 0, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
/* Loop invariant motion pass. */
@@ -141,7 +143,8 @@ struct tree_opt_pass pass_lim =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func /* todo_flags_finish */
+ TODO_dump_func, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
/* Loop optimizer finalization. */
@@ -171,6 +174,7 @@ struct tree_opt_pass pass_loop_done =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- 0 /* todo_flags_finish */
+ 0, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-ssa-phiopt.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-phiopt.c,v
retrieving revision 2.9
diff -u -p -r2.9 tree-ssa-phiopt.c
--- tree-ssa-phiopt.c 17 Jul 2004 18:08:10 -0000 2.9
+++ tree-ssa-phiopt.c 23 Jul 2004 14:33:28 -0000
@@ -675,7 +675,8 @@ struct tree_opt_pass pass_phiopt =
0, /* todo_flags_start */
TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */
| TODO_verify_ssa | TODO_rename_vars
- | TODO_verify_flow
+ | TODO_verify_flow,
+ 0 /* in_pass_list */
};
Index: tree-ssa-pre.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-pre.c,v
retrieving revision 2.28
diff -u -p -r2.28 tree-ssa-pre.c
--- tree-ssa-pre.c 22 Jul 2004 16:39:48 -0000 2.28
+++ tree-ssa-pre.c 23 Jul 2004 14:33:28 -0000
@@ -2080,7 +2080,8 @@ struct tree_opt_pass pass_pre =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func | TODO_ggc_collect | TODO_verify_ssa /* todo_flags_finish */
+ TODO_dump_func | TODO_ggc_collect | TODO_verify_ssa, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
@@ -2111,5 +2112,6 @@ struct tree_opt_pass pass_fre =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func | TODO_ggc_collect | TODO_verify_ssa /* todo_flags_finish */
+ TODO_dump_func | TODO_ggc_collect | TODO_verify_ssa, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-ssa.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa.c,v
retrieving revision 2.22
diff -u -p -r2.22 tree-ssa.c
--- tree-ssa.c 22 Jul 2004 16:39:48 -0000 2.22
+++ tree-ssa.c 23 Jul 2004 14:33:28 -0000
@@ -1210,7 +1210,8 @@ struct tree_opt_pass pass_redundant_phi
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_dump_func | TODO_rename_vars
- | TODO_ggc_collect | TODO_verify_ssa /* todo_flags_finish */
+ | TODO_ggc_collect | TODO_verify_ssa, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
/* Emit warnings for uninitialized variables. This is done in two passes.
@@ -1350,7 +1351,8 @@ struct tree_opt_pass pass_early_warn_uni
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- 0 /* todo_flags_finish */
+ 0, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
struct tree_opt_pass pass_late_warn_uninitialized =
@@ -1366,5 +1368,6 @@ struct tree_opt_pass pass_late_warn_unin
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- 0 /* todo_flags_finish */
+ 0, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
Index: tree-tailcall.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-tailcall.c,v
retrieving revision 2.17
diff -u -p -r2.17 tree-tailcall.c
--- tree-tailcall.c 16 Jul 2004 21:13:04 -0000 2.17
+++ tree-tailcall.c 23 Jul 2004 14:33:28 -0000
@@ -942,7 +942,8 @@ struct tree_opt_pass pass_tail_recursion
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func | TODO_verify_ssa /* todo_flags_finish */
+ TODO_dump_func | TODO_verify_ssa, /* todo_flags_finish */
+ 0 /* in_pass_list */
};
struct tree_opt_pass pass_tail_calls =
@@ -958,5 +959,6 @@ struct tree_opt_pass pass_tail_calls =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func | TODO_verify_ssa /* todo_flags_finish */
+ TODO_dump_func | TODO_verify_ssa, /* todo_flags_finish */
+ 0 /* in_pass_list */
};