[csmith-bugs] --no-int8 does not work perfectly

Tuyen Hoang tuyenqh at yahoo.com
Mon Jul 1 06:43:36 MDT 2013


Csmith (lattest development version as of today) still manages to generate code that use int8 with following command


csmith --max-funcs 1 --no-checksum --no-safe-math --max-block-depth 2 --no-int8 --no-uint8 --no-longlong --no-math64


union U2 {
   volatile int8_t * const  volatile  f0;
   int32_t  f1;
   uint32_t  f2;
};

/* --- GLOBAL VARIABLES --- */
static int8_t * volatile g_2 = (void*)0;/* VOLATILE GLOBAL g_2 */
static int8_t g_4 = (-8L);

Regards,
Tuyen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </listarchives/csmith-bugs/attachments/20130701/292a8b02/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test1.zip
Type: application/octet-stream
Size: 2066 bytes
Desc: not available
URL: </listarchives/csmith-bugs/attachments/20130701/292a8b02/attachment.obj>


More information about the csmith-bugs mailing list