This is the mail archive of the gcc-patches@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: [tree-ssa] Add -fdump-tree-optimized [patch]


Op do 26-09-2002, om 02:59 schreef Diego Novillo:
> Contributed by Steven Bosscher.  It dumps the function after all
> the optimization passes have been applied.
> 
> Steven, I slightly modified the patch to work inside
> optimize_function_tree instead of c-decl.c

I had it there at first, too, but I didn't want to make tree-optimize
depend on c-tree.h because tree-optimize is supposed to be language
independent.

Maybe we should rename print_c_tree() to print_[sg]imple_tree() when
Jason's new IL goes in, and move all the print_c_tree() stuff out of
c-tree.h, to a new header or to tree-dump.h. The C front end doesn't
dump C trees, and the new IL is not a C AST anymore.

Greetz
Steven



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