URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [c-c++-common/] [dfp/] [convert-bfp-12.c] - Rev 384
Compare with Previous | Blame | View Log
/* 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 }