re PR tree-optimization/80213 (ICE in check_loop_closed_ssa_use, at tree-ssa-loop...
authorRichard Biener <rguenther@suse.de>
Wed, 20 Sep 2017 12:08:16 +0000 (12:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 20 Sep 2017 12:08:16 +0000 (12:08 +0000)
commit3c16e99cf7731729290b96af4ec3b4fe6c68b63a
tree80b438289e9600ac8fa92e0d6c21f8d3bf1baa18
parent52e22c79dce498a3195bc8501fa54787a642067c
re PR tree-optimization/80213 (ICE in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:704)

2017-09-20  Richard Biener  <rguenther@suse.de>

PR tree-optimization/80213
* graphite-scop-detection.c (trivially_empty_bb_p): Labels
are allowed in empty BBs as well.
(canonicalize_loop_closed_ssa): Also look for other complex
edges.
(scop_detection::get_sese): Include the loop-closed PHI block
in loop SESEs.
(scop_detection::merge_sese): Remove code adding extra blocks.
(scop_detection::region_has_one_loop): Adjust for get_sese changes.
(build_scops): Assert the final returned scop is invalid.

From-SVN: r253008
gcc/ChangeLog
gcc/graphite-scop-detection.c