bb-reorder.c (reorder_basic_blocks_simple): Clear BB_VISITED before using it.
2016-10-17 Richard Biener <rguenther@suse.de> * bb-reorder.c (reorder_basic_blocks_simple): Clear BB_VISITED before using it. From-SVN: r241237
This commit is contained in:
parent
a2284544a1
commit
f6a1ec6261
|
@ -1,3 +1,8 @@
|
||||||
|
2016-10-17 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
|
* bb-reorder.c (reorder_basic_blocks_simple): Clear BB_VISITED
|
||||||
|
before using it.
|
||||||
|
|
||||||
2016-10-17 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
|
2016-10-17 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
|
||||||
|
|
||||||
PR tree-optimization/71636
|
PR tree-optimization/71636
|
||||||
|
|
|
@ -2355,7 +2355,10 @@ reorder_basic_blocks_simple (void)
|
||||||
To start with, everything points to itself, nothing is assigned yet. */
|
To start with, everything points to itself, nothing is assigned yet. */
|
||||||
|
|
||||||
FOR_ALL_BB_FN (bb, cfun)
|
FOR_ALL_BB_FN (bb, cfun)
|
||||||
bb->aux = bb;
|
{
|
||||||
|
bb->aux = bb;
|
||||||
|
bb->flags &= ~BB_VISITED;
|
||||||
|
}
|
||||||
|
|
||||||
EXIT_BLOCK_PTR_FOR_FN (cfun)->aux = 0;
|
EXIT_BLOCK_PTR_FOR_FN (cfun)->aux = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue