diff options
author | Patrick Palka <ppalka@redhat.com> | 2020-02-27 10:35:08 -0500 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2020-02-27 12:47:17 -0500 |
commit | 10a32d479861c3a39987d3468f6a400e907499a2 (patch) | |
tree | 7438b7765ea450b31f100a6b4fbb606c1b3a9828 /gcc | |
parent | cfeef9acd2cec93ed6338cc0d9fad98bdc0f7599 (diff) | |
download | gcc-10a32d479861c3a39987d3468f6a400e907499a2.zip gcc-10a32d479861c3a39987d3468f6a400e907499a2.tar.gz gcc-10a32d479861c3a39987d3468f6a400e907499a2.tar.bz2 |
libstdc++: -D_GLIBCXX_DEBUG fixes in the constrained algos tests
This fixes the failures in the constrained algos tests when they are run in
debug mode.
libstdc++-v3/ChangeLog:
* testsuite/25_algorithms/copy/constrained.cc: Don't assume that the
base() of a vector<>::iterator is a pointer.
* testsuite/25_algorithms/copy_backward/constrained.cc: Likewise.
* testsuite/25_algorithms/move/constrained.cc: Likewise.
* testsuite/25_algorithms/move_backward/constrained.cc: Likewise.
* testsuite/25_algorithms/inplace_merge/constrained.cc: Use foo.data()
instead of &foo[0].
* testsuite/25_algorithms/partial_sort/constrained.cc: Likewise.
* testsuite/25_algorithms/partial_sort_copy/constrained.cc: Likewise.
* testsuite/25_algorithms/shuffle/constrained.cc: Likewise.
* testsuite/25_algorithms/sort/constrained.cc: Likewise.
* testsuite/25_algorithms/stable_sort/constrained.cc: Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions