------- Comment #10 from steven at gcc dot gnu dot org 2010-01-28 13:53 ------- The patch of comment #9 is a hack that doesn't solve anything. There are loads of other passes that may inadvertedly trigger a fast DCE if only a DEBUG_INSN is modified and needs to be rescanned.
IMHO the only "proper" fix would be to teach DF not to run DCE (and any other DF-problem other than scan) if only DEBUG_INSNs are modified. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42889