* support/valdiag/valdiag.py: added -DPORT_HOST=1
[fw/sdcc] / ChangeLog
index 0ec01fb98a539c86ad6f47ccc1222692fd7f0db4..b6c0995c650aa7b77eeff7089481e66ca3a09ebe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,99 @@
+2006-06-04 Bernhard Held <bernhard AT bernhardheld.de>
+
+       * src/SDCCval.c (checkConstantRange): added
+       * src/SDCCval.h: added checkConstantRange
+       * support/Util/SDCCerr.c,
+       * support/Util/SDCCerr.h: replaced unused W_IF_NEVER_TRUE and
+       W_IF_ALWAYS_TRUE by W_COMP_RANGE and W_LIT_OVERFLOW
+       * src/SDCC.y: moved early 'condition transformations' to SDCCast.c
+       * src/SDCCast.c (decorateType): added checkConstantRange,
+       added 'condition transformations' from SDCC.y so that now W_COMP_RANGE
+       can be emitted with the correct always true/false warning,
+       added optimization for double '!';
+       result of decorateType() must be assigned back to the tree, because
+       decorateType() can change the tree
+       * src/SDCCicode.c (geniCodeLogic),
+       (geniCodeAssign): replaced new checkConstantRange, added warnings,
+       (checkConstantRange): removed, it was only a fragment which never
+       emitted a warning
+       * src/SDCCsymt.c (computeType): fixed promotion for
+       "-1 < (unsigned bit) b"
+       * src/pic/ralloc.c (packRegsForAssign),
+       * src/pic16/ralloc.c (packRegsForAssign),
+       * src/hc08/ralloc.c (packRegsForAssign),
+       * src/z80/ralloc.c (packRegsForAssign): ported fix for bug #930931
+       from mcs51
+       * src/mcs51/ralloc.c (packRegsForAssign): removed outcommented source
+       * support/regression/tests/constantRange.c: added
+       * support/valdiag/tests/constantRange.c: added
+       * support/valdiag/valdiag.py: added -DPORT_HOST=1
+
+2006-06-02 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/ports/pic16/support.c: increase stack size
+         to 255 bytes
+       * support/regression/Makefile.in: sort tests by name so that the
+         resutlts can be compared on different machines / platforms
+
+2006-06-02 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/lib/printf_large.c (output_digit): optimized further, Tnx Frieder
+       * src/ds390/gen.c (emitLabel): new, added,
+         (genDjnz): fixed stack overflow bug,
+         (throughout): cosmetic changes to sync with mcs51/gen.c,
+         replaced emitcode("", "%05d$:", lbl->key + 100) with emitLabel(lbl)
+       * src/mcs51/gen.c (genEndFunction): small optimization,
+         (throughout): cosmetic changes to sync with ds390/gen.c
+
+2006-06-02 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/lib/printf_large.c (output_digit, calculate_digit): optimized,
+         (_print_format): fixed printing pointers
+       * src/mcs51/gen.c (emitLabel, movb): new, added,
+         (genAssign): small optimization,
+         (genDjnz): fixed stack overflow bug,
+         (throughout): replaced sprintf with SNPRINTF,
+         replaced mcs51_regWithIdx with REG_WITH_INDEX,
+         replaced emitcode("mov", "b,...") with MOVB(...),
+         replaced emitcode("", "%05d$:", lbl->key + 100) with emitLabel(lbl),
+         replaced D(emitcode("; genXXX", "")) with D(emitcode(";", "genXXX"))
+       * src/mcs51/peeph.def: added rules 140 and 264
+       * src/SDCCmem.c (allocLocal): store register declared locals in DSEG/OSEG
+         so they may get optimized into registers
+
+2006-05-30 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCmain.c (optionsTable, parseCmdLine): handle --use-stdout
+         immediately when encountered,
+         (printUsage): always use stderr even on windows
+
+2006-05-30 Bernhard Held <bernhard AT bernhardheld.de>
+
+       * src/SDCCast.c (isLoopCountable): fixed bug #1478316
+       (processParms): fixed bug #1247551
+       * src/SDCCmain.c (printVersionInfo, printOptions, printUsage,
+       parseCmdLine, main): print '--version' to stdout,
+       print 'help' to stdout if --help is given,
+       print 'help' to stderr and exit with EXIT_FAILURE if no or bad
+       arguments are given; fixed --help
+
+2006-05-27 Bernhard Held <bernhard AT bernhardheld.de>
+
+       * src/SDCCcse.c (findPointerSet): fixed bug #1493710
+       * support/regression/tests/bug-1493710.c: added
+
 2006-05-27 Borut Razem <borut.razem AT siol.net>
 
-       * support/regression/fwk/lib/testfwk.c: increase stack size
-         from deafult 64 bytes to 128 bytes
+       * support/regression/fwk/lib/testfwk.c: define array in _printn() as
+         static instead auto
+       * support/regression/ports/pic16/support.c: increase stack size
+         from default 64 bytes to 128 bytes
+       * support/regression/tests/staticinit.c,
+         support/regression/tests/float.c: regression tests fully enabled
+         for pic16 port by putting the initialized data arrays into the code
+         section
+       * support/regression/ports/pic16/spec.mk: don't link default libraries.
+         This was changed by mistake in the previous version.
 
 2006-05-28 Vangelis Rokas <vrokas AT users.sourceforge.net>