* support/Util/SDCCerr.c,
[fw/sdcc] / ChangeLog
index 5fdaf8cc12c9c99da7ae90f2568713cf83c025f9..9fdc955703c042413eadf9a9967ce7bd6c1a0610 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,162 @@
+2003-12-19 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * support/Util/SDCCerr.c,
+       * src/SDCCast.h,
+       * src/SDCCast.c (createCase, createDefault, decorateType),
+       * src/SDCClabel.c (labelUnreach),
+       * src/SDCC.y (labeled_statement, jump_statement): More improvements
+       to error messages.
+       * support/Util/SDCCerr.c (werrorfl): fixed a non-standard declaration
+       (with thanks to Stas Sergeev)
+       * device/include/time.h,
+       * device/lib/time.c (CheckTime): suppress unreachable code warning
+
+2003-12-18 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/SDCCast.c (createIvalCharPtr),
+       * src/SDCCglue.c (printChar): fixed bug #862241 (an error in my fix for
+       bug #753752)
+       * support/regression/tests/nullstring.c: tests for these two bugs
+
+2003-12-18 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * support/Util/SDCCerr.h,
+       * support/Util/SDCCerr.c (E_NOT_ALLOWED),
+       * src/SDCC.y (struct_declaration, struct_or_union_specifier): complain
+       about storage class and 'at' used inside struct or union
+       * src/SDCCBBlock.c (iCodeFromeBBlock),
+       * src/SDCCcse.c (ifxOptimize),
+       * src/SDCCglue.c (emitRegularMap, initPointer, printIvalStruct,
+       printIvalArray, printiValFuncPtr, printIvalCharPtr, printIvalPtr,
+       printIval, emitStaticSeg, emitOverlay),
+       * src/SDCClabel.c (deleteIfx),
+       * src/SDCCopt.c (replaceRegEqv, eBBlockFromiCode),
+       * src/SDCCast.c (resolveSymbols, createIvalStruct, createIvalArray,
+       gatherAutoInit, processParms),
+       * support/Util/SDCCerr.h,
+       * support/Util/SDCCerr.c (werrorfl): Support for better error location
+       reporting for post-parse errors.
+
+2003-12-16 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/SDCCval.c (valPlus, valMinus, valShift): fixed some problems with
+       implicit casts via union; they don't work on big endian systems
+       (possible fix for bug #861138)
+
+2003-12-16 Frieder Ferlemann <Frieder.Ferlemann@web.de>
+
+       (committed by Erik Petrich <epetrich@ivorytower.norman.ok.us> on Frieder's behalf)
+       * src/mcs51/main.c: fixed the fix for bug #737001
+
+2003-12-15  Borut Razem <borut.razem@siol.net>
+
+       * support/scripts/sdcc.nsi: updated for NSIS 2.0 beta 4
+
+2003-12-14 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * support/makebin/makebin.c: put output in binary mode
+
+2003-12-13 Frieder Ferlemann <Frieder.Ferlemann@web.de>
+
+       * src/mcs51/main.c: fixed bug #737001 for the mcs51. SDCC clears 
+       xdata and data memory on startup. Set the environment variable 
+       SDCC_NOGENRAMCLEAR to disable this.
+       * src/mcs51/peephole.def,
+       * src/ds390/peephole.def: using the atomic test and clear instruction jbc
+       (allows non-interrupt and interrupt code to safely compete for a resource
+       without the non-interrupt code having to disable interrupts)
+
+2003-12-13 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/SDCCicode.c (geniCodeAdd),
+       * src/SDCCast.c (decorateType): fixed bug #857753 (need to be careful
+       with valFromType if type might be a pointer and host is big endian).
+       * src/SDCCast.c (decorateType): unary plus compatible with all arithmetic
+       types, not just integer types.
+       * src/SDCCsymt.c (addSymChain): clarified error message when symbol is
+       multiply defined with mismatching "at" address.
+
+2003-12-12 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/ds390/main.c (PORT tininative_port): fixed bug #858416
+       * src/SDCCglue.c (printChar, printIvalChar, emitStaticSeg),
+       * src/SDCCast.c (createIvalCharPtr, stringToSymbol): handle strings
+       with embedded nulls (fixed bug #753752)
+
+2003-12-12 Frieder Ferlemann <Frieder.Ferlemann@web.de>
+
+       * src/mcs51/main.c(_mcs51_genRAMCLEAR): using r0 instead of r1/r2.
+       Apparently this did not see much testing (endless loop)
+
+2003-12-11 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/z80/ralloc.c: set DISABLE_PACK_HL = 1 as a temporary fix to bug #855165
+
+2003-12-10 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/SDCCdebug.c (outputDebugSymbols, outputDebugStackSymbols, dumpSymInfo):
+       gracefully handle NULL memmap pointers
+
+2003-12-08 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/SDCCopt.c (killDeadCode): change iCode type to DUMMY_READ_VOLATILE
+       instead of deleting the iCode when an operand is volatile
+       * src/z80/gen.c (genDummyRead),
+       * src/mcs51/gen.c (genDummyRead),
+       * src/ds390/gen.c (genDummyRead),
+       * src/hc08/gen.c (genDummyRead): handle operands in IC_LEFT and/or IC_RIGHT,
+       not just IC_RIGHT
+       * src/SDCCicode.c (geniCodeCall): fixed bug #851607
+       * src/SDCC.y: fixed bug #850420
+
+2003-12-05 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       Applied z80 i/o port patch from Peter Townson and fixed some operators
+       to better handle operands in A register.
+       * device/include/z180.h
+       * src/SDCC.y
+       * src/SDCCglue.c
+       * src/z80/gen.c
+       * src/z80/gen.h
+       * src/z80/main.c
+       * src/z80/peeph-z80.def
+       * src/z80/peeph.def
+       * src/z80/z80.h
+
+2003-12-03 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/SDCCsymt.c (addSymChain, compareTypeExact): fixed bug #838241 again
+
+2003-12-01 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * device/lib/hc08/_mullong.c: Removed extra #endif
+
+2003-12-01 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * sim/ucsim/hc08.src/inst.cc,
+       * sim/ucsim/hc08.src/hc08mac.h: fixed some problems with CC flag bits and
+       carries from x to h
+       * src/hc08/gen.c (aopAdrStr): fixed problem with 16 bit immediate
+       * src/hc08/gen.c (XAccRsh): fixed problem with right shift
+       * device/include/stdarg.h: fixed varargs for hc08
+       * device/lib/Makefile.in,
+       * device/lib/hc08/Makefile,
+       * device/lib/hc08/_mulint.c,
+       * device/lib/hc08/_mullong.c: fixed some endian problems
+
+2003-11-28 Frieder Ferlemann <Frieder.Ferlemann@web.de>
+
+       * sdcc/src/mcs51/gen.c (genMultOneByte): help peephole 105
+       * sdcc/src/mcs51/peeph.def: added peephole 186.e array access in code space
+       * device/lib/_gptrget.c,
+       * device/lib/_gptrput.c: P2 not used any more (related to #850747, #785979)
+
+2003-11-27 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/SDCClrange.c (findNextUseSym, rlivePoint): fixed bug #849795
+       * src/SDCCast.c (astErrors): fixed bug #846007
+       * src/SDCCsymt.c (checkFunction): fixed follow-up bug on bug #846007
+
 2003-11-26 Erik Petrich <epetrich@ivorytower.norman.ok.us>
 
        * src/SDCCast.c (decorateType): disabled a transformation I added in