Re: Variant code generation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sankar chebolu <chnabsankar@xxxxxxxxx> writes:

> Does GCC has any command line switches which generate variant code?
> To be more precise, Does GCC has some switches which, if applied to certain input program, it is not necessary that they will generate exactly the same code everytime. 

GCC is generally intended to be deterministic, in the sense that if you
run it twice with the same input and the same options, you should get
precisely the same result.

There are a few exceptions: there are a few places where GCC uses random
numbers.  For those places you can use the -frandom-seed option where
deterministic output is important.  See the description of that option
for the cases where random numbers are used.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux