On 04/12/2016 11:14 AM, Jakub Jelinek wrote:
Hi!

Removing DEBUG_INSNs (unless it is removed e.g. together with whole bb
as unreachable code) is always wrong, instead it should be reset,
which indicates we don't know where the var lives (removing it instead
means that the previous DEBUG_INSN for the corresponding var is live
even in the insns where it could have another value).
Also, by deleting the insn, we get a -fcompare-debug issue without DCE,
there can be different number of the NOTE_INSN_DELETED notes.

Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
trunk?

Yes.  Thank you, Jakub.

Reply via email to