mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 23:35:00 +08:00
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
This commit is contained in:
parent
a82484a2ee
commit
f3c676e118
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* match.pd ((x ^ y) ^ (x | y) -> x & y,
|
||||
|
@ -646,7 +646,12 @@ calculate_dominance_info (enum cdi_direction dir)
|
||||
bool reverse = (dir == CDI_POST_DOMINATORS) ? true : false;
|
||||
|
||||
if (dom_computed[dir_index] == DOM_OK)
|
||||
return;
|
||||
{
|
||||
#if ENABLE_CHECKING
|
||||
verify_dominators (CDI_DOMINATORS);
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
timevar_push (TV_DOMINANCE);
|
||||
if (!dom_info_available_p (dir))
|
||||
|
Loading…
Reference in New Issue
Block a user