* support/regression/Makefile.in: renamed test-mcs51 to test-mcs51-small,
[fw/sdcc] / ChangeLog
index e1be99ab91fe3431e8fe317ed6b233606718cc65..70b5d09acf09b109b0257035acf00b9b132a8125 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,229 @@
+2007-10-26 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/peeph.def: moved rules 257.x to 253.x and re-enabled 253.b,
+         added new rules 265 - 270
+       * support/regression/tests/bug1721024.c:new, added
+       * support/regression/Makefile.in: renamed test-mcs51 to test-mcs51-small,
+         introduced new test-mcs51 to run all mcs51 tests
+
+2007-10-25 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * support/regression/tests/bug1816470.c: new, added
+
+2007-10-21 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCast.c (resultTypePropagate): do propagate for LEFT_OP, do not
+         propagate for *,+,- with float, fixed bug 1816470
+         (decorateType): cast to resultTypeProp instead of resultType
+
+2007-10-19 Borut Razem <borut.razem AT siol.net>
+
+       * src/pic16/glue.c: fixed bug #983491 - "Merge duplicate strings
+         function is ineffective" for pic16 tareget
+       * support/scripts/listerr.c: corrected include path
+       * device/lib/_itoa.c: fixed bug #1806402 - _itoa and _uitoa leak to
+         adjacent memory
+
+2007-10-18 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * support/regression/tests/using.c: new, added
+       * support/regression/tests/vaargs.c: fixed and enabled test
+
+2007-10-18 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCglue.c: fixed bug #983491 - Merge duplicate strings function
+         is ineffective
+       * support/regression/tests/bug-983491.c: added regtest for bug #983491
+
+2007-10-18 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * doc/sdccman.lyx: documented option --Werror
+       * src/SDCCsymt.c (checkFunction): fixed bug 1815418 by setting
+         RegBankUsed[] earlier
+
+2007-10-14 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/mcs51/p89lpc938.h: new, added, thanks Kyle Guinn
+       * src/pic/glue.c,
+       * src/SDCCval.c,
+       * src/SDCCast.c,
+       * src/SDCCast.h: replaced AST_LIT_VALUE with AST_FLOAT_VALUE and
+         AST_ULONG_VALUE
+       * src/SDCCast.c (decorateType): improved optimization of tri-op
+       * src/SDCCerr.c (vwerror, setWError),
+       * src/SDCCerr.h,
+       * src/SDCCmain.c (parseCmdLine): added option --Werror to treat all
+         warnings as errors, thanks Stas Sergeev for PATCH 1813211
+
+2007-10-13 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/gen.c (leftRightUseAcc): use macro IS_OP_ACCUSE
+       * src/SDCCast.c (decorateType): optimize bit=cond?1:0, RFE 1738430
+       * support/regression/tests/bug-223113.c,
+       * support/regression/tests/bug-426632.c,
+       * support/regression/tests/bug-468811.c,
+       * support/regression/tests/bug-477835.c,
+       * support/regression/tests/bug-478094.c,
+       * support/regression/tests/bug-499644.c,
+       * support/regression/tests/bug-524209.c,
+       * support/regression/tests/bug-524211.c,
+       * support/regression/tests/packcast.c,
+       * support/regression/tests/structidx.c: added empty tests
+       * support/regression/tests/bug-607243.c: enabled test
+
+2007-10-06 Borut Razem <borut.razem AT siol.net>
+
+       * .version, doc/sdccman.lyx: bumped version to 2.7.4 to indicate the full
+          support of universal binaries on Mac OS X
+
+2007-10-02 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCval.h: unified double2ul macro for all platforms
+       * src/SDCCval.c: fixed bug #1777758 - applied Maarten's patch
+       * support/regression/tests/bitwise.c: added regtest for bug #1777758
+
+2007-09-30 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCval.h: fixed bug #1739860 - sdcc does not work correctly on some
+         platforms
+       * sdcc_vc_in.h: enabled warnings
+       * src/hc08/gen.c: fixed MSVC warning C4146: unary minus operator applied to
+         unsigned type, result still unsigned
+       * src/mcs51/peep.c: fixed gcc warning: suggest parentheses around && within ||
+
+2007-09-28 Raphael Neider <rneider AT web.de>
+
+       * src/pic/device.c (find_device): prevent buffer underflow error
+       * src/pic/pcoderegs.c (OptimizeRegUsage): avoid dereferencing
+         the just destroyed list entry
+
+2007-09-18 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * doc/sdccman.lyx: there's a dedicated wiki page for cmake and sdcc, thanks
+         Alexander Neundorf
+
+2007-09-18 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCval.c: fixed MSVC warning C4146: unary minus operator
+        applied to unsigned type, result still unsigned
+
+2007-09-17 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCC.y, src/SDCCast.c, src/SDCCcse.c, src/SDCCglue.c,
+         src/SDCCicode.c, src/SDCCopt.c, src/SDCCsymt.c, src/SDCCval.c,
+         src/SDCCval.h, src/hc08/gen.c, src/avr/gen.c, src/ds390/gen.c,
+         src/mcs51/gen.c, src/pic/gen.c, src/pic/genarith.c, src/pic/glue.c,
+         src/pic/ralloc.c, src/pic16/gen.c, src/pic16/genarith.c,
+         src/pic16/genutils.c, src/pic16/glue.c, src/pic16/main.c,
+         src/z80/gen.c, src/z80/ralloc.c:
+         fixed bug #1739860 - sdcc does not work correctly on some platforms
+         (not finished)
+         introduced and used ulFromVal(), double2ul(), used strtod() instead sscanf()
+
+2007-09-17 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/device.c: reverted to previous version
+       * device/lib/pic16/Makefile.common.in: quieten gpasm via -Wa,-q
+
+2007-09-16 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/device.c (pic16_dump_usection): do not reserve 0 bytes,
+         as this raises a ton of gpasm warnings, just emit a second label
+       * src/pic16/devices.inc,
+       * device/lib/pic16/pics.all,
+       * device/lib/pic16/libdev/pic18f2585.c,
+       * device/lib/pic16/libdev/pic18f2680.c,
+       * device/lib/pic16/libdev/pic18f2682.c,
+       * device/lib/pic16/libdev/pic18f2685.c,
+       * device/lib/pic16/libdev/pic18f4585.c,
+       * device/lib/pic16/libdev/pic18f4680.c,
+       * device/lib/pic16/libdev/pic18f4682.c,
+       * device/lib/pic16/libdev/pic18f4685.c,
+       * device/include/pic16/pic18f2585.h,
+       * device/include/pic16/pic18f2680.h,
+       * device/include/pic16/pic18f2682.h,
+       * device/include/pic16/pic18f2685.h,
+       * device/include/pic16/pic18f4585.h,
+       * device/include/pic16/pic18f4680.h,
+       * device/include/pic16/pic18f4682.h,
+       * device/include/pic16/pic18f4685.h,
+       * device/include/pic16/pic18fregs.h: added 18f2585, 18f2680,
+         18f2682, 18f2685, 18f4585, 18f4680, 18f4682, 18f4685,
+         patch contributed by Anton Strobl, applied with changes
+
+2007-09-16 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic16/pic18f2431.h,
+       * device/include/pic16/pic18f25j10.h,
+       * device/include/pic16/pic18f4431.h,
+       * device/include/pic16/pic18f45j10.h: adopted common include style
+       * device/include/pic16/pic18f1320.h,
+       * device/include/pic16/pic18f2320.h,
+       * device/include/pic16/pic18f2525.h,
+       * device/include/pic16/pic18f4320.h,
+       * device/include/pic16/pic18f4525.h: NEW, just include proper .h file
+       * device/include/pic16/pic18fregs.h: prepared for automatic include
+         file selection by having DEVICE.h for every DEVICE
+       * device/lib/pic16/libdev/pic18f2320.c,
+       * device/lib/pic16/libdev/pic18f4320.c: just include proper .c file
+
+       * device/lib/pic16/configure.in,
+       * device/lib/pic16/configure: use rm -rf instead of rmdir
+       * device/lib/pic16/Makefile.in: use RMDIR to remove build directories
+       * device/lib/pic16/libc/stdlib/free.c: avoid warning on pointer cast
+
+2007-09-09 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCmain.c, src/SDCCutil.c: print newline after printVersionInfo(),
+         distingush between i386 and ppc Mac OS X versions
+
+2007-09-05 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/gen.c (genReceive): fixed bug 1788177
+       * support/regression/tests/bug1788177.c: new, added
+
+2007-09-04 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * doc/sdccman.lyx: mentioned d52 and cmake, customizing startup code
+       * device/include/mcs51/lint.h added keyword __naked
+
+2007-09-04 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/pic16/glue.c,
+       * src/pic/glue.c,
+       * src/SDCCmem.h: removed maxRegBank
+       * src/SDCCmem.c (allocVariables): removed maxRegBank and moved setting
+         RegBankUsed[] to checkFunction() in SDCCsymt.c to fix bug 1759839
+       * src/SDCCsymt.c (checkFunction): set RegBankUsed[] here
+       * src/mcs51/peep.c (isCallerSaveFunc, termScanAtFunc): changed function
+         name and behaviour to handle banked functions
+         (scan4op): and use it to fix bug 1786213
+
+2007-09-03 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic16/pic18f248.h,
+       * device/include/pic16/pic18f258.h,
+       * device/include/pic16/pic18f448.h,
+       * device/lib/pic16/libdev/pic18f248.c,
+       * device/lib/pic16/libdev/pic18f258.c,
+       * device/lib/pic16/libdev/pic18f448.c: fixed TRISEbits,
+         added T0CONbits, fixes #1786891
+
+2007-08-29 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/ds390/gen.c (genFarPointerSet),
+       * src/hc08/ralloc.c (packRegisters),
+       * src/mcs51/ralloc.c (packRegisters),
+       * src/SDCCcse.c (cseBBlock): check if result is a symbol first to fix
+         bug 1750318
+       * src/SDCCicode.h: POINTER_SET can be true for literals too
+       * support/regression/tests/bug1750318.c: new, added
+
+2007-08-23 Borut Razem <borut.razem AT siol.net>
+
+       * debugger/mcs51/sdcdb.c: fixed compilation with older readline
+         library versions without the completition functionality
+
 2007-08-22 Raphael Neider <rneider AT web.de>
 
        * device/include/pic16/pic18f1220.h,