This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Phase ordering in compiler
- From: vikram1729 <vsp1729 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 21 Oct 2012 23:47:52 -0700 (PDT)
- Subject: 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.