Some basic/beginner questions
Diego Novillo
dnovillo@redhat.com
Tue Jun 28 14:23:00 GMT 2005
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.
More information about the Gcc
mailing list