summary refs log tree commit diff
path: root/alias.c
diff options
context:
space:
mode:
Diffstat (limited to 'alias.c')
-rw-r--r--alias.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/alias.c b/alias.c
index 56178ca..a24d9b3 100644
--- a/alias.c
+++ b/alias.c
@@ -130,6 +130,10 @@ fillalias(Fn *fn)
 				a->base = i->to;
 				a->offset = 0;
 			}
+			if (i->op == Ocopy) {
+				assert(a);
+				getalias(a, i->arg[0], fn);
+			}
 			if (i->op == Oadd) {
 				getalias(&a0, i->arg[0], fn);
 				getalias(&a1, i->arg[1], fn);