]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Use IANA name for ISO-8859-1 in format tests.
authorTomasz Kamiński <tkaminsk@redhat.com>
Fri, 15 May 2026 09:53:51 +0000 (11:53 +0200)
committerTomasz Kamiński <tkaminsk@redhat.com>
Fri, 15 May 2026 09:57:32 +0000 (11:57 +0200)
Use IANA name for ISO-8859-1 as "-fexec-charset=" and add dg-require-iconv,
to make sure it is supported.

libstdc++-v3/ChangeLog:

* testsuite/std/format/debug_nonunicode.cc: Pass ISO-8859-1 as
exec-charset and make sure that it is supported.
* testsuite/std/format/fill_nonunicode.cc: Likewise.

libstdc++-v3/testsuite/std/format/debug_nonunicode.cc
libstdc++-v3/testsuite/std/format/fill_nonunicode.cc

index 2ac7e757ea8d38a5798b5200806f97e6a57cc434..de70f55f14a9ec3bae7596b11efb58243276d511 100644 (file)
@@ -1,4 +1,5 @@
-// { dg-options "-fexec-charset=ISO8859-1" }
+// { dg-options "-fexec-charset=ISO-8859-1" }
+// { dg-require-iconv "ISO-8859-1" }
 // { dg-do run { target c++23 } }
 // { dg-add-options no_pch }
 
index 1370cf57ccdc6f48312d7437a93d42025b5755a5..16d858c93a8d9d63cd6cfaf7b634808c93c430d3 100644 (file)
@@ -1,4 +1,5 @@
-// { dg-options "-fexec-charset=ISO8859-1" }
+// { dg-options "-fexec-charset=ISO-8859-1" }
+// { dg-require-iconv "ISO-8859-1" }
 // { dg-do run { target c++20 } }
 // { dg-add-options no_pch }