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

135 lines
4.9 KiB
C

/*
* This is a RANDOMLY GENERATED PROGRAM.
*
* Generator: csmith 2.3.0
* Git version: 30dccd7
* Options: (none)
* Seed: 10894226408801100456
*/
#include "csmith.h"
static long __undefined;
/* --- Struct/Union Declarations --- */
/* --- GLOBAL VARIABLES --- */
static uint32_t g_5[9] = {18446744073709551612UL,2UL,18446744073709551612UL,18446744073709551612UL,2UL,18446744073709551612UL,18446744073709551612UL,2UL,18446744073709551612UL};
static int32_t ** volatile g_11 = (void*)0;/* VOLATILE GLOBAL g_11 */
/* --- FORWARD DECLARATIONS --- */
uint32_t func_1(void);
/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/*
* reads : g_5
* writes: g_5
*/
uint32_t func_1(void)
{ /* block id: 0 */
int32_t *l_2 = (void*)0;
int32_t l_3 = 3L;
int32_t *l_4[6][7][6] = {{{&l_3,&l_3,&l_3,(void*)0,&l_3,&l_3},{&l_3,&l_3,&l_3,&l_3,&l_3,&l_3},{&l_3,&l_3,&l_3,&l_3,(void*)0,&l_3},{&l_3,&l_3,&l_3,&l_3,&l_3,&l_3},{&l_3,&l_3,&l_3,&l_3,&l_3,&l_3},{&l_3,&l_3,&l_3,&l_3,&l_3,(void*)0},{&l_3,&l_3,&l_3,&l_3,&l_3,&l_3}},{{&l_3,(void*)0,(void*)0,&l_3,&l_3,&l_3},{(void*)0,&l_3,&l_3,&l_3,&l_3,&l_3},{(void*)0,&l_3,&l_3,&l_3,(void*)0,&l_3},{&l_3,&l_3,&l_3,(void*)0,&l_3,(void*)0},{&l_3,&l_3,(void*)0,&l_3,&l_3,&l_3},{&l_3,&l_3,&l_3,&l_3,&l_3,(void*)0},{(void*)0,(void*)0,&l_3,&l_3,&l_3,&l_3}},{{&l_3,&l_3,&l_3,&l_3,&l_3,&l_3},{&l_3,(void*)0,&l_3,&l_3,(void*)0,(void*)0},{&l_3,&l_3,&l_3,&l_3,&l_3,&l_3},{&l_3,&l_3,(void*)0,&l_3,(void*)0,&l_3},{&l_3,&l_3,&l_3,&l_3,&l_3,&l_3},{(void*)0,&l_3,(void*)0,&l_3,&l_3,&l_3},{&l_3,(void*)0,(void*)0,&l_3,&l_3,&l_3}},{{&l_3,&l_3,&l_3,(void*)0,(void*)0,&l_3},{&l_3,&l_3,&l_3,&l_3,&l_3,&l_3},{(void*)0,&l_3,&l_3,&l_3,&l_3,&l_3},{(void*)0,(void*)0,&l_3,&l_3,&l_3,&l_3},{&l_3,&l_3,&l_3,&l_3,&l_3,&l_3},{&l_3,&l_3,&l_3,(void*)0,&l_3,(void*)0},{(void*)0,&l_3,&l_3,&l_3,(void*)0,&l_3}},{{&l_3,&l_3,&l_3,&l_3,&l_3,(void*)0},{&l_3,&l_3,&l_3,&l_3,&l_3,&l_3},{&l_3,&l_3,&l_3,&l_3,&l_3,&l_3},{(void*)0,(void*)0,&l_3,&l_3,&l_3,&l_3},{(void*)0,&l_3,&l_3,&l_3,&l_3,&l_3},{&l_3,(void*)0,&l_3,&l_3,(void*)0,&l_3},{&l_3,&l_3,&l_3,&l_3,&l_3,&l_3}},{{&l_3,&l_3,&l_3,&l_3,(void*)0,&l_3},{&l_3,&l_3,&l_3,&l_3,&l_3,(void*)0},{&l_3,&l_3,&l_3,&l_3,&l_3,&l_3},{&l_3,&l_3,&l_3,(void*)0,&l_3,(void*)0},{&l_3,&l_3,&l_3,&l_3,&l_3,&l_3},{&l_3,&l_3,(void*)0,&l_3,&l_3,&l_3},{&l_3,&l_3,&l_3,&l_3,&l_3,&l_3}}};
uint32_t l_8 = 0xFFD81438L;
int32_t **l_12 = &l_2;
int i, j, k;
--g_5[7];
++l_8;
(*l_12) = &l_3;
return g_5[7];
}
/* ---------------------------------------- */
int main (int argc, char* argv[])
{
int i;
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 < 9; i++)
{
transparent_crc(g_5[i], "g_5[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: 3
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: 7
XXX total number of pointers: 4
XXX times a variable address is taken: 85
XXX times a pointer is dereferenced on RHS: 0
breakdown:
XXX times a pointer is dereferenced on LHS: 1
breakdown:
depth: 1, occurrence: 1
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: 0
XXX max dereference level: 1
breakdown:
level: 0, occurrence: 0
level: 1, occurrence: 1
XXX number of pointers point to pointers: 2
XXX number of pointers point to scalars: 2
XXX number of pointers point to structs: 0
XXX percent of pointers has null in alias set: 75
XXX average alias set size: 1.5
XXX times a non-volatile is read: 1
XXX times a non-volatile is write: 4
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: 0
XXX percentage of non-volatile access: 100
XXX forward jumps: 0
XXX backward jumps: 0
XXX stmts: 4
XXX max block depth: 0
breakdown:
depth: 0, occurrence: 4
XXX percentage a fresh-made variable is used: 50
XXX percentage an existing variable is used: 50
********************* end of statistics **********************/