https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83385
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue Dec 12 12:15:38 2017 New Revision: 255579 URL: https://gcc.gnu.org/viewcvs?rev=255579&root=gcc&view=rev Log: 2017-12-12 Richard Biener <rguent...@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. Added: trunk/gcc/testsuite/gcc.dg/graphite/pr83385.c Modified: trunk/gcc/ChangeLog trunk/gcc/graphite-scop-detection.c trunk/gcc/testsuite/ChangeLog