1 /* Test for unsafe floating-point conversions. */
3 /* { dg-options "-msse2 -mfpmath=sse" } */
5 #include "sse2-check.h"
7 extern void abort (void);
8 extern void exit (int);
9 extern int printf(const char *, ...);
11 volatile double d1 = 0x1.000001p0;
12 volatile double d2 = 0x1p-54;
13 volatile float f = 0x1.000002p0f;
19 f2 = (float)((long double)d1 + (long double)d2);