From 564d4f110eed8367e2b0ef44aae6609ad429b15a Mon Sep 17 00:00:00 2001 From: sandeep Date: Sun, 25 Nov 2001 23:29:25 +0000 Subject: [PATCH] Fixed problem where the same slocs was shared between two operands in which case they should get different aops git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1646 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/ds390/gen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ds390/gen.c b/src/ds390/gen.c index f28007c9..ff42baaa 100644 --- a/src/ds390/gen.c +++ b/src/ds390/gen.c @@ -746,7 +746,7 @@ aopOp (operand * op, iCode * ic, bool result, bool useDP2) } /* if already has a asmop then continue */ - if (op->aop) + if (op->aop && aop->size == getSize(sym->type)) return; /* if the underlying symbol has a aop */ -- 2.47.2