[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [csmith-dev] 0-width named bitfield

On 16/08/11 19:07, Pascal Cuoq wrote:

a workaround in the meantime is to modify the _CSMITH_BITFIELD macro in
runtime/random_inc.h so that it never returns 0 when applied to an
argument different from 0. Something like (VERY little tested):

Thanks for the patch. It does seem to work. Either that or having --no-bitfields.



Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog