* src/SDCCBlock.c (addiCodeToeBBlock): fixed bug 1652207: GOTO icodes appended by...
[fw/sdcc] / ChangeLog
index 7c5536f1cac747e37eb1298fad1ec19b4ab3c6c1..5e2bcd5a00f13d8ad47e4af7a77a6eb537def328 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,287 @@
+2007-02-06 Bernhard Held <bernhard AT bernhardheld.de>
+
+       * src/SDCCBlock.c (addiCodeToeBBlock): fixed bug 1652207: GOTO icodes
+       appended by loop induction must be at the very end of the eBBlock
+
+2007-02-05 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/fwk/lib/timeout.c: native WIN32 port,
+         implemented #1651830 Reg. tests: rewrite timeout.c to use WIN32 API
+
+2007-02-03 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCC.y, src/SDCCmain.c, src/SDCCglobl.h, doc/sdccman.lyx:
+         applied patch #1646602 option to set default signedness of char to
+         unsigned, added -funsigned-char command line option,
+         thanks to Gunther Jehle
+       * device/lib/Makefile.in: added the -f option to rm so it doesn't
+         prompt for file deletion a few hundred times (especially the
+         subversion files, which have ro permissions so it asks for
+         confirmation), thanks to Simon McAuliffe;
+         added {} + option to find in order to remove multiple files from a
+         single rm commad
+
+2007-02-02 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+       * device/include/mcs51/SST89x5xRDx.h: Added.
+
+2007-02-02 Raphael Neider <rneider AT web.de>
+
+       * src/pic/glue.c (emitSymbolSet): check sym->etype before use
+       * src/regression/Makefile: use --no-pcode-opt, ignore failing tests
+
+2007-02-01 Raphael Neider <rneider AT web.de>
+
+       * src/pic/glue.c (picglue,emitSymbolSet,showAllMemmaps): emit the
+         config words again
+
+2007-01-31 Borut Razem <borut.razem AT siol.net>
+
+       * support/Util/dbuf_string.h: added ATTRIBUTE_PRINTF to dbuf_printf()
+         if compiled with GCC. Thanks to Raphael Neider
+
+2007-01-31 Raphael Neider <rneider AT web.de>
+
+       * src/pic/pcode.c (isValidIdChar,bankCompare): fuzzy matching of
+           operand names, handles name and (name + n) for all n,
+         (sameBank): restructured, also check bank allocation policy,
+       * src/pic/glue.c (emitPseudoStack): fixed printf arguments,
+         (pic14_operandsAllocatedInSameBank): check whether to operands
+           will be allocated into the same bank (i.e., section) to reduce
+           BANKSEL overhead, queried from pcode.c:sameBank,
+         (pic14printLocals): reintroduced clustering registers into a single
+           section: all compiler generated symbols will now reside in one
+           bank (per file), reducing BANKSEL overhead and code size,
+         (showAllMemmaps): use local dbuf where possible
+
+2007-01-29 Raphael Neider <rneider AT web.de>
+
+       * src/pic/gen.c (popGetExternal): simplified, mark symbol as used,
+         (call_libraryfunc): retrieve/create symbol and mark as used,
+         (genFunction): mark defined functions as non-extern and add again
+          to code memmap for later output
+       * src/pic/glue.c (emitPseudoStack): put into own subroutine,
+         (pic14printLocals): reworked for new symbol emission,
+         (emitIfNew,pic14_constructAbsMap,emitIvalLabel,emitIvals,emitInitVal,
+         showAllMemmaps): reworked symbol output using dbufs, added handling
+           of string literals (still incomplete),
+         (picglue): removed symbol emission, moved into showAllMemmaps,
+         (emitSymbolSet): new workhorse for symbol output,
+         (pic14emitMaps,pic14printPublics,pic14printExterns): commented out
+
+2007-01-29 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCmain.c, src/SDCCutil.c: dbuf_splitFile: file extension
+         component contains the extension separator.
+
+2007-01-28 Borut Razem <borut.razem AT siol.net>
+
+       * sim/ucsim/cmd.src/cmdutil.cc: NUL device is detected as CG_FILE type
+         on WIN32
+       * src/SDCCdwarf2.c, src/SDCCglobl.h, src/SDCCmain.c, src/SDCCutil.c,
+         src/SDCCutil.h, src/avr/gen.c, src/ds390/gen.c, src/hc08/gen.c,
+         src/mcs51/gen.c, src/pic/device.c, src/pic/gen.c, src/pic/pcode.c,
+         src/pic/pcodepeep.c, src/pic/ralloc.c, src/pic16/device.h,
+         src/pic16/gen.c, src/pic16/main.c, src/pic16/pcode.c,
+         src/pic16/pcodepeep.c, src/pic16/ralloc.c, src/xa51/gen.c,
+         src/z80/gen.c, support/Util/MySystem.c:
+         accept slash and backslash as directory separator on WIN32 and
+         Cygwin ports
+
+2007-01-28 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/devices.inc,
+       * device/include/pic16/pic18f[24][23]21.h,
+       * device/include/pic16/pic18fregs.h,
+       * device/lib/pic16/libdev/pic18f[24][23]21.c,
+       * device/lib/pic16/pics.all: added support for the 18f[24][23]21 family
+       * device/lib/pic16/libio/adc.ignore,
+       * device/lib/pic16/libio/i2c.ignore,
+       * device/lib/pic16/libio/usart.ignore: do not build I/O lib for new
+         family, as gputils do not yet support the devices
+       * device/lib/pic16/Makefile.subdir: ignore errors on install
+       * support/scripts/inc2h-pic16.pl: script to generate pic16 device
+         headers and libraries from gputils .inc files
+
+2007-01-26 Paul Stoffregen <paul AT pjrc.com>
+
+       * doc/sdccman.lyx: add printf_fast_f precision limitation note
+
+2007-01-26 Paul Stoffregen <paul AT pjrc.com>
+
+       * doc/sdccman.lyx: add printf benchmarks
+
+2007-01-25 Paul Stoffregen <paul AT pjrc.com>
+
+       * device/lib/printf_fast.c: fix %c, char promoted to int
+       * device/lib/printf_tiny.c: fix %c, char promoted to int
+
+2007-01-25 Paul Stoffregen <paul AT pjrc.com>
+
+       * device/lib/printf_fast.c: fix float overflow check, bug #1525093
+
+2007-01-25 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * support/regression/tests/swap.c: 64 bit hosts failed
+       * doc/sdccman.lyx: added preliminary mcs51 printf feature matrix
+
+2007-01-25 Raphael Neider <rneider AT web.de>
+
+       * src/pic/pcode.c (sameBank,FixRegisterBanking): optimize banksels
+         based on absolute register address, patch by Alex Blond
+
+2007-01-22 Raphael Neider <rneider AT web.de>
+
+       * src/pic/glue.c (pic14emitRegularMap): mark initialized symbols as
+         emitted, do not emit them again...
+
+2007-01-22 Raphael Neider <rneider AT web.de>
+
+       * src/regression/bank1.c, src/regression/compare6.c,
+         src/regression/add.c: cosmetic changes
+       * src/pic/pcode.h: moved GPTRTAG_* here from gen.c
+       * src/pic/gen.c: fixed global zero and one,
+         (aopForSym): removed unued code,
+         (aopGet): assert aop is defined, check and use `index' of
+           pCodeImmd operands (fixes #1630908),
+       * src/pic/pcode.c (get_op): added output of generic pointer tag,
+         (register_reassign): prevent accidental register unification,
+         (ReuseReg): cosmetic changes (also above)
+       * src/pic/glue.c (pic14_constructAbsMap,pic14emitRegularMap,
+         pic14emitStaticSeg): do not emit initialized data,
+         (printIval*): replaced with working versions,
+         (pic14createInterruptVect,picglue): use idata for initialized data,
+           now init data should work in all modules (not only main()),
+       * device/lib/pic/libsdcc/idata.c: NEW, handle initialized data
+
+2007-01-21 Borut Razem <borut.razem AT siol.net>
+
+       * sim/ucsim/configure.in: introduced macro DD_COPT_NO_IGNORE,
+         use -fPIC or -fpic if they are supported and not ignored
+       * src/SDCCval.c: fixed bug introduced by me in rev. #4577
+       * support/cpp2/libcpp/lex.c: fixed gcc 4.1.1 warnings
+
+2007-01-20 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCC.lex, src/SDCCmain.c, sdc/SDCCglobl.h, doc/sdccman.lyx:
+         implemented RFE #1470316: allow "$" in variable names
+
+2007-01-20 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic/pic14regs.h: reverted accidental wipe of the file
+
+2007-01-20 Raphael Neider <rneider AT web.de>
+
+       * device/lib/pic/libdev/devices.txt: device list for mkall.sh
+       * device/lib/pic/libdev/mkall.sh: script to rebuild all device libs
+       * device/lib/pic/libdev/pic14ports.txt: device PORT specifications
+       * support/scripts/inc2h.pl: fixed major .inc parsing bugs,
+         applied patch from Robert Tate (#1629249) to add PORTs and TRISs
+       * device/lib/pic/libdev/pic*.c,
+       * device/include/pic/pic*.h: regenerated with enhanced inc2h.pl
+       * device/lib/pic/libdev/Makefile.in: show progress
+
+2007-01-19 Bernhard Held <bernhard AT bernhardheld.de>
+
+       * doc/sdccman.lyx: updated "configure options" for autoconf 2.6
+       * support/scripts/sdcc_cygwin_mingw32,
+       * support/scripts/sdcc_mingw32,
+       * support/scripts/build.mak: replaced --datadir by --datarootdir for
+       conformance with autoconf 2.6
+
+2007-01-19 Raphael Neider <rneider AT web.de>
+
+       * src/pic/device.c (register_map): fixed list construction
+       * src/pic/gen.c (genDivOneByte,genModOneByte): accept result > 1 byte,
+         (genMod): removed case for genModbits,
+         (genModbits): removed as now unused/unimplemented
+       * src/pic/glue.c (picglue): prevent name clash with sources 'init.c'
+
+2007-01-18 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * support/regression/tests/swap.c: added in response to #1638622
+       * doc/sdccman.lyx: synced version, minor changes
+
+2007-01-18 Borut Razem <borut.razem AT siol.net>
+
+       * SDCClabel.c: fixed bug #1638651: wrong linenumber presented in warning,
+         thanks to Gunther Jehle
+       * src/asm.c: don't die if the file drfined in #line couldn't be opened
+       * src/SDCC.lex, src/SDCCglobal.h, src/SDCCicode.c, src/SDCCsymt.c,
+         src/SDCCval.c: removed redundant definitions of currFname and mylineno;
+         use filename in lineno instead.
+       * SDCCast.c: removed MSVC warning C4018: '==' : signed/unsigned mismatch,
+         print the file name in ast_print()
+
+2007-01-18 Borut Razem <borut.razem AT siol.net>
+
+       * support/Util/dbuf_string.c: removed (PTR) cast since it is not
+         defined in MSVC
+       * src/SDCC.lex: stringLiteral() returns const char pointer,
+         EOF detection in stringLiteral(), fixed asmbuf memory leak,
+         fixed column counting
+       * src/SDCCval.[ch]: constVal(), value *strVal() and charVal()
+         accept const char pointer as parameter
+       * src/SDCCdwarf2.c: corrected buffer size
+
+2007-01-17 Borut Razem <borut.razem AT siol.net>
+
+       * support/Util/dbuf_string.c: fixed for amd64
+
+2007-01-15 Borut Razem <borut.razem AT siol.net>
+
+       * src/pic16/ralloc.c, src/pic/ralloc.c, src/SDCC.y:
+         removed terminal symbol ELIPSIS, since it was never generated by the
+         lexer and it was wrongly used in parameter_identifier_list rule
+
+2007-01-15 Raphael Neider <rneider AT web.de>
+
+       * doc/sdccman.lyx: updated PIC14/16 command line args, updated PIC14
+           code page and data banking description
+       * src/pic/genarith.c,
+       * src/pic/gen.h: removed bit arithmetic functions,
+           updated exit(1) to exit(EXIT_FAILURE)
+       * device/lib/pic16/libsdcc/stack/stack.S: default to 256 byte stack
+       * device/include/pic16/pic18f2455.h,
+       * device/lib/pic16/libdev/pic18f2455.c: added PORTD, LATD, LATE,
+           TRISD and TRISE, fixed/added some bit names
+       * device/lib/pic16/libdev/pic18f{2550,4550,4455}.c,
+       * device/include/pic16/pic18f{2550,4550,4455}.h: simply include
+           updated pic18f2455.{c,h} instead of duplicating them
+
+2007-01-14 Borut Razem <borut.razem AT siol.net>
+
+       * as/mcs51/asnoice.c, as/hc08/asnoice.c: fixed bug #1447412:
+         Cannot debug files that contain spaces in the path name
+         by converting spaces in asm file name to underscores
+
+2007-01-13 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx: fixed format errors
+
+2007-01-10 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCC.lex, src/SDCCmain.c: fixed bug #1631895:
+         codeseg/constseg #pragma fail
+       * suppoprt/cpp2/Makefile.bcc: reenable Borland C compilation
+       * suppoprt/cpp2/configure.in, suppoprt/cpp2/libcpp/lex.c,
+         suppoprt/cpp2/Makefile.in, suppoprt/cpp2/sdcpp-opts,
+         suppoprt/cpp2/sdcpp.[ch]: house cleaning
+
+2007-01-09 Borut Razem <borut.razem AT siol.net>
+
+       * get rid of diagnistic.[ch], pretty-print.[ch],
+         c-pretty-print.[ch], ... used just for error, warning, ...
+         message formatting
+       * suppoprt/cpp2/pretty-print.[ch], suppoprt/cpp2/diagnostic.[ch],
+         suppoprt/cpp2/diagnostic.def, suppoprt/cpp2/input.h,
+         suppoprt/cpp2/pretty-print.[ch]:
+         removed
+       * suppoprt/cpp2/Makefile.in, suppoprt/cpp2/opts.c,
+         suppoprt/cpp2/sdcpp-opts.c, suppoprt/cpp2/sdcpp.[ch],
+         suppoprt/cpp2/sdcpp.dsp:
+         changed
+
 2007-01-08 Maarten Brock <sourceforge.brock AT dse.nl>
 
        * device/lib/printf_large.c (output_float): removed recursion,