1 /* { dg-do compile } */
4 typedef short int int16_t;
6 typedef unsigned char uint8_t;
7 typedef unsigned short int uint16_t;
8 typedef unsigned int uint32_t;
11 safe_rshift_func_int16_t_s_u (int16_t left
, unsigned int right
)
13 return left
|| right
>= 1 * 8 ? left
: left
>> right
;
17 safe_rshift_func_int8_t_s_u (int8_t left
, unsigned int right
)
19 return left
|| right
>= 1 * 8 ? left
: left
>> right
;
24 safe_add_func_uint32_t_u_u (uint32_t ui1
, uint16_t ui2
)
38 for (l_2
= -25; l_2
; l_2
= safe_add_func_uint32_t_u_u (l_2
, 1))
39 g_9
[0] ^= safe_rshift_func_int16_t_s_u (g_4
, 1);
47 for (l_2
= -25; l_2
; l_2
= safe_add_func_uint32_t_u_u (l_2
, 1))
49 g_9
[0] ^= safe_rshift_func_int8_t_s_u (g_4_8
, 1);
50 g_9
[1] ^= safe_rshift_func_int8_t_s_u (g_4_8
, 1);