diff options
author | Richard Guenther <rguenther@suse.de> | 2012-04-24 14:18:40 +0000 |
---|---|---|
committer | Richard Guenther <rguenther@suse.de> | 2012-04-24 14:18:40 +0000 |
commit | 4c3f718896bd7aaaa1c60271ec5d89bd768fcc93 (patch) | |
tree | 01abe434659d8092d5c6c62eb8efe9d4d225488c /gcc/tree-if-conv.c | |
parent | 8857cdc66b2767a8ebd8b861904d980a125c9c36 (diff) |
2012-04-24 Richard Guenther <rguenther@suse.de>
* tree-if-conv.c (main_tree_if_conversion): Move bb under
ENABLE_CHECKING.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@186763 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-if-conv.c')
-rw-r--r-- | gcc/tree-if-conv.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index d8e23a43672..107c7e3da12 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -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; |