fw/sdcc
21 years agoEXEEXT introduces to solve Cygwin problems
bernhardheld [Thu, 24 Apr 2003 21:06:59 +0000 (21:06 +0000)]
EXEEXT introduces to solve Cygwin problems

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

21 years agoddd fixes
kbongers [Thu, 24 Apr 2003 15:28:37 +0000 (15:28 +0000)]
ddd fixes

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

21 years agosdcdb updates,ddd
kbongers [Thu, 24 Apr 2003 04:53:25 +0000 (04:53 +0000)]
sdcdb updates,ddd

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

21 years ago* as/Makefile: fix target clean
bernhardheld [Wed, 23 Apr 2003 10:05:56 +0000 (10:05 +0000)]
* as/Makefile: fix target clean
* as/clean.mk: fix target clean
* as/z80/clean.mk: fix target clean

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

21 years ago* Makefile.common.in: added @EXEEXT@
bernhardheld [Tue, 22 Apr 2003 20:25:26 +0000 (20:25 +0000)]
* Makefile.common.in: added @EXEEXT@
* configure.in: removed all mingw32 stuff
* configure: rebuilt from configure.in
* doc/sdccman.lyx: updated section "installation"
* support/scripts/sdcc_mingw32: adapted to configure
* support/scripts/sdcc_cygwin_mingw32: added

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

21 years agoPIC port now supports object files. Applied patch from Craig Franklin that started...
sdattalo [Tue, 22 Apr 2003 16:45:42 +0000 (16:45 +0000)]
PIC port now supports object files. Applied patch from Craig Franklin that started the transition to object files. Updated the pic regression tests to support object files.

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

21 years ago* src/SDCCglobl.h: small change in stack handling macros, to avoid crash when compiled
borutr [Sun, 20 Apr 2003 19:44:35 +0000 (19:44 +0000)]
* src/SDCCglobl.h: small change in stack handling macros, to avoid crash when compiled
  with MSVC with global optimization enabled (probably an cl compiler bug ;-)
* support/Util/SDCCerr.c, support/Util/SDCCerr.h: added function fatal(), called from
  stack handling macros

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

21 years agosmall change in stack handling macros, to avoid crash when compiled with
borutr [Sun, 20 Apr 2003 19:43:52 +0000 (19:43 +0000)]
small change in stack handling macros, to avoid crash when compiled with
MSVC with global optimization enabled (probably an cl compiler bug ;-)

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

21 years agoadded function fatal(), called from stack handling macros
borutr [Sun, 20 Apr 2003 19:43:12 +0000 (19:43 +0000)]
added function fatal(), called from stack handling macros

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

21 years ago* sdcc/as/mcs51/lklex.c: make getfid() more robust and fixed gcc warning
borutr [Sun, 20 Apr 2003 15:57:30 +0000 (15:57 +0000)]
* sdcc/as/mcs51/lklex.c: make getfid() more robust and fixed gcc warning

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

21 years agomake getfid() more robust and fixed gcc warning
borutr [Sun, 20 Apr 2003 15:56:58 +0000 (15:56 +0000)]
make getfid() more robust and fixed gcc warning

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

21 years agono bitfields yet
johanknol [Sun, 20 Apr 2003 11:52:03 +0000 (11:52 +0000)]
no bitfields yet

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

21 years ago* support/regression/tests/bitfields.c: added Johan's bitfields.c
bernhardheld [Sat, 19 Apr 2003 20:06:17 +0000 (20:06 +0000)]
* support/regression/tests/bitfields.c: added Johan's bitfields.c

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

21 years ago"handling space characters in file path" task
borutr [Sat, 19 Apr 2003 15:25:05 +0000 (15:25 +0000)]
"handling space characters in file path" task

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

21 years agohandling space characters in file path
borutr [Sat, 19 Apr 2003 15:24:39 +0000 (15:24 +0000)]
handling space characters in file path

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

21 years agohandling space characters in executable's path
borutr [Sat, 19 Apr 2003 15:20:49 +0000 (15:20 +0000)]
handling space characters in executable's path

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

21 years agointroduced setDataPaths() function, {datadir} macro (it will be used by assemblers...
borutr [Sat, 19 Apr 2003 15:19:37 +0000 (15:19 +0000)]
introduced setDataPaths() function, {datadir} macro (it will be used by assemblers, which have their own includes, e.g. gpasm)

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

21 years agomake it self-sufficient
borutr [Sat, 19 Apr 2003 15:17:53 +0000 (15:17 +0000)]
make it self-sufficient

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

21 years agodefine par as NULL if parameter value is invalid
borutr [Sat, 19 Apr 2003 15:17:32 +0000 (15:17 +0000)]
define par as NULL if parameter value is invalid

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

21 years agofixed bug in handlig quote at the end of line
borutr [Sat, 19 Apr 2003 15:17:04 +0000 (15:17 +0000)]
fixed bug in handlig quote at the end of line

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

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