Fixed promotion, it should be done on AST level:
[fw/sdcc] / ChangeLog
index 9197149e86d3828c0db0d442d4911439ff8741f3..4cf445c54fdbc9cbd552bbf9796554f23a5c4052 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-01-27 Bernhard Held <bernhard@bernhardheld.de>
+
+       Fixed promotion, it should be done on AST level:
+       * src/SDCCast.c (addCast): added promotion to int
+       (decorateType): updated call to upCast()
+       * src/SDCCicode.c (geniCodeLeftShift): removed call to
+       usualUnaryConversions()
+
 2004-01-26  Michael Hope  <michaelh@juju.net.nz>
 
        * support/regression/tests/literalop.c (mulWrapper): Added a