re PR libstdc++/36338 (heap_sort effectively hangs with -D_GLIBCXX_DEBUG)
authorPaolo Carlini <paolo.carlini@oracle.com>
Sat, 31 May 2008 23:01:09 +0000 (23:01 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 31 May 2008 23:01:09 +0000 (23:01 +0000)
commitf8af8c09eccb9b1c824a7c2ab53dcd0c99352029
treea1930641e70d9ae196c1dd45fcad3362613d7091
parent7306494a7e4a2dfd05dc3c2a51ac8f29d1fad207
re PR libstdc++/36338 (heap_sort effectively hangs with -D_GLIBCXX_DEBUG)

2008-05-31  Paolo Carlini  <paolo.carlini@oracle.com>
    Chris Jefferson  <chris@bubblescope.net>

PR libstdc++/36338
* include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
(pop_heap): Slightly tweak.

Co-Authored-By: Chris Jefferson <chris@bubblescope.net>
From-SVN: r136242
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_heap.h