This is the mail archive of the gcc-bugs@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]

[Bug debug/43478] Missing DW_AT_location for a variable



------- Comment #4 from aoliva at gcc dot gnu dot org  2010-04-22 02:39 -------
After much pondering, an idea that might fix this problem and many others hit
me: instead of just resetting debug stmts that refer to an earlier REG_DEAD,
emit a debug temp that binds to the reg before it dies, and refer to the debug
temp instead of to the REG.  Then, if the value is still live or computable,
we'll still get to it.  I'm going to give it a try.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43478


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