diff options
author | David Turner <digit@android.com> | 2013-12-03 09:30:56 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2013-12-03 09:37:01 +0800 |
commit | bfad6b9d996c13f4be3625f095152eb9f0a175bc (patch) | |
tree | 6b2dd90e01c20cefc5b2d7e2962e97d3aa0a1dc2 /gcc-4.8/config/libstdc++-raw-cxx.m4 | |
parent | 4d3bdb33401f0a3285e7b3bbedd71d915473f188 (diff) | |
download | toolchain_gcc-bfad6b9d996c13f4be3625f095152eb9f0a175bc.tar.gz toolchain_gcc-bfad6b9d996c13f4be3625f095152eb9f0a175bc.tar.bz2 toolchain_gcc-bfad6b9d996c13f4be3625f095152eb9f0a175bc.zip |
[4.8] fix for GCC 4.8.2 libstdc++ bug in std::nth_element
Backport fix for a GCC 4.8 libstdc++ issue where the generated code
random segfault on std::nth_element
See https://code.google.com/p/android/issues/detail?id=62910
2013-10-20 Chris Jefferson <chris@bubblescope.net>
Paolo Carlini <paolo.carlini@oracle.com>
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
Change-Id: I76f86bb7162a6bbc340dac84f54c16a97f9f18fc
Diffstat (limited to 'gcc-4.8/config/libstdc++-raw-cxx.m4')
0 files changed, 0 insertions, 0 deletions