Csmith - C compiler stress test

Emil Madsen sovende at gmail.com
Wed Apr 13 09:24:24 PDT 2011


On 13 April 2011 17:27, David Nadlinger <see at klickverbot.at> wrote:

> On 4/13/11 5:16 PM, Trass3r wrote:
>
>> I think I also came across such a tool but I'm not sure if it was this
>> one.
>> Since it uses a grammar (subset) to generate the programs it should be
>> perfectly possible to adapt it for D.
>> Though it "is mainly intended to find bugs in the parts of a compiler
>> that perform transformations on an intermediate representation".
>>
>
> From what I recall from a quick look at the Csmith sources and Xuejun
> Yang's talk at the LLVM developer meeting, Csmith is tailored rather
> specifically to C, and isn't based on a grammar representation that could be
> easily swapped out…
>
> David
>

*Can Csmith be altered to emit programs in a language other than C or C++?* Not
easily.
http://embed.cs.utah.edu/csmith/using.html

-- 
// Yours sincerely
// Emil 'Skeen' Madsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110413/b70f0dd8/attachment.html>


More information about the Digitalmars-d mailing list