* src/SDCCast.c (decorateType): fix promotion of unary minus
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 31 Dec 2005 13:17:32 +0000 (13:17 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 31 Dec 2005 13:17:32 +0000 (13:17 +0000)
commite5c62ddb5b835550d3e4f84dbe9939b5c74b87af
tree06e4abb4bdef005191b7e3a475ce9a440f2a61ec
parentd9deadff25143c9e4ac28cdb2ad5065b948669b1
* src/SDCCast.c (decorateType): fix promotion of unary minus
* src/SDCCsymt.c (computeType): beautified
* src/SDCCval.c (cheapestVal): beautified, old non-Ansi version removed,
(valUnaryPM, valComplement, valNot): fix sign and promotion
* support/regression/tests/uminus.c: speedup by removing superflous test case 'int'
* support/regression/tests/onebyte.c: added promotion and signedness tests for unary minus
* support/regressions/tests/bug-477927.c: disable warning about uninitialized variables

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4015 4a8a32a2-be11-0410-ad9d-d568d2c75423
ChangeLog
src/SDCCast.c
src/SDCCsymt.c
src/SDCCval.c
support/regression/tests/bug-477927.c
support/regression/tests/onebyte.c
support/regression/tests/uminus.c