2 950612-1.c from the execute part of the gcc torture suite.
11 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16) && !defined(__SDCC_pdk14)
15 return ((unsigned int) (diff
< 0 ? -diff
: diff
));
19 f2 (unsigned int diff
)
21 return ((unsigned int) ((signed int) diff
< 0 ? -diff
: diff
));
27 return ((unsigned long long) (diff
< 0 ? -diff
: diff
));
31 f4 (unsigned long long diff
)
33 return ((unsigned long long) ((signed long long) diff
< 0 ? -diff
: diff
));
38 testTortureExecute (void)
40 #if !defined(__SDCC_ds390) && !defined(__SDCC_pic14) && !defined(__SDCC_pic16) && !defined(__SDCC_pdk14)
42 for (i
= 0; i
<= 10; i
++)
52 if (f3 ((long long) i
) != i
)
54 if (f3 ((long long) -i
) != i
)
56 if (f4 ((long long) i
) != i
)
58 if (f4 ((long long) -i
) != i
)