This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Basic infrastructure for substitution tracking
> > They are never useless, so never get removed. Maybe you can simply
> > do the same with the non-localized vars?
>
> Yes, I can keep the substitutions around, at some extra memory use.
> Since the fact that they become invalidated is (was?) quite common, this
> would increase memory use since early inliner will keep duplicating them
> around. I can see if I can get some stats.
Actually "useless" in my definition is "holding definition that is no
longer reconstructible in any sensible way". This is definitly true for
debug_stmts too. We probably should be able to prune those and save
overhead too.
Honza
>
> Honza