blob: 8a49db5ccc1f303beff3ac8bf5ab76271f7c8ba8 [file] [log] [blame]
/* { dg-do compile { target ilp32 } } */
/* { dg-options "-O2 -march=pentium3" } */
typedef union {
long long l;
double d;
} db_number;
double test(double x[3]) {
double th = x[1] + x[2];
if (x[2] != th - x[1]) {
db_number thdb;
thdb.d = th;
thdb.l++;
th = thdb.d;
}
return x[0] + th;
}
/* { dg-final { scan-assembler-not "mov.ps" } } */