MaartenBrock [Tue, 4 Sep 2007 08:40:18 +0000 (08:40 +0000)]
* src/mcs51/peep.c (isCallerSaveFunc, termScanAtFunc): changed function
name and behaviour to handle banked functions
(scan4op): and use it to fix bug
1786213
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4908
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 3 Sep 2007 09:17:13 +0000 (09:17 +0000)]
* device/include/pic16/pic18f248.h,
* device/include/pic16/pic18f258.h,
* device/include/pic16/pic18f448.h,
* device/lib/pic16/libdev/pic18f248.c,
* device/lib/pic16/libdev/pic18f258.c,
* device/lib/pic16/libdev/pic18f448.c: fixed TRISEbits,
added T0CONbits, fixes #
1786891
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4906
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 29 Aug 2007 13:02:10 +0000 (13:02 +0000)]
* src/ds390/gen.c (genFarPointerSet),
* src/hc08/ralloc.c (packRegisters),
* src/mcs51/ralloc.c (packRegisters),
* src/SDCCcse.c (cseBBlock): check if result is a symbol first to fix
bug
1750318
* src/SDCCicode.h: POINTER_SET can be true for literals too
* support/regression/tests/bug1750318.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4905
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Thu, 23 Aug 2007 20:03:39 +0000 (20:03 +0000)]
* debugger/mcs51/sdcdb.c: fixed compilation with older readline
library versions without the completition functionality
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4904
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Wed, 22 Aug 2007 09:06:05 +0000 (09:06 +0000)]
* device/include/pic16/pic18f1220.h,
* device/lib/pic16/libdev/pic18f1220.c: applied patch #
1776191
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4903
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 12 Aug 2007 10:31:27 +0000 (10:31 +0000)]
* debugger/mcs51/Makefile.in: support/Util/SDCCerr.[ch] moved to src
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4901
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sat, 11 Aug 2007 20:25:55 +0000 (20:25 +0000)]
* support/scripts/listerr.c:
support/Util/SDCCerr.[ch] moved to src
* support/scripts/winres.h:
added for compilation with Visual C++ 2005 Express Edition
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4900
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sat, 11 Aug 2007 18:11:39 +0000 (18:11 +0000)]
* support/Util/SDCCerr.c, support/Util/SDCCerr.h, src/src.dsp,
src/Makefile.in, src/Makefile.bcc:
support/Util/SDCCerr.[ch] moved to src
* as/hc08/as_hc08.dsp, as/link/hc08/link_hc08.dsp,
as/link/z80/linkgbz80.dsp, as/link/z80/linkz80.dsp,
device/examples/ds390/tinitalk/tinitalk.dsp,
device/examples/serialcomm/windows/serialcomm.dsp,
support/librarian/librarian.dsp:
removed linking of unused odbc32.lib and odbccp32.lib
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4899
4a8a32a2-be11-0410-ad9d-
d568d2c75423
jesusc [Thu, 9 Aug 2007 22:39:00 +0000 (22:39 +0000)]
device/include/mcs51/at89c51ed.h: Fixed typo in declarations of CKCON0 and CKCON1.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4898
4a8a32a2-be11-0410-ad9d-
d568d2c75423
sdcc-builder [Tue, 7 Aug 2007 11:55:45 +0000 (11:55 +0000)]
* sdccconf_in.h: update the endian test so that SPARC Solaris
does not throw syntax errors
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4896
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 6 Aug 2007 20:02:31 +0000 (20:02 +0000)]
* doc/sdccman.lyx: removed two index entries which prevented the
generation of sdcc doc archive
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4895
4a8a32a2-be11-0410-ad9d-
d568d2c75423
jesusc [Sun, 5 Aug 2007 18:06:37 +0000 (18:06 +0000)]
doc/sdccman.lyx: Same changes made 2007-07-28 but using lyx 1.4.4 instead of lyx 1.5.0.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4894
4a8a32a2-be11-0410-ad9d-
d568d2c75423
epetrich [Tue, 31 Jul 2007 06:06:35 +0000 (06:06 +0000)]
* device/include/hc08/mc68hc908apxx.h: new header contributed by
Lucas Loizaga, with minor modifications. Thanks!
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4892
4a8a32a2-be11-0410-ad9d-
d568d2c75423
jesusc [Sat, 28 Jul 2007 19:09:38 +0000 (19:09 +0000)]
doc/sdccman.lyx: Documented --acall-ajmp and described new features in sdcclib.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4891
4a8a32a2-be11-0410-ad9d-
d568d2c75423
jesusc [Sat, 28 Jul 2007 07:37:07 +0000 (07:37 +0000)]
src/SDCCglue.c, src/mcs51/main.c: improved implementation of --acall-ajmp
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4890
4a8a32a2-be11-0410-ad9d-
d568d2c75423
jesusc [Sat, 28 Jul 2007 07:35:54 +0000 (07:35 +0000)]
src/SDCCglue.c, src/mcs51/main.c: improved implementation of --acall-ajmp
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4889
4a8a32a2-be11-0410-ad9d-
d568d2c75423
jesusc [Fri, 27 Jul 2007 20:23:22 +0000 (20:23 +0000)]
src/SDCCglobl.h, src/SDCCpeeph.c, src/mcs51/main.c, src/mcs51/peeph.def: Added option --acall-ajmp: replaces lcall/ljmp with acall/ajmp
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4888
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 22 Jul 2007 11:42:58 +0000 (11:42 +0000)]
* configure.in, configure: re-introduced .version
* sdcc.spec, doc/INSTALL.txt: they are used only for releases;
the version reverted to 2.7.0
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4887
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 18 Jul 2007 15:17:51 +0000 (15:17 +0000)]
* configure.in,
* doc/sdccman.lyx: bumped version to 2.7.3
* device/include/mcs51/compiler.h: fixed elif->else
* src/mcs51/gen.c (genAnd, genOr): handle accuse for pure bit operands
* src/mcs51/ralloc.c (createStackSpil): fixed SCLS bug with sloc for sbit,
(operandUsesAcc, packRegsForAccUse): added parameter allowBitspace to
enable accuse for bit operands
* src/SDCCmain.c (printVersionInfo),
* src/SDCCutil.c (getBuildEnvironment): factored out creation of build
environment descriptor
* src/SDCCutil.h: added getBuildEnvironment
* src/SDCCglue.c (initialComments): use getBuildEnvironment
* support/regression/tests/bug1464657.c: enabled test test_Peephole251
* support/regression/tests/bug-408972.c: enabled test leftShiftLong
* support/regression/tests/bug1348008.c,
* support/regression/tests/bug1496419.c,
* support/regression/tests/bug1503067.c,
* support/regression/tests/preproc.c: added empty tests
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4886
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 15 Jul 2007 14:21:54 +0000 (14:21 +0000)]
* support/regression/tests/bug1678803.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4885
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 14 Jul 2007 08:47:32 +0000 (08:47 +0000)]
* as/link/aslink.h,
* as/link/hc08/lkihx.c,
* as/link/hc08/lkrloc.c,
* as/link/mcs51/lkihx.c,
* as/link/mcs51/lkrloc.c: renamed ihxEntendedLinearAddress to
ihxExtendedLinearAddress
* as/link/mcs51/lkrloc.c (relr),
* as/mcs51/asout.c (outr11, outr19): handle absolute destination for
acall/ajmp, see bug 830513
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4884
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 13 Jul 2007 21:10:11 +0000 (21:10 +0000)]
* src/mcs51/gen.c (genDataPointerSet): use max of size of right and result
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4883
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 13 Jul 2007 12:21:56 +0000 (12:21 +0000)]
* src/SDCCcse.c (replaceAllSymBySym): renamed siaddr to isaddr,
(cseBBlock): remember aggr2ptr has been used
* src/SDCCicode.c (operandSize): added function to handle aggr2ptr,
(geniCodeAssign): fixed bug 868103
* src/SDCCicode.h: made operand.aggr2ptr 2 bits wide,
added operandSize prototype
* src/mcs51/gen.c (aopOp): use operandSize to fix bug 868103,
(genDataPointerSet): use size of result,
(gencjne): added parameter useCarry for optimization,
(genCmpEq): use carry if appropriate,
(genXor): check if operand already in carry
* support/regression/tests/bug-868103.c: enabled test
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4882
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Thu, 12 Jul 2007 11:11:02 +0000 (11:11 +0000)]
* support/regression/tests/bug1734654.c,
* support/regression/tests/bug1745717.c: corrected properties
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4881
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Thu, 12 Jul 2007 09:26:18 +0000 (09:26 +0000)]
* src/pic16/gen.c (genNearPointerSet): fixed handling of literals
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4880
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 11 Jul 2007 14:42:00 +0000 (14:42 +0000)]
* src/SDCCsymt.c (compareType): fixed bugs
1738367 and
1745717 with patch
from Robert Larice, thanks
* support/regression/tests/bitopcse.c,
* support/regression/tests/bitvars.c,
* support/regression/tests/bug-908454.c: use <stdbool.h> for the bit types
* support/regression/tests/bug-927659.c: enabled test for z80
* support/regression/tests/bug1738367.c: added extra tests by Frieder
* support/regression/tests/bug1745717.c: new, added
* support/regression/tests/literalop.c,
* support/regression/tests/nullstring.c: removed storage definitions that
are now in testfwk.h
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4879
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 10 Jul 2007 12:12:48 +0000 (12:12 +0000)]
* device/include/stdbool.h: do not define __bool_true_false_are_defined
and bool for targets that do not fully support it.
* support/regression/tests/bug1546986.c,
* support/regression/tests/bug1723128.c,
* support/regression/tests/bug1734654.c,
* support/regression/tests/bug1738367.c,
* support/regression/tests/constantRange.c: only use bool if allowed
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4877
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Mon, 9 Jul 2007 14:41:30 +0000 (14:41 +0000)]
* src/mcs51/peep.c (isCallerSaveFunc): fixed bug
1749275, thanks Robert
Larice, also handle function pointers
* support/regression/tests/bug1749275.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4876
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 3 Jul 2007 20:07:00 +0000 (20:07 +0000)]
* device/include/typeof.h: fixed bug #
1747142: typeof.h needs fixing
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4875
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 3 Jul 2007 19:51:04 +0000 (19:51 +0000)]
* src/mcs51/gen.c, src/avr/gen.c, src/pic/gen.c, src/z80/gen.c,
src/pic16/gen.c, src/hc08/gen.c, src/ds390/gen.c: fixed RFE
#
1746528: SDCC should ignore ':' in inline assembler comments
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4874
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 3 Jul 2007 13:36:13 +0000 (13:36 +0000)]
* device/lib/mcs51/crtxclear.asm: do not set __XPAGE unconditionally
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4873
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Mon, 2 Jul 2007 14:38:54 +0000 (14:38 +0000)]
* device/include/mcs51/
C8051F360.h: fixed bug #
1746410, thanks Chris Jones
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4872
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Fri, 29 Jun 2007 17:23:09 +0000 (17:23 +0000)]
* src/SDCCmain.c: fixed bug #
1744746: SDCC #4867: broken option --xram-size
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4871
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Thu, 28 Jun 2007 09:06:31 +0000 (09:06 +0000)]
* sim/ucsim/configure.in, sim/ucsim/configure, sim/ucsim/ddconfig_in.h:
find out the endianess of host machine for ucsim
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4869
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Wed, 27 Jun 2007 19:15:37 +0000 (19:15 +0000)]
* src/SDCC.y: fixed bug #
1744146: Crash when compiling array of
negative size
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4867
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Wed, 27 Jun 2007 17:51:00 +0000 (17:51 +0000)]
* local/mirror-doors.mk: create Mac OS X unified binaries
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4866
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Wed, 27 Jun 2007 16:34:48 +0000 (16:34 +0000)]
fixed endif
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4865
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Wed, 27 Jun 2007 16:17:14 +0000 (16:17 +0000)]
* support/regression/generate-cases.py: corrected the file name
in warning
* configure.in, configure, sdccconf_in.h: find out the endianess of
host machine
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4864
4a8a32a2-be11-0410-ad9d-
d568d2c75423
frief [Wed, 27 Jun 2007 12:32:42 +0000 (12:32 +0000)]
added file submitted by Gudjon I. Gudjonsson <gudjon AT gudjon.org>
device/include/mcs51/p89c66x.h: NXP header file, OK to change licence
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4863
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 26 Jun 2007 19:40:14 +0000 (19:40 +0000)]
* support/librarian/sdcclib.c: fixed warning:
format '%s' expects type 'char *', but argument 2 has type 'int'
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4862
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 26 Jun 2007 18:47:44 +0000 (18:47 +0000)]
* support/regression/generate-cases.py: implemented more flexible rule
for detection of testing functions, allowing return type 'void' in
the same line as the function name in the function definition
* support/regression/tests/bug-
1654060.c: corrected test
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4861
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 26 Jun 2007 10:39:18 +0000 (10:39 +0000)]
* support/regression/generate-cases.py: display warning if function list is empty
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4860
4a8a32a2-be11-0410-ad9d-
d568d2c75423
jesusc [Mon, 25 Jun 2007 17:12:45 +0000 (17:12 +0000)]
Added feature Requests [
1510635] Multiple infiles for sdcclib.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4859
4a8a32a2-be11-0410-ad9d-
d568d2c75423
epetrich [Wed, 20 Jun 2007 05:37:10 +0000 (05:37 +0000)]
* src/SDCCast.c (inlineFindMaxBlockno, createFunction): fixed
bug
1731741
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4857
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 18 Jun 2007 18:24:42 +0000 (18:24 +0000)]
* src/SDCCmain.c: removed option -C since SDCC compiler doesn't know
how to handle comments, so they have to be removed by the
preprocessor; fixed bug #
1738926:SDCC #4852: broken option -V
* src/SDCCmain.c, src/SDCCargs.h, src/ds390/main.c, src/mcs15/main.c,
src/pic16/main.c, src/pic/main.c, src/z80/main.c,
support/Util/SDCCerr.c, support/Util/SDCCerr.h:
table driven option hadling
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4855
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 16 Jun 2007 14:53:19 +0000 (14:53 +0000)]
* src/SDCCast.c (decorateType),
* src/SDCCicode.c (geniCodeConditional): moved optimization for '?' from
iCode to ast level to fix bug
1738367
* support/regression/tests/bug1738367.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4854
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 15 Jun 2007 21:57:15 +0000 (21:57 +0000)]
* src/pic16/devices.inc,
* device/lib/pic16/pics.all,
* device/include/pic16/pic18fregs.h,
* device/include/pic16/pic18f[24][45]20.h,
* device/lib/pic16/libdev/pic18f[24][45]20.c: added support for
18f2420,
18f2520, and
18f4420 devices, updated
18f4520 definitions
* device/lib/pic16/Makefile.in: faster cleanup
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4853
4a8a32a2-be11-0410-ad9d-
d568d2c75423
frief [Wed, 13 Jun 2007 19:22:56 +0000 (19:22 +0000)]
* src/mcs51/peeph.def: added 177.i (mov from a is slightly cheaper)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4852
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 12 Jun 2007 23:08:19 +0000 (23:08 +0000)]
* src/SDCCmain.c: prevent NULL pointer dereference, avoid warning
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4851
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 12 Jun 2007 21:49:18 +0000 (21:49 +0000)]
* support/scripts/inc2h.pl: conditionally emit defines for SFR bits,
suppress bit defines if NO_BIT_DEFINES is #define'd
* device/include/pic/pic*.h: recreated all headers to include
conditional bit defines
* device/include/pic/pic16f886.h,
* device/include/pic/pic16f887.h: fixed based on newer .inc file
* device/include/pic/recreate.sh: script to recreate the complete
device library files based on the currently supported devices
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4850
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 12 Jun 2007 20:27:04 +0000 (20:27 +0000)]
sdcc:
* doc/sdccman.lyx: SDCC Wiki moved to
http://sdcc.wiki.sourceforge.net/
sdcc-web:
* left_menu.inc: SDCC Wiki moved to
http://sdcc.wiki.sourceforge.net/
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4849
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 12 Jun 2007 15:43:05 +0000 (15:43 +0000)]
sdcc-cf:
* packages/build.gpsim/Makefile: use new svn URL scheme
adcc-web:
* index.php, snap_header.php, left_menu.inc:
use new svn URL scheme
sdcc:
* src/pic16/main.c, src/SDCCargs.h, SDCCmain.c,
support/regression/Makefile.in, support/scripts/build.mak,
support/scripts/Makefile.snapshot:
use new svn URL scheme
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4848
4a8a32a2-be11-0410-ad9d-
d568d2c75423
frief [Sun, 10 Jun 2007 21:17:14 +0000 (21:17 +0000)]
* src/mcs51/peeph.def: disabled rule 132.d to fix #
1734654
* support/regression/tests/bug1734654.c: added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4847
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 10 Jun 2007 20:55:33 +0000 (20:55 +0000)]
* src/SDCCast.c (decorateType): optimized '?' for equal operands
* src/SDCCicode.c (geniCodeConditional): optimization for bit result
with literal operands
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4846
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 10 Jun 2007 16:47:35 +0000 (16:47 +0000)]
* src/SDCCmain.c, src/ds390/main.c, src/mcs51/main.c, src/pic/main.c,
src/z80/main.c: move target specific options from src/SDCCmain.c
to src/<target>/main.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4845
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 10 Jun 2007 08:31:00 +0000 (08:31 +0000)]
* as/link/z80/lklibr.c: fixed mingw build warning
lklibr.c:575: warning: implicit declaration of function 'tolower'
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4844
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sat, 9 Jun 2007 15:59:28 +0000 (15:59 +0000)]
* src/z80/gen.c: fixed bug #
1294691: nested ifs make compiler crash;
removed unused swap_sense; removed outBitCLong, replaced with outBitC
* support/regression/tests/bug-
1294691.c: added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4843
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 9 Jun 2007 13:20:47 +0000 (13:20 +0000)]
* src/SDCCsymt.c (computeType): added optimization for 'cond ? true : false'
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4842
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 9 Jun 2007 08:20:39 +0000 (08:20 +0000)]
* src/SDCCmem.c (allocDefault): removed check sym->level==0 for SPEC_ABSA,
can also be static, fixes bug
1733438
* src/SDCCsymt.c (checkSClass): static local vars in reentrant funcs can
have absolute address too
* support/regression/tests/absolute.c: added test for static absolute var
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4841
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 8 Jun 2007 08:53:31 +0000 (08:53 +0000)]
* src/regression/Makefile: suppress parallel builds, allow easy
switching between pic14/pic16 ports
* src/regression/picregs.h: added pic14/16 header file switch
* src/regression/{compare7.c,compare8.c,compare9.c,compare10.c,
inline.c,nestfor.c,string1.c}: include "picregs.h"
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4840
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Thu, 7 Jun 2007 20:33:22 +0000 (20:33 +0000)]
* support/regression/tests/constantRange.c,
support/regression/tests/scott-compare3.c: fixed failing regression
tests, uncovered by implementation of more flexible rule for detection
of testing functions
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4839
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Thu, 7 Jun 2007 19:47:43 +0000 (19:47 +0000)]
* support/regression/generate-cases.py: implemented more flexible rule
for detection of testing functions, allowing white-spaces surrounding
the function name and the 'void' parameter.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4838
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Wed, 6 Jun 2007 22:32:26 +0000 (22:32 +0000)]
* sim/ucsim/*.*, sim/ucsim/configure, sim/ucsim/configure.in:
permanent solution to suppress GCC 4.2.0 c++ warning:
deprecated conversion from string constant to `char *'
use 'const char *' where ever required
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4837
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Mon, 4 Jun 2007 20:46:17 +0000 (20:46 +0000)]
* src/SDCCast.c(decorateType): better optimize '!!' and comparisons
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4836
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 4 Jun 2007 18:00:33 +0000 (18:00 +0000)]
* sim/ucsim/configure.in, sim/ucsim/configure:
use "read" to read from .version
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4835
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 4 Jun 2007 07:06:22 +0000 (07:06 +0000)]
* configure.in, configure, sdcc.spec, doc/sdccman.lyx, doc/sdccman.lyx,
doc/INSTALL.txt: version bumped to 2.7.2
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4834
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 4 Jun 2007 06:16:48 +0000 (06:16 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4833
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 3 Jun 2007 20:47:28 +0000 (20:47 +0000)]
* */Makefile.in: removed annoying warning:
Makefile:xx: Makefile.dep: No such file or directory
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4832
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 3 Jun 2007 20:38:18 +0000 (20:38 +0000)]
* */Makefile.in: removed annoying warning:
Makefile:xx: Makefile.dep: No such file or directory
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4831
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 2 Jun 2007 19:41:33 +0000 (19:41 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4829
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Fri, 1 Jun 2007 19:37:18 +0000 (19:37 +0000)]
* sim/ucsim/configure, sim/ucsim/configure.in:
temporary solution to supress GCC 4.2.0 c++ warning:
deprecated conversion from string constant to `char *'
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4827
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Fri, 1 Jun 2007 17:39:09 +0000 (17:39 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4826
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Fri, 1 Jun 2007 16:31:56 +0000 (16:31 +0000)]
support/cpp2/Makefile.in: modified
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4825
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Fri, 1 Jun 2007 15:23:01 +0000 (15:23 +0000)]
* 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: modified
* support/cpp2/opts-common.c: added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4824
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 1 Jun 2007 08:08:53 +0000 (08:08 +0000)]
* device/lib/pic/libdev/pic12f683.c,
* device/include/pic/pic12f683.h: added GPIO bits
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4823
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Thu, 31 May 2007 22:42:43 +0000 (22:42 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4821
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Thu, 31 May 2007 20:45:20 +0000 (20:45 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4820
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 29 May 2007 10:58:44 +0000 (10:58 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4818
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sat, 26 May 2007 09:43:07 +0000 (09:43 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4815
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 25 May 2007 06:05:06 +0000 (06:05 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4814
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 22 May 2007 21:45:48 +0000 (21:45 +0000)]
* doc/knownbugs.html: updated
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4812
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 21 May 2007 21:16:14 +0000 (21:16 +0000)]
* src/pic16/glue.c (pic16_initPointer): avoid assertion, emit better
error message instead
* src/pic/pcoderegs.c (pCodeOptime2pCodes): keep register state intact
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4810
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Mon, 21 May 2007 17:23:07 +0000 (17:23 +0000)]
* src/mcs51/peeph.def (257.b): disabled to fix bug
1721024
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4808
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 21 May 2007 09:10:38 +0000 (09:10 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4807
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 11 May 2007 18:12:13 +0000 (18:12 +0000)]
* src/SDCCpeeph.c (labelIsUncondJump): ignore identical labels for
jumps to self, fixed bug
1717281
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4806
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Thu, 10 May 2007 06:50:59 +0000 (06:50 +0000)]
* support/scripts/gen_known_bugs.pl: cosmetic fix
* doc/knownbugs.html: generated by gen_known_bugs.pl
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4802
4a8a32a2-be11-0410-ad9d-
d568d2c75423
epetrich [Thu, 10 May 2007 05:29:03 +0000 (05:29 +0000)]
* 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.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4801
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Wed, 9 May 2007 22:22:10 +0000 (22:22 +0000)]
* support/scripts/gen_known_bugs.pl: added script which generates knownbugs.html
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4800
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 9 May 2007 21:11:46 +0000 (21:11 +0000)]
* doc/knownbugs.html: updated for release 2.7.0
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4799
4a8a32a2-be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 9 May 2007 15:32:32 +0000 (15:32 +0000)]
device/include/mcs51/uPSD33xx.h: Added SFRX definitions by Jan Waclawek
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4798
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 8 May 2007 19:44:35 +0000 (19:44 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4797
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 8 May 2007 17:51:15 +0000 (17:51 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4796
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 8 May 2007 16:59:41 +0000 (16:59 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4795
4a8a32a2-be11-0410-ad9d-
d568d2c75423
jesusc [Tue, 8 May 2007 02:33:42 +0000 (02:33 +0000)]
device/include/mcs51/uPSD33xx.h: Added.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4794
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Mon, 7 May 2007 16:32:16 +0000 (16:32 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4793
4a8a32a2-be11-0410-ad9d-
d568d2c75423
frief [Sun, 6 May 2007 20:26:51 +0000 (20:26 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4792
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 6 May 2007 20:08:22 +0000 (20:08 +0000)]
* 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")
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4791
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 6 May 2007 18:36:59 +0000 (18:36 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4790
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 6 May 2007 16:32:39 +0000 (16:32 +0000)]
* src/z80/peeph.def: fixed bug in rule 2
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4789
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 5 May 2007 16:48:00 +0000 (16:48 +0000)]
* src/mcs51/peep.c (): fixed bug
1712928
* support/regression/tests/bug1712928.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4787
4a8a32a2-be11-0410-ad9d-
d568d2c75423