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]

Phase ordering in compiler


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.


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