This is the mail archive of the gcc@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]

Re: Some basic/beginner questions


On Tue, Jun 28, 2005 at 04:11:24PM +0200, nico wrote:

> I want to get a dump of the whole data structure of my sourcecode  
> after (all) target independent optimization.
> 
Dump flags and switches are dynamically enabled by the pass
manager.  Take a look at tree-optimize.c:init_tree_optimization_passes

Dumps are controlled by TODO_dump_func.  See tree-optimize.c:execute_todo
to follow what happens when the flag is enabled.  The global
variables dump_file and dump_flag tell the passes whether dumps
are enabled.  If you browse a few passes, you'll see that they
all predicate dump actions with 'if (dump_file ...)'.


Diego.


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