This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][RFC] Remove TODO_ggc_collect, collect unconditionally
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 Mar 2013 15:20:22 +0100 (CET)
- Subject: Re: [PATCH][RFC] Remove TODO_ggc_collect, collect unconditionally
- References: <alpine dot LNX dot 2 dot 00 dot 1303191327310 dot 3543 at zhemvz dot fhfr dot qr>
On Tue, 19 Mar 2013, Richard Biener wrote:
>
> This adds a GC collection point after each pass instead just after
> those with TODO_ggc_collect in their todo. The patch will possibly
> slow-down gcac checking a bit (80 passes have TODO_ggc_collect,
> I didn't try to enumerate those that do not, but a grep shows we
> may have up to 212 passes. OTOH gcac checking will now "properly"
> verify that all pass boundaries are suitable for collection.
>
> A complete patch will remove TODO_ggc_collect and all its uses
> as well.
>
> The patch should result in lower peak memory consumption for
> some of the odd testcases that we worked on.
>
> Bootstrap & regtest scheduled on x86_64-unknown-linux-gnu.
Which shows that I need to merge the IRA and reload/lra passes.
Honza tells me that they are considered "separate" has historical
reasons only. Given that reload pushes TV_IRA and that the boundary
isn't GC safe I don't think that is too bad (dump files will now
be shared, of course).
I'll schedule a gcac checking bootstrap over night as well.
Richard.