libstdc++: Remove dg-options "-std=gnu++20" from <compare> tests
commit771752c4e3b27cf8870155ed1ebefcc42352b16e
authorJonathan Wakely <jwakely@redhat.com>
Fri, 15 Sep 2023 13:05:07 +0000 (15 14:05 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 15 Sep 2023 23:10:44 +0000 (16 00:10 +0100)
tree33461792c272a5141a5bab2b7ac951fa3a24486d
parent1b13c424da4d2d5e3505ba47786a4ac4f3efb177
libstdc++: Remove dg-options "-std=gnu++20" from <compare> tests

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.

libstdc++-v3/ChangeLog:

* testsuite/18_support/comparisons/algorithms/fallback.cc:
Remove dg-options -std=gnu++2a.
* testsuite/18_support/comparisons/algorithms/partial_order.cc:
Likewise.
* testsuite/18_support/comparisons/algorithms/strong_order.cc:
Likewise.
* testsuite/18_support/comparisons/algorithms/strong_order_floats.cc:
Likewise.
* testsuite/18_support/comparisons/algorithms/weak_order.cc:
Likewise.
* testsuite/18_support/comparisons/categories/94565.cc:
Likewise.
* testsuite/18_support/comparisons/categories/partialord.cc:
Likewise.
* testsuite/18_support/comparisons/categories/strongord.cc:
Likewise.
* testsuite/18_support/comparisons/categories/weakord.cc:
Likewise.
* testsuite/18_support/comparisons/categories/zero_neg.cc:
Likewise.
* testsuite/18_support/comparisons/common/1.cc: Likewise.
* testsuite/18_support/comparisons/object/93479.cc: Likewise.
* testsuite/18_support/comparisons/object/lwg3530.cc: Likewise.
13 files changed:
libstdc++-v3/testsuite/18_support/comparisons/algorithms/fallback.cc
libstdc++-v3/testsuite/18_support/comparisons/algorithms/partial_order.cc
libstdc++-v3/testsuite/18_support/comparisons/algorithms/strong_order.cc
libstdc++-v3/testsuite/18_support/comparisons/algorithms/strong_order_floats.cc
libstdc++-v3/testsuite/18_support/comparisons/algorithms/weak_order.cc
libstdc++-v3/testsuite/18_support/comparisons/categories/94565.cc
libstdc++-v3/testsuite/18_support/comparisons/categories/partialord.cc
libstdc++-v3/testsuite/18_support/comparisons/categories/strongord.cc
libstdc++-v3/testsuite/18_support/comparisons/categories/weakord.cc
libstdc++-v3/testsuite/18_support/comparisons/categories/zero_neg.cc
libstdc++-v3/testsuite/18_support/comparisons/common/1.cc
libstdc++-v3/testsuite/18_support/comparisons/object/93479.cc
libstdc++-v3/testsuite/18_support/comparisons/object/lwg3530.cc