fw/sdcc
16 years ago* src/pic/gen.c,
tecodev [Mon, 3 Mar 2008 01:40:12 +0000 (01:40 +0000)]
* src/pic/gen.c,
* src/pic/gen.h,
* src/pic/genarith.c,
* src/pic/ralloc.c,
* src/pic/ralloc.h: removed AOP_R0, AOP_R1, AOP_DPTR, AOP_DPTR2,
  AOP_ACC, and *_IDX and adjusted code, removed unused legacy code

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5064 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/pic/device.c (find_device): search user-specified paths first
tecodev [Mon, 3 Mar 2008 01:27:36 +0000 (01:27 +0000)]
* src/pic/device.c (find_device): search user-specified paths first
  for pic14devices.txt, fixes #1900827

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5063 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* support/scripts/sdcc.nsi: fixed bug in IsNT, LogicLib-isation of AddToPath and...
borutr [Sun, 2 Mar 2008 12:04:52 +0000 (12:04 +0000)]
* support/scripts/sdcc.nsi: fixed bug in IsNT, LogicLib-isation of AddToPath and RemoveFromPath

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5062 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agoimplemented debug function name stack
borutr [Sat, 1 Mar 2008 18:45:45 +0000 (18:45 +0000)]
implemented debug function name stack

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5061 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* support/scripts/sdcc.nsi: reverted MULTIUSER page since it didn't
borutr [Sat, 1 Mar 2008 15:00:05 +0000 (15:00 +0000)]
* support/scripts/sdcc.nsi: reverted MULTIUSER page since it didn't
  work correctly, added debugging support if -DSDCC.DEBUG command line
  option is defined

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5060 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* doc/sdccman.lyx: cosmetic changes
borutr [Thu, 28 Feb 2008 20:16:27 +0000 (20:16 +0000)]
* doc/sdccman.lyx: cosmetic changes

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5059 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* doc/sdccman.lyx: fixed unmeant removal of spaces
MaartenBrock [Thu, 28 Feb 2008 11:18:56 +0000 (11:18 +0000)]
* doc/sdccman.lyx: fixed unmeant removal of spaces

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5058 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/mcs51/ralloc.c (fillGaps): fixed bug 1839671
MaartenBrock [Thu, 28 Feb 2008 08:03:49 +0000 (08:03 +0000)]
* src/mcs51/ralloc.c (fillGaps): fixed bug 1839671

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5057 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* support/scripts/sdcc.nsi: corrected installation directory for
borutr [Wed, 27 Feb 2008 19:18:19 +0000 (19:18 +0000)]
* support/scripts/sdcc.nsi: corrected installation directory for
  current user installation mode
* doc/README.txt: added Philipp Klaus Krause to the developers list

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5056 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* device/include/mcs51/cc1110.h: new, added, thanks to Pravin Angolkar
MaartenBrock [Wed, 27 Feb 2008 17:09:15 +0000 (17:09 +0000)]
* device/include/mcs51/cc1110.h: new, added, thanks to Pravin Angolkar

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5055 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/mcs51/gen.c (genUnpackBits): don't generate ifxJump, instead return
MaartenBrock [Wed, 27 Feb 2008 13:50:39 +0000 (13:50 +0000)]
* src/mcs51/gen.c (genUnpackBits): don't generate ifxJump, instead return
  ifx condition
  (genNearPointerGet, genPagedPointerGet, genFarPointerGet,
  genCodePointerGet, genGenPointerGet): cleanup aop before generating
    ifxJump to fix bug 1838000
* src/SDCCsymt.c (aggregateToPointer): fix problem for xstack
* support/regression/tests/bug1838000.c: new, added

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5054 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/mcs51/ralloc.c (isSpiltOnStack): fixed bug 1565152
MaartenBrock [Tue, 26 Feb 2008 19:18:32 +0000 (19:18 +0000)]
* src/mcs51/ralloc.c (isSpiltOnStack): fixed bug 1565152
* support/regression/tests/bug1565152.c: new, added

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5053 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* support/scripts/sdcc.nsi: added MULTIUSER page,
borutr [Tue, 26 Feb 2008 13:42:57 +0000 (13:42 +0000)]
* support/scripts/sdcc.nsi: added MULTIUSER page,
  NSIS upgraded to version 2.35

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5052 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agodoc/adccman.lyx: documented RFE #1901171: inerger promotion of casted varargs
borutr [Tue, 26 Feb 2008 07:02:22 +0000 (07:02 +0000)]
doc/adccman.lyx: documented RFE #1901171: inerger promotion of casted varargs

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5050 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCast.c, src/SDCCast.h: fixed RFE #1901171: inerger promotion
borutr [Tue, 26 Feb 2008 06:24:45 +0000 (06:24 +0000)]
* src/SDCCast.c, src/SDCCast.h: fixed RFE #1901171: inerger promotion
  of casted varargs

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5049 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/mcs51/gen.c (genPagedPointerSet): fixed bug 1670148
MaartenBrock [Mon, 25 Feb 2008 22:12:52 +0000 (22:12 +0000)]
* src/mcs51/gen.c (genPagedPointerSet): fixed bug 1670148
* support/regression/ports/mcs51-xstack-auto/spec.mk: added expf.c
* support/regression/tests/bug1670148.c: new, added

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5048 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agofixed bug 1901469
jesusc [Mon, 25 Feb 2008 18:05:21 +0000 (18:05 +0000)]
fixed bug 1901469

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5047 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agoremoved debugging leftovers
borutr [Sun, 24 Feb 2008 22:43:07 +0000 (22:43 +0000)]
removed debugging leftovers

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5046 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCast.c, src/SDCCast.h: fixed bug #1874922: explicit typecast
borutr [Sun, 24 Feb 2008 22:30:27 +0000 (22:30 +0000)]
* src/SDCCast.c, src/SDCCast.h: fixed bug #1874922: explicit typecast
  is ineffective for unsigned char parameter, this time by using
  removedCast flag

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5045 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCast.c, src/SDCCast.h: fixed bug #1874922: explicit typecast
borutr [Sun, 24 Feb 2008 20:59:03 +0000 (20:59 +0000)]
* src/SDCCast.c, src/SDCCast.h: fixed bug #1874922: explicit typecast
  is ineffective for unsigned char parameter

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5044 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCglue.c (printIvalBitFields): fixed bug 1806631
MaartenBrock [Sun, 24 Feb 2008 19:32:38 +0000 (19:32 +0000)]
* src/SDCCglue.c (printIvalBitFields): fixed bug 1806631
* support/regression/tests/bitopcse.c: removed hc08 exception, see testfwk.h
* support/Util/MySystem.c (my_system): output errorcode when verbose,
  see bug 1533372

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5043 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCast.c (expandInlineFuncs): fixed bug 1875869
MaartenBrock [Sun, 24 Feb 2008 16:35:14 +0000 (16:35 +0000)]
* src/SDCCast.c (expandInlineFuncs): fixed bug 1875869

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5042 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agoRewrote 8-bit multiplication by constant, implements #1898231
spth [Fri, 22 Feb 2008 16:18:04 +0000 (16:18 +0000)]
Rewrote 8-bit multiplication by constant, implements #1898231

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5041 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agoFaster 8-bit multiplication: #1896290
spth [Fri, 22 Feb 2008 14:46:58 +0000 (14:46 +0000)]
Faster 8-bit multiplication: #1896290

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5040 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCast.c (createIvalStruct): fixed bug 1466761
MaartenBrock [Thu, 21 Feb 2008 23:48:02 +0000 (23:48 +0000)]
* src/SDCCast.c (createIvalStruct): fixed bug 1466761

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5037 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* support/regression/Makefile.in,
borutr [Thu, 21 Feb 2008 18:51:18 +0000 (18:51 +0000)]
* 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/xa51/spec.mk:
  added CFLAGS when compiling timeout

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5035 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agoRegression test for #1596270, #1736867
spth [Thu, 21 Feb 2008 12:59:53 +0000 (12:59 +0000)]
Regression test for #1596270, #1736867

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5034 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCClrange.c (findPrevUse): fixed bug 1888147
MaartenBrock [Wed, 20 Feb 2008 18:21:56 +0000 (18:21 +0000)]
* src/SDCClrange.c (findPrevUse): fixed bug 1888147
* support/regression/tests/bug1888147.c: new, added

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5029 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agoFixed bugs #1596270, #1736867
spth [Wed, 20 Feb 2008 15:51:15 +0000 (15:51 +0000)]
Fixed bugs #1596270, #1736867

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5028 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agofixed bug in register pair loading
spth [Wed, 20 Feb 2008 13:20:39 +0000 (13:20 +0000)]
fixed bug in register pair loading

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5027 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agoFixed #1806565
spth [Wed, 20 Feb 2008 11:14:03 +0000 (11:14 +0000)]
Fixed #1806565

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5026 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCpeeph.c (operandBaseName): added check for @Ri
MaartenBrock [Tue, 19 Feb 2008 23:15:11 +0000 (23:15 +0000)]
* src/SDCCpeeph.c (operandBaseName): added check for @Ri
* src/mcs51/peeph.def (rule 177.c): added operandsNotRelated(%1 %3)
  fixes bug 1739475, thanks Robert Larice
  (rule 271): new, added

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5025 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* sim/ucsim/s51.src/Makefile.in: fixed error made in previous commit
borutr [Mon, 18 Feb 2008 07:26:19 +0000 (07:26 +0000)]
* sim/ucsim/s51.src/Makefile.in: fixed error made in previous commit

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5022 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCmain.c (linkEdit): emit -z when using --debug for z80
MaartenBrock [Sun, 17 Feb 2008 22:07:46 +0000 (22:07 +0000)]
* src/SDCCmain.c (linkEdit): emit -z when using --debug for z80

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5021 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* sim/ucsim/avr.src/Makefile.in, sim/ucsim/hc08.src/Makefile.in,
borutr [Sun, 17 Feb 2008 17:16:28 +0000 (17:16 +0000)]
* sim/ucsim/avr.src/Makefile.in, sim/ucsim/hc08.src/Makefile.in,
  sim/ucsim/s51.src/Makefile.in, sim/ucsim/sim.src/Makefile.in,
  sim/ucsim/xa.src/Makefile.in, sim/ucsim/z80.src/Makefile.in,
  sim/ucsim/main_in.mk: renamed libutil.a to libucsimutil.a in order to
  enable compilation on Mac OS X 10.5 (Leopard) and XCode v3.0

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5019 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/pic16/genarith.c,
tecodev [Sun, 17 Feb 2008 16:31:47 +0000 (16:31 +0000)]
* src/pic16/genarith.c,
* src/pic16/gen.c,
* src/pic16/gen.h,
* src/pic16/genutils.c: removed unused legacy code,
  removed unused fields from struct asmop and struct _G

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5018 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/pic16/gen.c (AccRsh): cosmetic changes,
tecodev [Sun, 17 Feb 2008 13:38:14 +0000 (13:38 +0000)]
* src/pic16/gen.c (AccRsh): cosmetic changes,
  (shiftR1Left2ResultSigned,shiftR1Left2Result,shiftL1Left2Result,
  genRightShiftLiteral): fixed to work with SFRs as result by
  assigning only once to result,
  removed a lot of unused/excluded code fragments

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5017 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/z80/gen.c, src/z80/peeph.def: applied patch
borutr [Sun, 17 Feb 2008 12:30:30 +0000 (12:30 +0000)]
* src/z80/gen.c, src/z80/peeph.def: applied patch
  #1893510: Improve logical left shift on Z80, thanks to Philipp Krause

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5016 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* device/include/pic/pic16f88.h,
tecodev [Sun, 17 Feb 2008 10:47:26 +0000 (10:47 +0000)]
* device/include/pic/pic16f88.h,
* device/include/pic/pic16f886.h,
* device/include/pic/pic16f887.h: added TRISA6 and TRISA7

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5015 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/z80/peeph.def: applied patch
borutr [Sun, 17 Feb 2008 07:25:53 +0000 (07:25 +0000)]
* src/z80/peeph.def: applied patch
  #1893626: Optimize tail calls on Z80, thanks to Philipp Krause

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5014 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* as/link/mcs51/aslink.dsp: removed SDK define
MaartenBrock [Sat, 16 Feb 2008 21:28:52 +0000 (21:28 +0000)]
* as/link/mcs51/aslink.dsp: removed SDK define
* as/link/z80/clean.mk: brought in sync with other ports
* as/link/z80/lklibr.c (SdccLib, fndsym): handle the dflag here too
* as/hc08/Makefile.bcc,
* as/mcs51/Makefile.bcc,
* as/z80/Makefile.bcc: noice.c was moved to as/asxxsrc/
* src/z80/main.c (_setValues): use the now capitalized -Z,
  (z80_port, gbz80_port): generate debug information when asked

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5013 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/z80/peeph-gbz80.def: applied patch
borutr [Sat, 16 Feb 2008 15:05:19 +0000 (15:05 +0000)]
* src/z80/peeph-gbz80.def: applied patch
  #1880235: Z80 return peephole, thanks to Philipp Krause

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5012 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* as/z80/asmain.c, as/z80/asm.h, as/z80/asdata.c,
borutr [Sat, 16 Feb 2008 14:28:22 +0000 (14:28 +0000)]
* as/z80/asmain.c, as/z80/asm.h, as/z80/asdata.c,
  as/link/z80/lkmain.c, as/z80/as_gbz80.dsp, as/z80/as_z80.dsp,
  as/z80/Makefile.in. as/z80/Makefile.bcc:
  applied patch #1893393: patch for as-z80 and link-z80 to generate cdb,
  thanx to Armin Diehl
* as/*/asnoice.c, as/hc08/as_hc08.dsp, as/hc08/Makefile.in,
  as/mcs51/asx8051.dsp, as/mcs51/Makefile.in:
  asnoice.c moved to as/asxxsrc/asnoice.c

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5011 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* .version,
MaartenBrock [Thu, 14 Feb 2008 14:01:06 +0000 (14:01 +0000)]
* .version,
* doc/sdccman.lyx: bumped version to 2.7.5
* src/SDCCsymt.c (compareType, comparePtrType): fixed bug 1281583

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5009 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* device/include/pic16/stdlib.h,
MaartenBrock [Wed, 13 Feb 2008 21:59:32 +0000 (21:59 +0000)]
* device/include/pic16/stdlib.h,
* device/lib/pic16/libc/stdlib/ltoa.c,
* device/lib/pic16/libc/stdio/vfprintf.c: ascii strings are char*

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5008 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/pic16/glue.c, src/SDCCast.c, src/SDCCast.h, src/SDCCBBlock.c,
borutr [Wed, 13 Feb 2008 19:17:50 +0000 (19:17 +0000)]
* src/pic16/glue.c, src/SDCCast.c, src/SDCCast.h, src/SDCCBBlock.c,
  src/SDCCcse.c, src/SDCCglue.c, src/SDCCicode.c, src/SDCCloop.c,
  src/SDCCopt.c,  src/SDCCval.c:
  fixed bug #1890273: SDCC Warning 154 shows wrong filename

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5007 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agofixed warnings, produced with last commit
borutr [Wed, 13 Feb 2008 17:56:02 +0000 (17:56 +0000)]
fixed warnings, produced with last commit

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5006 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCmain.c, src/SDCCglue.c: fixed --c1mode
borutr [Wed, 13 Feb 2008 06:55:24 +0000 (06:55 +0000)]
* src/SDCCmain.c, src/SDCCglue.c: fixed --c1mode

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5005 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCsymt.c (compareType): fixed bug 1309013
MaartenBrock [Tue, 12 Feb 2008 15:09:16 +0000 (15:09 +0000)]
* src/SDCCsymt.c (compareType): fixed bug 1309013

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5004 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCval.c, src/SDCCval.h:
borutr [Sat, 9 Feb 2008 16:45:05 +0000 (16:45 +0000)]
* src/SDCCval.c, src/SDCCval.h:
  code cleaning, added function constChrVal()
* src/SDCCglue.c, src/pic/glue.c, src/pic16/glue.c, src/SDCCast.c, src/SDCC.y:
  call constChrVal() instead constVal()

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5003 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCast.c (resolveSymbols): added reentrancy check for parameters
MaartenBrock [Fri, 1 Feb 2008 18:46:38 +0000 (18:46 +0000)]
* src/SDCCast.c (resolveSymbols): added reentrancy check for parameters
  of function pointer
* src/SDCCerr.h,
* src/SDCCerr.c: changed warning W_NONRENT_ARGS to error E_NONRENT_ARGS
* support/regression/tests/absolute.c: added TestStruct TestVar (see also
  bug 1859853)

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5002 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* device/include/pic/pic16f886.h,
tecodev [Fri, 1 Feb 2008 15:57:45 +0000 (15:57 +0000)]
* device/include/pic/pic16f886.h,
* device/include/pic/pic16f887.h: added RA6 and RA7

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5001 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* device/include/pic/pic16f88.h: added RA6 and RA7
tecodev [Thu, 24 Jan 2008 11:24:53 +0000 (11:24 +0000)]
* device/include/pic/pic16f88.h: added RA6 and RA7
* device/lib/pic/libdev/disabled_pic16f886.c,
* device/lib/pic/libdev/disabled_pic16f887.c: renamed and enabled

* src/pic16/devices.inc,
* device/include/pic16/pic18f2423.h,
* device/include/pic16/pic18f2523.h,
* device/include/pic16/pic18fregs.h,
* device/lib/pic16/pics.all
* device/lib/pic16/libdev/pic18f2423.c,
* device/lib/pic16/libdev/pic18f2523.c: added 18f2423 and 18f2523
* device/lib/pic16/libio/i2c.ignore,
* device/lib/pic16/libio/usart.ignore,
* device/lib/pic16/libio/adc.ignore: ignore new devices

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5000 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCast.c (createRMW): fixed bug 1582651
MaartenBrock [Wed, 23 Jan 2008 22:13:38 +0000 (22:13 +0000)]
* src/SDCCast.c (createRMW): fixed bug 1582651

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4999 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* support/regression/tests/arithcsi.c: fixed regression test
borutr [Sun, 20 Jan 2008 00:37:33 +0000 (00:37 +0000)]
* support/regression/tests/arithcsi.c: fixed regression test

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4998 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* support/regression/tests/arithcsi.c: added regression test
borutr [Sun, 20 Jan 2008 00:35:31 +0000 (00:35 +0000)]
* support/regression/tests/arithcsi.c: added regression test

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4997 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCcse.c: partially fixed enhancement request
borutr [Sat, 19 Jan 2008 23:49:32 +0000 (23:49 +0000)]
* src/SDCCcse.c: partially fixed enhancement request
  #1793872 - multiply by -1 not collapsed
* support/regression/tests/arithcsi.c: added regression test

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4996 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* device/include/asm/ds390/features.h: fixed bug with ds390 & stack-auto
MaartenBrock [Sat, 19 Jan 2008 15:42:51 +0000 (15:42 +0000)]
* device/include/asm/ds390/features.h: fixed bug with ds390 & stack-auto
* as/link/lklex.c,
* as/link/mcs51/lkmain.c: used LKDIRSEP, LKDIRSEPSTR and LKOBJEXT,
  cosmetic changes, brought more in sync, changed old K&R to ANSI

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4995 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* as/mcs51/asx8051.dsp: removed define SDK
MaartenBrock [Sat, 19 Jan 2008 13:06:10 +0000 (13:06 +0000)]
* as/mcs51/asx8051.dsp: removed define SDK
* as/mcs51/i51mch.c (machine): fixed bug 1865114

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4994 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agosdcc-build:
borutr [Sun, 13 Jan 2008 11:14:43 +0000 (11:14 +0000)]
sdcc-build:
* lib/version.mk: fixed VER_XXX macros

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4993 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago*src/SDCCicode.c: fixed bug #1870216 - Error 122: dividing by zero
borutr [Sun, 13 Jan 2008 07:54:32 +0000 (07:54 +0000)]
*src/SDCCicode.c: fixed bug #1870216 - Error 122: dividing by zero

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4992 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agosdcc-build:
borutr [Sun, 13 Jan 2008 06:43:50 +0000 (06:43 +0000)]
sdcc-build:
* Makefile, lib/bootstrap.mk, lib/variables.mk, lib/version.mk:
  added version.mk, introduced variables SDCC_VER_MAJOR,
  SDCC_VER_MINOR, SDCC_VER_DEVEL, SDCCREVISION renamed to
  SDCC_REVISION

sdcc-cf:
* packages/build.nsis/Makefile: updated to NSIS version 2.34
* crontab.txt: execute .bash_profile instead of .bashrc on cf-x86

sdcc:
* support/scripts/sdcc.nsi: added Uninstall/reinstall page, ...

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4991 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/pic16/gen.c: fixed implementation of bitwise operations for
borutr [Sun, 30 Dec 2007 22:56:15 +0000 (22:56 +0000)]
* src/pic16/gen.c: fixed implementation of bitwise operations for
  pic16targer
* support/regression/tests/bitwise.c: added test cases

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4990 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agofixed makefiles
borutr [Sat, 29 Dec 2007 22:33:50 +0000 (22:33 +0000)]
fixed makefiles

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4989 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* as/hc08/Makefile.bcc, as/hc08/Makefile.in, as/hc08/as_hc08.dsp,
borutr [Sat, 29 Dec 2007 21:44:17 +0000 (21:44 +0000)]
* as/hc08/Makefile.bcc, as/hc08/Makefile.in, as/hc08/as_hc08.dsp,
  as/mcs51/Makefile.bcc, as/mcs51/Makefile.in, as/mcs51/asx8051.dsp,
  as/z80/Makefile.bcc, as/z80/Makefile.in, as/z80/as_gbz80.dsp,
  as/z80/as_z80.dsp: added dbuf.[ch] and dbuf_string[ch] to project
* as/asxxsrc/aslex.c: use dbuf_getline()
* as/hc08/asdata.c, as/hc08/asexpr.c, as/hc08/asm.h, as/hc08/m08adr.c,
  as/mcs51/asdata.c, as/mcs51/asexpr.c, as/mcs51/asm.h,
  as/mcs51/i51adr.c, as/z80/asdata.c, as/z80/asexpr.c, as/z80/aslist.c,
  as/z80/asm.h, as/z80/z80adr.c:
  changed type of ib and ip to const char *

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4988 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agofixed skipLine() and printCLine()
borutr [Sat, 29 Dec 2007 18:01:19 +0000 (18:01 +0000)]
fixed skipLine() and printCLine()

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4987 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agogit-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4986 4a8a32a2...
borutr [Sat, 29 Dec 2007 16:56:58 +0000 (16:56 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4986 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCasm.[ch]: renamed from asm[ch], use dbuf_getline(), ...
borutr [Sat, 29 Dec 2007 16:50:25 +0000 (16:50 +0000)]
* src/SDCCasm.[ch]: renamed from asm[ch], use dbuf_getline(), ...
* src/src.dsp, src/Makefile.bcc, src/Makefile.in, src/common.h,
  src/SDCCglue.c, src/xa51/main.c: asm.[ch] renamed to SDCCasm.[ch]
* support/Util/dbuf_string.[ch]: added function dbuf_getline()
* src/ds390/gen.c, src/hc08/gen.c, src/mcs51/gen.c, src/pic16/gen.c,
  src/pic/gen.c, src/z80/gen.c, src/xa51/gen.c, src/pic16/ralloc.c,
  src/pic16/pcode.[ch]: added const qualifier

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4985 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agoremoved gcc warning: 'c' may be used uninitialized in this function
borutr [Fri, 28 Dec 2007 19:32:00 +0000 (19:32 +0000)]
removed gcc warning: 'c' may be used uninitialized in this function

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4984 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* as/hc08/asmain.c, as/mcs51/asmain.c:
borutr [Fri, 28 Dec 2007 19:19:05 +0000 (19:19 +0000)]
* as/hc08/asmain.c, as/mcs51/asmain.c:
  added missing initialization of a_addr field
* support/regression/tests/long_asm_line.c: added regtest for long
  assembler line

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4983 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* as/asxxsrc/aslex.c: moved from as/mcs51/aslex.c;
borutr [Fri, 28 Dec 2007 18:39:56 +0000 (18:39 +0000)]
* as/asxxsrc/aslex.c: moved from as/mcs51/aslex.c;
  introduced (readlin) - long lines are turuncated
* as/hc08/as_hc08.dsp, as/mcs51/asx8051.dsp, as/z80/as_gbz80.dsp,
  as/z80/as_z80.dsp, as/hc08/Makefile.in, as/mcs51/Makefile.in,
  as/z80/Makefile.in: moved aslex.c to asxxsrc
* as/hc08/aslex.c, as/z80/aslex.c: deleted
* as/z80/asmain.c, as/hc08/asmain.c, as/mcs51/asmain.c:
  added missing initialization of a_addr field

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4982 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCC.lex: fixed bug #1852894: # character hangs the compiler
borutr [Sat, 22 Dec 2007 13:05:08 +0000 (13:05 +0000)]
* src/SDCC.lex: fixed bug #1852894: # character hangs the compiler

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4981 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCsymt.c (computeType): fixed bug, thanks Fan Weiguang
MaartenBrock [Thu, 20 Dec 2007 13:20:53 +0000 (13:20 +0000)]
* src/SDCCsymt.c (computeType): fixed bug, thanks Fan Weiguang

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4980 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* device/include/pic16/stdbool.h: removed, since already exists in
borutr [Sun, 16 Dec 2007 16:18:03 +0000 (16:18 +0000)]
* device/include/pic16/stdbool.h: removed, since already exists in
 device/include/; this also fixes bitopcse.c regression test for pic16
 target
* support/regression/fwk/inclusw/testfwk.h: added macro ASSERT_FAILED
* src/pic16/glue.c: fixed bug #1851855: generic static pointer
  dereference doesn't work; covered by regression test bug1399290

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4979 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agoadded macro ASSERT_FAILED
borutr [Sun, 16 Dec 2007 12:08:32 +0000 (12:08 +0000)]
added macro ASSERT_FAILED

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4978 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* device/include/pic16/stdbool.h: removed, since already exists in
borutr [Sun, 16 Dec 2007 11:59:54 +0000 (11:59 +0000)]
* device/include/pic16/stdbool.h: removed, since already exists in
 device/include/; this also fixes bitopcse.c regression test for pic16
 target
* support/regression/fwk/inclusw/testfwk.h: added macro ASSERT_FAILED

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4977 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* doc/sdccman.lyx: fixed bug #1844509 - Correction to Manual 4.6.9
borutr [Wed, 5 Dec 2007 20:26:46 +0000 (20:26 +0000)]
* doc/sdccman.lyx: fixed bug #1844509 - Correction to Manual 4.6.9
  Adding new PIC16

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4976 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* sim/ucsim/cmd.src/cmdmem.cc, sim/ucsim/cmd.src/mem.cc:
borutr [Sat, 1 Dec 2007 15:07:42 +0000 (15:07 +0000)]
* sim/ucsim/cmd.src/cmdmem.cc, sim/ucsim/cmd.src/mem.cc:
  corrected handling of the highest_valid_address

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4974 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agocreated as/asxxsrc directory, assym.c and strcpi.c moved into it
borutr [Sat, 17 Nov 2007 21:15:56 +0000 (21:15 +0000)]
created as/asxxsrc directory, assym.c and strcpi.c moved into it

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4973 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agogit-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4972 4a8a32a2...
borutr [Sat, 17 Nov 2007 19:23:59 +0000 (19:23 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4972 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* as/asxxsrc: created
borutr [Sat, 17 Nov 2007 19:21:59 +0000 (19:21 +0000)]
* as/asxxsrc: created
  as/asxxsrc/assym.c, as/asxxsrc/strcmpi.c: moved
  as/hc08/assym.c, as/mcs51/assym.c, as/strcmpi.c,
  as/z80/assym.c, as/hc08/asstore.c, as/mcs51/asstore.c: deleted
  as/hc08/Makefile.bcc, as/hc08/Makefile.in, as/hc08/as_hc08.dsp,
  as/hc08/asm.h, as/link/hc08/Makefile.bcc, as/link/hc08/Makefile.in,
  as/link/hc08/link_hc08.dsp, as/link/mcs51/Makefile.bcc,
  as/link/mcs51/Makefile.in, as/link/mcs51/aslink.dsp,
  as/link/z80/Makefile.in, as/link/z80/linkgbz80.dsp,
  as/link/z80/linkz80.dsp, as/mcs51/Makefile.bcc, as/mcs51/Makefile.in,
  as/mcs51/asm.h, as/mcs51/asx8051.dsp, as/z80/Makefile.bcc,
  as/z80/Makefile.in, as/z80/as_gbz80.dsp, as/z80/as_z80.dsp,
  as/z80/Makefile.as_hc08, as/mcs51/Makefile.asx8051: modified
  created as/asxxsrc directory, assym.c and strcpi.c moved into it

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4971 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agoas/hc08/asstore.c, as/mcs51/asstore.c: deleted
borutr [Sat, 17 Nov 2007 19:04:58 +0000 (19:04 +0000)]
as/hc08/asstore.c, as/mcs51/asstore.c: deleted

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4970 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/pic/main.c (_asmCmd): include debug arguments (-g as $3)
tecodev [Sat, 17 Nov 2007 19:02:22 +0000 (19:02 +0000)]
* src/pic/main.c (_asmCmd): include debug arguments (-g as $3)
* src/pic/glue.c (picglue): emit .file if --debug is given

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4969 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago2007-11-17 Borut Razem <borut.razem AT siol.net>
borutr [Sat, 17 Nov 2007 18:55:50 +0000 (18:55 +0000)]
2007-11-17 Borut Razem <borut.razem AT siol.net>

* src/SDCCglue.c, src/pic16/glue.c: reverted fix for bug
  #983491 - "Merge duplicate strings function is ineffective"
* support/regression/tests/bug-983491.c: regtest disabled
* as/asxxsrc: created
  as/asxxsrc/assym.c, as/asxxsrc/strcmpi.c: moved
  as/hc08/assym.c, as/mcs51/assym.c, as/strcmpi.c,
  as/z80/assym.c: deleted
  as/hc08/Makefile.bcc, as/hc08/Makefile.in, as/hc08/as_hc08.dsp,
  as/hc08/asm.h, as/link/hc08/Makefile.bcc, as/link/hc08/Makefile.in,
  as/link/hc08/link_hc08.dsp, as/link/mcs51/Makefile.bcc,
  as/link/mcs51/Makefile.in, as/link/mcs51/aslink.dsp,
  as/link/z80/Makefile.in, as/link/z80/linkgbz80.dsp,
  as/link/z80/linkz80.dsp, as/mcs51/Makefile.bcc, as/mcs51/Makefile.in,
  as/mcs51/asm.h, as/mcs51/asx8051.dsp, as/z80/Makefile.bcc,
  as/z80/Makefile.in, as/z80/as_gbz80.dsp, as/z80/as_z80.dsp: modified
  created as/asxxsrc directory, assym.c and strcpi.c moved into it

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4968 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/pic16/genarith.c (pic16_genPlus, pic16_genMinus): take special
tecodev [Sat, 17 Nov 2007 18:28:53 +0000 (18:28 +0000)]
* src/pic16/genarith.c (pic16_genPlus, pic16_genMinus): take special
care when left or right operand resides in result, fixes #1830220

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4967 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCglue.c, src/pic16/glue.c: reverted fix for bug
borutr [Sat, 17 Nov 2007 10:55:04 +0000 (10:55 +0000)]
* src/SDCCglue.c, src/pic16/glue.c: reverted fix for bug
  #983491 - "Merge duplicate strings function is ineffective"
* support/regression/tests/bug-983491.c: regtest disabled

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4966 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* device/include/stdarg.h: added and removed some casts
MaartenBrock [Thu, 15 Nov 2007 17:24:27 +0000 (17:24 +0000)]
* device/include/stdarg.h: added and removed some casts
* src/SDCCsymt.c (compareType): Fully check types between generic and
  non-generic pointers, also accept ptr-ptr to void-ptr assignments

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4965 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* support/regression/tests/bug-1817005.c:
borutr [Tue, 13 Nov 2007 06:25:05 +0000 (06:25 +0000)]
* support/regression/tests/bug-1817005.c:
  added regtest for bug #1817005 - as-z80 chokes on long labels

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4964 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agoas\z80\aslist.c: fixed bug #1817005 - as-z80 chokes on long labels
borutr [Mon, 12 Nov 2007 21:38:19 +0000 (21:38 +0000)]
as\z80\aslist.c: fixed bug #1817005 - as-z80 chokes on long labels

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4963 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agoas\z80\asout.c: fixed bug #1817005 - as-z80 chokes on long labels
borutr [Mon, 12 Nov 2007 21:22:36 +0000 (21:22 +0000)]
as\z80\asout.c: fixed bug #1817005 - as-z80 chokes on long labels

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4962 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* as\z80\asmain.c, as\z80\asm.h, as\z80\assym.c, as\z80\asdata.c:
borutr [Mon, 12 Nov 2007 20:38:53 +0000 (20:38 +0000)]
* as\z80\asmain.c, as\z80\asm.h, as\z80\assym.c, as\z80\asdata.c:
 fixed bug #1817005 - as-z80 chokes on long labels

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4961 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* as/hc08/asmain.c,
MaartenBrock [Sun, 11 Nov 2007 13:25:15 +0000 (13:25 +0000)]
* as/hc08/asmain.c,
* as/z80/asmain.c: cosmetic changes
* as/hc08/alloc.h,
* as/mcs51/alloc.h,
* as/z80/alloc.h: removed
* as/hc08/assym.c,
* as/mcs51/assym.c: replaced alloc.h with stdlib.h
* as/link/aslink.h: added LKDIRSEP and, LKDIRSEPSTR
* as/link/hc08/Makefile.in,
* as/link/mcs51/Makefile.in,
* as/link/z80/Makefile.in: added -DUNIX to CFLAGS
* as/link/lklex.c,
* as/link/mcs51/lkarea.c,
* as/link/mcs51/lkmain.c: cosmetic changes
* as/link/hc08/lklibr.c,
* as/link/z80/lklibr.c,
* as/link/mcs51/lklibr.c: used LKDIRSEP, LKDIRSEPSTR and LKOBJEXT,
  used cygwin_conv_to_full_posix_path,
  added warnings, cosmetic changes, brought more in sync
  changed old K&R into ANSI function declarations
* as/link/z80/lklibr.c (loadAdb): added
* as/link/z80/lkmain.c: removed -- option from usage text

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4960 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/mcs51/gen.c (outBitC): retry of optimization for dummy result
MaartenBrock [Sat, 3 Nov 2007 15:36:25 +0000 (15:36 +0000)]
* src/mcs51/gen.c (outBitC): retry of optimization for dummy result

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4959 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/mcs51/gen.c (outBitC): optimized for no result
MaartenBrock [Sat, 3 Nov 2007 13:08:55 +0000 (13:08 +0000)]
* src/mcs51/gen.c (outBitC): optimized for no result

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4958 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agofixed regtest #1805702
borutr [Wed, 31 Oct 2007 18:00:54 +0000 (18:00 +0000)]
fixed regtest #1805702

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4957 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCsymt.c: fixed (hopeful properly) bug
borutr [Wed, 31 Oct 2007 12:33:37 +0000 (12:33 +0000)]
* src/SDCCsymt.c: fixed (hopeful properly) bug
  #1805702 - order of extern matters
* support/regression/tests/bug-1805702.c: enabled regtest for bug
  #1805702

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4956 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agofixed so that it doesn't produce compilation errors
borutr [Tue, 30 Oct 2007 20:45:23 +0000 (20:45 +0000)]
fixed so that it doesn't produce compilation errors

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4955 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years agoadded #include <testfwk.h>
borutr [Tue, 30 Oct 2007 08:55:56 +0000 (08:55 +0000)]
added #include <testfwk.h>

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4954 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/SDCCsymt.c: reverted bad fixed of bug #1805702
borutr [Mon, 29 Oct 2007 21:35:44 +0000 (21:35 +0000)]
* src/SDCCsymt.c: reverted bad fixed of bug #1805702
  - order of extern matters
* support/regression/tests/bug-1805702.c: disabled regtest for bug
  #1805702

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4952 4a8a32a2-be11-0410-ad9d-d568d2c75423

16 years ago* src/ds390/peeph.def: must use () for comma to work
MaartenBrock [Mon, 29 Oct 2007 17:47:22 +0000 (17:47 +0000)]
* src/ds390/peeph.def: must use () for comma to work

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4950 4a8a32a2-be11-0410-ad9d-d568d2c75423