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.
Regards.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***