This is the mail archive of the gcc@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: What does assembly-time constant mean?


Hi Neil,

> > When I was reading the gcc internals manual, I came across a term
> > "assembly-time constant".  What does this mean?  Does this mean
> > something like this?
> > 
> >   extern const int foo;
> > 
> > Could somebody give me an example?
> 
> Heh, I just read the same thing today.  I imagined it meant the
> address of a label, over and above an immediate constant.

Yeah, from what nonmemory_operand accepts, I think an assembly-time
constant at least includes the address of a variable.

> It would be nice if someone clarified the intent.

Yes.

Kazu Hirata


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