This is the mail archive of the gcc-help@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]

Re: Testing and Verifying GCC Compiler Reproducibility


"Michael Gould" <mgould@sourcescientific.com> writes:

> I'm working on a project that uses the GCC compiler. I'm required
> by the FDA to produce documentation to show that the GCC compiler
> always gives the same results for a given set of code. I'm
> concerned about testing the reproducibility of compiled code. How
> do I go about testing and verifying that the compiler always
> reproduces the exact same compiled code for a given program?

The normal gcc build process is to build gcc three times, and compare
the files generate during the second and third build to verify that
they are identical.  That's about as good as you can get on this
point.

Ian


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