* src/pic16/gen.c (pic16_derefPtr): handle CPOINTERs as well
[fw/sdcc] / ChangeLog
index adc96c243e4d8c3d468cf5c4ce5854b2489556de..894ad9074410cddc2df93014547995b3fb9f545e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
-2008-06-12 Borut Razem <borut.razem AT siol.net>
+2008-09-01 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/gen.c (pic16_derefPtr): handle CPOINTERs as well
+       * (genConstPointerGet): fix reading bitfields from __code space
+       * src/pic16/glue.c (pic16_printIvalBitFields): correctly mask
+         bitfield initializers (fix regression test bug1856409.c)
+       * (pic16_printIvalCharPtr,pic16_printIvalPtr): generalized to support
+         arbitrary sizes
+
+2008-08-31 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/gen.c (genAssign): removed useless compiler output
+       * (genPointerGet,genPointerSet,genCast),
+         src/pic16/glue.c (pic16_printGPointerType):
+         also handle PPOINTERs just to avoid spurious asserts
+       * (pic16_printIvalType,pic16_printIvalBitFields):
+         generalized to arbitrary type/bitfield sizes, allows compilation of
+         regression test bug-1981238.c
+       * (pic16_printIvalChar): fix regression test structflexarray.c
+       * (pic16_printIvalArray): avoid SIGSEGV on uninitialized strings
+         in initialized structs and fix #1843745
+       * (pic16_printIvalStruct): always output initializers for all fields,
+         even those not explicitly given, fixes zeropad.c regression test
+       * (pic16_printIvalUnion): fix union initializers (bug1426356.c,
+         #2073635, #1567098, and #1485812)
+       * src/pic16/main.c (_pic16_keywords): remove unsupported 'pdata'
+
+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 fixed, 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
 
-       * src/pic16/gen.c: applied patches :
+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
+         #1880202, #1914434, prepared for RFE #1703943
 
 2008-07-12 Philipp Klaus Krause <pkk AT spth.de>
 
 
 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>