+2016-06-09 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/71462
+ * tree-ssa-loop-manip.c (find_uses_to_rename): Guard against
+ removed blocks.
+
2016-06-09 Martin Liska <mliska@suse.cz>
* predict.c (filter_predictions): New function.
+2016-06-09 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/71462
+ * gcc.dg/torture/pr71462.c: New testcase.
+
2016-06-09 Marek Polacek <polacek@redhat.com>
PR c/65471
if (changed_bbs)
EXECUTE_IF_SET_IN_BITMAP (changed_bbs, 0, index, bi)
- find_uses_to_rename_bb (BASIC_BLOCK_FOR_FN (cfun, index), use_blocks,
- need_phis, use_flags);
+ {
+ bb = BASIC_BLOCK_FOR_FN (cfun, index);
+ if (bb)
+ find_uses_to_rename_bb (bb, use_blocks, need_phis, use_flags);
+ }
else
FOR_EACH_BB_FN (bb, cfun)
find_uses_to_rename_bb (bb, use_blocks, need_phis, use_flags);