From 7ee44c48fd749ddfc1231d711595d03593221250 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 4 Jan 2005 14:50:54 -0700 Subject: [PATCH] Simplify OP_PTRCAST ops too for now. Some day we migth do a type-based alias cast, and then we might do something else, but for now simplification is better than leaving them in and making analysis harder. --- simplify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simplify.c b/simplify.c index 83922414..fe57e772 100644 --- a/simplify.c +++ b/simplify.c @@ -538,7 +538,7 @@ static int simplify_cast(struct instruction *insn) if (dead_insn(insn, &insn->src, NULL, NULL)) return REPEAT_CSE; - if (insn->opcode == OP_PTRCAST) + if (0 && insn->opcode == OP_PTRCAST) return 0; orig_size = insn->orig_type ? insn->orig_type->bit_size : 0; if (orig_size < 0) -- 2.11.4.GIT