git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2392
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2003-03-15 Bernhard Held <bernhard@bernhardheld.de>
+
+ * src/mcs51/ralloc.c (packRegsForAssign): fixed bug #703541
+
2003-03-13 <johan@balder>
Hackup const and volatile modifiers in type chains a bit:
{
sym_link *etype = operandType (IC_RIGHT (dic));
if (IS_BITFIELD (etype))
- return 0;
+ {
+ /* if result is a bit too then it's ok */
+ etype = operandType (IC_RESULT (dic));
+ if (!IS_BITFIELD (etype))
+ return 0;
+ }
}
/* if the result is on stack or iaccess then it must be
the same atleast one of the operands */