Comment 25 for bug 1246802

Revision history for this message
In , Paolo-k (paolo-k) wrote :

Author: paolo
Date: Sun Oct 20 09:07:36 2013
New Revision: 203872

URL: http://gcc.gnu.org/viewcvs?rev=203872&root=gcc&view=rev
Log:
2013-10-20 Chris Jefferson <email address hidden>
     Paolo Carlini <email address hidden>

 PR libstdc++/58800
 * include/bits/stl_algo.h (__unguarded_partition_pivot): Change
 __last - 2 to __last - 1.
 * testsuite/25_algorithms/nth_element/58800.cc: New

Added:
    trunk/libstdc++-v3/testsuite/25_algorithms/nth_element/58800.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/stl_algo.h