-frandom-seed

Michael Morrell morrell@alumni.ucsd.edu
Tue Mar 10 20:18:00 GMT 2009


I want g++ to produce an identical binary when given the same source.  If I don't use __DATE__ or __TIME__, I believe this will happen with one exception.  Certain symbols get a randomly created component in their names which I can eliminate using an option like -frandom-seed=0.

However, the man page wasn't clear as to why this option was needed and made
me a little nervous anout using it.  Can someone give me a test case where
using -frandom-seed will break things?

Thanks,

  Michael


      



More information about the Gcc-help mailing list