X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ChangeLog;h=eae599bfedbb1bf44eb342cb2703daf37479a913;hb=9ad3112a0d40d8007803a97abf32198d44a7f561;hp=65493c024dd784dbdffa062eebdb0969cbfe9445;hpb=f54be5445d7869a9aac7ebfcc83ce1713aee5c1d;p=fw%2Fsdcc diff --git a/ChangeLog b/ChangeLog index 65493c02..eae599bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,393 @@ +2007-06-04 Borut Razem + + * configure.in, configure, config_vc.awk: sdcc version number is now + stored in configure.in; removed .version + * configure.in, configure, sdcc.spec, doc/sdccman.lyx, doc/sdccman.lyx, + doc/INSTALL.txt: version bumped to 2.7.2 + * sim/ucsim/configure.in, sim/ucsim/configure: + use "read" to read from .version + +2007-06-03 Borut Razem + + * */Makefile.in: removed annoying warning: + Makefile:xx: Makefile.dep: No such file or directory + +2007-06-02 Maarten Brock + + * src/mcs51/gen.c (outBitC, genRet): used IS_OP_RUONLY, + (genNot, genXor): used toCarry, also fixes a bug for c = bit ^ val + * src/mcs51/ralloc.c: removed IS_OP_RUONLY + some cosmetic changes + * src/SDCCast.c (resultTypePropagate): propagate for '!', + (decorateType): also optimize comparisons with RESULT_TYPE_BIT, + bugfix: only use newBoolLink for bit result type + * src/SDCCicode.c (geniCodeLogic): added param tree, + bugfix: use newBoolLink if tree is bit type, bug appears when ruonly, + (geniCodeLogicAndOr): use IS_BIT, + (geniCodeJumpTable, geniCodeSwitch): added NULL param to geniCodeLogic, + (ast2iCode): added tree param to geniCodeLogic for comparisons + * src/SDCCsymt.h: added IS_OP_RUONLY and IS_OP_ACCUSE + * support/regression/tests/bug1723128.c: added test NotZero + +2007-06-01 Borut Razem + + * SDCPP synchronized with GCC CPP release version 4.2.0, + currently the latest release: + * support/cpp2/c-incpath.c, support/cpp2/c-incpath.h, + support/cpp2/c-ppoutput.c, support/cpp2/cppdefault.c, + support/cpp2/cppdefault.h, support/cpp2/except.h, + support/cpp2/libcpp/directives.c, support/cpp2/libcpp/expr.c, + support/cpp2/libcpp/files.c, support/cpp2/libcpp/include/cpplib.h, + support/cpp2/libcpp/init.c, support/cpp2/libcpp/internal.h, + support/cpp2/libcpp/lex.c, support/cpp2/libcpp/macro.c, + support/cpp2/libcpp/mkdeps.c, support/cpp2/libiberty/getpwd.c, + support/cpp2/libiberty/hashtab.c, support/cpp2/optc-gen.awk, + support/cpp2/opth-gen.awk, support/cpp2/opts.c, + support/cpp2/opts.h, support/cpp2/output.h, + support/cpp2/prefix.c, support/cpp2/sdcpp-opts.c, + support/cpp2/sdcpp.dsp, support/cpp2/sdcpp.opt, + support/cpp2/system.h, support/cpp2/version.c, + support/cpp2/Makefile.in: modified + * support/cpp2/opts-common.c: added + * device/lib/pic16/libdev/pic18f[24][45]j10.c: fixed svn atrributes + * device/lib/pic16/libdev/pic18f[24]5j10.c: + search for included source file in local directory + * sim/ucsim/configure, sim/ucsim/configure.in: + temporary solution to supress GCC 4.2.0 c++ warning: + deprecated conversion from string constant to `char *' + +2007-06-01 Raphael Neider + + * device/lib/pic/libdev/pic12f683.c, + * device/include/pic/pic12f683.h: added GPIO bits + +2007-06-01 Raphael Neider + + * doc/sdccman.lyx: added --disable-pic16-port, fixed some `--' and + quotation marks, clarified role of PIC14 vs. PIC16 ports + * src/pic16/devices.inc, + * device/include/pic16/pic18fregs.h, + * device/include/pic16/pic18f[24][45]j10.h, + * device/lib/pic16/pics.all, + * device/lib/pic16/libdev/pic18f[24][45]j10.c: added support for + 18f24j10, 18f25j10, 18f44j10, and 18f45j10 + * device/lib/pic16/libio/{i2c,adc,usart}.ignore: do not build IO libs + for new devices as they are not yet supported by gputils + +2007-05-31 Borut Razem + + * Small Device C Compiler 2.7.0 released + * .version, sdcc.spec, doc/sdccman.lyx, doc/INSTALL.txt: + changed sdcc version to 2.7.1 + * support/scripts/sdcc.nsi: added How to create WIN32 release + setup.exe package + +2007-05-29 Maarten Brock + + * doc/sdccman.lyx: documented initialization and allocation of absolute + variables, bit parameter passing, the need for function pointers to be + reentrant and alpha quality support of inline and retrict + +2007-05-26 Borut Razem + + * support/regression/tests/bug1057979.c, support/regression/tests/malloc.c, + support/regression/fwk/include/testfwk.h: fixed compilation on Mac OS x + * docs/knownbugs.html: updated + +2007-05-25 Maarten Brock + + * doc/sdccman.lyx: inserted footnotes about inline assembler labels, + thanks Jan Waclawek + * src/mcs51/gen.c (aopPut): fixed part of bug 1723128 when result is + AOP_CRY and ruonly + (gencjneshort): optimized when left is AOP_DIR + * src/SDCCglue.c (printIvalStruct): fixed other part of bug 1723128 for + initializing unions in a struct/array + * support/regression/fwk/include/testfwk.h: added defines for data, near + and far for host and z80 + * support/regression/tests/bug1723128.c: new, added + +2007-05-22 Borut Razem + + * doc/knownbugs.html: updated + +2007-05-21 Raphael Neider + + * src/pic16/glue.c (pic16_initPointer): avoid assertion, emit better + error message instead + * src/pic/pcoderegs.c (pCodeOptime2pCodes): keep register state intact + +2007-05-21 Maarten Brock + + * src/mcs51/peeph.def (257.b): disabled to fix bug 1721024 + +2007-05-21 Raphael Neider + + * src/pic/pcoderegs.c (pCodeOptime2pCodes): fixed bogus optimization, + closes #1722392 + * src/regression/gpsim_assert.h, + * src/regression/Makefile, + * src/regression/pcodeopt.c: regression test for the above fix + +2007-05-11 Maarten Brock + + * src/SDCCpeeph.c (labelIsUncondJump): ignore identical labels for + jumps to self, fixed bug 1717281 + +2007-05-10 Borut Razem + + * support/scripts/gen_known_bugs.pl: cosmetic fix + * doc/knownbugs.html: generated by gen_known_bugs.pl + +2007-05-10 Erik Petrich + + * src/SDCCast.c (createFunction): also generate non-inlined version of + function for functions declared as "static inline" + * src/SDCCast.c (fixupInline, inlineAddDecl): reset symbol state so + function can be inlined after non-inlined version generated. + +2007-05-10 Borut Razem + + * support/scripts/gen_known_bugs.pl: added script + which generates knownbugs.html + +2007-05-09 Maarten Brock + + * doc/knownbugs.html: updated for release 2.7.0 + +2007-05-09 Jesus Calvino-Fraga + + * device/include/mcs51/uPSD33xx.h: Added patch by Jan Waclawek. + +2007-05-08 Maarten Brock + + * src/ds390/gen.c (emitcode): don't change properties of previous lines, + (throughout): updated generating comments + * src/mcs51/gen.c (emitcode): don't change properties of previous lines, + (throughout): updated generating comments + * src/SDCCpeeph.c (peepHole): continue searching at the first replaced + rule instead of at the second, or it might skip lines when removing the + complete match + * support/regression/tests/bug1714204.c: changed test to foo + +2007-05-08 Borut Razem + + * doc/sdccman.lyx: changed sdcc version to 2.7.0, + thanks to SDCC Distributed Compile Farm members, + added Z80 and GBZ80 command line options + * .version, doc/INSTALL.txt, sdcc.spec: changed sdcc version to 2.7.0 + +2007-05-08 Maarten Brock + + * device/lib/mcs51/crtxinit.asm: added disabled version for dual dptr + * device/include/mcs51/uPSD33xx.h: added sfr DPS as alias for DPTC + * support/regression/tests/longlit.c: modified to be tested at all and + to pass the actual test + +2007-05-07 Jesus Calvino-Fraga + + * device/include/mcs51/uPSD33xx.h: Added. + +2007-05-07 Maarten Brock + + * device/lib/_gptrput.c, + * device/lib/_gptrget.c: removed old code, + (_gptrgetWord), + * src/ds390/gen.c (genGenPointerGet): fixed bug 1714204 + * support/regression/tests/bug1714204.c: new, added + +2007-05-06 Frieder Ferlemann + + * support/regression/tests/regtrack.c: test was never executed + because of the regression test being picky about white spaces. + * device/lib/mcs51/crtclear.asm: added comment + +2007-05-06 Raphael Neider + + * device/lib/pic/Makefile.rules, + * device/lib/pic16/Makefile.rules: make sure *.ignore file exists, + made "&> /dev/null" redirection sh-safe ("> /dev/null 2>&1") + +2007-05-06 Raphael Neider + + * src/pic16/device.h, + * src/pic16/main.h, + * src/pic16/main.c (pic16_optionsTable,_pic16_parseOptions, + _pic16_setDefaultOptions): removed/reordered command-line args + * doc/sdccman.lyx: updated PIC14 and PIC16 documentation (supported + devices, regrouped command line args, environment variables), + clarified sone points, added sections on how to add devices to the + PIC14/PIC16 ports + +2007-05-06 Maarten Brock + + * src/z80/peeph.def: fixed bug in rule 2 + +2007-05-05 Maarten Brock + + * src/port.h: added TARGET_MCS51_LIKE + * src/SDCCpeeph.c (labelIsUncondJump): new, added, other targets could + take advantage of it too + * src/z80/gen.c (genIpush): push b, d or h directly instead of using a, + (shiftR2Left2Result): Optimized: don't check shifting by 0 + * src/z80/peeph-z80.def, + * src/z80/peeph.def: whole set of new rules by Philipp Krause with some + modifications, see patch 1700823 + * src/mcs51/peep.c (): fixed bug 1712928 + * support/regression/tests/bug1712928.c: new, added + +2007-05-05 Borut Razem + + * device/lib/pic16/Makefile.common.in, + device/lib/pic/Makefile.common.in, sim/ucsim/cmd.src/Makefile.in: + removed bash dependencies + +2007-05-01 Borut Razem + + * src/SDCCicode.c: + fixed bug #1710507: --i-code-in-asm makes compile fail + all iCode comments are now one liners + * src/mcs51/gen.c: fixed memory leak + +2007-05-01 Raphael Neider + + * device/lib/pic/libdev/*.c + * device/include/pic/*.h: regenerated all device libs from updated + .inc files + * support/scripts/inc2h.pl: documented usage, now uses strict to + catch more bugs + +2007-04-30 Borut Razem + + * doc/sdccman.lyx: + fixed bug #1669175: Problem with space in output paths + documented how to use paths with spaces for Windows users + +2007-04-29 Borut Razem + + * Fixed svn:eol-style and svn:keywords properties + * src/SDCCval.c: fixed bug + #1592871: Segfault with "large" const arrays of characters + replaced recursion with iteration + * Removed svn:executable property from non-executable files + +2007-04-29 Maarten Brock + + * src/mcs51/gen.c (genRet): fixed bug 1707003 + +2007-04-27 Raphael Neider + + * src/pic16/pcode.c (pBlockRemoveUnusedLabels,pic16_pBlockAddInval, + createReachingDefinitions,assignValnums,pic16_destructDF, + pic16_createDF,pic16_vcg_dumpedges,pic16_vcg_dump_default): + prevent NULL pointer dereferences + * device/lib/pic/libdev/pic16f886.c, + * device/lib/pic/libdev/pic16f887.c: svn mv'ed to disabled_* to + prevent building them, gputils do not really support them yet + +2007-04-27 Frieder Ferlemann + + * device/lib/_ltoa.c: 36 bytes less __data mem. This really + helps printf_small. 32 bytes more __idata mem. + +2007-04-27 Raphael Neider + + * src/pic/pcode.c (addpCode2pBlock,LinkFlow,pBlockRemoveUnusedLabels): + return early when pb or pb->pcHead is NULL (patch #1708427) + * src/regression/empty.c, + * src/regression/Makefile: added test with empty functions + * support/Util/SDCCerr.c: fixed typo in E_INIT_STRUCT message + +2007-04-27 Borut Razem + + * src/SDCCast.c: fixed feature request + #1547512: Redundant strings linked when using sizeof("abc") + +2007-04-23 Borut Razem + + * doc/sdccman.lyx, src/SDCCmain.c: + peep-hole comments are generated only if --fverbose-asm option is + specified and --no-peep-comments is not, as proposed by Frieder. + * support/regression/Makefile.in: compile regression tests with + --fverbose-asm option so one can "grep" whether a new (or an old) + peephole is (still) applied; requested by Frieder. + +2007-04-23 Kevin Buettner + + * device/include/pic/pic16f886.h, + * device/include/pic/pic16f887.h, + * device/lib/pic/libdev/pic16f886.c, + * device/lib/pic/libdev/pic16f887.c, + * device/include/pic/pic14devices.txt, + * device/lib/pic/libdev/devices.txt: Add 16f886 and 16f887. + +2007-04-23 Kevin Buettner + + * device/lib/pic/libsdcc/idata.c: PAGESEL _main before going there, + fixes #1704666 + +2007-04-23 Frieder Ferlemann + + * device/lib/_memset.c: assembler version for mcs51 + +2007-04-22 Borut Razem + + * support/scripts/listerr.c: program to create the list of errors and + warnings list from - added + * doc/sdccman.lyx: removed the note + "For list of warnings and corresponding codes, see err_warn.txt" + * src/SDCCsymt.c: fixed bug #1699804: + Bug with some uses of sizeof(static local array) (MCS51) + * support/regression/tests/bug-1699804.c: added + +2007-04-20 Maarten Brock + + * as/mcs51/asmain.c (search_path_append, search_path_fopen): new, added, + (main): added option -i, + (asmbl, case S_INCL): use search_path_fopen, + mostly from patch 1579668 by Peter Miller, thanks + * src/z80/main.c: fixed typo --callee-saves-bc + * device/include/mcs51/compiler.h: added sfrword for Tasking + +2007-04-20 Borut Razem + + * src/z80/main.c: replaced reserved keyword asm with asmblr + +2007-04-19 Borut Razem + + * src/port.h: use const pointers to strings + * src/SDCCargs.h: declared getStringArg() and getIntArg() + * src/pic16/main.c: include SDCCargs.h + * src/SDCCglobl.h: code_seg and const_seg are not pointers to + const char, since the strings are dynamically allocated + * src/SDCCmain.c: options.code_seg and options.const_seg are + dynamically allocated; check port specific command line options + before the general ones + * src/z80/main.c: fixed bug #1631895: codeseg/constseg #pragma fail + +2007-04-18 Maarten Brock + + * device/include/ds400rom.h, + * device/lib/ds390/lcd390.c, + * device/lib/ds390/memcpyx.c, + * device/lib/ds390/rtc390.c, + * device/lib/ds400/ds400rom.c, + * device/lib/ds400/memcpyx.c, + * device/lib/hc08/_ret.c: more replacements of keywords with their + double underscore equivalents + * device/lib/ds390/Makefile.in, + * device/lib/ds400/Makefile.in, + * device/lib/gbz80/Makefile.in, + * device/lib/hc08/Makefile.in, + * device/lib/mcs51/Makefile.in, + * device/lib/z80/Makefile.in: added --std-c89 to CFLAGS + +2007-04-17 Borut Razem + + * doc/sdccman.lyx, src/SDCCmain.c, src/SDCCglobal.h, src/ds390/gen.c, + src/hc08/gen.c, src/mcs51/gen.c, src/mcs51/rtrack.c: + fixed #1493816: option --no-gen-comments: --no-gen-comments renamed + to --fverbose-asm, to be gcc'ish + 2007-04-17 Maarten Brock * src/mcs51/gen.c (aopOp): set size to 1 for ruonly, fixes bug 1699455 @@ -5,10 +395,14 @@ 2007-04-17 Borut Razem * doc/sdccman.lyx: fixed #1701874: Mac OSX references in SDCC manual + * device/lib/ds400/tinibios.c, device/lib/hc08/_divuint.c, + device/lib/hc08/_divulong.c: replaced _asm and _endasm keywords + with their double underscore equivalent 2007-04-14 Borut Razem - * doc/sdccman.lyx: some additional "freeware" replaced with "free open source" + * doc/sdccman.lyx: some additional "freeware" replaced with "free open + source" 2007-04-13 Borut Razem @@ -130,7 +524,7 @@ 2007-03-30 Raphael Neider - * src/pic/ralloc.c (isData): suppress garbage debug output4/1/2007 6:28PM + * src/pic/ralloc.c (isData): suppress garbage debug output 2007-03-28 Borut Razem @@ -184,7 +578,7 @@ (genFunction, genEndFunction): also save/restore FSR around interrupt handling code, removed lots of unused code (genDivOneByte): release acquired temp register - * src/pic/glue.c (pic14createInterruptVect): adadt to new signature + * src/pic/glue.c (pic14createInterruptVect): adapt to new signature of popGetExternal * device/lib/pic/libsdcc/shadowregs.c: NEW, provide storage location for registers that need to be saved during interrupts (FSR, STATUS,