diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-05 16:04:12 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-05 16:04:12 +0000 |
commit | 314966f44100eab5d60e0b7260172a661d2e30ee (patch) | |
tree | b1eb63f779e57b66e9e082792080cffb4ebb30c1 /gcc/local-alloc.c | |
parent | 4e549567c4c8d21e6551068f7cae378c78d8fd44 (diff) | |
download | gcc-314966f44100eab5d60e0b7260172a661d2e30ee.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127225 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r-- | gcc/local-alloc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index 3a8401b9151..c42b7149145 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 (); |