]> gcc.gnu.org Git - gcc.git/commit
PowerPC: Require IBM long double for conversion test.
authorMichael Meissner <meissner@linux.ibm.com>
Thu, 3 Dec 2020 21:52:21 +0000 (16:52 -0500)
committerMichael Meissner <meissner@linux.ibm.com>
Thu, 3 Dec 2020 21:52:21 +0000 (16:52 -0500)
commit353312e1e1831a3942de21d23f2c1a8a5ee976b3
tree6c2d19905f3b62ad582c27826c574f542f0f0e61
parent6fce6f13f24f3356b54a0263f4fb568f53b3ea4a
PowerPC: Require IBM long double for conversion test.

The test c-c++-common/dfp/convert-bfp-11.c explicit expects long double to use
the IBM 128-bit extended double format.  In particular, some of the tests
expect an infinity to be created if decimal values that are converted that are
too large for IBM extended double.  However, the numbers do fit in the range
for IEEE 128-bit format, since it has a larger exponent than the IBM 128-bit
format.  The test fails because an infinity is not generated.

gcc/testsuite/
2020-12-03  Michael Meissner  <meissner@linux.ibm.com>

* c-c++-common/dfp/convert-bfp-11.c: Require IBM 128-bit long
double.
gcc/testsuite/c-c++-common/dfp/convert-bfp-11.c
This page took 0.060425 seconds and 6 git commands to generate.