diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-09-04 14:11:54 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-09-15 21:57:38 +0100 |
commit | 07c602bbbd5134a03b363009abe927d0761e5ff0 (patch) | |
tree | 95e30f4cb583b7d71ebeb13323f2d687a39a4ab2 /libstdc++-v3/configure | |
parent | c4bf6e8e8ac9aae63dd8aa9a645a282531549e75 (diff) | |
download | gcc-07c602bbbd5134a03b363009abe927d0761e5ff0.zip gcc-07c602bbbd5134a03b363009abe927d0761e5ff0.tar.gz gcc-07c602bbbd5134a03b363009abe927d0761e5ff0.tar.bz2 |
libstdc++: Replace dg-options "-std=c++20" with dg-add-options strict_std
The testsuite will automatically select C++20 for these tests now, and
removing the hardcoded -std option allows them to be tested for C++23
and C++26 as well. Because they test a problem seen with -std=c++20 add
the new { dg-add-options strict_std } directive so that the test runner
uses -std=c++NN not -std=gnu++NN.
libstdc++-v3/ChangeLog:
* testsuite/24_iterators/reverse_iterator/100639.cc: Remove
dg-options and add dg-add-options strict_std.
* testsuite/std/ranges/iota/93267.cc: Likewise.
* testsuite/std/ranges/iota/96042.cc: Likewise.
* testsuite/std/ranges/iota/size.cc: Likewise.
* testsuite/std/ranges/subrange/96042.cc: Likewise.
Diffstat (limited to 'libstdc++-v3/configure')
0 files changed, 0 insertions, 0 deletions