git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4751
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2007-04-17 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * src/mcs51/gen.c (aopOp): set size to 1 for ruonly, fixes bug 1699455
+
2007-04-17 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: fixed #1701874: Mac OSX references in SDCC manual
if (sym->regType == REG_CND)
{
sym->aop = op->aop = aop = newAsmop (AOP_CRY);
- aop->size = 0;
+ aop->size = sym->ruonly ? 1 : 0;
return;
}
// val = c
if (size)
outBitC (result);
- // if(bit | ...)
+ // if(bit ^ ...)
else if ((AOP_TYPE (result) == AOP_CRY) && ifx)
genIfxJump (ifx, "c", left, right, result);
goto release;