fw/sdcc
21 years agosim/ucsim/gui.src/Makefile.in: target "install" builds the same packages as target...
bernhardheld [Sat, 19 Apr 2003 10:36:06 +0000 (10:36 +0000)]
sim/ucsim/gui.src/Makefile.in: target "install" builds the same packages as target "all"

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

21 years ago* as/z80/Makefile: fix permanent rebuild of z80
bernhardheld [Sat, 19 Apr 2003 10:06:51 +0000 (10:06 +0000)]
* as/z80/Makefile: fix permanent rebuild of z80

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

21 years agoFix error messages which could cause SEGV on Solaris
kvigor [Fri, 18 Apr 2003 21:17:16 +0000 (21:17 +0000)]
Fix error messages which could cause SEGV on Solaris

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

21 years agooptimization: replace modulo by a power of two with a bitwise AND
kvigor [Fri, 18 Apr 2003 21:03:51 +0000 (21:03 +0000)]
optimization: replace modulo by a power of two with a bitwise AND

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

21 years agofixed bug #635354
johanknol [Fri, 18 Apr 2003 17:57:14 +0000 (17:57 +0000)]
fixed bug #635354

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

21 years agofixed bug #635354
johanknol [Fri, 18 Apr 2003 17:51:11 +0000 (17:51 +0000)]
fixed bug #635354

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

21 years agofixed "bug" #662263
johanknol [Fri, 18 Apr 2003 14:07:25 +0000 (14:07 +0000)]
fixed "bug" #662263

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

21 years agofixed bug #716790 and removes lot's of redundant register usage around function calls
johanknol [Thu, 17 Apr 2003 17:08:36 +0000 (17:08 +0000)]
fixed bug #716790 and removes lot's of redundant register usage around function calls

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

21 years agoNo need for that anymore
johanknol [Thu, 17 Apr 2003 14:45:10 +0000 (14:45 +0000)]
No need for that anymore

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

21 years agofixed bug #720667
johanknol [Thu, 17 Apr 2003 09:32:03 +0000 (09:32 +0000)]
fixed bug #720667

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

21 years ago* configure.in, configure: fixed mingw problem in adl_NORMALIZE_PATH
borutr [Sun, 13 Apr 2003 20:10:51 +0000 (20:10 +0000)]
* configure.in, configure: fixed mingw problem in adl_NORMALIZE_PATH

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

21 years agofixed mingw problem in adl_NORMALIZE_PATH
borutr [Sun, 13 Apr 2003 20:09:55 +0000 (20:09 +0000)]
fixed mingw problem in adl_NORMALIZE_PATH

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

21 years ago* doc/sdccman.lyx: updated info about #pragma SAVE/RESTORE nesting
borutr [Sun, 13 Apr 2003 17:39:23 +0000 (17:39 +0000)]
* doc/sdccman.lyx: updated info about #pragma SAVE/RESTORE nesting
* configure.in, configure: fixed problems on cygwin/WinCVS environmet with ports.* line endings

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

21 years agofixed problems on cygwin/WinCVS environmet with ports.* line endings
borutr [Sun, 13 Apr 2003 17:38:15 +0000 (17:38 +0000)]
fixed problems on cygwin/WinCVS environmet with ports.* line endings

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

21 years agoupdated info about #pragma SAVE/RESTORE nesting: typo corrections...
borutr [Sun, 13 Apr 2003 17:34:28 +0000 (17:34 +0000)]
updated info about #pragma SAVE/RESTORE nesting: typo corrections...

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

21 years agoupdated info about #pragma SAVE/RESTORE nesting
borutr [Sun, 13 Apr 2003 11:35:10 +0000 (11:35 +0000)]
updated info about #pragma SAVE/RESTORE nesting

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

21 years agoadded another missing bracket ;-) and beautified HTML output
bernhardheld [Sat, 12 Apr 2003 21:37:53 +0000 (21:37 +0000)]
added another missing bracket ;-) and beautified HTML output

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

21 years agofixed "#pragma SAVE/RESTORE can not be nested"
borutr [Sat, 12 Apr 2003 21:09:58 +0000 (21:09 +0000)]
fixed "#pragma SAVE/RESTORE can not be nested"

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

21 years agoreworked pragma handling functions
borutr [Sat, 12 Apr 2003 21:00:06 +0000 (21:00 +0000)]
reworked pragma handling functions

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

21 years agoreworked stack handling macros
borutr [Sat, 12 Apr 2003 20:59:46 +0000 (20:59 +0000)]
reworked stack handling macros

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

21 years agoadded E_STACK_VIOLATION error
borutr [Sat, 12 Apr 2003 20:59:24 +0000 (20:59 +0000)]
added E_STACK_VIOLATION error

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

21 years ago* src/SDCCutil.c (pathEquivalent): defined but not used
bernhardheld [Sat, 12 Apr 2003 19:48:48 +0000 (19:48 +0000)]
* src/SDCCutil.c (pathEquivalent): defined but not used
* debugger/mcs51/sdcdb.c: replaced SDCC_LIB_DIR
* configure.in: removed sdcc_datadir, sdcc_lib_dir and sdcc_include_dir
* configure: rebuilt from configure.in
* sdccconf_in.h: removed SDCC_LIB_DIR and SDCC_INCLUDE_DIR
* sdcc_vc_in.h: removed SDCC_LIB_DIR and SDCC_INCLUDE_DIR
* device/include/Makefile.in: replaced sdcc_datadir
* device/lib/Makefile.in: replaced sdcc_datadir
* Makefile.common.in: added LDFLAGS from configure
* support/cpp2/Makefile.in: added LDFLAGS from configure
* packihx/Makefile.in: use LDFLAGS
* src/Makefile.in: use LDFLAGS
* support/makebin/Makefile: use LDFLAGS
* .version: bumped version number to 2.3.5

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

21 years agosrc/SDCCutil.c (pathEquivalent): defined but not used
bernhardheld [Sat, 12 Apr 2003 17:23:04 +0000 (17:23 +0000)]
src/SDCCutil.c (pathEquivalent): defined but not used

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

21 years agoadded missing ending bracket in path(argv[0]/
borutr [Sat, 12 Apr 2003 16:52:41 +0000 (16:52 +0000)]
added missing ending bracket in path(argv[0]/

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

21 years agocompleted "different paths" task
borutr [Sat, 12 Apr 2003 16:09:36 +0000 (16:09 +0000)]
completed "different paths" task

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

21 years agofixed bug in handling quotes
borutr [Sat, 12 Apr 2003 16:08:56 +0000 (16:08 +0000)]
fixed bug in handling quotes

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

21 years ago_discoverPaths() replaced with setBinPaths(), setIncludePath() and setLibPath()
borutr [Sat, 12 Apr 2003 16:08:35 +0000 (16:08 +0000)]
_discoverPaths() replaced with setBinPaths(), setIncludePath() and setLibPath()

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

21 years agorewritten getPrefixFromBinPath()
borutr [Sat, 12 Apr 2003 16:07:26 +0000 (16:07 +0000)]
rewritten getPrefixFromBinPath()

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

21 years agoFix html and pdf exports
bernhardheld [Sat, 12 Apr 2003 11:20:15 +0000 (11:20 +0000)]
Fix html and pdf exports

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

21 years agosrc/pic/pcoderegs.c (Remove1pcode): fix warning on alpha
bernhardheld [Sat, 12 Apr 2003 09:28:26 +0000 (09:28 +0000)]
src/pic/pcoderegs.c (Remove1pcode): fix warning on alpha

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

21 years agoFix bug 706781
kvigor [Fri, 11 Apr 2003 19:29:35 +0000 (19:29 +0000)]
Fix bug 706781

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

21 years agoFix null pointer deref that caused build failures on Solaris
kvigor [Fri, 11 Apr 2003 16:12:29 +0000 (16:12 +0000)]
Fix null pointer deref that caused build failures on Solaris

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

21 years agodbuf update to version 1.1.1 - re-added C++ stuff to make it still more portable
borutr [Fri, 11 Apr 2003 07:50:27 +0000 (07:50 +0000)]
dbuf update to version 1.1.1 - re-added C++ stuff to make it still more portable

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

21 years agoupdate to version 1.1.1 - re-added C++ stuff to make it still more portable
borutr [Fri, 11 Apr 2003 07:48:02 +0000 (07:48 +0000)]
update to version 1.1.1 - re-added C++ stuff to make it still more portable

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

21 years agoBINDIR is needed to compile with MSVC
jesusc [Fri, 11 Apr 2003 06:02:15 +0000 (06:02 +0000)]
BINDIR is needed to compile with MSVC

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

21 years agoThe function name in a pointer to function variable was getting declared
sdattalo [Fri, 11 Apr 2003 05:17:18 +0000 (05:17 +0000)]
The function name in a pointer to function variable was getting declared
in data space. (reported by Steve Tell).

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

21 years agoSteve Tell wrote this test program to test function pointers (note that
sdattalo [Fri, 11 Apr 2003 00:33:07 +0000 (00:33 +0000)]
Steve Tell wrote this test program to test function pointers (note that
this code still does not successfully pass the regression test).

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

21 years agoPointers - Applied function ptr patch from Steve Tell. Fixed bugs with
sdattalo [Fri, 11 Apr 2003 00:31:19 +0000 (00:31 +0000)]
Pointers - Applied function ptr patch from Steve Tell. Fixed bugs with
data pointers.
Modified the pic regression Makefile and rt.sh script for gpasm 11.0

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

21 years agoafter a good night sleep, let's try again
johanknol [Wed, 9 Apr 2003 09:04:39 +0000 (09:04 +0000)]
after a good night sleep, let's try again

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

21 years agothis DOES cause problems
johanknol [Tue, 8 Apr 2003 17:25:58 +0000 (17:25 +0000)]
this DOES cause problems

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

21 years agothis saves a few slocs without problems
johanknol [Tue, 8 Apr 2003 17:10:47 +0000 (17:10 +0000)]
this saves a few slocs without problems

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

21 years agodon't know why yet, but this causes a crash
johanknol [Tue, 8 Apr 2003 16:50:10 +0000 (16:50 +0000)]
don't know why yet, but this causes a crash

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

21 years agoyes
johanknol [Tue, 8 Apr 2003 13:01:38 +0000 (13:01 +0000)]
yes

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

21 years agoThis shows the registers in use in --i-code-in-asm and saves some spill locs
johanknol [Tue, 8 Apr 2003 12:51:35 +0000 (12:51 +0000)]
This shows the registers in use in --i-code-in-asm and saves some spill locs

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

21 years agodisabled the fix for bug #604575
johanknol [Tue, 8 Apr 2003 12:37:37 +0000 (12:37 +0000)]
disabled the fix for bug #604575

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

21 years agofixed bug #604575
johanknol [Tue, 8 Apr 2003 10:35:53 +0000 (10:35 +0000)]
fixed bug #604575

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

21 years ago* configure.in: fully support prefix, exec_prefix, datadir, docdir; fix bug #487815
bernhardheld [Mon, 7 Apr 2003 20:24:52 +0000 (20:24 +0000)]
* configure.in: fully support prefix, exec_prefix, datadir, docdir; fix bug #487815
* support/cpp2/Makefile.in: fix bug #487815
* configure: rebuilt from configure.in
* Makefile.common.in: docdir changed, new path suffixes
* sdccconf_in.h: new RETSIGTYPE, and other PATHs
* sdcc_vc_in.h: reflect changes from sdccconf.h
* src/SDCCglobl.h: remove *SEPARATOR_CHARS, they are now in sdccconf.h
* src/SDCCutil.h: remove BINDIR hack
* doc/sdccman.lyx: update new path hierarchy

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

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