re PR tree-optimization/83385 ([graphite] Wrong code w/ -O1 -floop-nest-optimize)
authorRichard Biener <rguenther@suse.de>
Tue, 12 Dec 2017 12:15:38 +0000 (12:15 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 12 Dec 2017 12:15:38 +0000 (12:15 +0000)
commita365945b404c846e8737eb975dcd9f6253f1936b
treeac4b3804e248d0d9a7a517030b5e5193dc7c30eb
parentc5060cadf030f6517a1552bf0fc263cb03eb96c4
re PR tree-optimization/83385 ([graphite] Wrong code w/ -O1 -floop-nest-optimize)

2017-12-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/83385
* graphite-scop-detection.c (get_order, order): Remove.
(bb_to_rpo): New global.
(cmp_pbbs): Adjust.
(build_scops): Sort pbbs in RPO order.

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

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