Random Program Generators

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Tue Feb 15 11:58:00 GMT 2000


> One of the useful tools for studying compiler execution times is a
> random program generator - you can use it to generate programs with
> lots of header but only small source files, etc.  A cursory search
> of the web reveals only the little generator in utils/spu that I
> wrote years ago for Cygnus, but surely there must be something else.
> Does anybody know of anything that they would recommend?

I have a 'random SDL and ASN.1' generator, if that helps :-)

My experience is that those are always specific for a test
purpose. Once the compiler supports all output of the generator
sufficiently, you'll have to improve the generator to make the
compiler break again.

Martin


More information about the Gcc mailing list