Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- cse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cse.c b/cse.c index 5380f4ccd..0d3815c5a 100644 --- a/cse.c +++ b/cse.c @@ -43,6 +43,8 @@ static void clean_up_one_instruction(struct basic_block *bb, struct instruction return; assert(insn->bb == bb); repeat_phase |= simplify_instruction(insn); + if (!insn->bb) + return; hash = (insn->opcode << 3) + (insn->size >> 3); switch (insn->opcode) { case OP_SEL: -- 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