------- 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