Commit f3c676e1 by Tom de Vries Committed by Tom de Vries

Verify dominators in early-out calculate_dominance_info

2015-06-22  Tom de Vries  <tom@codesourcery.com>

	* dominance.c (calculate_dominance_info): Verify dominators if
	early-out.

From-SVN: r224744
parent a82484a2
2015-06-22 Tom de Vries <tom@codesourcery.com>
* dominance.c (calculate_dominance_info): Verify dominators if
early-out.
2015-06-22 Marek Polacek <polacek@redhat.com> 2015-06-22 Marek Polacek <polacek@redhat.com>
* match.pd ((x ^ y) ^ (x | y) -> x & y, * match.pd ((x ^ y) ^ (x | y) -> x & y,
......
...@@ -646,7 +646,12 @@ calculate_dominance_info (enum cdi_direction dir) ...@@ -646,7 +646,12 @@ calculate_dominance_info (enum cdi_direction dir)
bool reverse = (dir == CDI_POST_DOMINATORS) ? true : false; bool reverse = (dir == CDI_POST_DOMINATORS) ? true : false;
if (dom_computed[dir_index] == DOM_OK) if (dom_computed[dir_index] == DOM_OK)
return; {
#if ENABLE_CHECKING
verify_dominators (CDI_DOMINATORS);
#endif
return;
}
timevar_push (TV_DOMINANCE); timevar_push (TV_DOMINANCE);
if (!dom_info_available_p (dir)) if (!dom_info_available_p (dir))
......
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