summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-01-19 20:29:07 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2017-01-19 20:29:07 +0000
commit9ade9945a07c47abf2d1d5ad3a5de504e9f37b73 (patch)
tree96ac5c66055ac8069ff89eb49b7208b430f59042 /ChangeLog
parentab014eb3ae304092718018b8ae6122636b4c0b10 (diff)
downloadgcc-9ade9945a07c47abf2d1d5ad3a5de504e9f37b73.tar.gz
Fix unsafe moves inside loops
PR libstdc++/67085 * include/bits/stl_heap.h (__is_heap): Use _GLIBCXX_MOVE. (__make_heap, __sort_heap): Don't use _GLIBCXX_MOVE inside loops. * testsuite/23_containers/priority_queue/67085.cc: Adjust expected number of copies. * testsuite/25_algorithms/make_heap/movable.cc: New test. From-SVN: r244650
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions