GCC Newspaper
NOVEMBER 30, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
gcc/testsuite

Testsuite checks iconv support and fixes non-unicode failures.

Testsuite now checks for iconv character set conversion support, fixing regressions in libstdc++ format tests.

The GCC testsuite gains a new effective-target check for iconv to verify compilation with execution charset arguments. This resolves regressions in libstdc++ format tests that occurred on toolchains lacking iconv support. Additionally, the format tests are updated to use this check and explicitly require the ‘en_US.ISO8859-1’ locale for stable runtime formatting.

In Details

The testsuite framework now includes a cached effective-target check for 'iconv'. This complements existing target-support checks by verifying if the compiler can successfully compile and link an executable using a specified execution charset, addressing issues where missing iconv support caused link errors on specific toolchain configurations. The libstdc++ format tests were updated to use this new check, replacing older literal requirement macros and adding locale requirements for robustness.

Filed Under: gcctestsuitelibstdc++internationalization