This is the mail archive of the
mailing list for the GCC project.
Re: [janitor] toplev.c cleanups
> > I took a stab at toplev.c, and realized this is a *lot* of work; and I
> > only took a look at one function (rest_of_compilation).
> Hadn't Zdenek reworked the overall overall structure of toplev.c in a
> patch some months ago? IIRC he introduced something like passes.def. But
> the process got stuck somewhere. Zack, Zdenek?
there were actually two patches of mine in this direction. The first one
was far too much ambiguous and did too much things at once (I meant it
basically as a rfc and a proof of the concept). The second one did
something quite similar to this one (cut passes into helper functions
with a standardized interface), but it was rejected as too complicated
to review at once and I did not have a time to try to push it in in
a pass-by-pass fashion.