Rebase.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr44695.c
blob85bb4c7b9271ea5b3a067b05303afa0abbf840e5
1 /* { dg-do compile } */
3 typedef unsigned char uint8_t;
5 static uint8_t
6 safe_div_func_uint8_t_u_u (uint8_t ui1, uint8_t ui2)
8 return ui2 ? ui2 : (ui1 / ui2);
11 int
12 int81 (int x)
14 return safe_div_func_uint8_t_u_u (1, 8 & x);