1 /* PR tree-optimization/90248 */
3 /* { dg-options "-Ofast" } */
5 volatile float b1
= -1.f
;
6 volatile float b2
= 0.f
;
8 __attribute__((noipa
)) float
11 return x
> 0 ? 1.f
: -1.f
;
14 __attribute__((noipa
)) float
17 return x
>= 0 ? 1.f
: -1.f
;
20 __attribute__((noipa
)) float
23 return x
< 0 ? 1.f
: -1.f
;
26 __attribute__((noipa
)) float
29 return x
<= 0 ? 1.f
: -1.f
;
32 __attribute__((noipa
)) float
35 return x
> 0 ? -1.f
: 1.f
;
38 __attribute__((noipa
)) float
41 return x
>= 0 ? -1.f
: 1.f
;
44 __attribute__((noipa
)) float
47 return x
< 0 ? -1.f
: 1.f
;
50 __attribute__((noipa
)) float
53 return x
<= 0 ? -1.f
: 1.f
;
63 if (f1 (a
) != -1.f
|| f1 (b
) != -1.f
|| f1 (c
) != 1.f
|| f1 (d
) != -1.f
64 || f2 (a
) != 1.f
|| f2 (b
) != 1.f
|| f2 (c
) != 1.f
|| f2 (d
) != -1.f
65 || f3 (a
) != -1.f
|| f3 (b
) != -1.f
|| f3 (c
) != -1.f
|| f3 (d
) != 1.f
66 || f4 (a
) != 1.f
|| f4 (b
) != 1.f
|| f4 (c
) != -1.f
|| f4 (d
) != 1.f
67 || f5 (a
) != 1.f
|| f5 (b
) != 1.f
|| f5 (c
) != -1.f
|| f5 (d
) != 1.f
68 || f6 (a
) != -1.f
|| f6 (b
) != -1.f
|| f6 (c
) != -1.f
|| f6 (d
) != 1.f
69 || f7 (a
) != 1.f
|| f7 (b
) != 1.f
|| f7 (c
) != 1.f
|| f7 (d
) != -1.f
70 || f8 (a
) != -1.f
|| f8 (b
) != -1.f
|| f8 (c
) != 1.f
|| f8 (d
) != -1.f
)