diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-11-01 12:27:43 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-11-01 21:01:31 +0000 |
commit | 6f34b9e4f1eb7aa3398aaf135cbb24680eaad1b1 (patch) | |
tree | a2ae7e4a3bc2d5cea04d61d8eb9c9fec115dc8e7 /gcc/fold-const.c | |
parent | 09bc98098e4ad474d2ba9da52457b29bbd08874b (diff) | |
download | gcc-6f34b9e4f1eb7aa3398aaf135cbb24680eaad1b1.zip gcc-6f34b9e4f1eb7aa3398aaf135cbb24680eaad1b1.tar.gz gcc-6f34b9e4f1eb7aa3398aaf135cbb24680eaad1b1.tar.bz2 |
libstdc++: Missing constexpr for __gnu_debug::__valid_range etc
The new 25_algorithms/move/constexpr.cc test fails in debug mode,
because the debug assertions use the non-constexpr overloads in
<debug/stl_iterator.h>.
libstdc++-v3/ChangeLog:
* include/debug/stl_iterator.h (__valid_range): Add constexpr
for C++20. Qualify call to avoid ADL.
(__get_distance, __can_advance, __unsafe, __base): Likewise.
* testsuite/25_algorithms/move/constexpr.cc: Also check with
std::reverse_iterator arguments.
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions