The instructions which are otherwise not handled in kill_instruction() were simply ignored but they must still have their ->bb set to NULL. Fix this by separating the default case from OP_ENTRY, the only kind that must be ignored in all circonstances. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- simplify.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/simplify.c b/simplify.c index 82ae97ae9..1fbad1060 100644 --- a/simplify.c +++ b/simplify.c @@ -228,9 +228,11 @@ void kill_instruction(struct instruction *insn) break; case OP_ENTRY: - default: /* ignore */ return; + + default: + break; } insn->bb = NULL; -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html