/* * This is a RANDOMLY GENERATED PROGRAM. * * Generator: csmith 2.2.0 * Git version: a8697aa * Options: --no-volatiles --no-math64 --max-block-depth 2 --max-block-size 2 --max-expr-complexity 2 --max-funcs 2 * Seed: 1880513882 */ #include "csmith.h" static long __undefined; /* --- Struct/Union Declarations --- */ union U0 { int32_t f0; int8_t f1; const int8_t f2; }; /* --- GLOBAL VARIABLES --- */ static uint32_t g_4 = 9UL; static int32_t g_6 = 0xB9DD952EL; static const int32_t *g_5 = &g_6; static union U0 g_7[3][9][6] = {{{{-8L},{5L},{0x901516EAL},{7L},{7L},{0x901516EAL}},{{0x520EA0C8L},{0x520EA0C8L},{0x0920A6FFL},{0x0021FBB9L},{0x888C5540L},{-8L}},{{0xDC87A9B6L},{0x42B48371L},{8L},{7L},{-8L},{0x0920A6FFL}},{{-1L},{0xDC87A9B6L},{8L},{5L},{0x520EA0C8L},{-8L}},{{-3L},{5L},{0x0920A6FFL},{0x865B49D5L},{0xDC87A9B6L},{0x901516EAL}},{{0x865B49D5L},{0xDC87A9B6L},{0x901516EAL},{0x0021FBB9L},{-1L},{-1L}},{{0x865B49D5L},{0x42B48371L},{0x42B48371L},{0x865B49D5L},{-3L},{0x0920A6FFL}},{{-3L},{0x520EA0C8L},{0x0021FBB9L},{5L},{0x865B49D5L},{-1L}},{{-1L},{5L},{0L},{7L},{0x865B49D5L},{0x901516EAL}}},{{{0xDC87A9B6L},{0x520EA0C8L},{7L},{0x0021FBB9L},{-3L},{-8L}},{{0x520EA0C8L},{0x42B48371L},{5L},{7L},{-1L},{0x0920A6FFL}},{{-8L},{0xDC87A9B6L},{5L},{5L},{0xDC87A9B6L},{-8L}},{{0x888C5540L},{5L},{7L},{0x865B49D5L},{0x520EA0C8L},{0x901516EAL}},{{7L},{0xDC87A9B6L},{0L},{0x0021FBB9L},{-8L},{-1L}},{{7L},{0x42B48371L},{0x0021FBB9L},{0x865B49D5L},{0x888C5540L},{0x0920A6FFL}},{{0x888C5540L},{0x520EA0C8L},{0x42B48371L},{5L},{7L},{-1L}},{{-8L},{5L},{0x901516EAL},{7L},{7L},{0x901516EAL}},{{0x520EA0C8L},{0x520EA0C8L},{0x0920A6FFL},{0x0021FBB9L},{0x888C5540L},{-8L}}},{{{0xDC87A9B6L},{0x42B48371L},{8L},{7L},{-8L},{0x0920A6FFL}},{{-1L},{0xDC87A9B6L},{8L},{5L},{0x520EA0C8L},{-8L}},{{-3L},{5L},{0x0920A6FFL},{0x865B49D5L},{0xDC87A9B6L},{0x901516EAL}},{{0x865B49D5L},{0xDC87A9B6L},{0x901516EAL},{0x0021FBB9L},{-1L},{-1L}},{{0x865B49D5L},{0x42B48371L},{0x42B48371L},{0x865B49D5L},{-3L},{0x0920A6FFL}},{{-3L},{0x520EA0C8L},{0x0021FBB9L},{5L},{0x865B49D5L},{-1L}},{{-1L},{5L},{0L},{7L},{0x865B49D5L},{0x901516EAL}},{{0xDC87A9B6L},{0x520EA0C8L},{7L},{0x0021FBB9L},{-3L},{-8L}},{{0x520EA0C8L},{0x42B48371L},{5L},{7L},{-1L},{0x0920A6FFL}}}}; static int32_t g_31 = 1L; static uint32_t g_32 = 4294967289UL; /* --- FORWARD DECLARATIONS --- */ static uint16_t func_1(void); static int32_t * func_9(int32_t * p_10, uint16_t p_11); /* --- FUNCTIONS --- */ /* ------------------------------------------ */ /* * reads : g_4 g_5 g_7 g_32 * writes: g_5 g_32 */ static uint16_t func_1(void) { /* block id: 0 */ int32_t l_3 = (-1L); if (((safe_unary_minus_func_int16_t_s(l_3)) >= g_4)) { /* block id: 1 */ int32_t *l_8 = &l_3; g_5 = g_5; (*l_8) ^= (g_7[1][3][2] , 0x44688D23L); } else { /* block id: 4 */ int32_t *l_12 = &l_3; int32_t **l_13 = &l_12; (*l_13) = func_9(((*l_13) = l_12), l_3); } return l_3; } /* ------------------------------------------ */ /* * reads : g_32 * writes: g_32 */ static int32_t * func_9(int32_t * p_10, uint16_t p_11) { /* block id: 6 */ int32_t *l_14 = &g_6; int32_t *l_15 = &g_7[1][3][2].f0; int32_t *l_16 = &g_6; int32_t *l_17 = &g_6; int32_t *l_18 = &g_6; int32_t *l_19 = &g_6; int32_t *l_20 = &g_6; int32_t *l_21 = &g_6; int32_t *l_22 = &g_6; int32_t *l_23 = &g_7[1][3][2].f0; int32_t l_24[8] = {0xF9F11119L,0xF9F11119L,0xF9F11119L,0xF9F11119L,0xF9F11119L,0xF9F11119L,0xF9F11119L,0xF9F11119L}; int32_t *l_25 = &l_24[7]; int32_t *l_26 = &l_24[2]; int32_t *l_27 = &l_24[2]; int32_t *l_28 = &l_24[0]; int32_t *l_29 = &g_7[1][3][2].f0; int32_t *l_30[10] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}; int i; ++g_32; return p_10; } /* ---------------------------------------- */ 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(); for (i = 0; i < 3; i++) { for (j = 0; j < 1; j++) { for (k = 0; k < 1; k++) { transparent_crc(g_7[i][j][k].f0, "g_7[i][j][k].f0", print_hash_value); transparent_crc(g_7[i][j][k].f1, "g_7[i][j][k].f1", print_hash_value); if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k); } } } platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value); return 0; }