Hi,
This a crash report for creduce (commit 14d0ab0)
--
Kees
#include "csmith.h"
union U0
{
uint16_t f0;
uint64_t f1;
};
union U1
{
int f0;
int64_t f1;
};
g_13 = 1,
g_62,
g_79 = -1L,
g_81 = -1L,
g_87 = 377147984,
g_88 = 3293243866;
int16_t g_67[][1][1] = {
1, 1003, 15941, 49095
};
uint32_t g_72[] = {
944637328, 4294967294, 944637328, 4294967294, 944637328, 4294967294,
944637328, 4294967294
};
g_86[] =
{
0, 1, -1L, -1L, 1, 0, 1, -1L, -1L, 1}
;
g_89 = 3794498909;
uint8_t g_128;
union U0 g_153[][1][1] = {
24646, 21578, 1, 22638
}
;
g_188;
uint64_t g_216[][1] = {
14387655509552053403, 14387655509552053403, 6075442380772624909,
5176760672001801674, 4720558632827717028, 5176760672001801674,
6075442380772624909, 14387655509552053403, 14387655509552053403,
6075442380772624909
};
uint64_t g_324[] = {
10756704352373044893
};
g_372 = -1L;
union U0 g_378;
uint32_t g_407 = 4294967289;
g_417 = -1L;
g_419 = -1L;
int64_t g_447[][3][8] = {
17080227719638491676, 3568262979624129293, 10034866124463814053,
13784592651826204610, 17157684596376977712, 13310096530797259844,
13310096530797259844, 17157684596376977712, 17080227719638491676,
3568262979624129293, 10034866124463814053, 13784592651826204610,
17157684596376977712, 13310096530797259844, 13310096530797259844,
17157684596376977712, 17080227719638491676, 3568262979624129293,
10034866124463814053, 13784592651826204610, 17157684596376977712,
13310096530797259844, 13310096530797259844, 17157684596376977712,
17080227719638491676, 3568262979624129293, 10034866124463814053,
13784592651826204610, 17157684596376977712, 13310096530797259844,
13310096530797259844, 17157684596376977712, 17080227719638491676,
3568262979624129293, 10034866124463814053, 13784592651826204610,
17157684596376977712, 13310096530797259844, 13310096530797259844,
17157684596376977712, 17080227719638491676, 3568262979624129293,
10034866124463814053, 13784592651826204610, 17157684596376977712,
13310096530797259844, 13310096530797259844, 17157684596376977712,
17080227719638491676, 3568262979624129293, 10034866124463814053,
13784592651826204610, 17157684596376977712, 13310096530797259844,
13310096530797259844, 17157684596376977712, 17080227719638491676,
3568262979624129293, 10034866124463814053, 13784592651826204610,
17157684596376977712, 13310096530797259844, 13310096530797259844,
17157684596376977712, 17080227719638491676, 3568262979624129293,
10034866124463814053, 13784592651826204610, 17157684596376977712,
13310096530797259844, 13310096530797259844, 17157684596376977712,
17080227719638491676, 3568262979624129293, 10034866124463814053,
13784592651826204610, 17157684596376977712, 13310096530797259844,
13310096530797259844, 17157684596376977712, 17080227719638491676,
3568262979624129293, 10034866124463814053, 13784592651826204610,
17157684596376977712, 13310096530797259844, 13310096530797259844,
17157684596376977712, 17080227719638491676, 3568262979624129293,
10034866124463814053, 13784592651826204610, 17157684596376977712,
13310096530797259844, 13310096530797259844, 17157684596376977712,
17080227719638491676, 3568262979624129293, 10034866124463814053,
13784592651826204610, 17157684596376977712, 13310096530797259844,
13310096530797259844, 17157684596376977712, 17080227719638491676,
3568262979624129293, 10034866124463814053, 0, 17157684596376977712,
13310096530797259844, 13310096530797259844, 17157684596376977712,
17080227719638491676, 3568262979624129293, 10034866124463814053,
13784592651826204610, 17157684596376977712, 13310096530797259844,
13310096530797259844, 17157684596376977712, 17080227719638491676,
3568262979624129293, 10034866124463814053, 13784592651826204610,
17157684596376977712, 13310096530797259844, 13310096530797259844,
17157684596376977712, 17080227719638491676, 3568262979624129293,
10034866124463814053, 13784592651826204610, 17157684596376977712,
13310096530797259844, 13310096530797259844, 17157684596376977712,
17080227719638491676, 3568262979624129293, 10034866124463814053,
13784592651826204610, 17157684596376977712, 13310096530797259844,
13310096530797259844, 17157684596376977712
};
union U0 g_710 = {
7075
};
static union U1 g_743;
union U0 g_899 = {
45143
};
uint32_t g_932 = 2330663246;
union U0 g_980 = {
56672
};
uint32_t func_29 ( );
int8_t *func_31 ( int8_t *, uint32_t, int32_t );
func_1 ( )
{
int64_t *l_983 = &g_447[4][1][3];
func_2 ( *l_983 = func_29 ( func_31 ( 0, 0, 0 ) ) >= 0 );
}
func_2 ( union U1 p_4, int32_t p_5, uint32_t p_6 )
{
for ( ; g_378.f1 != 28; g_378.f1++ ) ;
}
uint32_t
func_29 ( int8_t * p_30 )
{
int32_t l_789[][1][1] = {
1
}
;
int32_t *l_845[1];
const **l_844 = &l_845[0];
const ***l_843 = &l_844;
int i;
for ( ; i < 1; i++ )
l_845[i] = &l_789[0][0][0];
for ( ; g_743.f1 <= 8; g_743.f1++ )
for ( ; g_188 <= 8; g_188++ ) ;
int32_t *l_824 = &g_79;
*l_824 = l_789[0][0][0] = *p_30 || g_87;
if ( ***l_843 ) ;
else
*p_30 = 0;
}
int8_t *
func_31 ( int8_t * p_32, uint32_t p_33, int32_t p_34 )
{
int8_t *l_780 = &g_13;
uint64_t *l_777 = &g_62;
*l_777 = ( g_128 = g_79, g_87 );
return l_780;
}
main ( )
{
int i, j, k;
crc32_gentab ( );
func_1 ( );
transparent_crc ( g_13, "g_13", 0 );
transparent_crc ( 0, "g_14.f0", 0 );
transparent_crc ( 0, "g_14.f1", 0 );
for ( ; i < 7; i++ )
transparent_crc ( 0, "g_43[]", 0 );
transparent_crc ( g_62, "g_62", 0 );
for ( i = 0; i < 6; i++ )
for ( j = 0; j < 9; j++ )
for ( k = 0; k < 4; k++ )
transparent_crc ( g_67[0][0][k], "g_67[][][]", 0 );
for ( i = 0; i < 8; i++ )
transparent_crc ( g_72[i], "g_72[]", 0 );
transparent_crc ( 0, "g_79", 0 );
i = 0;
for ( i; i < 2; i++ )
transparent_crc ( 5, "g_80[]", 0 );
transparent_crc ( g_81, "g_81", 0 );
i = 0;
for ( i; i < 1; i++ )
j = 0;
for ( j; j < 10; j++ )
transparent_crc ( g_86[0 * 0 + j], "g_86[][]", 0 );
transparent_crc ( 377147984, "g_87", 0 );
transparent_crc ( g_88, "g_88", 0 );
transparent_crc ( g_89, "g_89", 0 );
transparent_crc ( 1, "g_90", 0 );
transparent_crc ( 2, "g_93", 0 );
transparent_crc ( 0, "g_103", 0 );
transparent_crc ( g_128, "g_128", 0 );
for ( i = 0; i < 7; i++ )
for ( j = 0; j < 8; j++ )
for ( k = 0; k < 4; k++ )
transparent_crc ( g_153[0][0][k].f0, "g_153[][][].f0", 0 );
transparent_crc ( g_188, "g_188", 0 );
for ( i = 0; i < 4; i++ )
for ( j = 0; j < 10; j++ )
transparent_crc ( g_216[0][j], "g_216[][]", 0 );
for ( i = 0; i < 10; i++ )
transparent_crc ( g_324[0], "g_324[]", 0 );
transparent_crc ( g_372, "g_372", 0 );
transparent_crc ( g_378.f0, "g_378.f0", 0 );
transparent_crc ( g_378.f1, "g_378.f1", 0 );
transparent_crc ( 0, "g_387.f0", 0 );
transparent_crc ( 65531, "g_389", 0 );
transparent_crc ( 5, "g_404", 0 );
transparent_crc ( g_407, "g_407", 0 );
transparent_crc ( g_417, "g_417", 0 );
transparent_crc ( g_419, "g_419", 0 );
transparent_crc ( 40011, "g_420", 0 );
transparent_crc ( 0, "g_433", 0 );
for ( i = 0; i < 6; i++ )
for ( j = 0; j < 3; j++ )
for ( k = 0; k < 8; k++ )
transparent_crc ( g_447[i][j][k], "g_447[][][]", 0 );
transparent_crc ( 1, "g_461.f0", 0 );
transparent_crc ( 0, "g_516", 0 );
transparent_crc ( g_710.f0, "g_710.f0", 0 );
transparent_crc ( 1, "g_726", 0 );
transparent_crc ( g_743.f0, "g_743.f0", 0 );
transparent_crc ( g_743.f1, "g_743.f1", 0 );
transparent_crc ( g_899.f0, "g_899.f0", 0 );
transparent_crc ( g_932, "g_932", 0 );
transparent_crc ( g_980.f0, "g_980.f0", 0 );
transparent_crc ( 1, "g_1036", 0 );
platform_main_end ( crc32_context ^ 4294967295, 0 );
}
// this should reproduce the crash:
// /loc/kees/creduce/creduce/../clang_delta/clang_delta --transformation=combine-global-var --counter=4 /usr/src/tricore/usr/kees/reduce/csmith-3014000686/clang_delta_crash_tmp_file20S21G.c