aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr43869.c
blob: 4157db1d16854248e0b3cb638e6c9d5283eeac6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-do compile { target lp64 } } */

int __attribute__((__noinline__))
bugged(float f1, float f2, float f3, float f4,
       float f5, float f6, float f7, float f8)
{
    return f1 || f2 || f3 || f4 || f5 != 1. || f6 != 1. || f7 != 1. || f8 != 1.;
}

int __attribute__((__noinline__, __ms_abi__)) isbugged(void)
{
    return bugged(0, 0, 0, 0, 1., 1., 1., 1.);
}

int main()
{
    return isbugged();
}