* src/SDCCast.c (addCast): fixed bug #908454 by promoting bits to char
[fw/sdcc] / ChangeLog
index 523c4c12596c0ee7ae8dc26122ae0247d6c83e90..fcadef56c1e74af6d7438a73540db457fdd6e77a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2004-03-07 Bernhard Held <bernhard AT bernhardheld.de>
+
+       * src/SDCCast.c (addCast): fixed bug #908454 by promoting bits to char
+       * src/SDCCicode.c (usualBinaryConversions): op needs int type
+       (geniCodeCast): cosmetic, don't preserve bit storage class
+       (geniCodeLeftShift): added promotion
+       (geniCodeLogic): fixed regression
+       * src/SDCCsymt.c (computeTypeOr): accept bits too
+       (compareType): 2nd part of fix for bug #908454, needed for bitfields
+
 2004-03-07  Borut Razem <borut.razem AT siol.net>
 
        * support/Util/findme.c: alloca() replaced with malloc()/free() pair