2016-10-17 Richard Biener <rguenther@suse.de>
* bb-reorder.c (reorder_basic_blocks_simple): Clear BB_VISITED
before using it.
From-SVN: r241237
+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>
PR tree-optimization/71636
To start with, everything points to itself, nothing is assigned yet. */
FOR_ALL_BB_FN (bb, cfun)
- bb->aux = bb;
+ {
+ bb->aux = bb;
+ bb->flags &= ~BB_VISITED;
+ }
EXIT_BLOCK_PTR_FOR_FN (cfun)->aux = 0;