aboutsummaryrefslogtreecommitdiff
path: root/zlib/contrib
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2025-03-06 11:24:03 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2025-03-06 12:00:11 +0000
commit6eede5ad12415055ee54e5cb3218a340d383183c (patch)
treec703bd066d86c3732e3cecfc7e6a48ab48706cf0 /zlib/contrib
parentd6d7da92fb598c50d25332011bffe6b6515c9669 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
libstdc++: Fix constexpr memory algo tests for COW std::stringHEADtrunkmaster
The old COW std::string is not usable in constant expressions, so these new tests fail with -D_GLIBCXX_USE_CXX11_ABI=0. The parts of the tests using std::string can be conditionally skipped. libstdc++-v3/ChangeLog: * testsuite/20_util/specialized_algorithms/uninitialized_copy/constexpr.cc: Do not test COW std::string in constexpr contexts. * testsuite/20_util/specialized_algorithms/uninitialized_default_construct/constexpr.cc: Likewise. * testsuite/20_util/specialized_algorithms/uninitialized_fill/constexpr.cc: Likewise. * testsuite/20_util/specialized_algorithms/uninitialized_move/constexpr.cc: Likewise. * testsuite/20_util/specialized_algorithms/uninitialized_value_construct/constexpr.cc: Likewise. Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'zlib/contrib')
0 files changed, 0 insertions, 0 deletions