* src/SDCCast.c: added an additional type flow in decorateType() of opposite directio...
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 25 Jan 2004 21:33:56 +0000 (21:33 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 25 Jan 2004 21:33:56 +0000 (21:33 +0000)
commitc4e2d5daae13c63de360bc8b9a60a0667b8c536a
treeb08c6c3702e1c22c677c8c6848833d0b1421e309
parent070bd254c8d15e34a31f978d9507858ac560ddfd
* src/SDCCast.c: added an additional type flow in decorateType() of opposite direction, see feature request #860006; it's enabled at runtime by setting the environment variable SDCC_NEWTYPEFLOW
* src/SDCCast.h: changed prototype of decorateType()
* src/SDCCglue.c (emitRegularMap): updated call of decorateType()
* src/SDCCicode.c (geniCodeDivision) (geniCodeModulus): promotion from 'char' to 'int' can be omitted, if both operands are 'unsigned char'; see feature request #877103
* src/SDCCval.c: updated call of decorateType()
(valBitwise): fixed bug #882876
(valMinus): added promotion
(valLogicAndOr): result is unsigned
(cheapestVal) (constVal): literals from 0...255 are 'unsigned char' now
* src/SDCCsymt.c (computeType),
* src/mcs51/gen.c (genCmpGt) (genCmpLt): literal 'unsigned char' must not cause an unsigned operation
* src/pic/glue (pic14emitRegularMap),
* src/pic16/glue.c (pic16emitRegularMap): updated call of decorateType()

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3150 4a8a32a2-be11-0410-ad9d-d568d2c75423
ChangeLog
src/SDCCast.c
src/SDCCast.h
src/SDCCglue.c
src/SDCCicode.c
src/SDCCsymt.c
src/SDCCval.c
src/mcs51/gen.c
src/pic/glue.c
src/pic16/glue.c