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


On Wed, Jun 25, 2003 at 06:05:05PM +0100, Richard Sandiford wrote:
> How about having a hook that gets run before and after each
> main optimisation pass?  Something like:
> 
>     void (*before_pass) (enum dump_file_index);
>     void (*after_pass) (enum dump_file_index);

The thing that makes me nervous here is that it's perfect
for the target to do completely arbitrary things anywhere.
Which can make it difficult to understand what any one 
port is doing in any pass.

I'd like Jeff Law to weigh in on this, as he has expressed
opinions in the past...



r~


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