[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [csmith-dev] math64 and longlong
Hi John,
Thanks for following up. Here is an example command line:
csmith --no-math64 --no-longlong --no-argc --seed 2318479578 -o test3.c
I'm running csmith 2.0.0 on Mac OS X 10.6.6, built with gcc version 4.2.1 (Apple Inc. build 5664)
Best regards,
Lee
On May 4, 2011, at 12:19 PM, John Regehr wrote:
> Hi Lee,
>
> I can't reproduce the behavior you're seeing, can you provide a full command line including random seed?
>
> If it is the stuff in safe_math.h that you are seeing -- as opposed to code actually generated by Csmith -- then you can suppress it by defining the NO_LONGLONG CPP symbol.
>
> John
>
>
>
> On 05/04/2011 09:29 AM, Lee Taylor wrote:
>> Hello,
>>
>> I'm investigating the use of csmith for testing an embedded compiler that doesn't have any 64 bit support, but I'm running into a little trouble.
>>
>> I've tried adding the "--no-math64" and "--no-longlong" options when running csmith, but the generated output still seems to make heavy use of the int64_t and uint64_t types. Is there some other option that I also need to enable?
>>
>> Thanks in advance for your help.
>>
>> Best regards,
>> Lee
>>