[Dwarf-discuss] Constant expressions in locations lists

Cary Coutant cary@cup.hp.com
Fri Mar 9 00:37:26 GMT 2007


> However we decide to do it, we'll need to emphasize that "constant
> value" locations are only to be used when a variable has no location,
> but its value is known.  For example, immediately after a statement
> like:
>
>    a = 3;
>
> the value of a is known to be a constant, but if a is in fact located
> in a register which has now had 3 stored into it, describing the
> location of a as "a constant" would be annoying, since it would
> prevent you from assigning to it even though that's perfectly
> feasible.

Agreed. I'll pick this discussion up again a week from Tuesday when I  
get back from vacation. If you all have settled on a solution by  
then, great!

-cary





More information about the Dwarf-discuss mailing list