Alexandre Oliva <ol...@gnu.org> writes: > When we remove an RTL call, we wouldn't clean up references to the > return value of the call in debug insns. Make it so that we do. > > Regstrapped on x86_64- and i686-linux-gnu. Ok to install? > > > for gcc/ChangeLog > > PR debug/89528 > * valtrack.c (dead_debug_insert_temp): Reset debug references > to the return value of a call being removed. > > for gcc/testsuite/ChangeLog > > PR debug/89528 > * gcc.dg/guality/pr89528.c: New.
Cleaner *and* fixes the bug :-) OK, thanks. Richard