Re: [PATCH 3/4] tree-loop-distribution: convert to gcc_stablesort

2018-08-28 Thread Richard Biener
On Tue, Aug 28, 2018 at 11:17 AM Alexander Monakov wrote: > > This converts std::stable_sort use in tree-loop-distribution to > gcc_stablesort. > > * gcc/tree-loop-distribution.c (offset_cmp): Convert to C-qsort-style > tri-state comparator. > (fuse_memset_builtins): Chang

Re: [PATCH 3/4] tree-loop-distribution: convert to gcc_stablesort

2018-08-28 Thread Alexander Monakov
This converts std::stable_sort use in tree-loop-distribution to gcc_stablesort. * gcc/tree-loop-distribution.c (offset_cmp): Convert to C-qsort-style tri-state comparator. (fuse_memset_builtins): Change std::stable_sort to gcc_stablesort . diff --git a/gcc/tree-loop-distr