diff options
author | Bin Cheng <bin.cheng@arm.com> | 2017-07-17 11:38:15 +0000 |
---|---|---|
committer | Bin Cheng <amker@gcc.gnu.org> | 2017-07-17 11:38:15 +0000 |
commit | aa1528b5c91bd9fee1a7de9c6ebc28eff5040afd (patch) | |
tree | 7b892cc72f6806e1373a0161e86e026a0a4ec996 /gcc/tree-loop-distribution.c | |
parent | 3fb824520b804305f510a9a2b84b652a23a72f22 (diff) | |
download | gcc-aa1528b5c91bd9fee1a7de9c6ebc28eff5040afd.zip gcc-aa1528b5c91bd9fee1a7de9c6ebc28eff5040afd.tar.gz gcc-aa1528b5c91bd9fee1a7de9c6ebc28eff5040afd.tar.bz2 |
re PR tree-optimization/81369 (ICE in generate_code_for_partition)
PR target/81369
* tree-loop-distribution.c (merge_dep_scc_partitions): Sink call to
function sort_partitions_by_post_order.
gcc/testsuite
* gcc.dg/tree-ssa/pr81369.c: New.
From-SVN: r250269
Diffstat (limited to 'gcc/tree-loop-distribution.c')
-rw-r--r-- | gcc/tree-loop-distribution.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-loop-distribution.c b/gcc/tree-loop-distribution.c index 5c8f29d..9363c1d 100644 --- a/gcc/tree-loop-distribution.c +++ b/gcc/tree-loop-distribution.c @@ -1997,8 +1997,9 @@ merge_dep_scc_partitions (struct graph *rdg, data->partition = NULL; } } - sort_partitions_by_post_order (pg, partitions); } + + sort_partitions_by_post_order (pg, partitions); gcc_assert (partitions->length () == (unsigned)num_sccs); free_partition_graph_vdata (pg); free_graph (pg); |