This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/39952] Inadequate gcc.dg/compat/struct-layout-1_generate.c



------- Comment #6 from hjl dot tools at gmail dot com  2009-04-29 15:48 -------
So the issues are

1. We want to test as many different combination as possible at random.
2. We want each test reproducible.

Can we generate tests at random in such a way that they are reproducible?
Can we do

1. Put the random seed in generated file.
2. Change struct-layout-1_generate.c to take a random seed.

so that if there is a failure, we can run struct-layout-1_generate.c
with the known random seed on the same platform?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39952


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]