dwarf-synthesis/testsuite/csmith/gcc_O2/44.c

609 lines
30 KiB
C

/*
* This is a RANDOMLY GENERATED PROGRAM.
*
* Generator: csmith 2.3.0
* Git version: 30dccd7
* Options: (none)
* Seed: 22074096397497700
*/
#include "csmith.h"
static long __undefined;
/* --- Struct/Union Declarations --- */
struct S0 {
signed f0 : 20;
};
/* --- GLOBAL VARIABLES --- */
static int32_t g_10 = 0x86BA47C9L;
static int32_t g_43 = 0xD9AB8A87L;
static int32_t g_52 = (-3L);
static int32_t *g_51 = &g_52;
static const int8_t g_55 = 0x31L;
static int32_t g_64 = 0x81DB3AACL;
static int32_t g_93 = 2L;
static int8_t g_95[1][10] = {{(-2L),0L,(-2L),(-2L),0L,(-2L),(-2L),0L,(-2L),(-2L)}};
static int64_t g_98[3][1] = {{0x91D7193A8FE19BE1LL},{0x91D7193A8FE19BE1LL},{0x91D7193A8FE19BE1LL}};
static int32_t * volatile g_101 = &g_64;/* VOLATILE GLOBAL g_101 */
static int32_t ** volatile g_104 = (void*)0;/* VOLATILE GLOBAL g_104 */
static uint16_t g_110 = 9UL;
static volatile uint16_t g_115 = 65529UL;/* VOLATILE GLOBAL g_115 */
static volatile uint16_t * volatile g_114 = &g_115;/* VOLATILE GLOBAL g_114 */
static int16_t g_133 = 8L;
static uint8_t g_138 = 1UL;
static const int32_t g_141 = 0L;
static int64_t g_143[2][9][1] = {{{(-7L)},{(-7L)},{(-7L)},{(-7L)},{(-7L)},{(-7L)},{(-7L)},{(-7L)},{(-7L)}},{{(-7L)},{(-7L)},{(-7L)},{(-7L)},{(-7L)},{(-7L)},{(-7L)},{(-7L)},{(-7L)}}};
static const int16_t g_163 = (-1L);
static const int16_t *g_162 = &g_163;
static uint32_t g_168 = 6UL;
static uint16_t g_169 = 65535UL;
static uint64_t g_181 = 18446744073709551606UL;
static int32_t g_193[3][5] = {{0x9D4F0991L,(-5L),0x9D4F0991L,(-5L),0x9D4F0991L},{0x355BA672L,0x355BA672L,0x355BA672L,0x355BA672L,0x355BA672L},{0x9D4F0991L,(-5L),0x9D4F0991L,(-5L),0x9D4F0991L}};
static struct S0 g_229[8] = {{-690},{-690},{-690},{-690},{-690},{-690},{-690},{-690}};
static struct S0 * volatile g_228 = &g_229[3];/* VOLATILE GLOBAL g_228 */
static uint8_t g_241[1] = {255UL};
static uint64_t g_253 = 0xE235E2949DE4D3E2LL;
static int32_t * volatile g_257[6] = {(void*)0,(void*)0,&g_93,(void*)0,(void*)0,&g_93};
static int32_t * volatile g_258 = &g_193[0][0];/* VOLATILE GLOBAL g_258 */
static uint16_t g_300[6][9] = {{0xFC02L,0x3BE9L,0UL,0x3BE9L,0xFC02L,0xFC02L,0x3BE9L,0UL,0x3BE9L},{0x3BE9L,0x930DL,0UL,0UL,0x930DL,0x3BE9L,0x930DL,0UL,0UL},{0xFC02L,0xFC02L,0x3BE9L,0UL,0x3BE9L,0xFC02L,0xFC02L,0x3BE9L,0UL},{0x369CL,0x930DL,0x369CL,0x3BE9L,0x3BE9L,0x369CL,0x930DL,0x369CL,0x3BE9L},{0x369CL,0x3BE9L,0x3BE9L,0x369CL,0x930DL,0x369CL,0x3BE9L,0x3BE9L,0x369CL},{0xFC02L,0x3BE9L,0UL,0x3BE9L,0xFC02L,0xFC02L,0x3BE9L,0UL,0x3BE9L}};
static uint32_t g_331 = 0xDE6D6B87L;
static const uint64_t g_422 = 0x62812FE4CCA4B3DCLL;
static struct S0 *g_448 = &g_229[3];
static struct S0 **g_447 = &g_448;
static struct S0 *** volatile g_446[8][9][3] = {{{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,(void*)0,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,(void*)0},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447}},{{&g_447,&g_447,&g_447},{&g_447,&g_447,(void*)0},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447}},{{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,(void*)0,&g_447},{&g_447,&g_447,(void*)0},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,(void*)0}},{{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,(void*)0,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,(void*)0}},{{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,(void*)0},{&g_447,&g_447,&g_447},{(void*)0,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{(void*)0,&g_447,&g_447}},{{&g_447,(void*)0,&g_447},{&g_447,(void*)0,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{(void*)0,&g_447,&g_447},{&g_447,(void*)0,&g_447},{&g_447,&g_447,&g_447},{(void*)0,(void*)0,&g_447},{&g_447,(void*)0,&g_447}},{{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{&g_447,&g_447,&g_447},{(void*)0,(void*)0,&g_447},{&g_447,(void*)0,&g_447},{&g_447,&g_447,&g_447},{(void*)0,(void*)0,&g_447},{(void*)0,&g_447,&g_447},{&g_447,&g_447,&g_447}},{{(void*)0,&g_447,&g_447},{&g_447,(void*)0,&g_447},{&g_447,(void*)0,&g_447},{&g_447,&g_447,&g_447},{(void*)0,&g_447,&g_447},{&g_447,&g_447,&g_447},{(void*)0,&g_447,&g_447},{(void*)0,&g_447,&g_447},{&g_447,&g_447,&g_447}}};
static int32_t *g_454 = &g_193[0][0];
static int32_t ** volatile g_453 = &g_454;/* VOLATILE GLOBAL g_453 */
static int16_t g_527[5][2] = {{0x9F15L,1L},{(-2L),0xFE86L},{1L,0xFE86L},{(-2L),1L},{0x9F15L,0x9F15L}};
static int32_t g_566 = 1L;
/* --- FORWARD DECLARATIONS --- */
uint32_t func_1(void);
uint32_t func_5(uint16_t p_6, uint8_t p_7, uint8_t p_8, const struct S0 p_9);
uint8_t func_11(struct S0 p_12);
struct S0 func_13(int16_t p_14);
struct S0 func_15(int64_t p_16, int8_t p_17);
const struct S0 func_18(uint64_t p_19, int64_t p_20);
uint64_t func_21(uint64_t p_22, int16_t p_23, uint32_t p_24, int64_t p_25);
const uint64_t func_29(uint32_t p_30);
uint16_t func_38(uint16_t p_39);
uint64_t func_58(int32_t p_59, uint8_t p_60, int32_t * p_61, int32_t * const p_62);
/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/*
* reads : g_10 g_43 g_51 g_52 g_55 g_64 g_93 g_95 g_110 g_114 g_138 g_98 g_143 g_115 g_162 g_163 g_133 g_193 g_141 g_101 g_228 g_181 g_169 g_258 g_331 g_300 g_447 g_448 g_566
* writes: g_43 g_52 g_64 g_93 g_110 g_138 g_143 g_162 g_168 g_133 g_169 g_181 g_95 g_193 g_51 g_229 g_241 g_253 g_331 g_527 g_566
*/
uint32_t func_1(void)
{ /* block id: 0 */
uint16_t l_2[7] = {65535UL,3UL,3UL,65535UL,3UL,3UL,65535UL};
int16_t *l_526 = &g_527[2][1];
int16_t **l_525 = &l_526;
uint64_t l_530 = 8UL;
const struct S0 l_531 = {685};
int32_t *l_565 = &g_566;
int32_t *l_567[6][8] = {{&g_43,&g_43,&g_43,&g_43,&g_43,&g_43,&g_43,&g_43},{&g_43,&g_43,&g_43,&g_43,&g_43,&g_43,&g_43,&g_43},{&g_43,&g_43,&g_43,&g_43,&g_43,&g_43,&g_43,&g_43},{&g_43,&g_43,&g_43,&g_43,&g_43,&g_43,&g_43,&g_43},{&g_43,&g_43,&g_43,&g_43,&g_43,&g_43,&g_43,&g_43},{&g_43,&g_43,&g_43,&g_43,&g_43,&g_43,&g_43,&g_43}};
int64_t l_568[4][1] = {{(-2L)},{(-9L)},{(-2L)},{(-9L)}};
int64_t l_569 = 1L;
uint32_t l_570 = 0x3328A8ECL;
int i, j;
(*l_565) &= (l_2[0] , (((safe_mul_func_int8_t_s_s((((func_5(g_10, (l_2[0] , func_11(func_13(l_2[0]))), ((((void*)0 == l_525) > (safe_div_func_int8_t_s_s((((l_2[0] , 0xC1L) , g_98[1][0]) < l_2[0]), g_98[0][0]))) >= l_530), l_531) > l_531.f0) != 2UL) > g_98[0][0]), l_531.f0)) || 6UL) >= l_2[0]));
--l_570;
return g_181;
}
/* ------------------------------------------ */
/*
* reads : g_331 g_110 g_300 g_52 g_447 g_448 g_51 g_258 g_193 g_10
* writes: g_331 g_110 g_52 g_527 g_64
*/
uint32_t func_5(uint16_t p_6, uint8_t p_7, uint8_t p_8, const struct S0 p_9)
{ /* block id: 242 */
uint32_t l_548 = 0xAE79FE34L;
for (g_331 = (-27); (g_331 < 14); g_331++)
{ /* block id: 245 */
int32_t *l_534 = &g_193[0][0];
int32_t *l_535 = (void*)0;
int32_t *l_536 = (void*)0;
int32_t *l_537 = (void*)0;
int32_t *l_538 = &g_193[2][3];
int32_t *l_539 = &g_193[2][3];
int32_t *l_540 = &g_52;
int32_t *l_541 = &g_193[0][0];
int32_t *l_542 = &g_193[0][0];
int32_t *l_543 = &g_52;
int32_t *l_544 = (void*)0;
int32_t *l_545 = &g_93;
int32_t *l_546 = &g_64;
int32_t *l_547[5][4];
const int16_t l_564 = 0x05CBL;
int i, j;
for (i = 0; i < 5; i++)
{
for (j = 0; j < 4; j++)
l_547[i][j] = &g_193[1][2];
}
++l_548;
for (g_110 = 0; (g_110 <= 5); g_110 += 1)
{ /* block id: 249 */
int16_t *l_563 = &g_527[2][1];
int i, j;
(*l_543) ^= g_300[g_110][(g_110 + 1)];
(*g_51) = ((safe_mul_func_uint8_t_u_u(0x0BL, g_300[g_110][(g_110 + 2)])) , (((safe_sub_func_int32_t_s_s((+(safe_add_func_int16_t_s_s(g_300[g_110][(g_110 + 3)], ((safe_sub_func_int8_t_s_s(((safe_sub_func_uint8_t_u_u(l_548, (!((*l_563) = p_8)))) || 0x1FBFL), (((*g_447) != (void*)0) | 0x60AEE66FL))) || p_9.f0)))), 0x07FB6F48L)) & 0xCCL) && l_548));
return p_9.f0;
}
if ((*g_258))
break;
if (l_564)
continue;
}
return g_10;
}
/* ------------------------------------------ */
/*
* reads : g_64 g_181 g_138 g_141 g_143 g_43 g_169 g_51 g_52 g_258 g_193 g_110
* writes: g_64 g_51 g_181 g_138 g_241 g_253 g_193 g_110
*/
uint8_t func_11(struct S0 p_12)
{ /* block id: 109 */
int32_t *l_233 = &g_64;
int32_t **l_234 = &g_51;
int32_t l_254 = (-1L);
uint8_t l_277 = 0x0BL;
int32_t l_399 = 0x57541A58L;
struct S0 l_485[6] = {{-873},{-873},{-783},{-873},{-873},{-783}};
int i;
(*l_233) ^= (248UL < 0xD2L);
(*l_234) = l_233;
for (g_181 = 0; (g_181 <= 7); g_181 += 1)
{ /* block id: 114 */
uint64_t l_239 = 1UL;
int16_t l_251 = 0x1C7FL;
(*l_234) = &g_52;
for (g_138 = 1; (g_138 <= 7); g_138 += 1)
{ /* block id: 118 */
uint8_t *l_240 = &g_241[0];
int32_t l_242 = 0x43BD0F48L;
uint64_t *l_252 = &g_253;
uint8_t *l_255 = (void*)0;
int32_t l_256[2][7] = {{7L,7L,7L,7L,7L,7L,7L},{0x2BF3D79FL,0x9FD89EE9L,0x2BF3D79FL,0x9FD89EE9L,0x2BF3D79FL,0x9FD89EE9L,0x2BF3D79FL}};
int i, j;
(*g_258) &= ((((((g_64 & ((*l_240) = (safe_mod_func_uint8_t_u_u(g_141, (safe_add_func_uint8_t_u_u(l_239, g_143[1][4][0])))))) == (p_12.f0 <= (((p_12.f0 | (l_242 > (safe_add_func_uint8_t_u_u((l_256[0][1] = (((safe_lshift_func_int8_t_s_s((safe_mod_func_uint64_t_u_u(((*l_252) = ((safe_div_func_uint64_t_u_u(l_251, (((8L == p_12.f0) ^ 253UL) , p_12.f0))) == p_12.f0)), 0x5B44177A3353FAB7LL)), g_43)) == l_254) && p_12.f0)), l_239)))) , 0xF4BBL) != l_242))) & l_242) & g_169) <= (*l_233)) , (**l_234));
}
}
for (g_110 = 0; (g_110 <= 50); g_110++)
{ /* block id: 127 */
int64_t l_263 = (-1L);
int32_t l_294 = 0L;
struct S0 l_394 = {-934};
struct S0 ***l_463[3][6];
int8_t l_514[9];
int i, j;
for (i = 0; i < 3; i++)
{
for (j = 0; j < 6; j++)
l_463[i][j] = &g_447;
}
for (i = 0; i < 9; i++)
l_514[i] = 2L;
}
return g_193[0][1];
}
/* ------------------------------------------ */
/*
* reads : g_10 g_43 g_51 g_52 g_55 g_64 g_93 g_95 g_110 g_114 g_138 g_98 g_143 g_115 g_162 g_163 g_133 g_193 g_141 g_101 g_228
* writes: g_43 g_52 g_64 g_93 g_110 g_138 g_143 g_162 g_168 g_133 g_169 g_181 g_95 g_193 g_51 g_229
*/
struct S0 func_13(int16_t p_14)
{ /* block id: 1 */
int32_t * const l_63[10][9] = {{&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64},{&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64},{&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64},{&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64},{&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64},{&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64},{&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64},{&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64},{&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64},{&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64,&g_64}};
int32_t l_94[9] = {0xE7FB9BE9L,0L,0xE7FB9BE9L,0xE7FB9BE9L,0L,0xE7FB9BE9L,0xE7FB9BE9L,0L,0xE7FB9BE9L};
int16_t l_219 = 7L;
int32_t **l_230 = (void*)0;
int32_t **l_231 = &g_51;
struct S0 l_232 = {2};
int i, j;
(*g_228) = func_15(p_14, (func_18(func_21((safe_div_func_uint16_t_u_u(0x9F7CL, ((~(1UL | (func_29((p_14 >= p_14)) | (g_55 , (((safe_div_func_uint64_t_u_u((func_58(g_10, (g_55 && 0x4D257E7E5FF1FC5BLL), g_51, l_63[3][5]) , 0UL), 0xD3C4F9076B3EC5F6LL)) ^ l_94[0]) <= 0x58L))))) || 0L))), p_14, g_55, p_14), p_14) , l_219));
(*l_231) = &l_94[0];
return l_232;
}
/* ------------------------------------------ */
/*
* reads : g_138
* writes: g_138
*/
struct S0 func_15(int64_t p_16, int8_t p_17)
{ /* block id: 101 */
int64_t l_220 = 0xA6AD73D851A5E322LL;
uint8_t *l_221 = &g_138;
int32_t *l_224[2][7][7] = {{{&g_43,&g_93,&g_43,&g_64,&g_43,&g_93,&g_43},{&g_193[0][0],&g_93,(void*)0,&g_93,&g_193[0][0],&g_193[0][0],&g_93},{&g_93,(void*)0,&g_93,&g_193[2][0],&g_43,&g_93,&g_193[0][0]},{&g_93,&g_52,(void*)0,(void*)0,&g_52,&g_93,&g_52},{&g_93,&g_193[2][0],&g_43,&g_93,&g_193[0][0],&g_93,&g_43},{&g_193[0][0],&g_193[0][0],&g_93,(void*)0,&g_93,&g_193[0][0],&g_193[0][0]},{&g_43,&g_193[2][0],&g_52,&g_193[2][0],&g_43,&g_93,&g_43}},{{&g_64,&g_52,&g_64,&g_93,&g_93,&g_64,&g_52},{&g_43,(void*)0,&g_52,&g_64,&g_193[0][0],&g_193[2][0],&g_193[0][0]},{&g_64,&g_93,&g_93,&g_64,&g_52,&g_64,&g_93},{&g_43,&g_93,&g_43,&g_64,&g_43,&g_93,&g_43},{&g_193[0][0],&g_93,(void*)0,&g_93,&g_193[0][0],&g_193[0][0],&g_93},{&g_93,(void*)0,&g_93,&g_193[2][0],&g_43,&g_93,&g_193[0][0]},{&g_93,&g_52,(void*)0,(void*)0,&g_52,&g_93,&g_52}}};
int32_t **l_225 = (void*)0;
int32_t **l_226 = &l_224[0][4][1];
struct S0 l_227[2][3][7] = {{{{-427},{83},{-589},{841},{-589},{83},{847}},{{787},{847},{-511},{841},{806},{861},{-127}},{{-327},{-268},{-742},{-127},{787},{-3},{-3}}},{{{-742},{-542},{-511},{-542},{-742},{830},{707}},{{707},{-542},{-589},{847},{841},{-427},{787}},{{-542},{-268},{841},{-717},{-511},{-511},{-717}}}};
int i, j, k;
l_220 = 1L;
(*l_226) = ((--(*l_221)) , l_224[0][4][1]);
return l_227[0][1][4];
}
/* ------------------------------------------ */
/*
* reads : g_52 g_110 g_114 g_55 g_138 g_98 g_64 g_43 g_95 g_143 g_115 g_162 g_163 g_133 g_51 g_10 g_193 g_141 g_101
* writes: g_52 g_110 g_138 g_143 g_43 g_162 g_168 g_133 g_169 g_181 g_95 g_193 g_64 g_51
*/
const struct S0 func_18(uint64_t p_19, int64_t p_20)
{ /* block id: 43 */
uint8_t l_113 = 252UL;
int32_t l_130 = (-3L);
int32_t l_188 = 8L;
int32_t **l_212 = (void*)0;
int32_t **l_213 = &g_51;
int32_t *l_214[1][7] = {{(void*)0,&l_188,&l_188,(void*)0,&l_188,&l_188,(void*)0}};
uint8_t l_215[9][7][4] = {{{250UL,8UL,1UL,0xB3L},{0UL,0x3AL,0xCFL,0x42L},{0UL,0xA5L,0UL,1UL},{0x2DL,0xCFL,0xAAL,0UL},{0x5FL,0x49L,1UL,0xC8L},{0UL,0xB3L,0x8AL,0xEEL},{0xC8L,1UL,0x42L,8UL}},{{0xAEL,0x67L,0xEEL,0x69L},{252UL,0UL,5UL,0x84L},{9UL,0UL,0x74L,0UL},{5UL,253UL,0x67L,255UL},{0xB3L,0UL,0x42L,9UL},{1UL,250UL,0xB6L,0x74L},{1UL,0x42L,0x42L,0x5FL}},{{0xB3L,0x74L,0x67L,0UL},{5UL,0xBBL,0x74L,0x8AL},{9UL,0xFEL,5UL,1UL},{252UL,0x2DL,0xEEL,0x8FL},{0xAEL,9UL,0x42L,1UL},{0xC8L,0xAAL,0x8AL,0x06L},{0UL,0x8FL,1UL,7UL}},{{0x5FL,0x7FL,0xAAL,250UL},{0x2DL,8UL,0UL,253UL},{0UL,5UL,0xCFL,252UL},{0UL,1UL,1UL,0UL},{250UL,0x09L,0xB0L,0UL},{0x06L,7UL,0UL,246UL},{0x42L,8UL,1UL,246UL}},{{255UL,7UL,0xFEL,0UL},{0x67L,0x09L,0x7FL,0UL},{8UL,1UL,0xB3L,252UL},{0x49L,5UL,0x8FL,253UL},{0x7FL,8UL,0UL,250UL},{254UL,0x7FL,0x60L,7UL},{8UL,0x8FL,255UL,0x06L}},{{0x69L,0xAAL,0xAEL,0UL},{0UL,0xC8L,5UL,0UL},{0UL,0xB3L,250UL,0xAEL},{0x2DL,0xFBL,0xAEL,0xFEL},{0xB0L,0UL,0xB0L,0x3AL},{0UL,9UL,252UL,253UL},{0xBBL,0x8FL,1UL,9UL}},{{8UL,0x42L,1UL,0xC8L},{0xBBL,0UL,252UL,8UL},{0UL,0UL,0xB0L,8UL},{0xB0L,8UL,0xAEL,0x7FL},{0x2DL,0xC3L,250UL,0x06L},{0UL,254UL,5UL,0xF0L},{0UL,5UL,0x60L,253UL}},{{0x06L,0xB6L,8UL,0x5FL},{252UL,1UL,0x2DL,1UL},{1UL,5UL,8UL,5UL},{0UL,0x84L,0UL,0x8FL},{1UL,0x49L,0xB6L,0xB6L},{0x74L,0x74L,0UL,0xC3L},{254UL,1UL,0xFBL,0xB0L}},{{0x69L,0xCFL,0UL,0xFBL},{255UL,0xCFL,0x8AL,0xB0L},{0xCFL,1UL,0xAAL,0xC3L},{0x42L,0x74L,0UL,0xB6L},{255UL,0x49L,5UL,0x8FL},{0x8AL,0x84L,255UL,5UL},{0xB3L,5UL,0xA5L,1UL}}};
const struct S0 l_218 = {-601};
int i, j, k;
for (g_52 = 0; (g_52 >= 0); g_52 -= 1)
{ /* block id: 46 */
uint16_t *l_109 = &g_110;
int16_t *l_131 = (void*)0;
int16_t *l_132[6] = {&g_133,&g_133,&g_133,&g_133,&g_133,&g_133};
int32_t l_134 = 0x90A484C5L;
uint8_t *l_137 = &g_138;
const int32_t *l_140 = &g_141;
const int32_t **l_139 = &l_140;
int32_t *l_142[10][3] = {{(void*)0,&g_52,(void*)0},{&l_130,&g_43,&l_130},{(void*)0,&g_52,(void*)0},{&l_130,&g_43,&l_130},{(void*)0,&g_52,(void*)0},{&l_130,&g_43,&l_130},{(void*)0,&g_52,(void*)0},{&l_130,&g_43,&l_130},{(void*)0,&g_52,(void*)0},{&l_130,&g_43,&l_130}};
const int16_t *l_161 = &g_133;
int8_t l_166 = (-9L);
uint16_t l_170 = 0x9BC1L;
const struct S0 l_191 = {33};
int i, j;
l_130 = (+(safe_sub_func_int16_t_s_s(((l_113 |= ((*l_109)--)) == (g_143[1][6][0] = (((*l_139) = ((((void*)0 != g_114) < (safe_sub_func_int64_t_s_s((((safe_add_func_uint8_t_u_u((safe_mod_func_uint64_t_u_u(2UL, (safe_rshift_func_int8_t_s_s(((((*l_137) |= ((((void*)0 == &g_98[0][0]) && ((g_55 | (safe_div_func_uint16_t_u_u(((safe_mul_func_int16_t_s_s((l_134 = (safe_div_func_uint32_t_u_u(p_19, l_130))), (safe_lshift_func_uint8_t_u_s(250UL, 6)))) >= 1UL), 9UL))) < 0x10CDF194L)) != 1UL)) == l_130) , g_98[0][0]), p_19)))), g_55)) ^ g_64) ^ 4294967287UL), l_130))) , (void*)0)) != l_142[3][2]))), g_64)));
for (g_43 = 0; (g_43 <= 0); g_43 += 1)
{ /* block id: 56 */
struct S0 l_150[8] = {{436},{436},{436},{436},{436},{436},{436},{436}};
uint64_t *l_167[5];
int8_t *l_186 = (void*)0;
int8_t *l_187[7];
int i, j;
for (i = 0; i < 5; i++)
l_167[i] = (void*)0;
for (i = 0; i < 7; i++)
l_187[i] = &l_166;
l_170 = ((g_169 = (l_130 = (g_133 = ((g_168 = ((((safe_div_func_int32_t_s_s(((safe_mul_func_int8_t_s_s((safe_lshift_func_uint16_t_u_u((((l_150[4] , (((safe_div_func_int64_t_s_s((((safe_div_func_int32_t_s_s(0x3380028DL, (safe_add_func_int8_t_s_s(0x45L, (safe_div_func_uint16_t_u_u(((safe_rshift_func_int16_t_s_u(((g_95[g_52][(g_43 + 1)] < (g_98[(g_43 + 1)][g_43] && (l_109 == (g_162 = l_161)))) != g_143[0][6][0]), (safe_mul_func_uint16_t_u_u(0UL, 0x0543L)))) , 65535UL), (*g_114))))))) != p_20) == 1L), p_19)) != l_130) >= p_20)) , (*g_162)) < 0x5F46L), p_19)), l_166)) == 0x2417AC5C07F419F4LL), g_95[g_52][(g_43 + 1)])) >= 0L) , p_20) > l_150[4].f0)) >= 18446744073709551608UL)))) || (*g_162));
l_188 = (safe_sub_func_int32_t_s_s(((((safe_mul_func_int8_t_s_s((g_143[0][8][0] < ((safe_mod_func_uint32_t_u_u(((g_138 < p_20) >= (safe_div_func_int8_t_s_s(((l_130 = (g_95[0][4] = (safe_sub_func_uint8_t_u_u((l_150[4].f0 = (((g_181 = p_19) == (*g_51)) && (safe_rshift_func_int16_t_s_u((5UL ^ l_113), (*g_114))))), ((safe_lshift_func_int16_t_s_u((*g_162), 3)) > p_19))))) && p_19), g_98[(g_43 + 1)][g_43]))), g_98[(g_43 + 1)][g_43])) <= 1UL)), g_98[(g_43 + 1)][g_43])) ^ g_10) <= p_19) || l_113), g_133));
if ((~(l_186 != &g_138)))
{ /* block id: 68 */
int32_t *l_190[8][10] = {{(void*)0,&g_43,(void*)0,&g_52,(void*)0,(void*)0,&g_64,(void*)0,&g_43,&l_188},{&g_52,&g_93,&g_64,(void*)0,&g_43,(void*)0,(void*)0,&g_43,&g_43,&l_188},{(void*)0,&g_93,&g_52,&g_43,(void*)0,&g_43,&g_43,(void*)0,&g_43,&g_52},{&g_93,&g_93,&l_188,&g_43,&g_43,(void*)0,(void*)0,&g_43,(void*)0,(void*)0},{&g_93,&g_64,(void*)0,(void*)0,(void*)0,(void*)0,&g_93,(void*)0,&g_43,&g_43},{(void*)0,&g_64,(void*)0,&g_64,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,&g_64},{(void*)0,&l_188,(void*)0,&g_93,&l_188,(void*)0,&g_52,&g_64,&g_43,&g_93},{&g_52,&g_93,&g_43,(void*)0,&l_134,(void*)0,(void*)0,&g_64,(void*)0,&g_43}};
int i, j;
l_190[7][0] = l_190[7][0];
}
else
{ /* block id: 70 */
int32_t l_197 = (-5L);
int32_t l_206 = 0x620B5F74L;
for (l_134 = 0; (l_134 <= 0); l_134 += 1)
{ /* block id: 73 */
if (p_19)
break;
return l_191;
}
for (l_170 = 0; (l_170 <= 0); l_170 += 1)
{ /* block id: 79 */
int32_t **l_192 = &l_142[3][2];
int32_t l_198 = 0xFB215338L;
int32_t l_211 = 0x2F87E497L;
(*l_139) = ((*l_192) = (void*)0);
l_198 = ((((*g_51) > (((l_150[4].f0 >= ((g_193[0][0] |= (*g_162)) > (((*g_114) | g_55) > ((safe_unary_minus_func_uint8_t_u((l_197 = ((p_20 , (((p_20 , 0x72429456BCAD55B1LL) & (safe_sub_func_uint32_t_u_u(((p_20 , p_19) && 0x2212L), (*g_51)))) > 0x8B70B0F04E7F97FDLL)) > p_19)))) & g_141)))) != (*g_51)) , p_19)) ^ 0xD8L) < g_95[g_52][(g_43 + 1)]);
for (l_130 = 0; (l_130 >= 0); l_130 -= 1)
{ /* block id: 87 */
int32_t * const l_205 = &g_193[0][0];
int8_t *l_210 = &g_95[g_52][(g_43 + 1)];
int i, j;
l_150[4].f0 &= (safe_sub_func_uint64_t_u_u((safe_mod_func_uint16_t_u_u((g_98[(l_130 + 2)][l_130] , (((((safe_mod_func_int8_t_s_s(g_98[l_170][l_130], g_95[0][8])) , l_205) != (((l_206 |= (*l_205)) , l_188) , (void*)0)) || (((safe_mul_func_uint16_t_u_u((+(*g_101)), (l_210 != &l_166))) || 0xCD0DB1F33D140ED9LL) , p_20)) || p_20)), p_20)), l_211));
(*l_205) |= (*g_101);
}
}
(*g_101) ^= l_150[4].f0;
}
}
}
(*l_213) = &l_130;
l_215[6][3][2]++;
(**l_213) &= p_20;
return l_218;
}
/* ------------------------------------------ */
/*
* reads : g_95
* writes:
*/
uint64_t func_21(uint64_t p_22, int16_t p_23, uint32_t p_24, int64_t p_25)
{ /* block id: 22 */
int8_t l_100 = (-9L);
int32_t *l_102 = &g_64;
for (p_22 = 0; (p_22 <= 0); p_22 += 1)
{ /* block id: 25 */
int32_t **l_103 = &l_102;
int32_t **l_105 = &g_51;
}
return g_95[0][8];
}
/* ------------------------------------------ */
/*
* reads : g_10 g_43 g_51 g_52
* writes: g_43 g_52
*/
const uint64_t func_29(uint32_t p_30)
{ /* block id: 2 */
uint32_t l_33[7][7] = {{1UL,0x10224968L,0x10224968L,1UL,0x0C9BA5B0L,1UL,0x10224968L},{4294967290UL,4294967290UL,0xF5E4D8D9L,4294967295UL,0xF5E4D8D9L,4294967290UL,4294967290UL},{4294967295UL,0x10224968L,0x74DEFC72L,0x10224968L,4294967295UL,4294967295UL,0x10224968L},{0UL,0xA5D87207L,0UL,0xF5E4D8D9L,0xF5E4D8D9L,0UL,0xA5D87207L},{0x10224968L,0x0C9BA5B0L,0x74DEFC72L,0x74DEFC72L,0x0C9BA5B0L,0x10224968L,0x0C9BA5B0L},{0UL,0xF5E4D8D9L,0xF5E4D8D9L,0UL,0xA5D87207L,0UL,0xF5E4D8D9L},{4294967295UL,4294967295UL,0x10224968L,0x74DEFC72L,0x10224968L,4294967295UL,4294967295UL}};
const int32_t *l_53 = &g_52;
struct S0 l_54 = {284};
int i, j;
(*g_51) = (g_10 >= (safe_mod_func_int32_t_s_s(l_33[2][3], (safe_sub_func_int16_t_s_s((((safe_rshift_func_uint16_t_u_u(func_38(g_10), (safe_rshift_func_int16_t_s_u((g_51 == l_53), g_52)))) > ((l_54 , 3UL) | (*l_53))) , 0L), 0xCDD1L)))));
return g_52;
}
/* ------------------------------------------ */
/*
* reads : g_43
* writes: g_43
*/
uint16_t func_38(uint16_t p_39)
{ /* block id: 3 */
uint8_t l_44 = 0x06L;
int32_t *l_47 = &g_43;
uint32_t l_48[3];
int i;
for (i = 0; i < 3; i++)
l_48[i] = 0xA7032F1EL;
for (p_39 = (-25); (p_39 < 41); p_39++)
{ /* block id: 6 */
int32_t *l_42 = &g_43;
--l_44;
return (*l_42);
}
(*l_47) |= (-1L);
return l_48[2];
}
/* ------------------------------------------ */
/*
* reads : g_55 g_10 g_64 g_93
* writes: g_64 g_93
*/
uint64_t func_58(int32_t p_59, uint8_t p_60, int32_t * p_61, int32_t * const p_62)
{ /* block id: 14 */
int32_t *l_70 = &g_64;
int32_t **l_69 = &l_70;
int32_t *l_72 = &g_64;
int32_t **l_71 = &l_72;
uint32_t l_73 = 0UL;
struct S0 l_90 = {-718};
int32_t *l_92 = &g_93;
(*p_62) = ((((*l_71) = ((safe_add_func_uint8_t_u_u(g_55, ((safe_mod_func_uint32_t_u_u(p_59, 1L)) <= (-4L)))) , ((*l_69) = (void*)0))) == (void*)0) , (l_73 , (p_60 == (safe_sub_func_int8_t_s_s((safe_sub_func_uint32_t_u_u((safe_mul_func_int16_t_s_s(((safe_div_func_uint8_t_u_u((safe_mul_func_int8_t_s_s(((g_10 & g_10) || (*p_62)), p_59)), 0xB5L)) <= p_59), p_60)), (*p_62))), g_64)))));
(*l_92) &= (((p_62 == ((((*p_62) = ((safe_mul_func_int16_t_s_s((((safe_lshift_func_uint16_t_u_u((safe_mul_func_uint16_t_u_u((p_61 == ((g_55 , l_90) , (*l_71))), ((((g_64 || p_60) , p_59) ^ (~1UL)) > g_64))), p_60)) == p_60) , g_64), g_10)) , 0x8C4E1B82L)) || g_10) , &g_64)) & g_55) >= g_55);
(*l_71) = &g_64;
return g_64;
}
/* ---------------------------------------- */
int main (int argc, char* argv[])
{
int i, j, k;
int print_hash_value = 0;
if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
platform_main_begin();
crc32_gentab();
func_1();
transparent_crc(g_10, "g_10", print_hash_value);
transparent_crc(g_43, "g_43", print_hash_value);
transparent_crc(g_52, "g_52", print_hash_value);
transparent_crc(g_55, "g_55", print_hash_value);
transparent_crc(g_64, "g_64", print_hash_value);
transparent_crc(g_93, "g_93", print_hash_value);
for (i = 0; i < 1; i++)
{
for (j = 0; j < 10; j++)
{
transparent_crc(g_95[i][j], "g_95[i][j]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
for (i = 0; i < 3; i++)
{
for (j = 0; j < 1; j++)
{
transparent_crc(g_98[i][j], "g_98[i][j]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
transparent_crc(g_110, "g_110", print_hash_value);
transparent_crc(g_115, "g_115", print_hash_value);
transparent_crc(g_133, "g_133", print_hash_value);
transparent_crc(g_138, "g_138", print_hash_value);
transparent_crc(g_141, "g_141", print_hash_value);
for (i = 0; i < 2; i++)
{
for (j = 0; j < 9; j++)
{
for (k = 0; k < 1; k++)
{
transparent_crc(g_143[i][j][k], "g_143[i][j][k]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
}
}
}
transparent_crc(g_163, "g_163", print_hash_value);
transparent_crc(g_168, "g_168", print_hash_value);
transparent_crc(g_169, "g_169", print_hash_value);
transparent_crc(g_181, "g_181", print_hash_value);
for (i = 0; i < 3; i++)
{
for (j = 0; j < 5; j++)
{
transparent_crc(g_193[i][j], "g_193[i][j]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
for (i = 0; i < 8; i++)
{
transparent_crc(g_229[i].f0, "g_229[i].f0", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
for (i = 0; i < 1; i++)
{
transparent_crc(g_241[i], "g_241[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_253, "g_253", print_hash_value);
for (i = 0; i < 6; i++)
{
for (j = 0; j < 9; j++)
{
transparent_crc(g_300[i][j], "g_300[i][j]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
transparent_crc(g_331, "g_331", print_hash_value);
transparent_crc(g_422, "g_422", print_hash_value);
for (i = 0; i < 5; i++)
{
for (j = 0; j < 2; j++)
{
transparent_crc(g_527[i][j], "g_527[i][j]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
transparent_crc(g_566, "g_566", print_hash_value);
platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
return 0;
}
/************************ statistics *************************
XXX max struct depth: 1
breakdown:
depth: 0, occurrence: 88
depth: 1, occurrence: 10
XXX total union variables: 0
XXX non-zero bitfields defined in structs: 1
XXX zero bitfields defined in structs: 0
XXX const bitfields defined in structs: 0
XXX volatile bitfields defined in structs: 0
XXX structs with bitfields in the program: 15
breakdown:
indirect level: 0, occurrence: 10
indirect level: 1, occurrence: 1
indirect level: 2, occurrence: 2
indirect level: 3, occurrence: 2
XXX full-bitfields structs in the program: 10
breakdown:
indirect level: 0, occurrence: 10
XXX times a bitfields struct's address is taken: 15
XXX times a bitfields struct on LHS: 2
XXX times a bitfields struct on RHS: 11
XXX times a single bitfield on LHS: 4
XXX times a single bitfield on RHS: 70
XXX max expression depth: 33
breakdown:
depth: 1, occurrence: 63
depth: 2, occurrence: 15
depth: 3, occurrence: 1
depth: 12, occurrence: 1
depth: 14, occurrence: 1
depth: 16, occurrence: 1
depth: 19, occurrence: 1
depth: 20, occurrence: 1
depth: 21, occurrence: 1
depth: 22, occurrence: 1
depth: 24, occurrence: 1
depth: 26, occurrence: 1
depth: 27, occurrence: 1
depth: 31, occurrence: 1
depth: 33, occurrence: 1
XXX total number of pointers: 118
XXX times a variable address is taken: 301
XXX times a pointer is dereferenced on RHS: 53
breakdown:
depth: 1, occurrence: 45
depth: 2, occurrence: 8
XXX times a pointer is dereferenced on LHS: 71
breakdown:
depth: 1, occurrence: 68
depth: 2, occurrence: 3
XXX times a pointer is compared with null: 10
XXX times a pointer is compared with address of another variable: 3
XXX times a pointer is compared with another pointer: 3
XXX times a pointer is qualified to be dereferenced: 962
XXX max dereference level: 2
breakdown:
level: 0, occurrence: 0
level: 1, occurrence: 224
level: 2, occurrence: 39
XXX number of pointers point to pointers: 28
XXX number of pointers point to scalars: 86
XXX number of pointers point to structs: 4
XXX percent of pointers has null in alias set: 32.2
XXX average alias set size: 1.44
XXX times a non-volatile is read: 427
XXX times a non-volatile is write: 211
XXX times a volatile is read: 22
XXX times read thru a pointer: 7
XXX times a volatile is write: 6
XXX times written thru a pointer: 0
XXX times a volatile is available for access: 232
XXX percentage of non-volatile access: 95.8
XXX forward jumps: 0
XXX backward jumps: 1
XXX stmts: 60
XXX max block depth: 5
breakdown:
depth: 0, occurrence: 32
depth: 1, occurrence: 10
depth: 2, occurrence: 7
depth: 3, occurrence: 4
depth: 4, occurrence: 5
depth: 5, occurrence: 2
XXX percentage a fresh-made variable is used: 16.7
XXX percentage an existing variable is used: 83.3
FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
********************* end of statistics **********************/