Re: nth_element fix [58800]

2013-10-20 Thread Paolo Carlini
Hi, On 10/19/2013 11:02 PM, Christopher Jefferson wrote: A previous fix to a performance problem in std::sort unfortunately has lead to a crashing bug in std::nth_element. The following minimal patch fixes the problem (there are a couple of different ways of fixing it, this is the shortest and

nth_element fix [58800]

2013-10-19 Thread Christopher Jefferson
A previous fix to a performance problem in std::sort unfortunately has lead to a crashing bug in std::nth_element. The following minimal patch fixes the problem (there are a couple of different ways of fixing it, this is the shortest and safest). 2013-09-19 Chris Jefferson PR libstdc++/58800 *