fix to pass the host regression test
[fw/sdcc] / ChangeLog
index c177b4b54953bb42cfaa6c5545aa30994821d736..1628450580f1f4bb9a0186283e2192c25b91bb54 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,373 @@
+2008-08-31 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/tests/bug-895992.c,
+         support/regression/tests/onebyte.c:
+         enabled pic16 regression testing since the bugs
+         1511794: pic16: regression test bug-895992.c fails
+         1444425: onebyte.c regression tes fails on pic16
+         are fiexed, probably by fixing
+         2048464: PIC16: fix genUminus - addresses not.c regression test
+       * src/SDCCsymt.c, src/SDCCglue.c,
+         support/regression/tests/bug-1981238.c:
+         applied patch 2076664: fix #1981238 + SIGSEGV in SDCCGlue.c
+         thanks to RvS
+
+2008-08-30 Borut Razem <borut.razem AT siol.net>
+
+       * support/cpp/libcpp/files.c: SDCPP synchronized with GCC CPP
+         release version 4.3.2
+
+2008-08-24 Raphael Neider <rneider AT web.de>
+
+       * device/lib/pic16/configure, device/lib/pic16/configure.ac:
+         always use the sdcc from the current build tree (ignore $CC from
+         the environment, fixes compile farm builds)
+       * device/lib/Makefile.in: rename .a into .lib for compatibility,
+         remove more build products from install directory
+       * sdcc/src/pic16/main.c (_pic16_linkEdit,_pic16_finaliseOptions)
+       * sdcc/support/scripts/sdcc.nsi: revert to .lib extension for libs
+
+2008-08-24 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCC.y: applied patch
+         2050245: Fix # 1963382
+         for bug
+         1963382: Listing File - C file comment is incorrect
+         thanks to RvS
+
+2008-08-23 Borut Razem <borut.razem AT siol.net>
+
+       * src/pic16/gen.c: applied patch
+         2048464: PIC16: fix genUminus - addresses not.c regression test
+         thanks Mauro Giachero
+
+2008-08-22 Borut Razem <borut.razem AT siol.net>
+
+       * device/lib/pic16/configure, device/lib/pic16/configure.ac,
+         src/pic16/main.c: allow spaces in gpasm and gplink paths
+
+2008-08-15 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/peep.c,
+       * src/z80/peeph-z80.def: minor peephole improvement
+
+2008-08-15 Raphael Neider <rneider AT web.de>
+
+       * src/z80/gen.c (_vemit2): suppress compiler warning
+
+       * src/pic/*.[ch]: make proper use of header files and avoid
+         ad-hoc extern declarations, mark module-local helpers 'static',
+         removed dead/replaced code, no functional changes
+       * src/pic16/pcode.c: disentangled from pic14 backend
+
+2008-08-14 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/gen.c: fixed #2051348
+       * support/regression/tests/bug-2051348.c: regression test for #2051348
+
+2008-08-10 Raphael Neider <rneider AT web.de>
+
+       * configure.in,
+       * Makefile.common.in: export PACKAGE for $docdir,
+         fixes #1957036, avoid some "underquoted definition" warnings
+       * configure: regenerated
+
+2008-08-10 Raphael Neider <rneider AT web.de>
+
+       * device/lib/pic16/**: build pic16 library using autotools for
+         improved dependency tracking
+
+       * device/lib/Makefile.in,
+       * src/pic16/main.c,
+       * support/scripts/sdcc.nsi: adapt to changes in filenames (s/.lib/.a/)
+
+2008-08-10 Raphael Neider <rneider AT web.de>
+
+       * src/pic/pcode.c (ReuseReg): do not overlay the registers used for
+         local variables if --nooverlay is given, workaround for #2023121
+
+2008-08-08 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/genarith.c (genAddLit): fix structure access (#1888004)
+
+2008-08-08 Raphael Neider <rneider AT web.de>
+
+       * src/pic/pcoderegs.c,
+       * src/pic/pcode.c,
+       * src/pic16/pcode.c: replace own SAFE_snprintf with common SNPRINTF
+
+2008-08-07 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCval.c, src/SDCCmain.c, src/SDCC.lex,
+         device/lib/pic/Makefile.rules, device/lib/ds390/Makefile.in,
+         device/lib/ds400/Makefile.in, device/lib/hc08/Makefile.in,
+         support/cpp/libcpp/lex.c,  doc/sdccman.lyx:
+         applied modified patch 2038174: Add support for binary constants v2
+         thanks Mauro Giachero
+       * .version, doc/sdccman.lyx: bumped sdcc version to 2.8.3
+
+2008-08-04 Raphael Neider <rneider AT web.de>
+
+       * doc/sdccman.lyx,
+       * src/pic16/device.h,
+       * src/pic16/glue.c,
+       * src/pic16/main.c: enable --optimize-goto by default
+
+       * device/lib/pic16/Makefile.common.in: suppress removed option
+
+       * src/pic16/gen.c,
+       * src/pic16/genutils.c: avoid too long relative branches (#2031890)
+
+2008-07-30 Borut Razem <borut.razem AT siol.net>
+
+       * src/pic16/device.c, src/pic16/glue.c, src/pic16/pcode.c:
+         applied patch 22032433: PIC16: fix constant strings,
+         thanks Mauro Giachero
+
+2008-07-29 Borut Razem <borut.razem AT siol.net>
+
+       * src/pic16/gen.c: applied patches:
+         2030306: [1/3] PIC16: fix failing rotate.c tests on 16-bit variables,
+         2030307: [2/3] PIC16: fix failing rotate.c tests for 32-bit var (1),
+         2030310: [3/3] PIC16: fix failing rotate.c tests for 32-bit var (2),
+         thanks Mauro Giachero
+
+2008-07-13 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/port.h: Fixed typo in comment
+
+2008-07-12 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/mappings.i: Implemented RFE #1919415
+       * src/z80/peeph-z80.def: Implemented RFE #1919415, #1861376,
+         #1880202, #1914434, prepared for RFE #1703943
+
+2008-07-12 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/peeph.def,
+       * src/z80/peeph-z80.def,
+       * src/z80/peeph-gbz80.def: separate Z80 from GBZ80 peepholes in
+         preparation for Z80 peephole improvements
+
+2008-06-21 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic16/pic18f66j60.h,
+       * device/include/pic16/pic18f66j65.h,
+       * device/include/pic16/pic18f67j60.h,
+       * device/include/pic16/pic18f86j60.h,
+       * device/include/pic16/pic18f86j65.h,
+       * device/include/pic16/pic18f87j60.h,
+       * device/include/pic16/pic18f96j60.h,
+       * device/include/pic16/pic18f96j65.h,
+       * device/include/pic16/pic18f97j60.h,
+       * device/lib/pic16/libdev/pic18f66j60.c,
+       * device/lib/pic16/libdev/pic18f66j65.c,
+       * device/lib/pic16/libdev/pic18f67j60.c,
+       * device/lib/pic16/libdev/pic18f86j60.c,
+       * device/lib/pic16/libdev/pic18f86j65.c,
+       * device/lib/pic16/libdev/pic18f87j60.c,
+       * device/lib/pic16/libdev/pic18f96j60.c,
+       * device/lib/pic16/libdev/pic18f96j65.c,
+       * device/lib/pic16/libdev/pic18f97j60.c,
+       * device/include/pic16/pic16devices.txt,
+       * device/include/pic16/pic18fregs.h,
+       * device/lib/pic16/pics.all: added new devices
+
+       * 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,
+       * device/lib/pic16/libio/i2c/i2copen.c,
+       * device/lib/pic16/libio/usart/uopen.c: adapted to new devices,
+         all changes from a patch by Anton Strobl
+
+2008-06-12 Borut Razem <borut.razem AT siol.net>
+
+       * sim/ucsim/cmd.src/info.cc, sim/ucsim/cmd.src/bp.cc,
+         sim/ucsim/xa.src/xa.cc, sim/ucsim/xa.src/xacl.h,
+         sim/ucsim/z80.src/z80cl.h, sim/ucsim/z80.src/z80.cc,
+         sim/ucsim/sim.src/uc.cc, sim/ucsim/sim.src/uccl.h,
+         sim/ucsim/hc08.src/hc08.cc, sim/ucsim/hc08.src/hc08cl.h,
+         sim/ucsim/s51.src/uc51cl.h, sim/ucsim/s51.src/uc390.cc,
+         sim/ucsim/s51.src/uc51.cc, sim/ucsim/s51.src/uc390cl.h,
+         sim/ucsim/avr.src/avrcl.h, sim/ucsim/avr.src/avr.cc:
+         fixed bug 1990586: s51 simulator, uc::disass() unimplemented
+         by applying the modified patch from Risto Huotari
+
+2008-06-04 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * .version,
+       * doc/sdccman.lyx: bumped sdcc version to 2.8.2
+       * src/ds390/gen.c (aopPutUsesAcc, genAddrOf): fixed bug 1015185
+       * src/mcs51/gen.c (genNearPointerGet, genNearPointerSet): fixed bug 1938300
+       * support/regression/tests/bug1938300.c: new, added
+
+2008-06-03 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/asm/ds390/features.h,
+       * device/include/asm/mcs51/features.h,
+       * device/include/mcs51/regc515c.h: inserted LGPL notice
+
+2008-05-29 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/lib/gbz80/div.s,
+       * device/lib/z80/div.s: fixed bug 1904314 by applying a modified part of
+         patch 1597883, Thanks Robert Ramey
+
+2008-05-29 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCast.c (createIvalType, createIvalStruct, createIvalArray,
+         createIvalCharPtr, createIvalPtr, createIval),
+       * src/SDCCval.h
+       * src/SDCCval.c (convertIListToConstList, list2expr): handle incomplete
+         initializers for local auto variables
+       * support/regression/tests/zeropad.c: added testcase for auto initializers
+
+2008-05-26 Raphael Neider <rneider AT web.de>
+
+       * device/lib/pic16/startup/crt0.c,
+       * device/lib/pic16/startup/crt0i.c,
+       * device/lib/pic16/startup/crt0iz.c: clean up, make use of access bank
+         explicit, fixed curr_entry loop for >= 256 initializer records,
+         removed debug code (write to 0xf7e)
+
+2008-05-25 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic/pic16f627a.h,
+       * device/include/pic/pic16f628a.h,
+       * device/include/pic/pic16f648a.h: added missing ports
+
+2008-05-20 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/float.h: added __INFINITY
+       * device/lib/_fsadd.c: handle overflows
+       * device/lib/_fsmul.c,
+       * device/lib/_fsdiv.c: use __INFINITY
+       * device/lib/_fseq.c,
+       * device/lib/_fsneq.c: handle -0.0
+       * sim/ucsim/s51.src/uc89c51r.cc,
+       * sim/ucsim/s51.src/uc89c51rcl.h: fixed bug 1385430
+       * sim/ucsim/sim.src/hwcl.h: */* confuses VC
+       * src/mcs51/gen.c (genSend): fixed bug with --xstack
+       * support/regression/ports/mcs51-xstack-auto/spec.mk: print floats
+       * support/regression/tests/snprintf.c: test bug with --xstack
+
+2008-05-19  Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/SDCCpeeph.c (callFuncByName):
+         Support nested parenthesis in peephole function arguments (#1967300)
+
+2008-05-19 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/gen.c (pic16_emitpLabel,pic16_emitpLabelFORCE):
+         fixed duplicate labels (#1911325)
+
+2008-05-19 Raphael Neider <rneider AT web.de>
+
+       * src/regression/empty.c: suppress warning
+       * src/regression/pointer1.c: enabled index_by_pointer()
+       * src/regression/inline.c: now works for pic16 as well
+
+       * src/pic16/device.c: include dbuf declarations
+       * src/pic16/device.h: removed obsolete prototypes
+
+       * src/pic16/gen.c, src/pic16/gen.h: moved generic pointer tags
+       * src/pic16/glue.c: made purely local functions static,
+         (pic16_printGPointerType, pic16_printIvalCharPtr,
+         pic16_printIvalFuncPtr, pic16_printIvalPtr): fixed initialized
+         generic pointers' tags (#1961866)
+
+       * src/pic16/pcode.c (assignValnums): optimize literal assignments
+
+2008-05-19 Borut Razem <borut.razem AT siol.net>
+
+       * support/scripts/sdcc.nsi: remove uninstall.exe after uninstallation,
+         fixed typo, uninstall include/pic16/pic16devices.txt
+
+2008-05-18 Borut Razem <borut.razem AT siol.net>
+
+       * 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 <sourceforge.brock AT dse.nl>
+
+       * 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 <sourceforge.brock AT dse.nl>
+
+       * 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 <sourceforge.brock AT dse.nl>
+
+       * 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 <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/z80/spec.mk:
+         added INC_DIR and LIBDIR paths
+       * src/ds390/gen.c: removed duplicated selicolon
+
+2008-05-04 Borut Razem <borut.razem AT siol.net>
+
+       * 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 <rneider AT web.de>
+
+       * doc/sdccman.lyx, support/scripts/inc2h-pic16.pl: updated list of
+         supported devices and instructions to add new ones
+
 2008-05-01 Raphael Neider <rneider AT web.de>
 
        * device/include/pic16/adc.h,
 
 2007-11-12 Borut Razem <borut.razem AT siol.net>
 
-       * as\z80\asmain.c, as\z80\asm.h, as\z80\assym.c, as\z80\asdata.c,
-         as\z80\asout.c, as\z80\aslist.c:
+       * 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 <sourceforge.brock AT dse.nl>
 
 2006-04-18 Borut Razem <borut.razem AT siol.net>
 
-       * support/scripts/sdcc.nsi: removed unexisting ${DEV_ROOT}\lib\pic\*.o,
-         ${DEV_ROOT}\lib\src\pic\libdev\*.S, ${DEV_ROOT}\lib\src\pic\libdev\*.inc
+       * support/scripts/sdcc.nsi: removed unexisting ${DEV_ROOT}/lib/pic/*.o,
+         ${DEV_ROOT}/lib/src/pic/libdev/*.S, ${DEV_ROOT}/lib/src/pic/libdev/*.inc
 
 2006-04-17 Borut Razem <borut.razem AT siol.net>