[gcc r13-7784] libstdc++: Fix incorrect -std option in test
Jonathan Wakely
redi@gcc.gnu.org
Fri Sep 8 17:13:50 GMT 2023
https://gcc.gnu.org/g:82d09abf6a16fead726fe51d4bfe2424266b507d
commit r13-7784-g82d09abf6a16fead726fe51d4bfe2424266b507d
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Mon Sep 4 12:21:17 2023 +0100
libstdc++: Fix incorrect -std option in test
This is a C++20 feature so should use -std=gnu++20.
libstdc++-v3/ChangeLog:
* testsuite/20_util/uses_allocator/lwg3677.cc: Fix -std in
dg-options.
Diff:
---
libstdc++-v3/testsuite/20_util/uses_allocator/lwg3677.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/testsuite/20_util/uses_allocator/lwg3677.cc b/libstdc++-v3/testsuite/20_util/uses_allocator/lwg3677.cc
index b2595d0eb227..dbba0fc4ddb6 100644
--- a/libstdc++-v3/testsuite/20_util/uses_allocator/lwg3677.cc
+++ b/libstdc++-v3/testsuite/20_util/uses_allocator/lwg3677.cc
@@ -1,4 +1,4 @@
-// { dg-options "-std=gnu++23" }
+// { dg-options "-std=gnu++20" }
// { dg-do run { target c++20 } }
// { dg-require-effective-target hosted }
More information about the Libstdc++-cvs
mailing list