On Jun 5, 2009, Richard Henderson <rth@xxxxxxxxxx> wrote:
> Alexandre Oliva wrote:
>> On Jun 5, 2009, Richard Guenther <richard.guenther@xxxxxxxxx> wrote:
>>> I see we have debug insns properly but still i is printed as optimized out.
>>> Probably because var-tracking doesn't handle constants as location?
>> var tracking actually does. It's debug info output that doesn't know
>> what to do with this kind of location :-(
> Hmm. We *should* be able to do this w/ dwarf2... I'll have a look.
Dwarf 2 can only do constants that are constant throughout the life of
the variable, not in location lists :-(
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer