This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Converting RTL passes to the tree-pass.h structure
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Nathanael Nerode <neroden at fastmail dot fm>, Diego Novillo <dnovillo at redhat dot com>, gcc at gcc dot gnu dot org
- Date: Sat, 14 Aug 2004 11:57:44 +0200
- Subject: Re: Converting RTL passes to the tree-pass.h structure
Yes, a good idea :-) and I've already done and committed some work
towards it (calling rest_of_compilation via the pass manager, and
simplifying the code in rest_of_compilation so that passes are better
separated). See also the last prerequisite patch at
http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00853.html
Quoting that message, "From now on, conversion of RTL passes to the pass
manager can be done incrementally starting from the earliest passes. It
consists of moving code out of rest_of_compilation into a new struct
tree_opt_pass; if present, remove the open_dump_file and close_dump_file
calls from rest_of_handle_*: contextually you'll remove the DFI_*
definition and the initializer for the dump files, respectively in
tree.h and tree-dump.c."
Do you have a pre-patch? Is it ok to send it (either privately or as a
RFC to the list)?
Paolo