Commit a1a6c2df by Martin Jambor Committed by Martin Jambor

dbgcnt.def (eipa_sra): New counter.

2010-07-29  Martin Jambor  <mjambor@suse.cz>

	* dbgcnt.def (eipa_sra): New counter.
	* tree-sra.c (ipa_early_sra_gate): Also check eipa_sra debug counter.

From-SVN: r162686
parent 0c5bb946
2010-07-29 Martin Jambor <mjambor@suse.cz>
* dbgcnt.def (eipa_sra): New counter.
* tree-sra.c (ipa_early_sra_gate): Also check eipa_sra debug counter.
2010-07-29 Xinliang David Li <davidxl@google.com> 2010-07-29 Xinliang David Li <davidxl@google.com>
PR bootstrap/45119 PR bootstrap/45119
......
...@@ -170,6 +170,7 @@ DEBUG_COUNTER (pre) ...@@ -170,6 +170,7 @@ DEBUG_COUNTER (pre)
DEBUG_COUNTER (pre_insn) DEBUG_COUNTER (pre_insn)
DEBUG_COUNTER (treepre_insert) DEBUG_COUNTER (treepre_insert)
DEBUG_COUNTER (tree_sra) DEBUG_COUNTER (tree_sra)
DEBUG_COUNTER (eipa_sra)
DEBUG_COUNTER (sched2_func) DEBUG_COUNTER (sched2_func)
DEBUG_COUNTER (sched_block) DEBUG_COUNTER (sched_block)
DEBUG_COUNTER (sched_func) DEBUG_COUNTER (sched_func)
......
...@@ -4446,7 +4446,7 @@ ipa_early_sra (void) ...@@ -4446,7 +4446,7 @@ ipa_early_sra (void)
static bool static bool
ipa_early_sra_gate (void) ipa_early_sra_gate (void)
{ {
return flag_ipa_sra; return flag_ipa_sra && dbg_cnt (eipa_sra);
} }
struct gimple_opt_pass pass_early_ipa_sra = struct gimple_opt_pass pass_early_ipa_sra =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment