Re: Use FOR_ALL_BB_FN in a few more places

2016-10-18 Thread Thomas Schwinge
d to trunk in r241315: commit 195917446a84dd216ec19c6657b298dcb57e039d Author: tschwinge Date: Tue Oct 18 19:36:45 2016 +0000 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

Re: Use FOR_ALL_BB_FN in a few more places (was: [PATCH] Clear BB_VISITED in bb-reorder)

2016-10-17 Thread Richard Biener
_BLOCK_PTR_FOR_FN (cfun)->aux = 0; >> > >> > "EXIT_BLOCK_PTR_FOR_FN (cfun)->flags &= ~BB_VISITED;" is not >required >> > here, additionally? >> >> ALL_BB includes EXIT_BLOCK. > >I see -- ;-) FOR_ALL_BB_FN is something different f

Use FOR_ALL_BB_FN in a few more places (was: [PATCH] Clear BB_VISITED in bb-reorder)

2016-10-17 Thread Thomas Schwinge
ot required > > here, additionally? > > ALL_BB includes EXIT_BLOCK. I see -- ;-) FOR_ALL_BB_FN is something different from FOR_EACH_BB_FN... We could use the former in a few more places; OK for trunk once tested? commit 183433526b2befb7bd75e74f753b8a5d4bec14b0 Author: