/* * This is a RANDOMLY GENERATED PROGRAM. * * Generator: csmith 2.3.0 * Git version: 30dccd7 * Options: (none) * Seed: 8247637834831913862 */ #include "csmith.h" static long __undefined; /* --- Struct/Union Declarations --- */ /* --- GLOBAL VARIABLES --- */ static int32_t g_3 = 0xA4A12B57L; static int8_t g_6 = 0L; static int16_t g_7 = 0xFBEFL; static volatile int16_t g_8 = 9L;/* VOLATILE GLOBAL g_8 */ static volatile int8_t g_9 = 0xEEL;/* VOLATILE GLOBAL g_9 */ static volatile int32_t g_10[2][1][5] = {{{0xA53F0D3EL,0xA53F0D3EL,0xA53F0D3EL,0xA53F0D3EL,0xA53F0D3EL}},{{0xA53F0D3EL,0xA53F0D3EL,0xA53F0D3EL,0xA53F0D3EL,0xA53F0D3EL}}}; static volatile int16_t g_11 = 0xA09AL;/* VOLATILE GLOBAL g_11 */ static int64_t g_13 = 0x3697E171BA0D8950LL; /* --- FORWARD DECLARATIONS --- */ int32_t func_1(void); /* --- FUNCTIONS --- */ /* ------------------------------------------ */ /* * reads : * writes: */ int32_t func_1(void) { /* block id: 0 */ int32_t *l_2 = &g_3; int32_t *l_4 = &g_3; int32_t *l_5[3][10]; int8_t l_12 = (-9L); int8_t l_14 = 3L; uint8_t l_15 = 0xD7L; int32_t l_18[3][5] = {{(-1L),0x9712D87DL,0xBA4E5925L,0xBA4E5925L,0x9712D87DL},{(-1L),0x9712D87DL,0xBA4E5925L,0xBA4E5925L,0x9712D87DL},{(-1L),0x9712D87DL,0xBA4E5925L,0xBA4E5925L,0x9712D87DL}}; int i, j; for (i = 0; i < 3; i++) { for (j = 0; j < 10; j++) l_5[i][j] = &g_3; } l_15++; return l_18[1][3]; } /* ---------------------------------------- */ 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_3, "g_3", print_hash_value); transparent_crc(g_6, "g_6", print_hash_value); transparent_crc(g_7, "g_7", print_hash_value); transparent_crc(g_8, "g_8", print_hash_value); transparent_crc(g_9, "g_9", print_hash_value); for (i = 0; i < 2; i++) { for (j = 0; j < 1; j++) { for (k = 0; k < 5; k++) { transparent_crc(g_10[i][j][k], "g_10[i][j][k]", print_hash_value); if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k); } } } transparent_crc(g_11, "g_11", print_hash_value); transparent_crc(g_13, "g_13", print_hash_value); platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value); return 0; } /************************ statistics ************************* XXX max struct depth: 0 breakdown: depth: 0, occurrence: 11 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: 1 breakdown: depth: 1, occurrence: 3 XXX total number of pointers: 3 XXX times a variable address is taken: 3 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: 563 XXX number of pointers point to pointers: 0 XXX number of pointers point to scalars: 3 XXX number of pointers point to structs: 0 XXX percent of pointers has null in alias set: 0 XXX average alias set size: 1 XXX times a non-volatile is read: 1 XXX times a non-volatile is write: 1 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: 73 XXX percentage of non-volatile access: 100 XXX forward jumps: 0 XXX backward jumps: 0 XXX stmts: 2 XXX max block depth: 0 breakdown: depth: 0, occurrence: 2 XXX percentage a fresh-made variable is used: 7.64 XXX percentage an existing variable is used: 92.4 ********************* end of statistics **********************/