This is the mail archive of the
mailing list for the GCC project.
Re: RFC: Generated structure layout tests for gcc.dg/compat/struct-layout-1 (take 2)
On Thu, Jul 22, 2004 at 04:00:40PM +0200, Michael Matz wrote:
> > On Wed, Jul 21, 2004 at 05:35:28PM +0100, Paul Brook wrote:
> > > Is the size going to continue exploding as we add new things? Last week the
> > > patch was 120K, this week it's 3800k...
> > Last week I have only included a sample testcase with 100 structures and the
> > generator, this time it included 145 testcases with 15k structures in total.
> > > I agree that a compat testsuite is a Good Thing(tm), I'm just a little
> > > concerned that it makes gcc.dg 45% larger.
> > Is the problem space? gcc/testsuite is 68MB, so 4MB is not that much.
> Could we perhaps generate them on the fly, instead of checking in files
> which anyway are generated? Then we even can have multiple "profiles" of
The generator uses pseudo-random generator, which I'm afraid will give
different results between different hosts.
That is bad, because then developers working on some bug would need to
mail each other the tests from their host in order to work on the same
When the generated tests are included, it is unambiguous to talk about
particular test file and test number.
> testing, e.g. a short-running one for general testing, and under some
> configure switch an extended version.
This is already done in the patch/tarball I have posted a few minutes ago.
Is that sufficient for you?