This is the mail archive of the
mailing list for the GCC project.
Re: Fix problem with variable tracking and lcoation lists
> > As the result the loc_list has at least 2 elements and the location list
> > is emitted.
> Why are we emitting a location list of one location? That
> seems like needless indirection...
IIRC there are also some situations when the original debug info would say "reg 8"
but the only location the variable is in is "mem[bp - const]".
In this case, the debug info is completelly wrong.