2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr37305.c
blob7c0673609df2f674cfd71eaf608eef873d9f8ec0
1 typedef int int32_t;
2 typedef unsigned int uint32_t;
3 static inline int
4 safe_add_s_s (int si1, int si2)
6 if ((si1 > 0) && (si2 > 0) && (si1 > (si2)) || (si1 < 0) && (si2 < 0)
7 && (si1 < ((-__INT_MAX__ - 1) - si2)))
8 return si1;
11 uint32_t g_8;
12 uint32_t
13 func_24 (int32_t p_25)
15 uint32_t l_30 = -1L;
16 if ((safe_mod_u_u (1, 1)) | (safe_add_s_s (g_8, l_30)))
17 return 1;