aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/memops.c
diff options
Diffstat (limited to 'memops.c')
-rw-r--r--memops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/memops.c b/memops.c
index 5762f4f2..30316391 100644
--- a/memops.c
+++ b/memops.c
@@ -69,6 +69,8 @@ static int address_taken(pseudo_t pseudo)
struct instruction *insn = pu->insn;
if (insn->bb && (insn->opcode != OP_LOAD && insn->opcode != OP_STORE))
return 1;
+ if (pu->userp != &insn->src)
+ return 1;
} END_FOR_EACH_PTR(pu);
return 0;
}