Csmith - C compiler stress test

Iain Buclaw ibuclaw at ubuntu.com
Wed Apr 13 12:57:34 PDT 2011


== Quote from Walter Bright (newshound2 at digitalmars.com)'s article
> 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?

As coincidences goes, I was considering about writing a fuzz testing tool for D
just the other day (whilst in the middle of brooding over several bugs found in
GDC that were not covered in the D2 testsuite).

Will bookmark this for later I think. ;)


More information about the Digitalmars-d mailing list