re PR tree-optimization/79483 ([graphite] ICE: verify_ssa failed (error: definition...
commit6d1115c545d673a55f481425049ab263b58311eb
authorRichard Biener <rguenther@suse.de>
Fri, 9 Jun 2017 09:36:06 +0000 (9 09:36 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 9 Jun 2017 09:36:06 +0000 (9 09:36 +0000)
tree84152feb8ac1250d918400fded48a41261fb99d4
parent6ba856d450119e438b62d944e646e929f16da4c6
re PR tree-optimization/79483 ([graphite] ICE: verify_ssa failed (error: definition in block 31 does not dominate use in block 28))

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

PR tree-optimization/79483
* graphite-scop-detection.c (order): New global.
(get_order): Compute bb to order mapping that satisfies code
generation constraints.
(cmp_pbbs): New helper.
(build_scops): Start domwalk at entry block, sort generated
pbbs.

* gcc.dg/graphite/pr79483.c: New testcase.

From-SVN: r249052
gcc/ChangeLog
gcc/graphite-scop-detection.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr79483.c [new file with mode: 0644]