blob: 7a909552afc537926618d0a1a8e1ee530daa669b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* 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
}
|