/* * This is a RANDOMLY GENERATED PROGRAM. * * Generator: csmith 2.3.0 * Git version: 30dccd7 * Options: (none) * Seed: 7941158427876856818 */ #include "csmith.h" static long __undefined; /* --- Struct/Union Declarations --- */ /* --- GLOBAL VARIABLES --- */ static volatile int32_t g_2 = 0x540D7F82L;/* VOLATILE GLOBAL g_2 */ static int32_t g_3[5][6] = {{1L,(-1L),(-1L),1L,0xA66FE7D8L,0x72759951L},{0x72759951L,1L,(-10L),1L,0x72759951L,0xA772304BL},{1L,0x72759951L,0xA772304BL,0xA772304BL,0x72759951L,1L},{(-1L),1L,0xA66FE7D8L,0x72759951L,0xA66FE7D8L,1L},{0xA66FE7D8L,(-1L),0xA772304BL,(-10L),(-10L),0xA772304BL}}; static int32_t g_7 = (-1L); static volatile int32_t g_12 = 1L;/* VOLATILE GLOBAL g_12 */ static uint32_t g_14[4] = {0x0578CCA6L,0x0578CCA6L,0x0578CCA6L,0x0578CCA6L}; /* --- FORWARD DECLARATIONS --- */ int16_t func_1(void); /* --- FUNCTIONS --- */ /* ------------------------------------------ */ /* * reads : g_3 g_14 * writes: g_3 g_14 */ int16_t func_1(void) { /* block id: 0 */ int32_t l_11 = 0x18D303F0L; int32_t l_13[5]; int64_t l_17 = 1L; uint64_t l_18[2][3]; int32_t *l_22 = (void*)0; int32_t *l_23 = &g_3[2][4]; int32_t *l_24 = &l_13[1]; int32_t *l_25 = &g_3[1][2]; int32_t *l_26[1]; int64_t l_27 = 7L; uint32_t l_28 = 0x65742D11L; int32_t l_31 = (-3L); uint32_t l_32 = 18446744073709551615UL; int64_t l_35 = 0xEAAB991CC17125C8LL; int8_t l_36 = (-6L); uint64_t l_37 = 18446744073709551615UL; int i, j; for (i = 0; i < 5; i++) l_13[i] = 0xF5EBEC5EL; for (i = 0; i < 2; i++) { for (j = 0; j < 3; j++) l_18[i][j] = 0UL; } for (i = 0; i < 1; i++) l_26[i] = &g_3[3][0]; for (g_3[1][2] = (-4); (g_3[1][2] > 21); ++g_3[1][2]) { /* block id: 3 */ int32_t *l_6 = &g_7; int32_t *l_8 = &g_7; int32_t *l_9 = &g_7; int32_t *l_10[6] = {(void*)0,(void*)0,&g_7,(void*)0,(void*)0,&g_7}; int32_t l_21 = 0L; int i; --g_14[3]; ++l_18[1][1]; if (l_21) break; if (g_3[1][2]) break; } l_28--; l_32--; l_37--; return g_3[1][2]; } /* ---------------------------------------- */ int main (int argc, char* argv[]) { int i, j; 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_2, "g_2", print_hash_value); for (i = 0; i < 5; i++) { for (j = 0; j < 6; j++) { transparent_crc(g_3[i][j], "g_3[i][j]", print_hash_value); if (print_hash_value) printf("index = [%d][%d]\n", i, j); } } transparent_crc(g_7, "g_7", print_hash_value); transparent_crc(g_12, "g_12", print_hash_value); for (i = 0; i < 4; i++) { transparent_crc(g_14[i], "g_14[i]", print_hash_value); if (print_hash_value) printf("index = [%d]\n", i); } platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value); return 0; } /************************ statistics ************************* XXX max struct depth: 0 breakdown: depth: 0, occurrence: 14 XXX total union variables: 0 XXX non-zero bitfields defined in structs: 0 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: 0 breakdown: XXX full-bitfields structs in the program: 0 breakdown: XXX times a bitfields struct's address is taken: 0 XXX times a bitfields struct on LHS: 0 XXX times a bitfields struct on RHS: 0 XXX times a single bitfield on LHS: 0 XXX times a single bitfield on RHS: 0 XXX max expression depth: 2 breakdown: depth: 1, occurrence: 13 depth: 2, occurrence: 1 XXX total number of pointers: 9 XXX times a variable address is taken: 9 XXX times a pointer is dereferenced on RHS: 0 breakdown: XXX times a pointer is dereferenced on LHS: 0 breakdown: XXX times a pointer is compared with null: 0 XXX times a pointer is compared with address of another variable: 0 XXX times a pointer is compared with another pointer: 0 XXX times a pointer is qualified to be dereferenced: 544 XXX number of pointers point to pointers: 0 XXX number of pointers point to scalars: 9 XXX number of pointers point to structs: 0 XXX percent of pointers has null in alias set: 22.2 XXX average alias set size: 1.11 XXX times a non-volatile is read: 4 XXX times a non-volatile is write: 6 XXX times a volatile is read: 0 XXX times read thru a pointer: 0 XXX times a volatile is write: 0 XXX times written thru a pointer: 0 XXX times a volatile is available for access: 66 XXX percentage of non-volatile access: 100 XXX forward jumps: 0 XXX backward jumps: 0 XXX stmts: 9 XXX max block depth: 1 breakdown: depth: 0, occurrence: 5 depth: 1, occurrence: 4 XXX percentage a fresh-made variable is used: 10.9 XXX percentage an existing variable is used: 89.1 ********************* end of statistics **********************/