On Tue, Oct 27, 2009 at 4:48 PM, Basile STARYNKEVITCH <bas...@starynkevitch.net> wrote: > Richard Guenther wrote: >> >> The fix is not to add a hook to replace the pass manager but instead >> to make the GCC pass manager more flexible itself. > > I leave that task to my ICI friends (in CC). They have already an > implementation, and I believe they probably did propose some patches, or are > working on it. > > However, it is not a small patch. > > Also, I still believe that a hook for tha pass manager may make sense to > those brave souls wanting to experiment new pass managers in plugins, etc. > Having a hook for that is a way to encourage such crazy experimentations.
The point is that compilation is not driven by the pass manager but by a bunch of twisted code througout the compiler. Better fix that first before adding more twists. Richard.