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] include the TLS model in the tree decl


On Wed, 2005-06-22 at 09:25 +0200, Steven Bosscher wrote:
> On Wednesday 22 June 2005 04:12, Daniel Berlin wrote:
> > On Tue, 2005-06-21 at 18:10 +0200, Steven Bosscher wrote:
> > > Hi,
> > >
> > > Right now the TLS model of a VAR_DECL is determined in decl_tls_model
> > > in varasm.c, with an attribute to allow the user to set the model by
> > > hand.  This patch steals three bits on tree_decl to store the model on
> > > the tree instead.  This is more convenient if we're going to expose
> > > TLS addressing modes at the tree level.
> > >
> > > Bootstrapped and tested (c,c++,objc) on x86_64-unknown-linux-gnu.
> > > OK for mainline?
> >
> > Sigh, i only feel it approriate to tell you we don't have these bits
> > free in the new decl stuff i'm working on.
> >
> > Mainly because the C++ FE's init_priority is using 16 of the 32 flag
> > bits on VAR_DECL
> >
> > :(
> 
> Ouch.
> Where is that patch you had for this?  Let's see if I can find
> those two bits I need...
> 

I'll send a new patch in a couple hours.
I may just move init_priority to a hashtable and give you 15 bits :)

> Gr.
> Steven


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