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]: Kill unused pointer in struct tree_decl


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


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