fw/sdcc
21 years ago* Makefile.common.in: unused PORT, SCC and SAS removed, fixed docdir
bernhardheld [Mon, 7 Apr 2003 20:20:45 +0000 (20:20 +0000)]
* Makefile.common.in: unused PORT, SCC and SAS removed, fixed docdir
* configure.in: big cleanup, updated to autoconf 2.5x
* configure: rebuilt from configure.in
* sdccconf_in.h: new RETSIGTYPE, and other PATHs
* sdcc_vc_in.h: reflect changes from sdccconf.h
* doc/Makefile: fixed 2 flaws in "make install"

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

21 years agoAdded okToRemoveSLOC conditional test to peephole optimizer (not used yet)
pjs [Mon, 7 Apr 2003 03:08:59 +0000 (03:08 +0000)]
Added okToRemoveSLOC conditional test to peephole optimizer (not used yet)

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

21 years agoAdd leading zero format to printf_fast ("%07d", "%017lu", etc)
pjs [Mon, 7 Apr 2003 01:56:14 +0000 (01:56 +0000)]
Add leading zero format to printf_fast ("%07d", "%017lu", etc)

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

21 years agoAdded peephole to replace LJMP to RET with just a RET instruction
pjs [Sun, 6 Apr 2003 18:32:47 +0000 (18:32 +0000)]
Added peephole to replace LJMP to RET with just a RET instruction

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

21 years agoI must have been braindead
johanknol [Sun, 6 Apr 2003 07:34:35 +0000 (07:34 +0000)]
I must have been braindead

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

21 years agofixed bug #460088
johanknol [Sat, 5 Apr 2003 16:54:28 +0000 (16:54 +0000)]
fixed bug #460088

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

21 years agofollowup for the bug #460088 fix
johanknol [Sat, 5 Apr 2003 16:53:11 +0000 (16:53 +0000)]
followup for the bug #460088 fix

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

21 years agosorry about that :)
johanknol [Sat, 5 Apr 2003 16:44:50 +0000 (16:44 +0000)]
sorry about that :)

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

21 years agofixed a warning about the new enum ASTTYPE
johanknol [Sat, 5 Apr 2003 16:43:19 +0000 (16:43 +0000)]
fixed a warning about the new enum ASTTYPE

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

21 years agofixed bug #460088
johanknol [Sat, 5 Apr 2003 15:17:31 +0000 (15:17 +0000)]
fixed bug #460088

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

21 years agothis makes debugging a little easier
johanknol [Sat, 5 Apr 2003 10:48:31 +0000 (10:48 +0000)]
this makes debugging a little easier

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

21 years agoThat's it for today, have a nice weekend
johanknol [Fri, 4 Apr 2003 13:49:13 +0000 (13:49 +0000)]
That's it for today, have a nice weekend

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

21 years agoUndid the fix for bug #519584
johanknol [Fri, 4 Apr 2003 13:24:15 +0000 (13:24 +0000)]
Undid the fix for bug #519584

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

21 years agofixed bug #715076
johanknol [Fri, 4 Apr 2003 12:27:08 +0000 (12:27 +0000)]
fixed bug #715076

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

21 years agofixed bug #702907
johanknol [Fri, 4 Apr 2003 09:39:06 +0000 (09:39 +0000)]
fixed bug #702907

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

21 years ago--lesspedantic is --less-pedantic now
johanknol [Fri, 4 Apr 2003 07:43:03 +0000 (07:43 +0000)]
--lesspedantic is --less-pedantic now

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

21 years agonew #pragma LESS_PEDANTIC
johanknol [Thu, 3 Apr 2003 20:24:06 +0000 (20:24 +0000)]
new #pragma LESS_PEDANTIC

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

21 years agoas/z80/Makefile: fix 'make -j' problem
bernhardheld [Thu, 3 Apr 2003 11:16:51 +0000 (11:16 +0000)]
as/z80/Makefile: fix 'make -j' problem

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

21 years agoanother missing return value fix
johanknol [Thu, 3 Apr 2003 10:10:42 +0000 (10:10 +0000)]
another missing return value fix

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

21 years agocheck the sorted bb list for missing returns
johanknol [Thu, 3 Apr 2003 10:05:26 +0000 (10:05 +0000)]
check the sorted bb list for missing returns

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

21 years agonew #pragma LESS_PEDANTIC
johanknol [Thu, 3 Apr 2003 09:46:40 +0000 (09:46 +0000)]
new #pragma LESS_PEDANTIC

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

21 years agonew #pragma LESS_PEDANTIC
johanknol [Thu, 3 Apr 2003 09:39:21 +0000 (09:39 +0000)]
new #pragma LESS_PEDANTIC

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

21 years agofix return values
bernhardheld [Thu, 3 Apr 2003 09:28:48 +0000 (09:28 +0000)]
fix return values

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

21 years agotemp fix for genArrayInit
johanknol [Thu, 3 Apr 2003 08:28:40 +0000 (08:28 +0000)]
temp fix for genArrayInit

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

21 years agomissing return values is a warning now
johanknol [Thu, 3 Apr 2003 07:35:35 +0000 (07:35 +0000)]
missing return values is a warning now

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

21 years ago* Makefile.common.in: unused PORT, SCC and SAS removed, fixed docdir
bernhardheld [Thu, 3 Apr 2003 07:32:53 +0000 (07:32 +0000)]
* Makefile.common.in: unused PORT, SCC and SAS removed, fixed docdir
* configure.in: big cleanup, updated to autoconf 2.5x
* configure: rebuilt from configure.in
* sdccconf_in.h: new RETSIGTYPE, and other PATHs
* sdcc_vc_in.h: reflect changes from sdccconf.h
* doc/Makefile: fixed a flaw in "make install"

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

21 years ago* Makefile.common.in: unused PORT, SCC and SAS removed, fixed docdir
bernhardheld [Wed, 2 Apr 2003 20:12:06 +0000 (20:12 +0000)]
* Makefile.common.in: unused PORT, SCC and SAS removed, fixed docdir
* configure.in: big cleanup, updated to autoconf 2.5x
* configure: rebuilt from configure.in
* sdccconf_in.h: new RETSIGTYPE, and other PATHs
* sdcc_vc_in.h: reflect changes from sdccconf.h
* doc/Makefile: fixed 2 flaws in "make install"

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

21 years agofixed bug #681558
johanknol [Wed, 2 Apr 2003 14:16:12 +0000 (14:16 +0000)]
fixed bug #681558

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

21 years agodetect missing return values
johanknol [Wed, 2 Apr 2003 14:14:20 +0000 (14:14 +0000)]
detect missing return values

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

21 years agofixed the function type in --dumptree
johanknol [Wed, 2 Apr 2003 14:13:48 +0000 (14:13 +0000)]
fixed the function type in --dumptree

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

21 years agono comments
johanknol [Wed, 2 Apr 2003 14:13:07 +0000 (14:13 +0000)]
no comments

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

21 years agoSection install and search path fixed
bernhardheld [Tue, 1 Apr 2003 19:52:21 +0000 (19:52 +0000)]
Section install and search path fixed

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

21 years agofix making ports
bernhardheld [Tue, 1 Apr 2003 11:12:16 +0000 (11:12 +0000)]
fix making ports

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

21 years agoundo changes for now because of strange python problems with some ports
bernhardheld [Tue, 1 Apr 2003 08:38:26 +0000 (08:38 +0000)]
undo changes for now because of strange python problems with some ports

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

21 years ago* support/regression/generate-cases.py: place generated file in given sub directory
bernhardheld [Tue, 1 Apr 2003 08:10:22 +0000 (08:10 +0000)]
* support/regression/generate-cases.py: place generated file in given sub directory
* support/regression/ports/host/spec.mk: prevent removal of testfwk.o
* support/regression/Makefile: improvements for 'make -j'; side effect: it's simpler and faster now

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

21 years agonext step for "different paths"
bernhardheld [Mon, 31 Mar 2003 20:42:49 +0000 (20:42 +0000)]
next step for "different paths"

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

21 years ago* src/z80/main.c: link-{port} and as-{port} defined without path
borutr [Mon, 31 Mar 2003 17:16:11 +0000 (17:16 +0000)]
* src/z80/main.c: link-{port} and as-{port} defined without path
* src/src.dsp: support/Util/MySystem.h and src/SDCCutil.h added to project

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

21 years agosupport/Util/MySystem.h and src/SDCCutil.h added to project
borutr [Mon, 31 Mar 2003 16:51:27 +0000 (16:51 +0000)]
support/Util/MySystem.h and src/SDCCutil.h added to project

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

21 years agolink-{port} and as-{port} defined without path
borutr [Mon, 31 Mar 2003 16:50:50 +0000 (16:50 +0000)]
link-{port} and as-{port} defined without path

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

21 years agoMakefile, src/Makefile.in: add dependencies, so that 'make -j' works
bernhardheld [Mon, 31 Mar 2003 14:46:16 +0000 (14:46 +0000)]
Makefile, src/Makefile.in: add dependencies, so that 'make -j' works

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

21 years agoInadvertly added the and2.asm to cvs instead of and2.c
sdattalo [Mon, 31 Mar 2003 00:35:20 +0000 (00:35 +0000)]
Inadvertly added the and2.asm to cvs instead of and2.c

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

21 years agoFixed compound expressions of the type y = (x+K) OP B, where x and y are variables...
sdattalo [Sun, 30 Mar 2003 22:26:48 +0000 (22:26 +0000)]
Fixed compound expressions of the type y = (x+K) OP B, where x and y are variables and K and B are literals.

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

21 years agosupport/Util/MySystem.h: rewrite, ...
borutr [Sun, 30 Mar 2003 19:49:55 +0000 (19:49 +0000)]
support/Util/MySystem.h: rewrite, ...

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

21 years agointroduced set binPathSet,
borutr [Sun, 30 Mar 2003 19:48:42 +0000 (19:48 +0000)]
introduced set binPathSet,
definition of "cppoutfilename" macro with NULL value in preProcess()

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

21 years agoallow NULL values in setMainValue(),
borutr [Sun, 30 Mar 2003 19:48:03 +0000 (19:48 +0000)]
allow NULL values in setMainValue(),
removed compiler warning in SDCCsnprintf(),
small optimization of strncpyz()

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

21 years agohandling macros with empty or NULL values in _evalMacros()
borutr [Sun, 30 Mar 2003 19:47:28 +0000 (19:47 +0000)]
handling macros with empty or NULL values in _evalMacros()

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

21 years agodeallocates the item, if allready exsists, before adding the new one
borutr [Sun, 30 Mar 2003 19:47:08 +0000 (19:47 +0000)]
deallocates the item, if allready exsists, before adding the new one

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

21 years agorewrite, char *ExePathList[] replaced with set *binPathSet
borutr [Sun, 30 Mar 2003 19:46:29 +0000 (19:46 +0000)]
rewrite, char *ExePathList[] replaced with set *binPathSet

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

21 years agominor fix
bernhardheld [Sun, 30 Mar 2003 17:51:45 +0000 (17:51 +0000)]
minor fix

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

21 years agoFixed bug 609628 ==> x=(x+1)&0x0f generated bad code in the pic port.
sdattalo [Sun, 30 Mar 2003 16:20:24 +0000 (16:20 +0000)]
Fixed bug 609628 ==> x=(x+1)&0x0f generated bad code in the pic port.

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

21 years agoAdded to test bug 609628 ==> x = (x+1) & 0xf
sdattalo [Sun, 30 Mar 2003 16:19:22 +0000 (16:19 +0000)]
Added to test bug 609628 ==> x = (x+1) & 0xf

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

21 years agorewrite buildCmdLine(), changed type of list parameter to set
borutr [Sun, 30 Mar 2003 15:39:40 +0000 (15:39 +0000)]
rewrite buildCmdLine(), changed type of list parameter to set

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

21 years agoincluded "SDCCset.h", added declaration of setParseWithComma()
borutr [Sun, 30 Mar 2003 15:35:24 +0000 (15:35 +0000)]
included "SDCCset.h", added declaration of setParseWithComma()

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

21 years agotype of asmOptions changed to set, introduced setParseWithComma(),
borutr [Sun, 30 Mar 2003 15:34:36 +0000 (15:34 +0000)]
type of asmOptions changed to set, introduced setParseWithComma(),
sdcpp defined without path, removed variable VersionString

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

21 years agochanged type of do_assemble() parameter to set
borutr [Sun, 30 Mar 2003 15:33:53 +0000 (15:33 +0000)]
changed type of do_assemble() parameter to set

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

21 years agochanged type of parameter asmOptions to set in _tininative_do_assemble()
borutr [Sun, 30 Mar 2003 15:33:22 +0000 (15:33 +0000)]
changed type of parameter asmOptions to set in _tininative_do_assemble()

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

21 years agorewrite buildCmdLine(), changed type of list parameter to set
borutr [Sun, 30 Mar 2003 15:32:49 +0000 (15:32 +0000)]
rewrite buildCmdLine(), changed type of list parameter to set

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

21 years agoRegression file for testing the nested for-loop bug in the PIC port that Steve Tell...
sdattalo [Sun, 30 Mar 2003 14:47:23 +0000 (14:47 +0000)]
Regression file for testing the nested for-loop bug in the PIC port that Steve Tell fixed.

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

21 years agoSteve Tell fixed a nested for-loop bug in the PIC Port
sdattalo [Sun, 30 Mar 2003 14:45:55 +0000 (14:45 +0000)]
Steve Tell fixed a nested for-loop bug in the PIC Port

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

21 years agolrh
johanknol [Sat, 29 Mar 2003 14:28:36 +0000 (14:28 +0000)]
lrh

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

21 years agosupport/Util/dbuf.h: remove C++ stuff to make it portable
bernhardheld [Sat, 29 Mar 2003 11:48:45 +0000 (11:48 +0000)]
support/Util/dbuf.h: remove C++ stuff to make it portable

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

21 years agoFix for bug #711240: dynamic buffer handling of C literal strings in stringLiteral()
borutr [Fri, 28 Mar 2003 19:40:38 +0000 (19:40 +0000)]
Fix for bug #711240: dynamic buffer handling of C literal strings in stringLiteral()

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

21 years agoadded support/Util/dbuf.c to the project
borutr [Fri, 28 Mar 2003 19:39:32 +0000 (19:39 +0000)]
added support/Util/dbuf.c to the project

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

21 years agoadded: dynamic buffer handling
borutr [Fri, 28 Mar 2003 19:37:42 +0000 (19:37 +0000)]
added: dynamic buffer handling

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

21 years agolrh
johanknol [Fri, 28 Mar 2003 15:13:22 +0000 (15:13 +0000)]
lrh

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

21 years agominor fixes
bernhardheld [Fri, 28 Mar 2003 09:28:09 +0000 (09:28 +0000)]
minor fixes

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

21 years agoAccurate byte measurement for pcDistance (peephole LJMP -> SJMP)
pjs [Thu, 27 Mar 2003 21:18:38 +0000 (21:18 +0000)]
Accurate byte measurement for pcDistance (peephole LJMP -> SJMP)

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

21 years agolet's try again ;-)
johanknol [Thu, 27 Mar 2003 10:23:21 +0000 (10:23 +0000)]
let's try again ;-)

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

21 years agocatched symbol abuse
johanknol [Wed, 26 Mar 2003 09:32:28 +0000 (09:32 +0000)]
catched symbol abuse

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

21 years agoa better fix for "if ( -v < 3)"
johanknol [Wed, 26 Mar 2003 08:25:37 +0000 (08:25 +0000)]
a better fix for "if ( -v < 3)"

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

21 years agoThis should fix some, if not all, of the live range problems
johanknol [Tue, 25 Mar 2003 20:28:36 +0000 (20:28 +0000)]
This should fix some, if not all, of the live range problems

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

21 years agoFixed to work with lates CDB format. Needs more work though...
jesusc [Mon, 24 Mar 2003 05:47:21 +0000 (05:47 +0000)]
Fixed to work with lates CDB format.  Needs more work though...

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

21 years agoAdded cdbFile.c and SDCCdebug.c
jesusc [Mon, 24 Mar 2003 05:44:05 +0000 (05:44 +0000)]
Added cdbFile.c and SDCCdebug.c

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

21 years agosrc/SDCCast.c: fixed "void foo(void){char c; -c < 0;}"
bernhardheld [Sun, 23 Mar 2003 21:30:24 +0000 (21:30 +0000)]
src/SDCCast.c: fixed "void foo(void){char c; -c < 0;}"

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

21 years ago* doc/cdbfile.html: removed, replaced by cdbfileformat.lyx
bernhardheld [Sun, 23 Mar 2003 20:23:48 +0000 (20:23 +0000)]
* doc/cdbfile.html: removed, replaced by cdbfileformat.lyx
Added Lenny Story's debug infrastructure changes:
* src/Makefile.in:  added new files cdbFile.c and SDCCdebug.c
* src/Makefile.bcc: added new files cdbFile.c and SDCCdebug.c
* src/cdbFile.c: added
* src/SDCCdebug.c: added
* src/SDCCdebug.h: added
* src/SDCCast.c (createFunction)
* src/SDCCglue.c (emitRegularMap, emitStaticSeg, emitOverlay, glue)
* src/SDCCmain.c (parseCmdLine, main)
* src/SDCCmem.c (redoStackOffsets)
* src/SDCCsymt.c (cdbStructBlock, cdbTypeInfo, cdbSymbol, cdbStruct, cdbStructBlock)
* src/SDCCsymt.h
* src/common.h
* src/avr/gen.c (genAVRCode)
* src/ds390/gen.c (gen390Code)
* src/mcs51/gen.c (gen51Code)
* src/pic/gen.c (genpic14Code)
* src/pic/glue.c (pic14emitRegularMap, pic14emitStaticSeg, pic14emitOverlay, picglue)
* src/xa51/gen.c (genXA51Code)

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

21 years agodoc/cdbfile.html: removed, replaced by cdbfileformat.lyx
bernhardheld [Sun, 23 Mar 2003 10:44:06 +0000 (10:44 +0000)]
doc/cdbfile.html: removed, replaced by cdbfileformat.lyx

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

21 years agosrc/mcs51/gen.c (genCodePointerGet): quicker code for bug #700797
frief [Sat, 22 Mar 2003 21:40:22 +0000 (21:40 +0000)]
src/mcs51/gen.c (genCodePointerGet): quicker code for bug #700797
src/mcs51/peeph.def: added rules 177, 241.x to 243, touched 181, 182.x, 193.x

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

21 years ago(genCodePointerGet): quicker code for bug #700797
frief [Sat, 22 Mar 2003 21:39:01 +0000 (21:39 +0000)]
(genCodePointerGet): quicker code for bug #700797

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

21 years agoadded rules 177, 241.x to 243, touched 181, 182.x, 193.x
frief [Sat, 22 Mar 2003 21:37:06 +0000 (21:37 +0000)]
added rules 177, 241.x to 243, touched 181, 182.x, 193.x

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

21 years agowe don't need this anymore
johanknol [Sat, 22 Mar 2003 17:23:15 +0000 (17:23 +0000)]
we don't need this anymore

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

21 years agofixed bug #698231
johanknol [Sat, 22 Mar 2003 17:08:40 +0000 (17:08 +0000)]
fixed bug #698231

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

21 years agofixed bug #698231
johanknol [Sat, 22 Mar 2003 16:57:44 +0000 (16:57 +0000)]
fixed bug #698231

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

21 years ago* support/scripts/sdcc_mingw32: adapted to configure from autoconf 2.54
bernhardheld [Fri, 21 Mar 2003 22:53:02 +0000 (22:53 +0000)]
* support/scripts/sdcc_mingw32: adapted to configure from autoconf 2.54
* src/doc/cdbfileformat.lyx: added, written by Lenny Story
* src/doc/Makefile: added cdbfileformat.lyx
* src/doc/clean.mk: added cdbfileformat.lyx

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

21 years agosupport/scripts/sdcc_mingw32: adapted to configure from autoconf 2.54
bernhardheld [Fri, 21 Mar 2003 21:28:35 +0000 (21:28 +0000)]
support/scripts/sdcc_mingw32: adapted to configure from autoconf 2.54

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

21 years agosrc/mcs51/peeph.def: fix bug #705773
bernhardheld [Thu, 20 Mar 2003 11:11:05 +0000 (11:11 +0000)]
src/mcs51/peeph.def: fix bug #705773

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

21 years agoAn sfr/sbit can have an "at #" AND an initializer
johanknol [Thu, 20 Mar 2003 11:00:11 +0000 (11:00 +0000)]
An sfr/sbit can have an "at #" AND an initializer

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

21 years agosrc/ds390/peeph.def: fix bug #704878: added rule 213.b suggested by Jan Rejlek
bernhardheld [Mon, 17 Mar 2003 21:36:54 +0000 (21:36 +0000)]
src/ds390/peeph.def: fix bug #704878: added rule 213.b suggested by Jan Rejlek

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

21 years agoCleaned up some more mess. Everything should be the same now as on the 12th
johanknol [Mon, 17 Mar 2003 15:44:27 +0000 (15:44 +0000)]
Cleaned up some more mess. Everything should be the same now as on the 12th

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

21 years agocleaned up the mess I left behind
johanknol [Sun, 16 Mar 2003 18:27:05 +0000 (18:27 +0000)]
cleaned up the mess I left behind

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

21 years agoUndid the hackup of const and volatile, the problem is much bigger.
johanknol [Sun, 16 Mar 2003 11:27:24 +0000 (11:27 +0000)]
Undid the hackup of const and volatile, the problem is much bigger.

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

21 years agoundid the hackup of const and volatile, the problem is much bigger
johanknol [Sun, 16 Mar 2003 11:24:18 +0000 (11:24 +0000)]
undid the hackup of const and volatile, the problem is much bigger

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

21 years ago* src/ds390/gen.c (genAddrOf): fixed bug #704087
bernhardheld [Sat, 15 Mar 2003 23:54:31 +0000 (23:54 +0000)]
* src/ds390/gen.c (genAddrOf): fixed bug #704087

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

21 years agosrc/mcs51/ralloc.c (packRegsForAssign): fixed bug #703541
bernhardheld [Sat, 15 Mar 2003 22:52:01 +0000 (22:52 +0000)]
src/mcs51/ralloc.c (packRegsForAssign): fixed bug #703541

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

21 years agoRemoved a warning
johanknol [Sat, 15 Mar 2003 10:28:15 +0000 (10:28 +0000)]
Removed a warning

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

21 years agoIC_RESULT needs to be a symbol
johanknol [Sat, 15 Mar 2003 10:26:52 +0000 (10:26 +0000)]
IC_RESULT needs to be a symbol

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

21 years agosome more on the const, volatile and now also static issue
johanknol [Fri, 14 Mar 2003 16:23:16 +0000 (16:23 +0000)]
some more on the const, volatile and now also static issue

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

21 years agocatch DECLARATOR / SPECIFIER abuse
johanknol [Fri, 14 Mar 2003 10:40:18 +0000 (10:40 +0000)]
catch DECLARATOR / SPECIFIER abuse

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

21 years agoa function returning a constant pointer shouldn't be forced to code
johanknol [Thu, 13 Mar 2003 19:36:56 +0000 (19:36 +0000)]
a function returning a constant pointer shouldn't be forced to code

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

21 years agoHacked const and volatile modifiers a bit.
johanknol [Thu, 13 Mar 2003 17:33:18 +0000 (17:33 +0000)]
Hacked const and volatile modifiers a bit.

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

21 years agoHacked const and volatile modifiers a bit
johanknol [Thu, 13 Mar 2003 17:31:44 +0000 (17:31 +0000)]
Hacked const and volatile modifiers a bit

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