Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/dfp/convert-bfp-12.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* Test for bug where fold wrongly removed conversions to double and replaced them by conversions to float. */ #include "dfp-dbg.h" volatile float f = __builtin_inff (); volatile _Decimal32 d32 = 1e40DF; int main (void) { if ((double) f == (double) d32) FAILURE FINISH }