[gcc r16-138] libstdc++: Remove c++98_only dg-error
Jonathan Wakely
redi@gcc.gnu.org
Fri Apr 25 11:43:22 GMT 2025
https://gcc.gnu.org/g:e59ddd33242cf7fe02be9025c052c880f74c615b
commit r16-138-ge59ddd33242cf7fe02be9025c052c880f74c615b
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Apr 25 12:35:01 2025 +0100
libstdc++: Remove c++98_only dg-error
This fixes
FAIL: 22_locale/ctype/is/string/89728_neg.cc -std=gnu++98 (test for errors, line )
Since r16-133-g8acea9ffa82ed8 we don't keep issuing more errors after
the first one, so this dg-error no longer matches anything.
libstdc++-v3/ChangeLog:
* testsuite/22_locale/ctype/is/string/89728_neg.cc: Remove
dg-error for c++98_only effective target.
Diff:
---
libstdc++-v3/testsuite/22_locale/ctype/is/string/89728_neg.cc | 1 -
1 file changed, 1 deletion(-)
diff --git a/libstdc++-v3/testsuite/22_locale/ctype/is/string/89728_neg.cc b/libstdc++-v3/testsuite/22_locale/ctype/is/string/89728_neg.cc
index a34b2aed9710..24aba99376f2 100644
--- a/libstdc++-v3/testsuite/22_locale/ctype/is/string/89728_neg.cc
+++ b/libstdc++-v3/testsuite/22_locale/ctype/is/string/89728_neg.cc
@@ -18,7 +18,6 @@
// <http://www.gnu.org/licenses/>.
// { dg-error "invalid use of incomplete type" "" { target *-*-* } 0 }
-// { dg-error "invalid 'static_cast'" "" { target c++98_only } 0 }
#include <locale>
More information about the Libstdc++-cvs
mailing list