]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix lwg4084.cc test FAIL on AIX
authorJonathan Wakely <jwakely@redhat.com>
Wed, 28 May 2025 21:02:58 +0000 (22:02 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 29 May 2025 13:03:51 +0000 (14:03 +0100)
commita8e22d3fcc079c02bc2bc91d57f5877fb87f52cb
tree6dde283ec94f3341ae622eb99fa2abef8d0d6dbd
parentff6647b41d4ed21490c0fad237ff6e6705902c4b
libstdc++: Fix lwg4084.cc test FAIL on AIX

On AIX printf formats a quiet NaN as "NaNQ" and it doesn't matter
whether %f or %F is used. Similarly, it always prints "INF" for
infinity, even when %f is used. Adjust a test that currently fails due
to this AIX-specific (and non-conforming) behaviour.

libstdc++-v3/ChangeLog:

* testsuite/22_locale/num_put/put/char/lwg4084.cc [_AIX]: Adjust
expected output for NaN and infinity.
libstdc++-v3/testsuite/22_locale/num_put/put/char/lwg4084.cc