tree-if-conv.c (main_tree_if_conversion): Move bb under ENABLE_CHECKING.

2012-04-24  Richard Guenther  <rguenther@suse.de>

	* tree-if-conv.c (main_tree_if_conversion): Move bb under
	ENABLE_CHECKING.

From-SVN: r186763
This commit is contained in:
Richard Biener 2012-04-24 14:18:40 +00:00
parent 57f10fe5f4
commit 05232ff6d3
2 changed files with 11 additions and 4 deletions

View file

@ -1,4 +1,9 @@
2012-02-24 Jim Meyering <meyering@redhat.com>
2012-04-24 Richard Guenther <rguenther@suse.de>
* tree-if-conv.c (main_tree_if_conversion): Move bb under
ENABLE_CHECKING.
2012-04-24 Jim Meyering <meyering@redhat.com>
* genattrtab.c (gen_attr): Avoid NULL-deref after diagnosing
absence of an define_enum call.

View file

@ -1779,7 +1779,6 @@ main_tree_if_conversion (void)
struct loop *loop;
bool changed = false;
unsigned todo = 0;
basic_block bb;
if (number_of_loops () <= 1)
return 0;
@ -1796,8 +1795,11 @@ main_tree_if_conversion (void)
free_dominance_info (CDI_POST_DOMINATORS);
#ifdef ENABLE_CHECKING
FOR_EACH_BB (bb)
gcc_assert (!bb->aux);
{
basic_block bb;
FOR_EACH_BB (bb)
gcc_assert (!bb->aux);
}
#endif
return todo;