[csmith-dev] Alignment of struct members cause target dependent checksum

Derek M Jones derek at knosof.co.uk
Wed Jun 5 12:35:42 MDT 2013


John,

> Actually I'm not sure this is true.  Can you justify this claim, Arthur?
>   My read of 6.2.6.1.7 in C99 and C11 is that it's unspecified.

Only if accessed using an unsigned char.

Otherwise footnote 95 bites you.

-- 
Derek M. Jones                  tel: +44 (0) 1252 520 667
Knowledge Software Ltd          blog:shape-of-code.coding-guidelines.com
Software analysis               http://www.knosof.co.uk



More information about the csmith-dev mailing list