------- Comment #5 from jakub at gcc dot gnu dot org 2009-04-29 14:59 ------- Yeah, and that's because otherwise reproduceability would be a nightmare. We even use the same pseudo-random generator on all hosts to have as few differences as possible. It is certainly possibility to add a -sSEED option (and -s meaning generate_srandom call seeing with time_t or something), but it isn't something that should be run by default.
If you have sufficient CPU cycles, you can obviously in your testing bump -n from 3000 to 1000000 or something and use -s, after making sure you make a copy of the generated files whenever you notice some failure to be able to reproduce it. Generally, a single line like in struct-layout-1_test.h on which the test failed should be enough to reproduce it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39952