What does assembly-time constant mean?

Kazu Hirata kazu@hxi.com
Thu Jan 24 17:01:00 GMT 2002


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



More information about the Gcc mailing list