* src/SDCCast.c (decorateType): applied patch by Bernhard for rfe
1422617
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4060
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2006-03-13 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * src/SDCCicode.c (geniCodeLogic),
+ * src/SDCCast.c (decorateType): applied patch by Bernhard for rfe 1422617
+
2006-03-10 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (sameReg): new, checks if two aop regs are the same,
}
LRVAL (tree) = RRVAL (tree) = 1;
- TTYPE (tree) = TETYPE (tree) = newCharLink ();
+ TTYPE (tree) = TETYPE (tree) = newBoolLink ();
return tree;
/*------------------------------------------------------------------*/
}
}
- ctype = usualBinaryConversions (&left, &right, RESULT_TYPE_NONE, 0);
+ ctype = usualBinaryConversions (&left, &right, RESULT_TYPE_BIT, 0);
ic = newiCode (op, left, right);
IC_RESULT (ic) = newiTempOperand (newCharLink (), 1);