aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2007-08-05 16:04:12 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2007-08-05 16:04:12 +0000
commit0d475361a51725490a60788243a1f785cfba4da1 (patch)
treeb1eb63f779e57b66e9e082792080cffb4ebb30c1 /gcc/tree-pass.h
parent3d97b1af3fa03940993985f5936b9748b79d2eb8 (diff)
downloadgcc-0d475361a51725490a60788243a1f785cfba4da1.zip
gcc-0d475361a51725490a60788243a1f785cfba4da1.tar.gz
gcc-0d475361a51725490a60788243a1f785cfba4da1.tar.bz2
configure.ac: Remove --enable-checking=df from default settings.
2008-08-05 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Remove --enable-checking=df from default settings. * tree-pass.h (TODO_df_verify): New. Shift TODO_mark_first_instance. * df-core.c (df_finish_pass) [ENABLE_CHECKING]: Schedule verification if the parameter is true. (df_analyze) [!ENABLE_DF_CHECKING]: Also do verification if the DF_VERIFY_SCHEDULED flag is true. * df.h (enum df_changeable_flags): Add DF_VERIFY_SCHEDULED. (df_finish_pass): Adjust prototype. * passes.c (execute_todo): Schedule verification if TODO_df_verify is true. * see.c (pass_see): Add TODO_df_verify. * loop-init.c (pass_rtl_move_loop_invariants): Add TODO_df_verify. * global.c (rest_of_handle_global_alloc): Schedule verification after the pass. * local-alloc.c (rest_of_handle_local_alloc): Schedule verification before the pass. * function.c (pass_thread_prologue_and_epilogue): Add TODO_df_verify. * gcse.c (rest_of_handle_gcse): Adjust call to df_finish_pass. * loop-iv.c (iv_analysis_done): Schedule verification after the pass. * config/sh/sh.c (sh_output_mi_thunk): Remove dead code. * config/ia64/ia64.c (ia64_reorg): Adjust call to df_finish_pass. * config/bfin/bfin.c (bfin_reorg): Adjust call to df_finish_pass. From-SVN: r127225
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r--gcc/tree-pass.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h
index e210798..fc12a6c 100644
--- a/gcc/tree-pass.h
+++ b/gcc/tree-pass.h
@@ -222,8 +222,11 @@ struct dump_file_info
the instance before it is destroyed. */
#define TODO_df_finish (1 << 16)
+/* Call df_verify at the end of the pass if checking is enabled. */
+#define TODO_df_verify (1 << 17)
+
/* Internally used for the first instance of a pass. */
-#define TODO_mark_first_instance (1 << 17)
+#define TODO_mark_first_instance (1 << 18)
#define TODO_update_ssa_any \
(TODO_update_ssa \