summaryrefslogtreecommitdiff
path: root/gcc/cfg.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2016-10-18 21:36:45 +0200
committerThomas Schwinge <tschwinge@gcc.gnu.org>2016-10-18 21:36:45 +0200
commit2300c332eb046581a8135dabf66b9e85afec65b7 (patch)
tree984216062455354314610e6cba7e93bf20e99552 /gcc/cfg.c
parent902cb7b191fd4fbfcdcae940467f8a9375bea004 (diff)
downloadgcc-2300c332eb046581a8135dabf66b9e85afec65b7.tar.gz
Use FOR_ALL_BB_FN in a few more places
gcc/ * cfg.c (clear_bb_flags): Use FOR_ALL_BB_FN. * config/nvptx/nvptx.c (nvptx_find_sese): Likewise. From-SVN: r241315
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r--gcc/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfg.c b/gcc/cfg.c
index ee2e42c1f80..6604b02192c 100644
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -386,7 +386,7 @@ clear_bb_flags (void)
{
basic_block bb;
- FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb)
+ FOR_ALL_BB_FN (bb, cfun)
bb->flags &= BB_FLAGS_TO_PRESERVE;
}