]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Fix debug-mode tests for constexpr algorithms
authorJonathan Wakely <jwakely@redhat.com>
Fri, 1 Sep 2023 16:06:51 +0000 (17:06 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 1 Sep 2023 16:52:41 +0000 (17:52 +0100)
commitb0d75f7d3bb24e94c5a3d764c95d598ad6b6ca48
tree29d0410a68bb268de2128368e10fda2a5e7c10de
parente3d25188b093c3b8552f2b3e3a33c2a6059e3ad6
libstdc++: Fix debug-mode tests for constexpr algorithms

These tests started failing at some point:
FAIL: 25_algorithms/copy/debug/constexpr_neg.cc  (test for errors, line 49)
FAIL: 25_algorithms/copy/debug/constexpr_neg.cc (test for excess errors)
FAIL: 25_algorithms/equal/debug/constexpr_neg.cc  (test for errors, line 47)
FAIL: 25_algorithms/equal/debug/constexpr_neg.cc (test for excess errors)

They only run with -D_GLIBCXX_DEBUG or make check-debug so seem to have
gone unnoticed until now.

libstdc++-v3/ChangeLog:

* testsuite/25_algorithms/copy/debug/constexpr_neg.cc: Adjust
expected errors.
* testsuite/25_algorithms/equal/debug/constexpr_neg.cc:
Likewise.
libstdc++-v3/testsuite/25_algorithms/copy/debug/constexpr_neg.cc
libstdc++-v3/testsuite/25_algorithms/equal/debug/constexpr_neg.cc
This page took 0.050882 seconds and 5 git commands to generate.