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: 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



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