public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Variant code generation
       [not found] <1297727993.9081.ezmlm@gcc.gnu.org>
@ 2011-02-16  7:07 ` sankar chebolu
  2011-02-16  8:53   ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: sankar chebolu @ 2011-02-16  7:07 UTC (permalink / raw)
  To: gcc-help

Hi all,
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. 
Regards,
Sankar





 
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Variant code generation
  2011-02-16  7:07 ` Variant code generation sankar chebolu
@ 2011-02-16  8:53   ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2011-02-16  8:53 UTC (permalink / raw)
  To: sankar chebolu; +Cc: gcc-help

sankar chebolu <chnabsankar@yahoo.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-16  7:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1297727993.9081.ezmlm@gcc.gnu.org>
2011-02-16  7:07 ` Variant code generation sankar chebolu
2011-02-16  8:53   ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).