> And here is a version that passed bootstrap/regtest on x86_64-linux and > i686-linux: > > 2011-07-06 Jakub Jelinek <ja...@redhat.com> > > PR debug/49522 > * df-problems.c (dead_debug_reset): Remove dead_debug_uses > referencing debug insns that have been reset. > (dead_debug_insert_before): Don't assert reg is non-NULL, > instead return immediately if it is NULL. > > * gcc.dg/debug/pr49522.c: New test.
Sorry, our messages crossed. I'd set a flag in the first loop. In the end, it's up to you. -- Eric Botcazou