Re: [PATCH] Fix var tracking ICE due to reorg.

2012-05-16 Thread Richard Sandiford
David Miller writes: > Ok for mainline and 4.7 branch? OK for both, thanks. > * jump.c (delete_related_insns): If we remove a CALL, make sure > we delete it's NOTE_INSN_CALL_ARG_LOCATION note too.

[PATCH] Fix var tracking ICE due to reorg.

2012-05-15 Thread David Miller
How bugs like this were not hit earlier, I'll never understand :-) If during reorg we delete a code label, and as a result we decide to delete all the code following that label, we hit this condition in jump.c:delete_related_insns(): if (was_code_label && prev && BARRIER_P (prev))