This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r123305 - in /branches/dataflow-branch/gcc: Cha...
- From: zadeck at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 28 Mar 2007 16:14:29 -0000
- Subject: r123305 - in /branches/dataflow-branch/gcc: Cha...
Author: zadeck
Date: Wed Mar 28 17:14:28 2007
New Revision: 123305
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123305
Log:
2007-03-28 Kenneth Zadeck <zadeck@naturalbridge.com>
* tree-pass.h (pass_df_initialize, pass_df_finish): Deleted.
(pass_df_initialize_opt, pass_df_initialize_no_opt,
pass_stack_regs_run, pass_df_finish_opt, pass_df_finish_no_opt):
Added.
* df-core.c (df_finish_pass): Made ur and live problems condition
on optimization.
(pass_df_initialize): Renamed to pass_df_initialize_opt.
(pass_df_initialize_no_opt): New pass.
(gate_opt, gate_no_opt): New functions.
(pass_df_finish): Renamed to pass_df_finish_opt.
(pass_df_finish_no_opt): New pass.
* mode-switching.c (optimize_mode_switching): Changed references
of DF_LIVE_IN to df_get_live_in.
* global.c (compute_regsets): Only add urec problem when
optimizing.
* function.c (regno_clobbered_at_setjmp): Changed references
of DF_LIVE_OUT to df_get_live_out.
* regclass.c (regclass_init): Only call df_compute_regs_ever_live
if optimizing.
* stack-ptr-mod.c (notice_stack_pointer_modification): Only call
df_update_exit_block_uses if optimizing.
* df-problems.c (df_get_live_in, df_get_live_out): Return df_live
sets if they are there.
* reg_stack (rest_of_handle_stack_regs_run):
Added new pass that just runs subpasses.
* passes.c (init_optimization_passes): Added passes to turn on df
at only some parts of the compilation for -O0. Moved
pass_split_before_regstack and pass_stack_regs into a subpass of
the stack regs pass.
Modified:
branches/dataflow-branch/gcc/ChangeLog.dataflow
branches/dataflow-branch/gcc/df-core.c
branches/dataflow-branch/gcc/df-problems.c
branches/dataflow-branch/gcc/function.c
branches/dataflow-branch/gcc/global.c
branches/dataflow-branch/gcc/mode-switching.c
branches/dataflow-branch/gcc/passes.c
branches/dataflow-branch/gcc/reg-stack.c
branches/dataflow-branch/gcc/regclass.c
branches/dataflow-branch/gcc/stack-ptr-mod.c
branches/dataflow-branch/gcc/tree-pass.h