* src/SDCCmain.c: added predefined macros SDCC_REVISION (RFE #1907229),
[fw/sdcc] / ChangeLog
index 3d1b6a461ec63fea5590b59367a2171f194c1672..366f910526c992e8cd6964115dbdc4261b848ee7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,239 @@
+2008-03-04 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * src/SDCCmain.c: added predefined macros SDCC_REVISION (RFE #1907229),
+          and (depending on corresponding compiler option) SDCC_PARMS_IN_BANK1, 
+          SDCC_FLOAT_REENT, SDCC_INT_LONG_REENT 
+       * device/include/mcs51/compiler.h: removed umlauts, added double
+         underscore
+
+2008-03-04 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCptropt.c (ptrPseudoSymConvert): fixed bug 1536762
+       * support/regression/tests/bug1536762.c: new, added
+       * src/SDCCutil.c,
+       * src/SDCCutil.h: added getBuildDate()
+       * src/SDCCmain.c (printVersionInfo),
+       * src/SDCCglue.c (initialComments): use getBuildDate() instead of __DATE__
+       * src/*/ralloc.c: removed IS_OP_RUONLY macro
+       * src/ds390/ralloc.c (packRegisters),
+       * src/mcs51/ralloc.c (packRegisters),
+       * src/z80/ralloc.c (packRegisters): applied fix for bug 1618050, thanks
+         Robert Larice
+       * support/regression/tests/bug1618050.c: new, added
+       * src/SDCCsymt.h: fixed typo in DECLSPEC2TXT
+       * support/regression/fwk/include/testfwk.h,
+       * support/regression/tests/bug1838000.c: moved _AUTOMEM and _STATMEM to
+         testfwk.h
+
+2008-03-04 Raphael Neider <rneider AT web.de>
+
+       * src/pic/gen.c: removed unused prototypes, prevent internal errors
+         on accessing OP_SYM_TYPE(op)
+       * src/pic/gen.h: removed unused prototype of genMinusDec()
+       * src/pic/genarith.c (genMinus): cosmetic changes, rewritten to
+         fix #1876953 (invalid subtraction code), removed unused code
+
+2008-03-03 Raphael Neider <rneider AT web.de>
+
+       * src/pic/gen.c,
+       * src/pic/gen.h,
+       * src/pic/genarith.c,
+       * src/pic/ralloc.c,
+       * src/pic/ralloc.h: removed AOP_R0, AOP_R1, AOP_DPTR, AOP_DPTR2,
+         AOP_ACC, and *_IDX and adjusted code, removed unused legacy code
+
+2008-03-03 Raphael Neider <rneider AT web.de>
+
+       * src/pic/device.c (find_device): search user-specified paths first
+         for pic14devices.txt, fixes #1900827
+
+2008-03-02 Borut Razem <borut.razem AT siol.net>
+
+       * support/scripts/sdcc.nsi: fixed bug in IsNT, LogicLib-isation of
+         AddToPath and RemoveFromPath
+
+2008-03-01 Borut Razem <borut.razem AT siol.net>
+
+       * support/scripts/sdcc.nsi: reverted MULTIUSER page since it didn't
+         work correctly, added debugging support if -DSDCC.DEBUG command line
+         option is defined
+
+2008-02-28 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx: cosmetic changes
+
+2008-02-28 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/ralloc.c (fillGaps): fixed bug 1839671
+       * doc/sdccman.lyx: fixed unmeant removal of spaces
+
+2008-02-27 Borut Razem <borut.razem AT siol.net>
+
+       * support/scripts/sdcc.nsi: corrected installation directory for
+         current user installation mode
+       * doc/README.txt: added Philipp Klaus Krause to the developers list
+
+2008-02-27 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/gen.c (genUnpackBits): don't generate ifxJump, instead return
+         ifx condition
+         (genNearPointerGet, genPagedPointerGet, genFarPointerGet,
+         genCodePointerGet, genGenPointerGet): cleanup aop before generating
+           ifxJump to fix bug 1838000
+       * src/SDCCsymt.c (aggregateToPointer): fix problem for xstack
+       * support/regression/tests/bug1838000.c: new, added
+       * device/include/mcs51/cc1110.h: new, added, thanks to Pravin Angolkar
+
+2008-02-26 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCast.c, doc/sdccman.lyx: fixed RFE #1901171: inerger promotion
+         of casted varargs
+       * support/scripts/sdcc.nsi: added MULTIUSER page,
+         NSIS upgraded to version 2.35
+
+2008-02-25 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/ralloc.c (isSpiltOnStack): fixed bug 1565152
+       * support/regression/tests/bug1565152.c: new, added
+
+2008-02-25 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/gen.c (genPagedPointerSet): fixed bug 1670148
+       * support/regression/ports/mcs51-xstack-auto/spec.mk: added expf.c
+       * support/regression/tests/bug1670148.c: new, added
+
+2008-02-25 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
+
+       * device/include/mcs51/at89c51ed2.h: fixed bug 1901469.
+
+2008-02-24 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCast.c, src/SDCCast.h: fixed bug #1874922: explicit typecast
+         is ineffective for unsigned char parameter
+
+2008-02-24 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCast.c (expandInlineFuncs): fixed bug 1875869
+       * src/SDCCglue.c (printIvalBitFields): fixed bug 1806631
+       * support/regression/tests/bitopcse.c: removed hc08 exception, see testfwk.h
+       * support/Util/MySystem.c (my_system): output errorcode when verbose
+
+2008-02-22 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/gen.c (genMult): Rewrote 8-bit multiplication by constant,
+         implements #1898231
+
+2008-02-22 Philipp Klaus Krause <pkk AT spth.de>
+
+       * device/lib/z80/mul.s: Rewrote __muluchar_rrx_s, to improve 8-bit mult.,
+         implements #1896290
+
+2008-02-22 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCast.c (createIvalStruct): fixed bug 1466761
+
+2008-02-21 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/Makefile.in,
+         support/regression/ports/ds390/spec.mk,
+         support/regression/ports/hc08/spec.mk,
+         support/regression/ports/mcs51-common/spec.mk,
+         support/regression/ports/pic14/spec.mk,
+         support/regression/ports/pic16/spec.mk,
+         support/regression/ports/ucz80/spec.mk,
+         support/regression/ports/xa51/spec.mk:
+         added CFLAGS when compiling timeout
+
+2008-02-20 Philipp Klaus Krause <pkk AT spth.de>
+
+       * support/regression/tests/bugs-1596270-1736867.c: Regression test for
+         #1596270, #1736867
+
+2008-02-20 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCClrange.c (findPrevUse): fixed bug 1888147
+       * support/regression/tests/bug1888147.c: new, added
+
+2008-02-20 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/gen.c: fixed bugs #1596270, #1736867
+
+2008-02-20 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/gen.c: fixed bug in register pair loading when swapping register
+         contents, mostly fixes #1596270
+
+2008-02-20 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/peeph.def,
+       * src/z80/peeph-z80.def: moved peephole that breaks gbz80 to z80-specific
+         peepholes, fixes #1806565
+
+2008-02-20 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCpeeph.c (operandBaseName): added check for @Ri
+       * src/mcs51/peeph.def (rule 177.c): added operandsNotRelated(%1 %3)
+         fixes bug 1739475, thanks Robert Larice
+         (rule 271): new, added
+
+2008-02-18 Borut Razem <borut.razem AT siol.net>
+
+       * sim/ucsim/s51.src/Makefile.in: fixed error made in previous commit
+
+2008-02-17 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCmain.c (linkEdit): emit -z when using --debug for z80
+
+2008-02-17 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/genarith.c,
+       * src/pic16/gen.c,
+       * src/pic16/gen.h,
+       * src/pic16/genutils.c: removed unused legacy code,
+         removed unused fields from struct asmop and struct _G
+
+2008-02-17 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/gen.c (AccRsh): cosmetic changes,
+         (shiftR1Left2ResultSigned,shiftR1Left2Result,shiftL1Left2Result,
+         genRightShiftLiteral): fixed to work with SFRs as result by
+         assigning only once to result,
+         removed a lot of unused/excluded code fragments
+
+2008-02-17 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic/pic16f88.h,
+       * device/include/pic/pic16f886.h,
+       * device/include/pic/pic16f887.h: added TRISA6 and TRISA7
+
+2008-02-17 Borut Razem <borut.razem AT siol.net>
+
+       * src/z80/peeph.def: applied patch
+         #1893626: Optimize tail calls on Z80, thanks to Philipp Krause
+       * src/z80/gen.c, src/z80/peeph.def: applied patch
+         #1893510: Improve logical left shift on Z80, thanks to Philipp Krause
+       * sim/ucsim/avr.src/Makefile.in, sim/ucsim/hc08.src/Makefile.in,
+         sim/ucsim/s51.src/Makefile.in, sim/ucsim/sim.src/Makefile.in,
+         sim/ucsim/xa.src/Makefile.in, sim/ucsim/z80.src/Makefile.in,
+         sim/ucsim/main_in.mk: renamed libutil.a to libucsimutil.a in order to
+         enable compilation on Mac OS X 10.5 (Leopard) and XCode v3.0
+
+2008-02-16 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * as/link/mcs51/aslink.dsp: removed SDK define
+       * as/link/z80/clean.mk: brought in sync with other ports
+       * as/link/z80/lklibr.c (SdccLib, fndsym): handle the dflag here too
+       * as/hc08/Makefile.bcc,
+       * as/mcs51/Makefile.bcc,
+       * as/z80/Makefile.bcc: noice.c was moved to as/asxxsrc/
+       * src/z80/main.c (_setValues): use the now capitalized -Z,
+         (z80_port, gbz80_port): generate debug information when asked
+
 2008-02-16 Borut Razem <borut.razem AT siol.net>
 
        * as/z80/asmain.c, as/z80/asm.h, as/z80/asdata.c,
          as/link/z80/lkmain.c, as/z80/as_gbz80.dsp, as/z80/as_z80.dsp,
-         as/z80/Makefile.in. as/z80/Makefile.bcc: 
+         as/z80/Makefile.in. as/z80/Makefile.bcc:
          applied patch #1893393: patch for as-z80 and link-z80 to generate
          cdb, thanks to Armin Diehl
        * as/*/asnoice.c, as/hc08/as_hc08.dsp, as/hc08/Makefile.in,