1 /* PR rtl-optimization/68376 */
3 extern void abort (void);
5 __attribute__((noinline
, noclone
)) int
11 __attribute__((noinline
, noclone
)) int
14 return x
< 0 ? x
: ~x
;
17 __attribute__((noinline
, noclone
)) int
20 return x
<= 0 ? ~x
: x
;
23 __attribute__((noinline
, noclone
)) int
26 return x
<= 0 ? x
: ~x
;
29 __attribute__((noinline
, noclone
)) int
32 return x
>= 0 ? ~x
: x
;
35 __attribute__((noinline
, noclone
)) int
38 return x
>= 0 ? x
: ~x
;
41 __attribute__((noinline
, noclone
)) int
44 return x
> 0 ? ~x
: x
;
47 __attribute__((noinline
, noclone
)) int
50 return x
> 0 ? x
: ~x
;
56 if (f1 (5) != 5 || f1 (-5) != 4 || f1 (0) != 0)
58 if (f2 (5) != -6 || f2 (-5) != -5 || f2 (0) != -1)
60 if (f3 (5) != 5 || f3 (-5) != 4 || f3 (0) != -1)
62 if (f4 (5) != -6 || f4 (-5) != -5 || f4 (0) != 0)
64 if (f5 (5) != -6 || f5 (-5) != -5 || f5 (0) != -1)
66 if (f6 (5) != 5 || f6 (-5) != 4 || f6 (0) != 0)
68 if (f7 (5) != -6 || f7 (-5) != -5 || f7 (0) != 0)
70 if (f8 (5) != 5 || f8 (-5) != 4 || f8 (0) != -1)