]>
Commit | Line | Data |
---|---|---|
600dcd74 JM |
1 | /* Test static initializer folding of implicit conversions to floating point |
2 | types, even with -frounding-math and related options. Bug 103031. */ | |
3 | /* { dg-do compile } */ | |
4 | /* { dg-options "-frounding-math -ftrapping-math -fsignaling-nans" } */ | |
5 | ||
6 | float f1 = -1ULL; | |
7 | float f2 = __DBL_MAX__; | |
8 | float f3 = __DBL_MIN__; | |
9 | float f4 = 0.1; | |
10 | float f5 = __builtin_nans (""); | |
11 | double d1 = -1ULL; |