dwarf-synthesis/testsuite/csmith/clang_O1/31.c

117 lines
4.3 KiB
C

/*
* This is a RANDOMLY GENERATED PROGRAM.
*
* Generator: csmith 2.3.0
* Git version: 30dccd7
* Options: (none)
* Seed: 6936721822126019795
*/
#include "csmith.h"
static long __undefined;
/* --- Struct/Union Declarations --- */
/* --- GLOBAL VARIABLES --- */
static int32_t g_2[9][10][2] = {{{0L,8L},{0xFDF99FF6L,0xFD8F2714L},{8L,0L},{(-7L),0L},{8L,0xFD8F2714L},{0xFDF99FF6L,8L},{0L,0x619A80BFL},{0L,0xCE028F4EL},{0xFDF99FF6L,0xFDF99FF6L},{0xCE028F4EL,0L}},{{0x619A80BFL,0L},{8L,0xFDF99FF6L},{0xFD8F2714L,8L},{0L,(-7L)},{0L,8L},{0xFD8F2714L,0xFDF99FF6L},{8L,0L},{0x619A80BFL,0L},{0xCE028F4EL,0xFDF99FF6L},{0xFDF99FF6L,0xCE028F4EL}},{{0L,0x619A80BFL},{0L,8L},{0xFDF99FF6L,0xFD8F2714L},{(-7L),0xCE028F4EL},{(-3L),0xCE028F4EL},{(-7L),0L},{0xA11015AAL,(-7L)},{(-2L),2L},{0xCE028F4EL,0x933BD3E0L},{0xA11015AAL,0xA11015AAL}},{{0x933BD3E0L,0xCE028F4EL},{2L,(-2L)},{(-7L),0xA11015AAL},{0L,(-7L)},{0xCE028F4EL,(-3L)},{0xCE028F4EL,(-7L)},{0L,0xA11015AAL},{(-7L),(-2L)},{2L,0xCE028F4EL},{0x933BD3E0L,0xA11015AAL}},{{0xA11015AAL,0x933BD3E0L},{0xCE028F4EL,2L},{(-2L),(-7L)},{0xA11015AAL,0L},{(-7L),0xCE028F4EL},{(-3L),0xCE028F4EL},{(-7L),0L},{0xA11015AAL,(-7L)},{(-2L),2L},{0xCE028F4EL,0x933BD3E0L}},{{0xA11015AAL,0xA11015AAL},{0x933BD3E0L,0xCE028F4EL},{2L,(-2L)},{(-7L),0xA11015AAL},{0L,(-7L)},{0xCE028F4EL,(-3L)},{0xCE028F4EL,(-7L)},{0L,0xA11015AAL},{(-7L),(-2L)},{2L,0xCE028F4EL}},{{0x933BD3E0L,0xA11015AAL},{0xA11015AAL,0x933BD3E0L},{0xCE028F4EL,2L},{(-2L),(-7L)},{0xA11015AAL,0L},{(-7L),0xCE028F4EL},{(-3L),0xCE028F4EL},{(-7L),0L},{0xA11015AAL,(-7L)},{(-2L),2L}},{{0xCE028F4EL,0x933BD3E0L},{0xA11015AAL,0xA11015AAL},{0x933BD3E0L,0xCE028F4EL},{2L,(-2L)},{(-7L),0xA11015AAL},{0L,(-7L)},{0xCE028F4EL,(-3L)},{0xCE028F4EL,(-7L)},{0L,0xA11015AAL},{(-7L),(-2L)}},{{2L,0xCE028F4EL},{0x933BD3E0L,0xA11015AAL},{0xA11015AAL,0x933BD3E0L},{0xCE028F4EL,2L},{(-2L),(-7L)},{0xA11015AAL,0L},{(-7L),0xCE028F4EL},{(-3L),0xCE028F4EL},{(-7L),0L},{0xA11015AAL,(-7L)}}};
/* --- FORWARD DECLARATIONS --- */
uint64_t func_1(void);
/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/*
* reads : g_2
* writes: g_2
*/
uint64_t func_1(void)
{ /* block id: 0 */
for (g_2[2][5][0] = 0; (g_2[2][5][0] != 0); ++g_2[2][5][0])
{ /* block id: 3 */
int32_t l_5 = 0x6E8597A0L;
return l_5;
}
return g_2[2][5][0];
}
/* ---------------------------------------- */
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 < 9; i++)
{
for (j = 0; j < 10; j++)
{
for (k = 0; k < 2; k++)
{
transparent_crc(g_2[i][j][k], "g_2[i][j][k]", 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;
}
/************************ statistics *************************
XXX max struct depth: 0
breakdown:
depth: 0, occurrence: 1
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: 2
depth: 2, occurrence: 1
XXX total number of pointers: 0
XXX times a non-volatile is read: 3
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: 0
XXX percentage of non-volatile access: 100
XXX forward jumps: 0
XXX backward jumps: 0
XXX stmts: 3
XXX max block depth: 1
breakdown:
depth: 0, occurrence: 2
depth: 1, occurrence: 1
XXX percentage a fresh-made variable is used: 50
XXX percentage an existing variable is used: 50
********************* end of statistics **********************/