* src/SDCCval.c (cheapestVal): reenabled to reduce int to char
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 13 Sep 2003 21:54:29 +0000 (21:54 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 13 Sep 2003 21:54:29 +0000 (21:54 +0000)
commit6e551299320c9c4b6771a4bee0e45a95903753d8
tree88ef8d12b2a2b912436c0f1eaed33894a95209c9
parentf9fb645030732a538b608cfa2d1d508b209389c4
* src/SDCCval.c (cheapestVal): reenabled to reduce int to char
* src/SDCCval.c (constVal): added reduction from int to char
* src/SDCCval.c (valMult, valDiv): fixed sign handling
* src/SDCCval.c (valShift): fixed after change of cheapestVal()
* src/SDCCval.c (valCompare): fixed EQ_OP and NE_OP; they have to ignore the sign
* support/regression/tests/shifts.c: fixed

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2888 4a8a32a2-be11-0410-ad9d-d568d2c75423
ChangeLog
src/SDCCval.c
support/regression/tests/shifts.c