diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-11-16 21:00:50 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-11-16 22:48:15 +0000 |
commit | 73e4d9f1751fd6d3c182988b2f9d0199c86053c9 (patch) | |
tree | 132326ada854bdc758a27f765f7a32e57f72aa82 /libcpp | |
parent | 395848255cfa88f6f0f33a9b14c79e584a05d6fc (diff) | |
download | gcc-73e4d9f1751fd6d3c182988b2f9d0199c86053c9.zip gcc-73e4d9f1751fd6d3c182988b2f9d0199c86053c9.tar.gz gcc-73e4d9f1751fd6d3c182988b2f9d0199c86053c9.tar.bz2 |
libstdc++: Fix tests for constexpr std::string
Some tests fail when run with -D_GLIBCXX_USE_CXX11_ABI or -stdgnu++20.
libstdc++-v3/ChangeLog:
* include/bits/basic_string.h (operator<=>): Use constexpr
unconditionally.
* testsuite/21_strings/basic_string/modifiers/constexpr.cc:
Require cxx11-abit effective target.
* testsuite/21_strings/headers/string/synopsis.cc: Add
conditional constexpr to declarations, and adjust relational
operators for C++20.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions