If I generate a program with --float using cmith 2.4.0, and then compile with gcc 14.1.1, I see that we are passing float * to transparent_crc_bytes as first argumnet which should have type char *. GCC definitely does not like that.
Attaching csmith generated file.
test1.c.gz
test1.c:1617:28: error: passing argument 1 of ‘transparent_crc_bytes’ from incompatible pointer type [-Wincompatible-pointer-types]
1617 | transparent_crc_bytes (&g_2320, sizeof(g_2320), "g_2320", print_hash_value);
| ^~~~~~~
| |
| const float *
If I generate a program with
--floatusing cmith 2.4.0, and then compile with gcc 14.1.1, I see that we are passingfloat *totransparent_crc_bytesas first argumnet which should have typechar *. GCC definitely does not like that.Attaching csmith generated file.
test1.c.gz