[PATCH][RFC] Remove TODO_ggc_collect, collect unconditionally

Bernd Schmidt bernds@codesourcery.com
Thu Apr 11 11:44:00 GMT 2013


On 04/11/2013 12:26 PM, Richard Biener wrote:
> 
> The point was not to remove TODO_ggc_collect, the point was to
> both enforce the GC boundary at all passes (that's what the pass
> manager assumes anyway) and to collect when necessary at such
> well-defined boundaries.  Another approach would have been to
> add TODO_ggc_collect everywhere where it wasn't.

> Note that pending patches will similarly enforce a verification
> of all IL properties that are seemingly active.
[...]

> So, the option I didn't mention is to add a way to disable the
> GC (clearing/setting a property for example).

Maybe a "subpass" bit that could be set on IRA (or any other pass that
only prepares for another, it might be nice to split up some overly
large md_reorg passes) so that all these verifications and GC are skipped?


Bernd



More information about the Gcc-patches mailing list