2 /* Verify that the multiplicative folding code is not fooled
3 by the mix between signed variables and unsigned constants. */
5 extern void abort (void);
6 extern void exit (int);
13 result
= ((my_int
*2 + 4) - 8U) / 2;
17 result
= ((my_int
*2 - 4U) + 2) / 2;
21 result
= (((my_int
+ 2) * 2) - 8U - 4) / 2;
24 result
= (((my_int
+ 2) * 2) - (8U + 4)) / 2;
28 result
= ((my_int
*4 + 2U) - 4U) / 2;