X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ChangeLog;h=ee588d7e753097ca114b4943da84b1b9e97cac94;hb=9d40590e5707968d5c58f30cfa45270dc764d41c;hp=6ee3c0577132c43faf8f05f4ece5f22b62fcf916;hpb=bc2438180c507e65017900825a43a6ba2b48d060;p=fw%2Fsdcc diff --git a/ChangeLog b/ChangeLog index 6ee3c057..43ce07a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,1031 @@ +2008-05-19 Borut Razem + + * support/scripts/sdcc.nsi: remove uninstall.exe after uninstallation, + fixed typo + +2008-05-18 Borut Razem + + * support/Utils/dbuf_string.[ch]: added dbuf_chomp(), + the buffer is null terminated + * src/device/pic16.c: + applied modified patch 1965676: Patch for Win32 16 bit PIC + * sdcc_vc_in.h: defined YY_NO_UNISTD_H + +2008-05-16 Maarten Brock + + * src/SDCC.lex (check_type), + * src/SDCC.y (type_specifier2 TYPE_NAME): fixed bug 1925942 + * as/hc08/clean.mk, + * as/mcs51/clean.mk, + * as/z80/clean.mk: also clean *.dep + * device/lib/pic16/libsdcc/stack/Makefile, + * sim/ucsim/libtool: removed as they are rebuild by configure + * src/clean.mk: removed izt, so Makefile is not deleted for distclean + +2008-05-13 Maarten Brock + + * src/SDCCast.c (fixupInline, createFunction): save currBlockno in + fixupInline instead of createFunction to fix bug 1864577 + (inlineFindMaxBlockno): removed, use global blockNo + * src/SDCCglobl.h: added blockNo + * src/z80/peep.c, + * src/z80/peep.h: modified properties + * support/regression/tests/bug1864577.c: new, added + +2008-05-07 Maarten Brock + + * as/mcs51/asdata.c, + * as/mcs51/asm.h: added org_cnt + * as/mcs51/asmain.c (main, asmbl): fixed bug 1957716, changed old K&R to ANSI + * as/mcs51/asout.c: changed old K&R to ANSI + * as/mcs51/Makefile.in: use common identifiers + * as/hc08/asdata.c, + * as/hc08/asexpr.c, + * as/hc08/asm.h, + * as/hc08/asmain.c, + * as/hc08/asout.c, + * as/hc08/Makefile.bcc, + * as/hc08/Makefile.in: synchronized with as/mcs51/* + * sdcc_vc_in.h: added define __func__ + * src/SDCCast.c (expandInlineFuncs): applied patch 1957148 to fix bug 1717305, + Thanks Ruud van Silfhout + * support/regression/tests/bug1717305.c: new, added + +2008-05-05 Borut Razem + + * 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/z80/spec.mk: + added INC_DIR and LIBDIR paths + * src/ds390/gen.c: removed duplicated selicolon + +2008-05-04 Borut Razem + + * support/regression/Makefile.in, + support/regression/fwk/lib/testfwk.c, + support/regression/ports/ds390/spec.mk, + support/regression/ports/hc08/spec.mk, + support/regression/ports/mcs51-common/spec.mk, + support/regression/ports/mcs51-large/spec.mk, + support/regression/ports/mcs51-medium/spec.mk, + support/regression/ports/mcs51-small/spec.mk, + support/regression/ports/mcs51-stack-auto/spec.mk, + support/regression/ports/mcs51-xstack-auto/spec.mk, + support/regression/ports/pic14/spec.mk, + support/regression/ports/pic16/spec.mk, + support/regression/ports/ucz80/spec.mk: + added possibility to define the sdcc binary directory SDCC_BIN_PATH + used to run regeression tests + +2008-05-01 Raphael Neider + + * doc/sdccman.lyx, support/scripts/inc2h-pic16.pl: updated list of + supported devices and instructions to add new ones + +2008-05-01 Raphael Neider + + * device/include/pic16/adc.h, + device/lib/pic16/libio/adc/adcbusy.c, + device/lib/pic16/libio/adc/adcopen.c, + device/lib/pic16/libio/adc/adcsetch.c: support old 18f242 and new + 18f2455 style ADC devices, based on patch #1776197 + * device/lib/pic16/libio/adc/adcclose.c, + device/lib/pic16/libio/adc/adcconv.c, + device/lib/pic16/libio/adc/adcread.c: cosmetic changes + * device/include/pic16/{pic18f2331.h,pic18f2431.h}, + device/lib/pic16/libdev/{pic18f2331.c,pic18f2431.c}: reuse 18f4331 + * device/include/pic16/pic18f4431.h, + device/lib/pic16/libdev/pic18f4431.c: remove outdated comments + * device/lib/pic16/libio/adc.ignore: forbid unhandled devices + +2008-05-01 Raphael Neider + + * src/pic16/device.h: removed unused field PIC16_device.sfrRange, + moved xinst flag into pic16_options_t + * src/pic16/device.c (default_device, pic16_list_devices, + pic16_find_device): removed references to sfrrange + * src/pic16/gen.c (genFunction), + src/pic16/glue.c (pic16initialComments), + src/pic16/main.c (pic16_optionsTable), + src/pic16/ralloc.c (newReg, pic16_writeUsedRegs): updated references + to xinst + * device/include/pic16/pic16devices.txt: removed sfrrange lines + +2008-04-29 Raphael Neider + + * src/pic16/devices.inc, + device/include/pic16/pic16devices.txt: replaced compiled-in list + of devices with a variant parsed at runtime + * src/pic16/device.c: added support for parsing pic16devices.txt, + clean up + * src/pic16/device.h: removed (now) unused fields from PIC_device + * src/pic16/main.c: removed #pragma maxram, + (_pic16_initPaths): removed bogus generation of search paths, + setup the port proper only after the search paths (for + pic16devices.txt) are set up, + (_pic16_finaliseOptions): moved processor dependant code here + from _pic16_initPaths(), clean up + * src/pic16/ralloc.c (pic16_init_stack), + * src/pic16/ralloc.h, + * src/pic16/pcode.c: clean up + * device/include/Makefile.in, + support/scripts/sdcc.nsi: also install/package pic16devices.txt + * support/scripts/inc2h-pic16.pl: updated instructions + +2008-04-29 Raphael Neider + + * device/include/pic16/{pic18f2480.h, pic18f2580.h, pic18f4423.h, + pic18f4480.h, pic18f4523.h, pic18f4580.h, pic18f6585.h, pic18f8585.h}, + device/lib/pic16/libdev/{pic18f2480.c, pic18f2580.c, pic18f4423.c, + pic18f4480.c, pic18f4523.c, pic18f4580.c, pic18f6585.c, pic18f8585.c}: + added missing family members and 18f2480/2580/4480/4580 family + * device/include/pic16/{pic18f2423.h, pic18f2523.h}: use 18f4523.h + * device/include/pic16/pic18f2525.h: use 18f4620.h + * device/include/pic16/pic18f6680.h: use 18f8680.h + * device/include/pic16/pic18fregs.h, + device/lib/pic16/pics.all, + src/pic16/devices.inc: add new devices + * device/lib/pic16/libdev/{pic18f2423.c, pic18f2523.c}: use 18f4523.c + * device/lib/pic16/libdev/pic18f2525.c: use 18f4620.c + * device/lib/pic16/libdev/pic18f6680.c: uso 18f8680.c + * device/lib/pic16/libio/{adc.ignore, i2c.ignore, usart.ignore}: + prevent attempting to build the libio for some new devices + +2008-04-29 Raphael Neider + + * debugger/mcs51/Makefile.in: fixed paths to sources + +2008-04-25 Borut Razem + + * as/link/lklibr.c: moved from as/link/z80/lklibr.c + * as/link/hc08/lklibr.c, as/link/mcs51/lklibr.c: deleted + * as/link/hc08/Makefile.bcc, as/link/hc08/Makefile.in, + * as/link/hc08/link_hc08.dsp, as/link/mcs51/Makefile.bcc, + as/link/mcs51/Makefile.in, as/link/mcs51/aslink.dsp, + as/link/z80/Makefile.in, as/link/z80/linkgbz80.dsp, + as/link/z80/linkz80.dsp: lklibr.c moved + * doc/INSTALL.txt: binary archives in bz2 format + * support/cpp/auto-host_vc_in.h: CPP2 replaced with CPP + +2008-04-23 Maarten Brock + + * src/SDCCglue.c (printIvalType, printIvalBitFields): fixed bug 1856409 + * support/regression/tests/bug1856409.c: new, added + +2008-04-20 Maarten Brock + + * src/z80/peep.c, + * src/mcs51/peep.c: Use werror for error messages. + * src/SDCCicode.c (geniCodeConditional), + * src/SDCCsymt.c (structElemType): fixed bug 1839321 + * src/z80/Makefile.bcc, + * src/z80/z80.dsp: added src/z80/peep.c/h + * support/regression/tests/bug1839321.c: new, added + +2008-04-20 Raphael Neider + + * device/include/pic16/pic18f2455.h: added bitfields for port C + +2008-04-20 Philipp Klaus Krause + + * src/z80/peep.c: Use werror for error messages. + +2008-04-19 Philipp Klaus Krause + + * src/z80/peep.h (declaration of notUsed()), + * src/z80/main.c (enabled notUsed() for z80 port, documented z80_port + struct), + * src/z80/z80.h (added dependency on peep.h), + * src/z80/peep.c (definition of notUsed()): Implemented RFE #1880202 + for Z80. + +2008-04-19 Philipp Klaus Krause + + * src/SDCCpeeph.c (added support for notUsed()), + * src/mcs51/main.c (added dependency on peep.h, documented mcs51_port + struct), + * src/port.h (removed dependency on mcs51/peep.h, added declaration + for notUsed()): Implemented generic (that is not port-specific) part + of RFE #1880202. + +2008-04-17 Maarten Brock + + * as/link/mcs51/lkmem.c (summary2): fixed bug 1796077 + * device/lib/libsdcc.lib, + * device/lib/Makefile.in, + * support/regression/ports/mcs51-xstack-auto/spec.mk, + * device/lib/calloc.c: renamed to _calloc.c + * device/lib/free.c: renamed to _free.c + * device/lib/malloc.c: renamed to _malloc.c + * device/lib/realloc.c: renamed to _realloc.c + * src/ds390/gen.c (aopGet, aopPut, genPlusBits, genDataPointerSet, + genNearPointerSet, genPagedPointerSet): synchronized with mcs51/gen.c + * src/ds390/gen.c (popForBranch, genIfxJump, genCmp, genCmpEq, ifxForOp, + genAnd, genOr, genXor, genIfx, gen390Code): fixed bug 1509084 + * src/mcs51/gen.c (popForBranch, genIfxJump, genCmp, genCmpEq, + ifxForOp, genAnd, genOr, genXor, genNearPointerGet, + genPagedPointerGet, genFarPointerGet, genCodePointerGet, + genGenPointerGet, genIfx, gen51Code): fixed bug 1509084 + * src/ds390/gen.c, + * src/mcs51/gen.c: throughout cosmetic changes for syncing both + * src/SDCCsymt.h: updated IS_OP_RUONLY, IS_OP_ACCUSE + * support/regression/tests/bug1509084.c: new, added + +2008-04-14 Maarten Brock + + * device/include/mcs51/cc2510fx.h: added _XPAGE + * device/include/mcs51/compiler.h: cosmetic changes + +2008-03-31 Maarten Brock + + * sdcc.dsw: adapted for moved cpp2, added dependency for as_z80 on + config + +2008-03-31 Borut Razem + + * support/cpp2 renamed to support/cpp + * support/cpp2/libiberty/filenames.h, support/cpp2/libiberty/hex.c, + support/cpp2/libiberty/splay-tree.c, + support/cpp2/libiberty/splay-tree.h, support/cpp2/libcpp/macro.c, + support/cpp2/libcpp/directives.c, + support/cpp2/libcpp/include/cpplib.h, + support/cpp2/libcpp/include/symtab.h, + support/cpp2/libcpp/include/line-map.h, + support/cpp2/libcpp/line-map.c, support/cpp2/libcpp/files.c, + support/cpp2/libcpp/init.c, support/cpp2/libcpp/traditional.c, + support/cpp2/libcpp/expr.c, support/cpp2/libcpp/internal.h, + support/cpp2/libcpp/lex.c, support/cpp2/libcpp/system.h, + support/cpp2/libcpp/charset.c: SDCPP synchronized with GCC CPP + release version 4.3.0 + * configure.in, configure, Makefile.in, Makefile.bcc: + adapted for moved cpp2 + +2008-03-31 Frieder Ferlemann + + * device/include/hc08/mc68hc908jkjl.h: committed fix for bug #1929739, + thanks Alejandro Pustowka + +2008-03-30 Maarten Brock + + * src/SDCCloop.c (loopInvariants): applied fix for bug 1717943, thanks + Robert Larice + * support/regression/tests/bug1717943.c: new, added + +2008-03-30 Philipp Klaus Krause + + * src/z80/gen.c (assignResultValue): Reverted reversal of order of + bytewise return value assignments introduced in last commit. + +2008-03-30 Philipp Klaus Krause + + * src/z80/gen.c (emitDebug, assignResultValue, genPlus, genMinus, + genMult, genJumpTab): + Use 16-bit instructions for addition in some additional cases, + implemented RFEs #1914251, #1914245, #1922090, #1921382, #1918323. + +2008-03-30 Philipp Klaus Krause + + * src/z80/ralloc.c (serialRegAssign, allocReg, tryAllocatingRegPair): + Implemented RFE #1921450, changed some debug messages. + +2008-03-30 Borut Razem + + * Small Device C Compiler 2.8.0 released + * .version, doc/sdccman.lyx: changed sdcc version to 2.8.1 + * support/scripts/sdcc.nsi: added finish page; this version + was used for 2.8.0 release + * doc/knownbugs.html: removed; magically generated by the build + process using gen_known_bugs.pl from now on + +2008-03-23 Borut Razem + + * src/pic/gen.h: Q&D solution for the bug, found by Jim Paris + and reverted it, since it was already fixed by Raphael ;-) + * doc/knownbugs.html: updated for RC2 + +2008-03-22 Raphael Neider + + * src/SDCCicode.c (getPtrType): avoid unnecessary extra assignments + for PIC16 targets + +2008-03-22 Maarten Brock + + * src/mcs51/gen.c (adjustArithmeticResult): fixed bug 1839299 + * support/regression/tests/bug1839277.c: added related testBug1839299 + +2008-03-21 Maarten Brock + + * src/ds390/gen.c (opIsGptr, adjustArithmeticResult, genAddrOf, genAssign), + * src/mcs51/gen.c (opIsGptr, adjustArithmeticResult, genAddrOf, genAssign): + fixed bug 1839277 + * src/mcs51/gen.c: throughout only output hex constants + * src/SDCCicode.c (getPtrType, geniCodeCast): fixed code size regression + * support/regression/tests/bug1839277.c: new, added + +2008-03-21 Philipp Klaus Krause + + * src/z80/ralloc.c (callFuncByName): Used // instead of /**/ to fix + compilation warning about nested comments. + +2008-03-20 Maarten Brock + + * src/SDCCsymt.c (comparePtrType): fixed bug 1921073 + * support/regression/tests/bug1921073.c: new, added + +2008-03-17 Philipp Klaus Krause + + * src/z80/SDCCpeeph.c.c (callFuncByName): + Commented function parameters. + +2008-03-17 Philipp Klaus Krause + + * src/z80/ralloc.c (packRegsForAccUse2): + disabled a broken accumulator packing optimization (fixed #1292721). + * support/regression/tests/bug-1292721: Regression test for #1292721. + +2008-03-16 Raphael Neider + + * src/pic/gen.c (SetIrp,genNearPointerGet,genNearPointerSet): + fixed code bloat regression using a variant of patch #1915618 + +2008-03-16 Borut Razem + + * support/scripts/sdcc.nsi: added section debugging macros, added SDCC + icon, changed startup menu for release distribution, code cleaning, + create url files instead links in startup menu + +2008-03-16 Maarten Brock + + * src/SDCCcse.c (algebraicOpts): fixed bug 1579949 + * support/regression/tests/bug1579949.c: new, added + +2008-03-14 Paul Stoffregen + + * device/lib/printf_fast.c: fixed bug 1255403 + +2008-03-14 Maarten Brock + + * doc/sdccman.lyx: enhanced paragraph about bankswitching for mcs51 + * src/cdbFile.c (cdbWriteBasicSymbol): fixed bug 1909409 for locals + +2008-03-14 Borut Razem + + * as/doc/asmlnk.doc, as/doc/asxhtm.html: updated link-xx and aslink + command line options + * as/link/hc08/lkmain.c: converted tabs to spaces so that the usage + is correctly displayed + * as/link/z80/lkmain.c: usage line commented out + +2008-03-13 Borut Razem + + * doc/sdccman.lyx: corrected to be able to convert to PDF, + updated the list pf supported pic14 devices + +2008-03-12 Maarten Brock + + * doc/sdccman.lyx: added paragraph about bankswitching for mcs51 + +2008-03-12 Borut Razem + + * as/doc/asmlnk.doc, as/doc/asxhtm.html: updated command line options, + fixed documentation request #1718191 + * as/hc80/asmain.c, as/mcs51/asmain.c: added option -c to usage + * doc/sdccman.lyx: added description of --no-std-crt0 gbz80 + command line option + +2008-03-10 Maarten Brock + + * src/SDCCast.c (isConformingBody): fixed bug 1505811, thanks Robert Larice + * support/regression/tests/bug1505811.c: new, added + +2008-03-09 Raphael Neider + + * device/include/pic16/pic18f2620.h, + * device/include/pic16/pic18f4620.h, + * device/lib/pic16/libdev/pic18f2620.c, + * device/lib/pic16/libdev/pic18f4525.c, + * device/lib/pic16/libdev/pic18f4620.c: merged 18f2525/2620/4525/4620 + family to consistently use pic18f4620.[ch], fixes #1832562 + +2008-03-09 Borut Razem + + * .version, sdcc.spec, doc/sdccman.lyx, doc/INSTALL.txt: + changed sdcc version to 2.8.0 + * knownbugs.html: regenerated + * support/scripts/gen_known_bugs.pl: added number of open bugs + +2008-03-09 Raphael Neider + + * src/pic16/gen.c (pic16_mov2w_volatile): NEW, read volatile operands, + (genOr): read volatile operand even if the result is known, + closes #1511838 + (genOr,genXor): removed unused legacy code, + (genDummyRead): use pic16_mov2w_volatile() + +2008-03-08 Borut Razem + + * src/SDCCglue.c: fixed bug #1864582: multiple definition of char + cons w. --model-large + * support/regression/staticinit.c: added regression test for bug + #1864582 + +2008-03-08 Maarten Brock + + * src/ds390/gen.c (pushSide, genPcall), + * src/hc08/gen.c (pushSide, genPcall): synchronized with mcs51 + * src/mcs51/gen.c: cosmetic changes + * support/regression/fwk/include/testfwk.h: added macro reentrant + * support/regression/tests/bug1908493.c: new, added + +2008-03-08 Jesus Calvino-Fraga + + * src/SDCCdebug.c:, as/link/lkaomf51.c: Fixed bug 1909409: Pdata in OMF file + +2008-03-08 Maarten Brock + + * src/mcs51/gen.c (pushSide, genPcall): fixed bug 1908493 + * src/SDCCmain.c (preProcess): removed -DSDCC_PARMS_IN_BANK1 because it is + already set in ds390/main.c and mcs51/main.c + +2008-03-07 Raphael Neider + + * src/regression/init0.c: new test for initialized arrays of function + pointers + * src/regression/Makefile: made a bit more flexible, added init0.c + * src/pic/glue.c (emitIvals): hacky fix for initializing from function + pointers, closes #1427663 + +2008-03-05 Borut Razem + + * dos/sdccman.lyx: docummented predefined macros SDCC_REVISION, + SDCC_PARMS_IN_BANK1, SDCC_FLOAT_REENT and SDCC_INT_LONG_REENT + +2008-03-05 Jesus Calvino-Fraga + + * support/librarian/sdcclib.c:Added feature request 1908061: + Synchronise sdcclib commands with ar. + +2008-03-04 Frieder Ferlemann + + * 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 + + * 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 + + * 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 + + * 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 + + * src/pic/device.c (find_device): search user-specified paths first + for pic14devices.txt, fixes #1900827 + +2008-03-02 Borut Razem + + * support/scripts/sdcc.nsi: fixed bug in IsNT, LogicLib-isation of + AddToPath and RemoveFromPath + +2008-03-01 Borut Razem + + * 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 + + * doc/sdccman.lyx: cosmetic changes + +2008-02-28 Maarten Brock + + * src/mcs51/ralloc.c (fillGaps): fixed bug 1839671 + * doc/sdccman.lyx: fixed unmeant removal of spaces + +2008-02-27 Borut Razem + + * 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 + + * 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 + + * 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 + + * src/mcs51/ralloc.c (isSpiltOnStack): fixed bug 1565152 + * support/regression/tests/bug1565152.c: new, added + +2008-02-25 Maarten Brock + + * 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 + + * device/include/mcs51/at89c51ed2.h: fixed bug 1901469. + +2008-02-24 Borut Razem + + * src/SDCCast.c, src/SDCCast.h: fixed bug #1874922: explicit typecast + is ineffective for unsigned char parameter + +2008-02-24 Maarten Brock + + * 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 + + * src/z80/gen.c (genMult): Rewrote 8-bit multiplication by constant, + implements #1898231 + +2008-02-22 Philipp Klaus Krause + + * device/lib/z80/mul.s: Rewrote __muluchar_rrx_s, to improve 8-bit mult., + implements #1896290 + +2008-02-22 Maarten Brock + + * src/SDCCast.c (createIvalStruct): fixed bug 1466761 + +2008-02-21 Borut Razem + + * 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 + + * support/regression/tests/bugs-1596270-1736867.c: Regression test for + #1596270, #1736867 + +2008-02-20 Maarten Brock + + * src/SDCClrange.c (findPrevUse): fixed bug 1888147 + * support/regression/tests/bug1888147.c: new, added + +2008-02-20 Philipp Klaus Krause + + * src/z80/gen.c: fixed bugs #1596270, #1736867 + +2008-02-20 Philipp Klaus Krause + + * src/z80/gen.c: fixed bug in register pair loading when swapping register + contents, mostly fixes #1596270 + +2008-02-20 Philipp Klaus Krause + + * 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 + + * 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 + + * sim/ucsim/s51.src/Makefile.in: fixed error made in previous commit + +2008-02-17 Maarten Brock + + * src/SDCCmain.c (linkEdit): emit -z when using --debug for z80 + +2008-02-17 Raphael Neider + + * 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 + + * 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 + + * device/include/pic/pic16f88.h, + * device/include/pic/pic16f886.h, + * device/include/pic/pic16f887.h: added TRISA6 and TRISA7 + +2008-02-17 Borut Razem + + * 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 + + * 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 + + * 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: + 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, + as/mcs51/asx8051.dsp, as/mcs51/Makefile.in: + asnoice.c moved to as/asxxsrc/asnoice.c + * src/z80/peeph-gbz80.def: applied patch + #1880235: Z80 return peephole, thanks to Philipp Krause + +2008-02-14 Maarten Brock + + * .version, + * doc/sdccman.lyx: bumped version to 2.7.5 + * src/SDCCsymt.c (compareType, comparePtrType): fixed bug 1281583 + +2008-02-13 Maarten Brock + + * device/include/pic16/stdlib.h, + * device/lib/pic16/libc/stdlib/ltoa.c, + * device/lib/pic16/libc/stdio/vfprintf.c: ascii strings are char* + +2008-02-13 Borut Razem + + * src/SDCCmain.c, src/SDCCglue.c: fixed --c1mode + * src/pic16/glue.c, src/SDCCast.c, src/SDCCast.h, src/SDCCBBlock.c, + src/SDCCcse.c, src/SDCCglue.c, src/SDCCicode.c, src/SDCCloop.c, + src/SDCCopt.c, src/SDCCval.c: + fixed bug #1890273: SDCC Warning 154 shows wrong filename + +2008-02-12 Maarten Brock + + * src/SDCCsymt.c (compareType): fixed bug 1309013 + +2008-02-09 Borut Razem + + * src/SDCCval.c, src/SDCCval.h: + code cleaning, added function constChrVal() + * src/SDCCglue.c, src/pic/glue.c, src/pic16/glue.c, src/SDCCast.c, src/SDCC.y: + call constChrVal() instead constVal() + +2008-02-01 Maarten Brock + + * src/SDCCast.c (resolveSymbols): added reentrancy check for parameters + of function pointer + * src/SDCCerr.h, + * src/SDCCerr.c: changed warning W_NONRENT_ARGS to error E_NONRENT_ARGS + * support/regression/tests/absolute.c: added TestStruct TestVar (see also + bug 1859853) + +2008-02-01 Raphael Neider + + * device/include/pic/pic16f886.h, + * device/include/pic/pic16f887.h: added RA6 and RA7 + +2008-01-24 Raphael Neider + + * device/include/pic/pic16f88.h: added RA6 and RA7 + * device/lib/pic/libdev/disabled_pic16f886.c, + * device/lib/pic/libdev/disabled_pic16f887.c: renamed and enabled + + * src/pic16/devices.inc, + * device/include/pic16/pic18f2423.h, + * device/include/pic16/pic18f2523.h, + * device/include/pic16/pic18fregs.h, + * device/lib/pic16/pics.all + * device/lib/pic16/libdev/pic18f2423.c, + * device/lib/pic16/libdev/pic18f2523.c: added 18f2423 and 18f2523 + * device/lib/pic16/libio/i2c.ignore, + * device/lib/pic16/libio/usart.ignore, + * device/lib/pic16/libio/adc.ignore: ignore new devices + +2008-01-23 Maarten Brock + + * src/SDCCast.c (createRMW): fixed bug 1582651 + +2008-01-20 Borut Razem + + * src/SDCCcse.c: partially fixed enhancement request + #1793872 - multiply by -1 not collapsed + * support/regression/tests/arithcsi.c: added regression test + +2008-01-19 Maarten Brock + + * as/mcs51/asx8051.dsp: removed define SDK + * as/mcs51/i51mch.c (machine): fixed bug 1865114 + * device/include/asm/ds390/features.h: fixed bug with ds390 & stack-auto + * as/link/lklex.c, + * as/link/mcs51/lkmain.c: used LKDIRSEP, LKDIRSEPSTR and LKOBJEXT, + cosmetic changes, brought more in sync, changed old K&R to ANSI + +2008-01-13 Borut Razem + + * support/scripts/sdcc.nsi: added Uninstall/reinstall page, ... + * src/SDCCicode.c: fixed bug #1870216 - Error 122: dividing by zero + +2007-12-30 Borut Razem + + * src/pic16/gen.c: fixed implementation of bitwise operations for + pic16 target + * support/regression/tests/bitwise.c: added test cases + +2007-12-29 Borut Razem + + * src/SDCCasm.[ch]: renamed from asm[ch], use dbuf_getline(), ... + * src/src.dsp, src/Makefile.bcc, src/Makefile.in, src/common.h, + src/SDCCglue.c, src/xa51/main.c: asm.[ch] renamed to SDCCasm.[ch] + * support/Util/dbuf_string.[ch]: added function dbuf_getline() + * src/ds390/gen.c, src/hc08/gen.c, src/mcs51/gen.c, src/pic16/gen.c, + src/pic/gen.c, src/z80/gen.c, src/xa51/gen.c, src/pic16/ralloc.c, + src/pic16/pcode.[ch]: added const qualifier + * as/hc08/Makefile.bcc, as/hc08/Makefile.in, as/hc08/as_hc08.dsp, + as/mcs51/Makefile.bcc, as/mcs51/Makefile.in, as/mcs51/asx8051.dsp, + as/z80/Makefile.bcc, as/z80/Makefile.in, as/z80/as_gbz80.dsp, + as/z80/as_z80.dsp: added dbuf.[ch] and dbuf_string[ch] to project + * as/asxxsrc/aslex.c: use dbuf_getline() + * as/hc08/asdata.c, as/hc08/asexpr.c, as/hc08/asm.h, as/hc08/m08adr.c, + as/mcs51/asdata.c, as/mcs51/asexpr.c, as/mcs51/asm.h, + as/mcs51/i51adr.c, as/z80/asdata.c, as/z80/asexpr.c, as/z80/aslist.c, + as/z80/asm.h, as/z80/z80adr.c: + changed type of ib and ip to const char * + +2007-12-28 Borut Razem + + * as/asxxsrc/aslex.c: moved from as/mcs51/aslex.c; + introduced (readlin) - long lines are turuncated + * as/hc08/as_hc08.dsp, as/mcs51/asx8051.dsp, as/z80/as_gbz80.dsp, + as/z80/as_z80.dsp, as/hc08/Makefile.in, as/mcs51/Makefile.in, + as/z80/Makefile.in: moved aslex.c to asxxsrc + * as/hc08/aslex.c, as/z80/aslex.c: deleted + * as/hc08/asmain.c, as/mcs51/asmain.c: + added missing initialization of a_addr field + * support/regression/tests/long_asm_line.c: added regtest for long + assembler line + +2007-12-22 Borut Razem + + * src/SDCC.lex: fixed bug #1852894: # character hangs the compiler + +2007-12-20 Maarten Brock + + * src/SDCCsymt.c (computeType): fixed bug, thanks Fan Weiguang + +2007-12-16 Borut Razem + + * device/include/pic16/stdbool.h: removed, since already exists in + device/include/; this also fixes bitopcse.c regression test for pic16 + target + * support/regression/fwk/inclusw/testfwk.h: added macro ASSERT_FAILED + * src/pic16/glue.c: fixed bug #1851855: generic static pointer + dereference doesn't work; covered by regression test bug1399290 + +2007-12-05 Borut Razem + + * doc/sdccman.lyx: fixed bug #1844509 - Correction to Manual 4.6.9 + Adding new PIC16 + +2007-12-01 Borut Razem + + * sim/ucsim/cmd.src/cmdmem.cc, sim/ucsim/cmd.src/mem.cc: + corrected handling of the highest_valid_address + +2007-11-17 Raphael Neider + + * src/pic/main.c (_asmCmd): include debug arguments (-g as $3) + * src/pic/glue.c (picglue): emit .file if --debug is given + +2007-11-17 Raphael Neider + + * src/pic16/genarith.c (pic16_genPlus, pic16_genMinus): take special + care when left or right operand resides in result, fixes #1830220 + +2007-11-17 Borut Razem + + * src/SDCCglue.c, src/pic16/glue.c: reverted fix for bug + #983491 - "Merge duplicate strings function is ineffective" + * support/regression/tests/bug-983491.c: regtest disabled + * as/asxxsrc: created + as/asxxsrc/assym.c, as/asxxsrc/strcmpi.c: moved + as/hc08/assym.c, as/mcs51/assym.c, as/strcmpi.c, + as/z80/assym.c, as/hc08/asstore.c, as/mcs51/asstore.c: deleted + as/hc08/Makefile.bcc, as/hc08/Makefile.in, as/hc08/as_hc08.dsp, + as/hc08/asm.h, as/link/hc08/Makefile.bcc, as/link/hc08/Makefile.in, + as/link/hc08/link_hc08.dsp, as/link/mcs51/Makefile.bcc, + as/link/mcs51/Makefile.in, as/link/mcs51/aslink.dsp, + as/link/z80/Makefile.in, as/link/z80/linkgbz80.dsp, + as/link/z80/linkz80.dsp, as/mcs51/Makefile.bcc, as/mcs51/Makefile.in, + as/mcs51/asm.h, as/mcs51/asx8051.dsp, as/z80/Makefile.bcc, + as/z80/Makefile.in, as/z80/as_gbz80.dsp, as/z80/as_z80.dsp, + as/z80/Makefile.as_hc08, as/mcs51/Makefile.asx8051: modified + created as/asxxsrc directory, assym.c and strcpi.c moved into it + +2007-11-15 Maarten Brock + + * device/include/stdarg.h: added and removed some casts + * src/SDCCsymt.c (compareType): Fully check types between generic and + non-generic pointers, also accept ptr-ptr to void-ptr assignments + +2007-11-13 Borut Razem + + * support/regression/tests/bug-1817005.c: + added regtest for bug #1817005 - as-z80 chokes on long labels + +2007-11-12 Borut Razem + + * as\z80\asmain.c, as\z80\asm.h, as\z80\assym.c, as\z80\asdata.c, + as\z80\asout.c, as\z80\aslist.c: + fixed bug #1817005 - as-z80 chokes on long labels + +2007-11-11 Maarten Brock + + * as/hc08/asmain.c, + * as/z80/asmain.c: cosmetic changes + * as/hc08/alloc.h, + * as/mcs51/alloc.h, + * as/z80/alloc.h: removed + * as/hc08/assym.c, + * as/mcs51/assym.c: replaced alloc.h with stdlib.h + * as/link/aslink.h: added LKDIRSEP and, LKDIRSEPSTR + * as/link/hc08/Makefile.in, + * as/link/mcs51/Makefile.in, + * as/link/z80/Makefile.in: added -DUNIX to CFLAGS + * as/link/lklex.c, + * as/link/mcs51/lkarea.c, + * as/link/mcs51/lkmain.c: cosmetic changes + * as/link/hc08/lklibr.c, + * as/link/z80/lklibr.c, + * as/link/mcs51/lklibr.c: used LKDIRSEP, LKDIRSEPSTR and LKOBJEXT, + used cygwin_conv_to_full_posix_path, + added warnings, cosmetic changes, brought more in sync + changed old K&R into ANSI function declarations + * as/link/z80/lklibr.c (loadAdb): added + * as/link/z80/lkmain.c: removed -- option from usage text + +2007-11-03 Maarten Brock + + * src/mcs51/gen.c (outBitC): optimized for no result + +2007-10-31 Borut Razem + + * src/SDCCsymt.c: fixed (hopeful properly) bug + #1805702 - order of extern matters + * support/regression/tests/bug-1805702.c: enabled regtest for bug + #1805702 + +2007-10-29 Borut Razem + + * src/SDCCsymt.c: reverted bad fixed of bug #1805702 + - order of extern matters + * support/regression/tests/bug-1805702.c: disabled regtest for bug + #1805702 + +2007-10-29 Maarten Brock + + * src/ds390/peeph.def: replaced 24bitModeAndPortDS390 by + 24bitMode, portIsDS390 + * src/mcs51/gen.c (genOr): optimized for RFE 1750727 + * src/SDCCpeeph.c (flat24bitModeAndPortDS390): removed + (notVolatileVariable): also check sloc names, + (callFuncByName): moved ftab[] out of function and sorted it by use + +2007-10-28 Maarten Brock + + * device/include/stdarg.h: fixed bug in va_start macro for --xstack + * src/hc08/gen.c (aopForRemat): aop->aopu.aop_immd.from_cast_remat not set, + aop->aopu.aop_immd.aop_immd2 not filled with (generic) pointer type + * src/SDCCicode.c (geniCodeCast): fixed bug 880197 + * support/regression/tests/bug-880197.c: new, added + +2007-10-28 Borut Razem + + * support/regression/Makefile.in, + support/regression/ports/mcs51-large/spec.mk, + support/regression/ports/mcs51-xstack-auto/spec.mk, + support/regression/ports/mcs51-stack-auto/spec.mk, + support/regression/ports/mcs51-medium/spec.mk, + support/regression/ports/mcs51-common/spec.mk, + support/regression/ports/mcs51-common/*, + support/regression/ports/mcs51-small/*: + mcs51 renamed to mcs51-common, created mcs51-small + * src/SDCCsymt.c: fixed bug #1805702 - order of extern matters + * support/regression/tests/bug-1805702.c: added regtest for bug + #1805702 + +2007-10-26 Maarten Brock + + * 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 + + * support/regression/tests/bug1816470.c: new, added + +2007-10-21 Maarten Brock + + * 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 + + * 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 + + * support/regression/tests/using.c: new, added + * support/regression/tests/vaargs.c: fixed and enabled test + +2007-10-18 Borut Razem + + * 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 * doc/sdccman.lyx: documented option --Werror