aboutsummaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
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/local-alloc.c
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/local-alloc.c')
-rw-r--r--gcc/local-alloc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index 3a8401b..c42b7149 100644
--- a/gcc/local-alloc.c
+++ b/gcc/local-alloc.c
@@ -2515,6 +2515,9 @@ rest_of_handle_local_alloc (void)
we are doing optimization. */
if (optimize)
df_urec_add_problem ();
+#ifdef ENABLE_CHECKING
+ df->changeable_flags |= DF_VERIFY_SCHEDULED;
+#endif
df_analyze ();
regstat_init_n_sets_and_refs ();
regstat_compute_ri ();