]>
git.gag.com Git - fw/sdcc/log
tecodev [Mon, 19 May 2008 08:11:40 +0000 (08:11 +0000)]
* src/regression/empty.c: suppress warning
* src/regression/pointer1.c: enabled index_by_pointer()
* src/regression/inline.c: now works for pic16 as well
* src/pic16/device.c: include dbuf declarations
* src/pic16/device.h: removed obsolete prototypes
* src/pic16/gen.c, src/pic16/gen.h: moved generic pointer tags
* src/pic16/glue.c: made purely local functions static,
(pic16_printGPointerType, pic16_printIvalCharPtr,
pic16_printIvalFuncPtr, pic16_printIvalPtr): fixed initialized
generic pointers' tags (#
1961866 )
* src/pic16/pcode.c (assignValnums): optimize literal assignments
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5161
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 19 May 2008 05:32:00 +0000 (05:32 +0000)]
* support/scripts/sdcc.nsi: uninstall include/pic16/pic16devices.txt
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5160
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 18 May 2008 18:07:22 +0000 (18:07 +0000)]
* support/scripts/sdcc.nsi: remove uninstall.exe after uninstallation,
fixed typo
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5159
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 18 May 2008 06:46:55 +0000 (06:46 +0000)]
* support/Utils/dbuf_string.[ch]: added dbuf_chomp(),
the buffer is null terminated
* src/device/pic16.c:
applied modified patch
1965676 : Patch for Win32 16 bit PIC
* sdcc_vc_in.h: defined YY_NO_UNISTD_H
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5158
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 16 May 2008 11:16:01 +0000 (11:16 +0000)]
* as/hc08/clean.mk,
* as/mcs51/clean.mk,
* as/z80/clean.mk: also clean *.dep
* device/lib/pic16/libsdcc/stack/Makefile,
* sim/ucsim/libtool: removed as they are rebuild by configure
* src/clean.mk: removed izt, so Makefile is not deleted for distclean
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5157
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Thu, 15 May 2008 22:40:51 +0000 (22:40 +0000)]
* src/SDCC.lex (check_type),
* src/SDCC.y (type_specifier2 TYPE_NAME): fixed bug
1925942
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5156
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 13 May 2008 08:10:12 +0000 (08:10 +0000)]
* src/SDCCast.c (fixupInline, createFunction): save currBlockno in
fixupInline instead of createFunction to fix bug
1864577
(inlineFindMaxBlockno): removed, use global blockNo
* src/SDCCglobl.h: added blockNo
* src/z80/peep.c,
* src/z80/peep.h: modified properties
* support/regression/tests/bug1864577.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5155
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 7 May 2008 22:21:27 +0000 (22:21 +0000)]
* as/mcs51/asdata.c,
* as/mcs51/asm.h: added org_cnt
* as/mcs51/asmain.c (main, asmbl): fixed bug
1957716 , changed old K&R to ANSI
* as/mcs51/asout.c: changed old K&R to ANSI
* as/mcs51/Makefile.in: use common identifiers
* as/hc08/asdata.c,
* as/hc08/asexpr.c,
* as/hc08/asm.h,
* as/hc08/asmain.c,
* as/hc08/asout.c,
* as/hc08/Makefile.bcc,
* as/hc08/Makefile.in: synchronized with as/mcs51/*
* sdcc_vc_in.h: added define __func__
* src/SDCCast.c (expandInlineFuncs): applied patch
1957148 to fix bug
1717305 ,
Thanks Ruud van Silfhout
* support/regression/tests/bug1717305.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5154
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 5 May 2008 19:16:27 +0000 (19:16 +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/z80/spec.mk:
added INC_DIR and LIBDIR paths
* src/ds390/gen.c: removed duplicated selicolon
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5153
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 4 May 2008 07:04:12 +0000 (07:04 +0000)]
* support/regression/Makefile.in,
support/regression/fwk/lib/testfwk.c,
support/regression/ports/ds390/spec.mk,
support/regression/ports/hc08/spec.mk,
support/regression/ports/mcs51-common/spec.mk,
support/regression/ports/mcs51-large/spec.mk,
support/regression/ports/mcs51-medium/spec.mk,
support/regression/ports/mcs51-small/spec.mk,
support/regression/ports/mcs51-stack-auto/spec.mk,
support/regression/ports/mcs51-xstack-auto/spec.mk,
support/regression/ports/pic14/spec.mk,
support/regression/ports/pic16/spec.mk,
support/regression/ports/ucz80/spec.mk:
added possibility to define the sdcc binary directory SDCC_BIN_PATH
used to run regeression tests
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5152
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Thu, 1 May 2008 21:37:49 +0000 (21:37 +0000)]
* doc/sdccman.lyx, support/scripts/inc2h-pic16.pl: updated list of
supported devices and instructions to add new ones
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5151
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Thu, 1 May 2008 20:31:09 +0000 (20:31 +0000)]
* device/include/pic16/adc.h,
device/lib/pic16/libio/adc/adcbusy.c,
device/lib/pic16/libio/adc/adcopen.c,
device/lib/pic16/libio/adc/adcsetch.c: support old 18f242 and new
18f2455 style ADC devices, based on patch #
1776197
* device/lib/pic16/libio/adc/adcclose.c,
device/lib/pic16/libio/adc/adcconv.c,
device/lib/pic16/libio/adc/adcread.c: cosmetic changes
* device/include/pic16/{pic18f2331.h,pic18f2431.h},
device/lib/pic16/libdev/{pic18f2331.c,pic18f2431.c}: reuse
18f4331
* device/include/pic16/pic18f4431.h,
device/lib/pic16/libdev/pic18f4431.c: remove outdated comments
* device/lib/pic16/libio/adc.ignore: forbid unhandled devices
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5150
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Thu, 1 May 2008 16:43:18 +0000 (16:43 +0000)]
* src/pic16/device.h: removed unused field PIC16_device.sfrRange,
moved xinst flag into pic16_options_t
* src/pic16/device.c (default_device, pic16_list_devices,
pic16_find_device): removed references to sfrrange
* src/pic16/gen.c (genFunction),
src/pic16/glue.c (pic16initialComments),
src/pic16/main.c (pic16_optionsTable),
src/pic16/ralloc.c (newReg, pic16_writeUsedRegs): updated references
to xinst
* device/include/pic16/pic16devices.txt: removed sfrrange lines
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5149
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 29 Apr 2008 17:00:17 +0000 (17:00 +0000)]
* src/pic16/devices.inc,
device/include/pic16/pic16devices.txt: replaced compiled-in list
of devices with a variant parsed at runtime
* src/pic16/device.c: added support for parsing pic16devices.txt,
clean up
* src/pic16/device.h: removed (now) unused fields from PIC_device
* src/pic16/main.c: removed #pragma maxram,
(_pic16_initPaths): removed bogus generation of search paths,
setup the port proper only after the search paths (for
pic16devices.txt) are set up,
(_pic16_finaliseOptions): moved processor dependant code here
from _pic16_initPaths(), clean up
* src/pic16/ralloc.c (pic16_init_stack),
* src/pic16/ralloc.h,
* src/pic16/pcode.c: clean up
* device/include/Makefile.in,
support/scripts/sdcc.nsi: also install/package pic16devices.txt
* support/scripts/inc2h-pic16.pl: updated instructions
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5148
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 29 Apr 2008 14:44:30 +0000 (14:44 +0000)]
* device/include/pic16/{pic18f2480.h, pic18f2580.h, pic18f4423.h,
pic18f4480.h, pic18f4523.h, pic18f4580.h, pic18f6585.h, pic18f8585.h},
device/lib/pic16/libdev/{pic18f2480.c, pic18f2580.c, pic18f4423.c,
pic18f4480.c, pic18f4523.c, pic18f4580.c, pic18f6585.c, pic18f8585.c}:
added missing family members and
18f2480 /2580/4480/4580 family
* device/include/pic16/{pic18f2423.h, pic18f2523.h}: use
18f4523 .h
* device/include/pic16/pic18f2525.h: use
18f4620 .h
* device/include/pic16/pic18f6680.h: use
18f8680 .h
* device/include/pic16/pic18fregs.h,
device/lib/pic16/pics.all,
src/pic16/devices.inc: add new devices
* device/lib/pic16/libdev/{pic18f2423.c, pic18f2523.c}: use
18f4523 .c
* device/lib/pic16/libdev/pic18f2525.c: use
18f4620 .c
* device/lib/pic16/libdev/pic18f6680.c: uso
18f8680 .c
* device/lib/pic16/libio/{adc.ignore, i2c.ignore, usart.ignore}:
prevent attempting to build the libio for some new devices
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5147
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 29 Apr 2008 14:33:50 +0000 (14:33 +0000)]
* debugger/mcs51/Makefile.in: fixed paths to sources
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5146
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 25 Apr 2008 11:43:56 +0000 (11:43 +0000)]
* as/link/lklibr.c: moved from as/link/z80/lklibr.c
* as/link/hc08/lklibr.c, as/link/mcs51/lklibr.c: deleted
* 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: lklibr.c moved
* doc/INSTALL.txt: binary archives in bz2 format
* support/cpp/auto-host_vc_in.h: CPP2 replaced with CPP
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5145
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 23 Apr 2008 13:27:33 +0000 (13:27 +0000)]
* src/SDCCglue.c (printIvalType, printIvalBitFields): fixed bug
1856409
* support/regression/tests/bug1856409.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5144
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 20 Apr 2008 20:14:22 +0000 (20:14 +0000)]
* src/z80/peep.c,
* src/mcs51/peep.c: Use werror for error messages.
* src/SDCCicode.c (geniCodeConditional),
* src/SDCCsymt.c (structElemType): fixed bug
1839321
* src/z80/Makefile.bcc,
* src/z80/z80.dsp: added src/z80/peep.c/h
* support/regression/tests/bug1839321.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5143
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 20 Apr 2008 12:08:01 +0000 (12:08 +0000)]
* device/include/pic16/pic18f2455.h: added bitfields for port C
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5142
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Sun, 20 Apr 2008 10:11:14 +0000 (10:11 +0000)]
Use werror in src/z80/peep.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5141
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Sat, 19 Apr 2008 13:20:31 +0000 (13:20 +0000)]
Implemented RFE #
1880202 for Z80.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5140
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Sat, 19 Apr 2008 12:07:51 +0000 (12:07 +0000)]
Changelog for preceding commit
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5139
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Sat, 19 Apr 2008 12:06:38 +0000 (12:06 +0000)]
Implemented generic part of RFE #
1880202
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5138
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Thu, 17 Apr 2008 20:19:39 +0000 (20:19 +0000)]
* as/link/mcs51/lkmem.c (summary2): fixed bug
1796077
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5137
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Thu, 17 Apr 2008 16:07:26 +0000 (16:07 +0000)]
* device/lib/libsdcc.lib,
* device/lib/Makefile.in,
* support/regression/ports/mcs51-xstack-auto/spec.mk,
* device/lib/calloc.c: renamed to _calloc.c
* device/lib/free.c: renamed to _free.c
* device/lib/malloc.c: renamed to _malloc.c
* device/lib/realloc.c: renamed to _realloc.c
* src/ds390/gen.c (aopGet, aopPut, genPlusBits, genDataPointerSet,
genNearPointerSet, genPagedPointerSet): synchronized with mcs51/gen.c
* src/ds390/gen.c (popForBranch, genIfxJump, genCmp, genCmpEq, ifxForOp,
genAnd, genOr, genXor, genIfx, gen390Code): fixed bug
1509084
* src/mcs51/gen.c (popForBranch, genIfxJump, genCmp, genCmpEq,
ifxForOp, genAnd, genOr, genXor, genNearPointerGet,
genPagedPointerGet, genFarPointerGet, genCodePointerGet,
genGenPointerGet, genIfx, gen51Code): fixed bug
1509084
* src/ds390/gen.c,
* src/mcs51/gen.c: throughout cosmetic changes for syncing both
* src/SDCCsymt.h: updated IS_OP_RUONLY, IS_OP_ACCUSE
* support/regression/tests/bug1509084.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5136
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Mon, 14 Apr 2008 13:27:33 +0000 (13:27 +0000)]
* device/include/mcs51/cc2510fx.h: added _XPAGE
* device/include/mcs51/compiler.h: cosmetic changes
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5135
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 31 Mar 2008 21:40:28 +0000 (21:40 +0000)]
* configure.in, configure, Makefile.in, Makefile.bcc:
adapted for moved cpp2
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5134
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Mon, 31 Mar 2008 20:34:48 +0000 (20:34 +0000)]
* sdcc.dsw: adapted for moved cpp2, added dependency for as_z80 on config
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5133
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 31 Mar 2008 18:10:22 +0000 (18:10 +0000)]
* support/cpp2 renamed to support/cpp
* support/cpp2/libiberty/filenames.h, support/cpp2/libiberty/hex.c,
support/cpp2/libiberty/splay-tree.c,
support/cpp2/libiberty/splay-tree.h, support/cpp2/libcpp/macro.c,
support/cpp2/libcpp/directives.c,
support/cpp2/libcpp/include/cpplib.h,
support/cpp2/libcpp/include/symtab.h,
support/cpp2/libcpp/include/line-map.h,
support/cpp2/libcpp/line-map.c, support/cpp2/libcpp/files.c,
support/cpp2/libcpp/init.c, support/cpp2/libcpp/traditional.c,
support/cpp2/libcpp/expr.c, support/cpp2/libcpp/internal.h,
support/cpp2/libcpp/lex.c, support/cpp2/libcpp/system.h,
support/cpp2/libcpp/charset.c: SDCPP synchronized with GCC CPP
release version 4.3.0
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5132
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Mon, 31 Mar 2008 17:07:25 +0000 (17:07 +0000)]
* device/include/hc08/mc68hc908jkjl.h: committed fix for bug #
1929739 , thanks Alejandro Pustowka <alejo_pustowka AT yahoo.com.mx>
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5131
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 30 Mar 2008 19:38:18 +0000 (19:38 +0000)]
* src/SDCCloop.c (loopInvariants): applied fix for bug
1717943 , thanks
Robert Larice
* support/regression/tests/bug1717943.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5129
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Sun, 30 Mar 2008 12:22:13 +0000 (12:22 +0000)]
Reverted reversal of order of bytewise return value assignments
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5128
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Sun, 30 Mar 2008 10:59:18 +0000 (10:59 +0000)]
impemented #
1914251 , #
1914245 , #
1922090 , #
1921382 , #
1918323 , use 16-bit addition more often
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5127
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 30 Mar 2008 10:43:17 +0000 (10:43 +0000)]
* doc/knownbugs.html: removed; magically generated by the build
process using gen_known_bugs.pl from now on
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5126
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Sun, 30 Mar 2008 10:40:52 +0000 (10:40 +0000)]
Implemented #
1921450
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5125
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 30 Mar 2008 08:34:44 +0000 (08:34 +0000)]
* Small Device C Compiler 2.8.0 released
* .version, doc/sdccman.lyx: changed sdcc version to 2.8.1
* support/scripts/sdcc.nsi: added finish page; this version
was used for 2.8.0 release
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5121
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 23 Mar 2008 11:34:09 +0000 (11:34 +0000)]
* doc/knownbugs.html: updated for RC2
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5117
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 23 Mar 2008 08:42:09 +0000 (08:42 +0000)]
* src/pic/gen.h: reverted the Q&D solution for the bug, found by Jim Paris,
since it was already fixed by Raphael ;-)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5116
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 23 Mar 2008 07:57:27 +0000 (07:57 +0000)]
* src/pic/gen.h: Q&D solution for the bug, found by Jim Paris
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5115
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sat, 22 Mar 2008 18:09:41 +0000 (18:09 +0000)]
* src/SDCCicode.c (getPtrType): avoid unnecessary extra assignments
for PIC16 targets
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5114
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 22 Mar 2008 11:58:36 +0000 (11:58 +0000)]
* src/mcs51/gen.c (adjustArithmeticResult): fixed bug
1839299
* support/regression/tests/bug1839277.c: added related testBug1839299
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5113
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 21 Mar 2008 22:55:47 +0000 (22:55 +0000)]
* support/regression/tests/bug1839277.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5112
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 21 Mar 2008 18:05:23 +0000 (18:05 +0000)]
* src/ds390/gen.c (opIsGptr, adjustArithmeticResult, genAddrOf, genAssign),
* src/mcs51/gen.c (opIsGptr, adjustArithmeticResult, genAddrOf, genAssign):
fixed bug
1839277
* src/mcs51/gen.c: throughout only output hex constants
* src/SDCCicode.c (getPtrType, geniCodeCast): fixed code size regression
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5111
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Fri, 21 Mar 2008 17:16:59 +0000 (17:16 +0000)]
Fixed compilation warning about nested comments
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5110
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Thu, 20 Mar 2008 19:38:30 +0000 (19:38 +0000)]
* src/SDCCsymt.c (comparePtrType): fixed bug
1921073
* support/regression/tests/bug1921073.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5109
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Mon, 17 Mar 2008 16:47:50 +0000 (16:47 +0000)]
Commented function parameters
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5108
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Mon, 17 Mar 2008 13:52:00 +0000 (13:52 +0000)]
Fixed #
1292721
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5107
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 16 Mar 2008 21:38:08 +0000 (21:38 +0000)]
* src/pic/gen.c (SetIrp,genNearPointerGet,genNearPointerSet):
fixed code bloat regression using a variant of patch #
1915618
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5106
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 16 Mar 2008 18:44:11 +0000 (18:44 +0000)]
renamed COPYING.TXT to COPYING.txt
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5105
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 16 Mar 2008 16:30:53 +0000 (16:30 +0000)]
* create url files instead links in startup menu
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5104
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 16 Mar 2008 13:11:56 +0000 (13:11 +0000)]
* support/scripts/sdcc.nsi: added section debugging macros, added SDCC icon,
changed startup menu for release distribution, code cleaning
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5103
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 16 Mar 2008 09:27:44 +0000 (09:27 +0000)]
* src/SDCCcse.c (algebraicOpts): fixed bug
1579949
* support/regression/tests/bug1579949.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5101
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
pjs [Fri, 14 Mar 2008 22:14:33 +0000 (22:14 +0000)]
fixed bug
1255403
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5100
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 14 Mar 2008 21:52:33 +0000 (21:52 +0000)]
* src/cdbFile.c (cdbWriteBasicSymbol): fixed bug
1909409 for locals
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5099
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 14 Mar 2008 21:34:13 +0000 (21:34 +0000)]
fixed nested comments
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5098
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 14 Mar 2008 21:29:13 +0000 (21:29 +0000)]
added a list of linkers, supported by SDCC
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5097
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 14 Mar 2008 20:33:17 +0000 (20:33 +0000)]
* doc/sdccman.lyx: enhanced paragraph about bankswitching for mcs51
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5096
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 14 Mar 2008 16:42:13 +0000 (16:42 +0000)]
* as/doc/asmlnk.doc, as/doc/asxhtm.html: updated link-xx and aslink
command line options
* as/link/hc08/lkmain.c: converted tabs to spaces so that the usage
is correctly displayed
* as/link/z80/lkmain.c: usage line commented out
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5095
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Thu, 13 Mar 2008 22:05:41 +0000 (22:05 +0000)]
* updated the list pf supported pic14 devices
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5094
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Thu, 13 Mar 2008 21:32:14 +0000 (21:32 +0000)]
* doc/sdccman.lyx: corrected to be able to convert to PDF
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5093
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 12 Mar 2008 21:59:15 +0000 (21:59 +0000)]
* doc/sdccman.lyx: added paragraph about bankswitching for mcs51
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5092
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 12 Mar 2008 21:13:09 +0000 (21:13 +0000)]
* doc/sdccman.lyx: added description of --no-std-crt0 gbz80 command line option
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5091
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 12 Mar 2008 20:46:08 +0000 (20:46 +0000)]
* as/doc/asmlnk.doc, as/doc/asxhtm.html: updated command line options
* as/hc80/asmain.c, as/mcs51/asmain.c: added option -c to usage
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5090
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Mon, 10 Mar 2008 21:34:22 +0000 (21:34 +0000)]
* src/SDCCast.c (isConformingBody): fixed bug
1505811 , thanks Robert Larice
* support/regression/tests/bug1505811.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5087
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 9 Mar 2008 22:12:13 +0000 (22:12 +0000)]
* device/include/pic16/pic18f2620.h,
* device/include/pic16/pic18f4620.h,
* device/lib/pic16/libdev/pic18f2620.c,
* device/lib/pic16/libdev/pic18f4525.c,
* device/lib/pic16/libdev/pic18f4620.c: merged
18f2525 /2620/4525/4620
family to consistently use pic18f4620.[ch], fixes #
1832562
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5085
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 9 Mar 2008 07:48:37 +0000 (07:48 +0000)]
* knownbugs.html: regenerated
* support/scripts/gen_known_bugs.pl: added number of open bugs
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5082
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 9 Mar 2008 06:58:54 +0000 (06:58 +0000)]
* .version, sdcc.spec, doc/sdccman.lyx, doc/INSTALL.txt: changed version to 2.8.0
* knownbugs.html: regenerated
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5081
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 9 Mar 2008 01:18:48 +0000 (01:18 +0000)]
* src/pic16/gen.c (pic16_mov2w_volatile): NEW, read volatile operands,
(genOr): read volatile operand even if the result is known,
closes #
1511838
(genOr,genXor): removed unused legacy code,
(genDummyRead): use pic16_mov2w_volatile()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5080
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 8 Mar 2008 19:23:48 +0000 (19:23 +0000)]
* src/SDCCglue.c: fixed bug #
1864582 : multiple definition of char
cons w. --model-large
* support/regression/staticinit.c: added regression test for bug
#
1864582
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5079
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 8 Mar 2008 18:48:52 +0000 (18:48 +0000)]
* src/ds390/gen.c (pushSide): fixed 'too few arguments'
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5078
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 8 Mar 2008 17:34:50 +0000 (17:34 +0000)]
* src/ds390/gen.c (pushSide, genPcall),
* src/hc08/gen.c (pushSide, genPcall): synchronized with mcs51
* src/mcs51/gen.c: cosmetic changes
* support/regression/fwk/include/testfwk.h: added macro reentrant
* support/regression/tests/bug1908493.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5077
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sat, 8 Mar 2008 17:21:06 +0000 (17:21 +0000)]
Fixed bug
1909409 : Pdata in OMF file
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5076
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 8 Mar 2008 12:31:42 +0000 (12:31 +0000)]
* src/mcs51/gen.c (pushSide, genPcall): fixed bug
1908493
* src/SDCCmain.c (preProcess): removed -DSDCC_PARMS_IN_BANK1 because it is
already set in ds390/main.c and mcs51/main.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5075
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 7 Mar 2008 22:21:24 +0000 (22:21 +0000)]
* src/regression/init0.c: new test for initialized arrays of function
pointers
* src/regression/Makefile: made a bit more flexible, added init0.c
* src/pic/glue.c (emitIvals): hacky fix for initializing from function
pointers, closes #
1427663
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5074
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Thu, 6 Mar 2008 02:09:59 +0000 (02:09 +0000)]
Better solution for feature request
1908061
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5073
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 5 Mar 2008 20:21:48 +0000 (20:21 +0000)]
* dos/sdccman.lyx: docummented predefined macros SDCC_REVISION,
SDCC_PARMS_IN_BANK1, SDCC_FLOAT_REENT and SDCC_INT_LONG_REENT
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5072
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 5 Mar 2008 15:03:42 +0000 (15:03 +0000)]
support/librarian/sdcclib.c:Added feature request
1908061 : Synchronise sdcclib commands with ar
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5071
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Tue, 4 Mar 2008 22:37:58 +0000 (22:37 +0000)]
* src/SDCCmain.c: added predefined macros SDCC_REVISION (RFE #
1907229 ),
and (depending on corresponding compiler option) SDCC_PARMS_IN_BANK1,
SDCC_FLOAT_REENT, SDCC_INT_LONG_REENT
* device/include/mcs51/compiler.h: removed umlauts, added double
underscore
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5070
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 4 Mar 2008 21:28:19 +0000 (21:28 +0000)]
* src/*/ralloc.c: removed IS_OP_RUONLY macro
* src/ds390/ralloc.c (packRegisters),
* src/mcs51/ralloc.c (packRegisters),
* src/z80/ralloc.c (packRegisters): applied fix for bug
1618050 , thanks
Robert Larice
* support/regression/tests/bug1618050.c: new, added
* support/regression/fwk/include/testfwk.h,
* support/regression/tests/bug1838000.c: moved _AUTOMEM and _STATMEM to
testfwk.h
* src/SDCCsymt.h: fixed typo in DECLSPEC2TXT
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5069
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 4 Mar 2008 17:53:18 +0000 (17:53 +0000)]
* src/SDCCutil.c,
* src/SDCCutil.h: added getBuildDate()
* src/SDCCmain.c (printVersionInfo),
* src/SDCCglue.c (initialComments): use getBuildDate() instead of __DATE__
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5068
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 4 Mar 2008 14:09:24 +0000 (14:09 +0000)]
* src/SDCCptropt.c (ptrPseudoSymConvert): fixed bug
1536762
* support/regression/tests/bug1536762.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5067
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 4 Mar 2008 01:42:30 +0000 (01:42 +0000)]
* src/pic/gen.c: removed unused prototypes, prevent internal errors
on accessing OP_SYM_TYPE(op)
* src/pic/gen.h: removed unused protorype of genMinusDec()
* src/pic/genarith.c (genMinus): cosmetic changes, rewritten to
fix #
1876953 (invalid subtraction code), removed unused code
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5066
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 3 Mar 2008 01:44:05 +0000 (01:44 +0000)]
* src/pic/gen.c (saveRegisters): Disable debug output.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5065
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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