]> gcc.gnu.org Git - gcc.git/commitdiff
libstdc++: Remove dg-options "-std=gnu++20" from 27_io tests
authorJonathan Wakely <jwakely@redhat.com>
Fri, 15 Sep 2023 13:27:56 +0000 (14:27 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 15 Sep 2023 23:10:46 +0000 (00:10 +0100)
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/27_io/basic_istream/extractors_character/char/lwg2499.cc:
Remove dg-options -std=gnu++2a.
* testsuite/27_io/basic_istream/extractors_character/char/lwg2499_neg.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499_neg.cc:
Likewise.
* testsuite/27_io/basic_istringstream/cons/char/1.cc: Likewise.
* testsuite/27_io/basic_istringstream/cons/wchar_t/1.cc:
Likewise.
* testsuite/27_io/basic_istringstream/str/char/2.cc: Likewise.
* testsuite/27_io/basic_istringstream/str/wchar_t/2.cc:
Likewise.
* testsuite/27_io/basic_istringstream/view/char/1.cc: Likewise.
* testsuite/27_io/basic_istringstream/view/wchar_t/1.cc:
Likewise.
* testsuite/27_io/basic_ostream/emit/1.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/deleted.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/deleted.cc:
Likewise.
* testsuite/27_io/basic_ostringstream/cons/char/1.cc: Likewise.
* testsuite/27_io/basic_ostringstream/cons/wchar_t/1.cc:
Likewise.
* testsuite/27_io/basic_ostringstream/str/char/3.cc: Likewise.
* testsuite/27_io/basic_ostringstream/str/wchar_t/3.cc:
Likewise.
* testsuite/27_io/basic_ostringstream/view/char/1.cc: Likewise.
* testsuite/27_io/basic_ostringstream/view/wchar_t/1.cc:
Likewise.
* testsuite/27_io/basic_stringbuf/cons/char/2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/cons/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/str/char/4.cc: Likewise.
* testsuite/27_io/basic_stringbuf/str/wchar_t/4.cc: Likewise.
* testsuite/27_io/basic_stringbuf/view/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/view/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringstream/cons/char/1.cc: Likewise.
* testsuite/27_io/basic_stringstream/cons/char/97719.cc:
Likewise.
* testsuite/27_io/basic_stringstream/cons/wchar_t/1.cc:
Likewise.
* testsuite/27_io/basic_stringstream/str/char/5.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/wchar_t/5.cc.cc:
Likewise.
* testsuite/27_io/basic_stringstream/view/char/1.cc: Likewise.
* testsuite/27_io/basic_stringstream/view/wchar_t/1.cc:
Likewise.
* testsuite/27_io/basic_syncbuf/1.cc: Likewise.
* testsuite/27_io/basic_syncbuf/2.cc: Likewise.
* testsuite/27_io/basic_syncbuf/basic_ops/1.cc: Likewise.
* testsuite/27_io/basic_syncbuf/requirements/types.cc: Likewise.
* testsuite/27_io/basic_syncbuf/sync_ops/1.cc: Likewise.
* testsuite/27_io/basic_syncstream/1.cc: Likewise.
* testsuite/27_io/basic_syncstream/2.cc: Likewise.
* testsuite/27_io/basic_syncstream/basic_ops/1.cc: Likewise.
* testsuite/27_io/basic_syncstream/requirements/types.cc:
Likewise.
* testsuite/27_io/filesystem/iterators/106201.cc: Likewise.
* testsuite/27_io/filesystem/iterators/lwg3719.cc: Likewise.
* testsuite/27_io/filesystem/path/factory/u8path-depr.cc:
Likewise.
* testsuite/27_io/filesystem/path/nonmember/cmp_c++20.cc:
Likewise.

45 files changed:
libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/lwg2499.cc
libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/lwg2499_neg.cc
libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc
libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499_neg.cc
libstdc++-v3/testsuite/27_io/basic_istringstream/cons/char/1.cc
libstdc++-v3/testsuite/27_io/basic_istringstream/cons/wchar_t/1.cc
libstdc++-v3/testsuite/27_io/basic_istringstream/str/char/2.cc
libstdc++-v3/testsuite/27_io/basic_istringstream/str/wchar_t/2.cc
libstdc++-v3/testsuite/27_io/basic_istringstream/view/char/1.cc
libstdc++-v3/testsuite/27_io/basic_istringstream/view/wchar_t/1.cc
libstdc++-v3/testsuite/27_io/basic_ostream/emit/1.cc
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/deleted.cc
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/deleted.cc
libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/char/1.cc
libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/wchar_t/1.cc
libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/3.cc
libstdc++-v3/testsuite/27_io/basic_ostringstream/str/wchar_t/3.cc
libstdc++-v3/testsuite/27_io/basic_ostringstream/view/char/1.cc
libstdc++-v3/testsuite/27_io/basic_ostringstream/view/wchar_t/1.cc
libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/char/2.cc
libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/wchar_t/2.cc
libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/4.cc
libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/4.cc
libstdc++-v3/testsuite/27_io/basic_stringbuf/view/char/1.cc
libstdc++-v3/testsuite/27_io/basic_stringbuf/view/wchar_t/1.cc
libstdc++-v3/testsuite/27_io/basic_stringstream/cons/char/1.cc
libstdc++-v3/testsuite/27_io/basic_stringstream/cons/char/97719.cc
libstdc++-v3/testsuite/27_io/basic_stringstream/cons/wchar_t/1.cc
libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/5.cc
libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/5.cc.cc
libstdc++-v3/testsuite/27_io/basic_stringstream/view/char/1.cc
libstdc++-v3/testsuite/27_io/basic_stringstream/view/wchar_t/1.cc
libstdc++-v3/testsuite/27_io/basic_syncbuf/1.cc
libstdc++-v3/testsuite/27_io/basic_syncbuf/2.cc
libstdc++-v3/testsuite/27_io/basic_syncbuf/basic_ops/1.cc
libstdc++-v3/testsuite/27_io/basic_syncbuf/requirements/types.cc
libstdc++-v3/testsuite/27_io/basic_syncbuf/sync_ops/1.cc
libstdc++-v3/testsuite/27_io/basic_syncstream/1.cc
libstdc++-v3/testsuite/27_io/basic_syncstream/2.cc
libstdc++-v3/testsuite/27_io/basic_syncstream/basic_ops/1.cc
libstdc++-v3/testsuite/27_io/basic_syncstream/requirements/types.cc
libstdc++-v3/testsuite/27_io/filesystem/iterators/106201.cc
libstdc++-v3/testsuite/27_io/filesystem/iterators/lwg3719.cc
libstdc++-v3/testsuite/27_io/filesystem/path/factory/u8path-depr.cc
libstdc++-v3/testsuite/27_io/filesystem/path/nonmember/cmp_c++20.cc

index 75ec75b7f4e7aea4a7690327d4adeeefa90cedc0..060cb935ac1d368215984a9061b968f7945af73b 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 // LWG 2499
 // operator>>(basic_istream&, CharT*) makes it hard to avoid buffer overflows
index a2143651c7ee9c909ff46e04c8adda6da7d3d954..02b0e9aaed10a6a495ac7be4c31ee2e2f998befa 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // LWG 2499
 // operator>>(basic_istream&, CharT*) makes it hard to avoid buffer overflows
index 62689b3f30ed538309ef4b922f49d266255bf365..9605a4f8f3ab7e918539f0699f4785c776be5677 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 // LWG 2499
 // operator>>(basic_istream&, CharT*) makes it hard to avoid buffer overflows
index dae49353d1fe130e98512ad15c6f00fcbbf8deb3..3e808aafc6c896395663dfb837f13932bfcac7ca 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // LWG 2499
 // operator>>(basic_istream&, CharT*) makes it hard to avoid buffer overflows
index e5b141dd327ab0e2b62fcb719d534244282d945e..923eaa0cbddaae343046030502103ae26eb8ef15 100644 (file)
@@ -17,8 +17,7 @@
 
 // C++20 29.8.3.2  basic_istringstream constructors  [istringstream.cons]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index 771e149c1e3b6a70e5880f6f390f656a6a8bf419..f75afcc139134150450fa0892accbeac13ce8440 100644 (file)
@@ -17,8 +17,7 @@
 
 // C++20 29.8.3.2  basic_istringstream constructors  [istringstream.cons]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index 944773187675df5253f23b8836ba3907a086422b..641cf52c9f5bb3dbe8eb3d96f983d6c646fc5b6b 100644 (file)
@@ -17,8 +17,7 @@
 
 // 29.8.3.4  basic_istringstream member functions  [istringstream.members]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index 6a848f4b505dcedca1cac9c19ccbe358ac56432a..0d4ee36814323b66298a52e83e416af25bf26435 100644 (file)
@@ -17,8 +17,7 @@
 
 // 29.8.3.4  basic_istringstream member functions  [istringstream.members]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index 04aae8175692612e7b56f0dd3f3a923ee6f597cd..781c9abd98c54eb88679581a7c890e3c686bf5f1 100644 (file)
@@ -17,8 +17,7 @@
 
 // 29.8.3.4  basic_istringstream member functions  [istringstream.members]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <sstream>
 #include <string_view>
index 06b04b3c6b97b77a86953a7ea5cadee47e9dc4c0..ed6b905075b00ca5ce61789dc39ba8d6ed50b6b4 100644 (file)
@@ -17,8 +17,7 @@
 
 // 27.7.1.1  basic_stringbuf constructors  [lib.stringbuf.cons]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <sstream>
 #include <string_view>
index a72ba45adb59434fee6766149abf50c8d67c03c0..2c2709aaf8644caeb0fc41a1e2be1ba85d5b8943 100644 (file)
@@ -15,9 +15,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
 // { dg-additional-options "-pthread" { target pthread } }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 // { dg-require-effective-target rtti }
 
index d23a3e92efbcf314b932ddbdf951fee816ea090f..73c0ab3d2c8ee75409001bf8d2697138453d6266 100644 (file)
@@ -19,8 +19,7 @@
 
 // Test character inserters defined as deleted by P1423.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <ostream>
 
index fddadeb6f7e71e500c1720edda3bd62da6723c5c..b3bcbb01bcc10c72703737aa381e8f503c9f51d7 100644 (file)
@@ -19,8 +19,7 @@
 
 // Test wide character inserters defined as deleted by P1423.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <ostream>
 
index af8766f552a3306c06db5fb12ed6615c3db49f60..d43472b014e08ac70d23f46764fab2808ffd3333 100644 (file)
@@ -17,8 +17,7 @@
 
 // C++20 29.8.4.2  basic_ostringstream constructors  [ostringstream.cons]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index 3e5eda336bbcd93cf7a5581356f4584251fe1c0a..71572572ed1e0dc167649ff4d8ca1328f5b246dd 100644 (file)
@@ -17,8 +17,7 @@
 
 // C++20 29.8.4.2  basic_ostringstream constructors  [ostringstream.cons]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index 3dabd323457ef6ae565a24f705dea3af5577289a..fbb77d0ee8da756d39cb0fa82bce91803b3a5c1e 100644 (file)
@@ -17,8 +17,7 @@
 
 // 29.8.4.4  basic_ostringstream member functions  [ostringstream.members]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index 13d862be941d9e4a67d2f425caf1389bcac72801..bb1aefe9d9d8c8068e4b821da285154b8f996ae9 100644 (file)
@@ -17,8 +17,7 @@
 
 // 29.8.4.4  basic_ostringstream member functions  [ostringstream.members]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index 41279083a06f15eb446ee2d42f4e63ac46820fe0..ab938a7d11f7b9156d8c3d555399d5d605b2a1b9 100644 (file)
@@ -17,8 +17,7 @@
 
 // 29.8.4.4  basic_ostringstream member functions  [ostringstream.members]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <sstream>
 #include <string_view>
index 2f177d45d7064be5079d36dcc1391e6991422c6d..bc5f9ab7a40a5f269967fee0e769fae0976739ee 100644 (file)
@@ -17,8 +17,7 @@
 
 // 29.8.4.4  basic_ostringstream member functions  [ostringstream.members]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <sstream>
 #include <string_view>
index 28c0e2c14becdbdc6ffcc74a558efd86ae01b25c..bfc2ee2d5c0abed935281a23b6183d95b254f528 100644 (file)
@@ -17,8 +17,7 @@
 
 // C++20 29.8.2.2  basic_stringbuf constructors  [stringbuf.cons]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index cbe9360dc7f8d5e7fb3040675ef540397624dae0..0c7352c9d2e472760f7878e7b0b03215b084a333 100644 (file)
@@ -17,8 +17,7 @@
 
 // C++20 29.8.2.2  basic_stringbuf constructors  [stringbuf.cons]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index efa0cc7d7cc83e92e744d902ef423405fc450d71..b2dc2a32b0e59cedaf9029d1d06c3f00ec57a19a 100644 (file)
@@ -17,8 +17,7 @@
 
 // 29.8.2.4  basic_stringbuf member functions  [stringbuf.members]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index 4a002b92eeb0bd41da3f57d0aa8004a0bfdd57a4..349be66c01de6d7bff756e5dd22aecb005c29246 100644 (file)
@@ -17,8 +17,7 @@
 
 // 29.8.2.4  basic_stringbuf member functions  [stringbuf.members]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index 138f4b124e555fc64eb6d82cc4d0aa69c0fb5a0d..4e58113d488eb96bfb7be958674490c0aa5472df 100644 (file)
@@ -17,8 +17,7 @@
 
 // 27.7.1.1  basic_stringbuf constructors  [lib.stringbuf.cons]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <sstream>
 #include <string_view>
index 30b8f0549f40df4cc57ad4a3567f80d1553c1a87..a303d3b565c5577d43d6315548f83918427a8089 100644 (file)
@@ -17,8 +17,7 @@
 
 // 27.7.1.1  basic_stringbuf constructors  [lib.stringbuf.cons]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <sstream>
 #include <string_view>
index 9eff3979d28d4d7ab2fdfb4c48020faf868fe96e..abbad3626b1e8141d1dbbdc857d79f4ecfef7b73 100644 (file)
@@ -17,8 +17,7 @@
 
 // C++20 29.8.5.2  basic_stringstream constructors  [stringstream.cons]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index 6a65d522543a5969cc9ecdc6a723a31ff201183f..ad783589ed97a4d48fb3c8508e18180364a060ae 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <sstream>
 #include <iterator>
index 8007b5361d9c0de001f4ab08c372f492d0454d24..e1a308a5a85859ca1f00bb0d83e3a5ab114658a5 100644 (file)
@@ -17,8 +17,7 @@
 
 // C++20 29.8.5.2  basic_stringstream constructors  [stringstream.cons]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index e5030237fea0143fcbd313ff651b3038f0e2ff1a..812c4dd6b846120a4d3dc5fcb3085079e1e69f0e 100644 (file)
@@ -17,8 +17,7 @@
 
 // 29.8.5.4  basic_stringstream member functions  [stringstream.members]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index 370760ee56d3eaae6d35b1ba1f0a6df2c190a72c..109ffed624e210cf532394db9780d4e1c44c3220 100644 (file)
@@ -17,8 +17,7 @@
 
 // 29.8.5.4  basic_stringstream member functions  [stringstream.members]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index 91d329dfa86cbdc331c9501489ce58c4caf098ae..c86933c518930e0edb96f1780e21f184f4b2df7a 100644 (file)
@@ -17,8 +17,7 @@
 
 // 29.8.5.4  basic_stringstream member functions  [stringstream.members]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <sstream>
 #include <string_view>
index 7af53dcd16f172ca69fb6446f11ef7caacc629f0..73bde02829a932bf1390db8f73eec538d3c4df20 100644 (file)
@@ -17,8 +17,7 @@
 
 // 27.7.1.1  basic_stringbuf constructors  [lib.stringbuf.cons]
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <sstream>
 #include <string_view>
index 80ccce8b0e13b2fd770febc524c61fb8bf7dba4e..d48ad0900864159ccd3c3fdd9d81d225fbf61c86 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <syncstream>
index a58da3df20cc515b7690f9c94f559dcae45bb5d9..ad1ab383b1c6c6f06d432a59df3dfa0c8378fe79 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 // { dg-require-effective-target hosted }
 
index 8c1c99ae6ff1f076157a4349142bb291cc2b6ee1..2e719b070a627b211573c6142b4725c32a163213 100644 (file)
@@ -15,9 +15,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
 // { dg-additional-options "-pthread" { target pthread } }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index 355941de1826dc689e95a14c3d2f863e43b485d8..9364a30b8df03e4376349cb8e4825b6a20794e3c 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <syncstream>
index 753a341c372854c3fb278a724ce02dc026fe8ad6..2f82669eecf047a754bfe52c065a489de4d92f03 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 // { dg-require-gthreads "" }
 // { dg-add-options libatomic }
index 80ccce8b0e13b2fd770febc524c61fb8bf7dba4e..d48ad0900864159ccd3c3fdd9d81d225fbf61c86 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <syncstream>
index a58da3df20cc515b7690f9c94f559dcae45bb5d9..ad1ab383b1c6c6f06d432a59df3dfa0c8378fe79 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 // { dg-require-effective-target hosted }
 
index 60181a5d32685fc13876918f2e98b3cf88789c33..39c0d91820969dd1cb1692a427b102dc4ce61ff6 100644 (file)
@@ -15,9 +15,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
 // { dg-additional-options "-pthread" { target pthread } }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <sstream>
index 990e6dccc6f61a244b4675a1b7c064509144e9a0..92ad9440b1577b3a461f6d922056ed441ed7c2c5 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
 
 #include <syncstream>
index c5fefd9ac3f9fa99cdc1d1b2f0d22692d05654fa..4002c7aa787f02c038ac39ed7b5163f0c8170e06 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 // { dg-require-filesystem-ts "" }
 
index c19cddc74f923b20fa19f491623d32d0af4643f8..9dcb0e0d171298e68603d1563cb30200d76203d1 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-filesystem-ts "" }
 
index de54668c05521024c50f32052dcd6ea0affe8799..ffa59979ec99219eb9660b9a6f8e3df3c872c2cd 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 
 #include <filesystem>
index 75bdea8a083cbbee73224ae80960e49a72cc39a7..6c51059881d7d48bb108c1c9e06dbd64667ea340 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
 //
This page took 0.108576 seconds and 5 git commands to generate.