summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr43869.c
blob: fdc6461cb68cf6b628dfb5addb0d8aff2bc1a727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* { dg-do run } */
/* { dg-require-effective-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();
}