public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Phase ordering in compiler
@ 2012-10-22  9:51 vikram1729
  2012-10-22 18:14 ` Ian Lance Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: vikram1729 @ 2012-10-22  9:51 UTC (permalink / raw)
  To: gcc-help

Dear Sir,
	I want to understand the phase-ordering problem in compilers. My basic
doubt is what is the  difference between the pass and phase in compilers? As
for as I know, Pass something that scans to through the input code snippet
and does some transformation to it and whereas phases in the classicle
compiler are main components/modules which are Lexical Analysis, Parsing,
semantic analysis, IL code Generation, Code Optimization and code
Generation. 

When it comes to phase-ordering in compilers is it actually pass ordering or
phase-ordering? 
How the user can handle/alter phase-ordering in GCC? 
Is it only through changing the order of the optimization options fed to the
compiler or 
by tweaking the pass_manager? 
Will there be any impact of repeating optimization options or reordering the
optimization options in GCC?
Thanks in Advance,

VSP



--
View this message in context: http://gcc.1065356.n5.nabble.com/Phase-ordering-in-compiler-tp880744.html
Sent from the gcc - Help mailing list archive at Nabble.com.

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

end of thread, other threads:[~2012-10-23  8:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-22  9:51 Phase ordering in compiler vikram1729
2012-10-22 18:14 ` Ian Lance Taylor
2012-10-25 11:50   ` SANKAR
2012-10-25 21:51     ` Andrew Haley

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).