Re: [PATCH] Expose stable sort algorithm to gcc_sort_r and add vec::stablesort

2021-06-11 Thread Richard Biener
On Thu, 10 Jun 2021, Alexander Monakov wrote: > On Thu, 10 Jun 2021, Richard Biener wrote: > > > This makes it possible to apply GCCs stable sort algorithm to vec<> > > and also use it with the qsort_r compatible interface. > > > > Alex, any comments? > > I'm afraid the patch is not correct, se

Re: [PATCH] Expose stable sort algorithm to gcc_sort_r and add vec::stablesort

2021-06-10 Thread Alexander Monakov via Gcc-patches
On Thu, 10 Jun 2021, Richard Biener wrote: > This makes it possible to apply GCCs stable sort algorithm to vec<> > and also use it with the qsort_r compatible interface. > > Alex, any comments? I'm afraid the patch is not correct, see below; (I'll also point out errors in comments while at it).