]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/init-rounding-math-1.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / init-rounding-math-1.c
CommitLineData
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
6float f1 = -1ULL;
7float f2 = __DBL_MAX__;
8float f3 = __DBL_MIN__;
9float f4 = 0.1;
10float f5 = __builtin_nans ("");
11double d1 = -1ULL;