This is the mail archive of the gcc-patches@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: 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.

Josef


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