Csmith - C compiler stress test

Walter Bright newshound2 at digitalmars.com
Wed Apr 13 11:45:17 PDT 2011


On 4/13/2011 7:13 AM, Robert Clipsham wrote:
> I've just come across Csmith:
>
> http://embed.cs.utah.edu/csmith/
>
> The tool randomly generates valid C99 code to stress test C compilers and has
> found 350+ bugs in GCC/LLVM alone over the past couple of years. It might be
> interesting to run dmc through this, and maybe adapt the tool to generate D test
> cases?
>

I talked to one of the others, he didn't think it would be that hard to adapt it 
to D, but we'd have to do it ourselves.

I think this could be fairly valuable for D compilers.

Anyone looking for a project?



More information about the Digitalmars-d mailing list