[PATCH]: Kill unused pointer in struct tree_decl

Daniel Berlin dberlin@dberlin.org
Wed Dec 22 21:46:00 GMT 2004


On Wed, 2004-12-22 at 12:19 -0800, Mark Mitchell wrote:
> Daniel Berlin wrote:
> > This one isn't a regression, but it is obvious and not possibly harmful, 
> > so i thought i'd submit it anyway.
> > 
> > The alias_var field should have been deleted from struct tree_decl when 
> > tree-alias-common.[ch] went away, but was accidently overlooked
> > 
> > Bootstrapped and regtested on i686-pc-linux-gnu.
> > 
> > Okay for mainline?
> 
> Yes.
> 
> Smaller decl nodes makes a big difference in compile times; I would be 
> surprised if you just found a measurable improvement.
> 

In that case, we can also remove the inlined_fns field in struct
tree_decl to shrink another 4 bytes off it.

It's no longer needed anymore, but it requires a small amount of dead
code removal in tree-inline.c that *sets* (but doesn't use) it.

I'll prepare that patch as well.

--Dan



More information about the Gcc-patches mailing list