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] LTO and cache-preloading of FE dependent nodes


On Tue, May 31, 2011 at 09:15, Richard Guenther <rguenther@suse.de> wrote:

> This patch, now that Micha made us less dependent on preloading
> exactly the same from each FE, gets rid of two hacks regarding
> to the frontend (and option) dependent char_type_node and
> boolean_type_node. ÂIt does so by first decoupling canonical type
> registering from cache-preloading and restrict it to lto1, and
> second by exempting nodes from the preloading that are known
> to cause problems because they differ semantically between
> frontends.

Excellent!

>
> Queued for testing (depends on one prerequesite I think which is
> in testing currently).
>
> Diego, this was the patch I had in mind - does this look reasonable
> to you?

Yes.  It only touches the gimple-specific parts, so it should not
affect the C++ streamer.

I'm thinking that it may make sense for me to merge the streamer hooks
now, even if trunk will only have them defined for gimple.  This will
help us isolate changes that only affect gimple from those that are
shared.  It should simplify merges into the branch as well.

> In general I'm working towards identifying what global trees are
> initialized solely dependent on target info and which ones are
> really frontend dependent.

Great.


Diego.


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