From: Bernhard H. <ber...@be...> - 2003-05-30 00:29:52
|
> <<bug.c>> Ahh, now the bug report is complete. With your source it took less than 10 minutes to locate the bug in SDCC. But don't ask me, how long I needed to find a fix ;-) Johan, I would be happy if you could check my changes in SDCCcse.c 1.78 My first simple "fix" provides better code if (IS_ITEMP (IC_RESULT (ic))) setOperandType (IC_RESULT (ic), operandType (IC_RIGHT (ic))); but it fails: unsigned f1 (unsigned char c) { return c * 1; } Bernhard |