This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][RFC] Remove TODO_ggc_collect, collect unconditionally


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]