fw/sdcc
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

21 years agohack up const and volatile modifiers in type chains a bit
johanknol [Thu, 13 Mar 2003 17:29:53 +0000 (17:29 +0000)]
hack up const and volatile modifiers in type chains a bit

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

21 years agosrc/SDCCBBlock.h: more LRH debugging junk
johanknol [Wed, 12 Mar 2003 12:49:57 +0000 (12:49 +0000)]
src/SDCCBBlock.h: more LRH debugging junk
src/SDCCcflow.h: more LRH debugging junk
src/SDCCloop.c: more LRH debugging junk
src/SDCC.y (struct_declaration): fixed bug #697590
src/SDCCsymt.[hc] (cloneSpec): NEVER EVER use this again
src/ds390/gen.c (aopForRemat): fixed bug #700031
src/SDCCglue.c (emitStaticSeg): fixed bug #700797

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

21 years agofixed bug #697590
johanknol [Wed, 12 Mar 2003 12:39:21 +0000 (12:39 +0000)]
fixed bug #697590

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

21 years agomore LRH debugging junk
johanknol [Wed, 12 Mar 2003 12:34:58 +0000 (12:34 +0000)]
more LRH debugging junk

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

21 years agofixed bug #700031
johanknol [Wed, 12 Mar 2003 10:34:15 +0000 (10:34 +0000)]
fixed bug #700031

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

21 years agofixed bug #700797
johanknol [Wed, 12 Mar 2003 09:56:11 +0000 (09:56 +0000)]
fixed bug #700797

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

21 years agoFix peephole rule condition functions properly; add special case so test for bug...
kvigor [Wed, 12 Mar 2003 00:40:52 +0000 (00:40 +0000)]
Fix peephole rule condition functions properly; add special case so test for bug 700121 is less ugly

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

21 years agoAdded ASlink-Warning to messages
jesusc [Tue, 11 Mar 2003 23:42:11 +0000 (23:42 +0000)]
Added ASlink-Warning to messages

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

21 years agoFixed bug when linking asmblink example
jesusc [Tue, 11 Mar 2003 23:41:18 +0000 (23:41 +0000)]
Fixed bug when linking asmblink example

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

21 years agooperandsNotEqualX peephole test functions were never called
kvigor [Tue, 11 Mar 2003 22:49:19 +0000 (22:49 +0000)]
operandsNotEqualX peephole test functions were never called

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

21 years agoFix bug 700121
kvigor [Tue, 11 Mar 2003 20:41:48 +0000 (20:41 +0000)]
Fix bug 700121

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

21 years agoa (void *) can be assigned to any pointer
johanknol [Tue, 11 Mar 2003 16:59:19 +0000 (16:59 +0000)]
a (void *) can be assigned to any pointer

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

21 years agosrc/SDCCmain.c (preProcess): minor cleanup: eliminate preOutName
bernhardheld [Tue, 11 Mar 2003 00:08:40 +0000 (00:08 +0000)]
src/SDCCmain.c (preProcess): minor cleanup: eliminate preOutName

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

21 years agosrc/SDCCloop.c (mergeRegions): an evil beast is dead
bernhardheld [Mon, 10 Mar 2003 23:14:55 +0000 (23:14 +0000)]
src/SDCCloop.c (mergeRegions): an evil beast is dead

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

21 years agopipe preprocessor's output; increased version number to 2.3.4
borutr [Mon, 10 Mar 2003 20:09:36 +0000 (20:09 +0000)]
pipe preprocessor's output; increased version number to 2.3.4

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

21 years agoincreased version number to 2.3.4
borutr [Mon, 10 Mar 2003 20:08:48 +0000 (20:08 +0000)]
increased version number to 2.3.4

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

21 years agofiles support/Util/BuildCmd.c and support/Util/MySystem.c moved from z80 to src subpr...
borutr [Mon, 10 Mar 2003 20:08:22 +0000 (20:08 +0000)]
files support/Util/BuildCmd.c and support/Util/MySystem.c moved from z80 to src subproject

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

21 years agofree deleted item in function deleteSetItem()
borutr [Mon, 10 Mar 2003 20:07:50 +0000 (20:07 +0000)]
free deleted item in function deleteSetItem()

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

21 years agoadded set pipeSet, added function closePipes, which closes all pipes in pipeSet set
borutr [Mon, 10 Mar 2003 20:07:28 +0000 (20:07 +0000)]
added set pipeSet, added function closePipes, which closes all pipes in pipeSet set

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

21 years agodefine pclose as _pclose for WIN32
borutr [Mon, 10 Mar 2003 20:06:01 +0000 (20:06 +0000)]
define pclose as _pclose for WIN32

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

21 years agoadded my_popen()
borutr [Mon, 10 Mar 2003 20:05:11 +0000 (20:05 +0000)]
added my_popen()

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

21 years agopipe preprocessor's output
borutr [Mon, 10 Mar 2003 20:04:32 +0000 (20:04 +0000)]
pipe preprocessor's output

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

21 years ago* support/regression/ports/mcs51/spec.mk: increase timeout for CF's sparc to 30s
bernhardheld [Mon, 10 Mar 2003 12:47:03 +0000 (12:47 +0000)]
* support/regression/ports/mcs51/spec.mk: increase timeout for CF's sparc to 30s
* support/regression/ports/ds390/spec.mk: increase timeout for CF's sparc to 25s
* support/regression/ports/xa51/spec.mk: fix typo in comment

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

21 years agoThis wasn't true
johanknol [Mon, 10 Mar 2003 10:32:56 +0000 (10:32 +0000)]
This wasn't true

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

21 years agosrc/SDCCglobl.h: PATH_MAX is already defined in mingw32 headers
bernhardheld [Sun, 9 Mar 2003 18:01:26 +0000 (18:01 +0000)]
src/SDCCglobl.h: PATH_MAX is already defined in mingw32 headers

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

21 years agore-implemented tempfilename() and tempfile(): using mkstemp() if available
borutr [Sun, 9 Mar 2003 15:10:56 +0000 (15:10 +0000)]
re-implemented tempfilename() and tempfile(): using mkstemp() if available

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

21 years agounification of WIN32 native definitions
borutr [Sun, 9 Mar 2003 15:10:33 +0000 (15:10 +0000)]
unification of WIN32 native definitions

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

21 years agoremoved inclusion of sdccconf.h or sdcc_vc.h
borutr [Sun, 9 Mar 2003 15:10:12 +0000 (15:10 +0000)]
removed inclusion of sdccconf.h or sdcc_vc.h

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

21 years ago explicitly undefined HAVE_MKSTEMP which is not available on BORLANDC and MSVC
borutr [Sun, 9 Mar 2003 15:09:46 +0000 (15:09 +0000)]
 explicitly undefined HAVE_MKSTEMP which is not available on BORLANDC and MSVC

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

21 years ago fixed MSVC and BORLANDC compilation (included SDCCglobl.h instead srccconf.h)
borutr [Sun, 9 Mar 2003 15:09:21 +0000 (15:09 +0000)]
 fixed MSVC and BORLANDC compilation (included SDCCglobl.h instead srccconf.h)

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

21 years agosrc/mcs51/gen.c: applied inc/dec patch mentioned on sdcc-devel 2003-03-01
frief [Sun, 9 Mar 2003 12:17:58 +0000 (12:17 +0000)]
src/mcs51/gen.c: applied inc/dec patch mentioned on sdcc-devel 2003-03-01

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

21 years agoapplied inc/dec patch for variables in data space. Mentioned on sdcc-devel 2003-03-01
frief [Sun, 9 Mar 2003 12:16:22 +0000 (12:16 +0000)]
applied inc/dec patch for variables in data space. Mentioned on sdcc-devel 2003-03-01

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

21 years agoCosmetic fix, might help me debugging
bernhardheld [Sat, 8 Mar 2003 22:07:08 +0000 (22:07 +0000)]
Cosmetic fix, might help me debugging

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

21 years agoThis makes the dump files more readable
johanknol [Sat, 8 Mar 2003 19:49:51 +0000 (19:49 +0000)]
This makes the dump files more readable

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

21 years agosrc/ds390/peeph.def: fix bug 700036
bernhardheld [Sat, 8 Mar 2003 18:39:12 +0000 (18:39 +0000)]
src/ds390/peeph.def: fix bug 700036

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

21 years ago* src/configure.in: check for endianess (even while cross-compiling)
bernhardheld [Sat, 8 Mar 2003 14:56:42 +0000 (14:56 +0000)]
* src/configure.in:   check for endianess (even while cross-compiling)
* src/configure:      check for endianess (even while cross-compiling)
* src/configure_in.h: check for endianess (even while cross-compiling)
* src/avr/gen.c:        remove old endianess stuff
* src/mcs51/gen.c:      remove old endianess stuff
* src/ds390/gen.c:      remove old endianess stuff
* src/pic/gen.c:        remove old endianess stuff
* src/pic/genarith.c:   remove old endianess stuff
* src/pic/glue.c:       fix endianess check
* src/pic16/gen.c:      remove old endianess stuff
* src/pic16/genarith.c: remove old endianess stuff
* src/pic16/glue.c:     fix endianess check
* src/xa51/gen.c:       remove old endianess stuff
* src/z80/gen.c:        fix endianess check
* src/SDCCglue.c:       fix endianess check

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

21 years agomore compiler internals
johanknol [Sat, 8 Mar 2003 13:15:03 +0000 (13:15 +0000)]
more compiler internals

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

21 years agosdcc_vc_in.h: use appropriate data-types on host for SDCC's int and long
bernhardheld [Sat, 8 Mar 2003 00:56:35 +0000 (00:56 +0000)]
sdcc_vc_in.h: use appropriate data-types on host for SDCC's int and long

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

21 years agouse appropriate data-types on host for SDCC's int and long
bernhardheld [Sat, 8 Mar 2003 00:54:16 +0000 (00:54 +0000)]
use appropriate data-types on host for SDCC's int and long

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

21 years ago* src/SDCCsymt.h: use appropriate data-types on host for SDCC's int and long
bernhardheld [Sat, 8 Mar 2003 00:26:42 +0000 (00:26 +0000)]
* src/SDCCsymt.h: use appropriate data-types on host for SDCC's int and long
* configure: find appropriate data-types on host for SDCC's int and long
* configure.in: find appropriate data-types on host for SDCC's int and long
* sdccconf_in.h: find appropriate data-types on host for SDCC's int and long
* src/xa51/gen.c: use %d, not %ld for 4 byte variables

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

21 years agonew option --nolabelopt
johanknol [Fri, 7 Mar 2003 13:47:29 +0000 (13:47 +0000)]
new option --nolabelopt

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

21 years agoSee Changelog 1.204
johanknol [Fri, 7 Mar 2003 13:34:06 +0000 (13:34 +0000)]
See Changelog 1.204

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

21 years agoSee Changelog 1.204
johanknol [Fri, 7 Mar 2003 13:25:01 +0000 (13:25 +0000)]
See Changelog 1.204

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

21 years agoA big NOOP
johanknol [Fri, 7 Mar 2003 13:23:38 +0000 (13:23 +0000)]
A big NOOP

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

21 years agoPORT_HOST instead of HOST
bernhardheld [Thu, 6 Mar 2003 14:27:33 +0000 (14:27 +0000)]
PORT_HOST instead of HOST

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

21 years agofix 64 bit warnings
bernhardheld [Thu, 6 Mar 2003 12:02:45 +0000 (12:02 +0000)]
fix 64 bit warnings

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

21 years agoFix inconsistent handling of bit variables
kvigor [Wed, 5 Mar 2003 20:23:58 +0000 (20:23 +0000)]
Fix inconsistent handling of bit variables

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

21 years ago* src/mcs51/gen.c (genMinus): fixed bug 696436
bernhardheld [Tue, 4 Mar 2003 22:30:53 +0000 (22:30 +0000)]
* src/mcs51/gen.c (genMinus): fixed bug 696436

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

21 years agoOP_SYMBOL and OP_VALUE check their parameters are the proper type
kvigor [Tue, 4 Mar 2003 21:47:10 +0000 (21:47 +0000)]
OP_SYMBOL and OP_VALUE check their parameters are the proper type

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

21 years agoadded BORLANDC, corrected MSVC in printVersionInfo()
borutr [Sun, 2 Mar 2003 18:06:23 +0000 (18:06 +0000)]
added BORLANDC, corrected MSVC in printVersionInfo()

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

21 years agoImproved genReceive, write two bytes at a time in genGenPointerPut, cleaned up some...
kvigor [Thu, 27 Feb 2003 17:59:23 +0000 (17:59 +0000)]
Improved genReceive, write two bytes at a time in genGenPointerPut, cleaned up some DPS abuse, fixed warnings from previous checkins, some cleanups

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

21 years agogenerated from latest configure.in
kvigor [Thu, 27 Feb 2003 15:45:26 +0000 (15:45 +0000)]
generated from latest configure.in

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

21 years agoMore cleanups of _ap abuse.
kvigor [Wed, 26 Feb 2003 21:05:07 +0000 (21:05 +0000)]
More cleanups of _ap abuse.

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

21 years ago* configure.in: test for mkstemp
bernhardheld [Wed, 26 Feb 2003 21:03:06 +0000 (21:03 +0000)]
* configure.in: test for mkstemp
* sdccconf_in.h: add HAVE_MKSTEMP

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

21 years agoCleanups and reduction in _ap abuse; a lot more work than it was worth
kvigor [Wed, 26 Feb 2003 17:29:27 +0000 (17:29 +0000)]
Cleanups and reduction in _ap abuse; a lot more work than it was worth

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

21 years agobefore Bernhard, the watch dog, starts complaining again :)
johanknol [Wed, 26 Feb 2003 17:06:57 +0000 (17:06 +0000)]
before Bernhard, the watch dog, starts complaining again :)

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

21 years agoLRH commit, only to sync with other developers
johanknol [Wed, 26 Feb 2003 16:55:05 +0000 (16:55 +0000)]
LRH commit, only to sync with other developers

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

21 years agomade the dumptree a little more readable
johanknol [Wed, 26 Feb 2003 15:13:03 +0000 (15:13 +0000)]
made the dumptree a little more readable

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

21 years agobuffer overflow caught: preOutCmd could exceed PATH_MAX (observed on Cygwin building...
kvigor [Wed, 26 Feb 2003 04:13:56 +0000 (04:13 +0000)]
buffer overflow caught: preOutCmd could exceed PATH_MAX (observed on Cygwin building regression tests)

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

21 years agoCleanups, minor improvements, death to strcpy strcat sprintf
kvigor [Tue, 25 Feb 2003 19:29:44 +0000 (19:29 +0000)]
Cleanups, minor improvements, death to strcpy strcat sprintf

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

21 years agosome more debugging junk, i'll remove it later
johanknol [Tue, 25 Feb 2003 16:28:10 +0000 (16:28 +0000)]
some more debugging junk, i'll remove it later

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

21 years agodisabled useless warnings
johanknol [Tue, 25 Feb 2003 07:43:58 +0000 (07:43 +0000)]
disabled useless warnings

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

21 years agodisabled useless warning
johanknol [Tue, 25 Feb 2003 07:43:32 +0000 (07:43 +0000)]
disabled useless warning

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

21 years ago* device/include/ctype.h: removed warning while using --stack-auto
bernhardheld [Mon, 24 Feb 2003 20:44:45 +0000 (20:44 +0000)]
* device/include/ctype.h: removed warning while using --stack-auto
* device/include/malloc.h: removed warning while using --stack-auto
* device/include/string.h: removed warning while using --stack-auto

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

21 years agofixed bug#680076
johanknol [Mon, 24 Feb 2003 15:32:12 +0000 (15:32 +0000)]
fixed bug#680076

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

21 years agofixed bug #679679
johanknol [Mon, 24 Feb 2003 13:55:16 +0000 (13:55 +0000)]
fixed bug #679679

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

21 years agofixed bug #679761
johanknol [Mon, 24 Feb 2003 13:51:04 +0000 (13:51 +0000)]
fixed bug #679761

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

21 years agofix typo reported by Trampas Stern
bernhardheld [Mon, 24 Feb 2003 13:34:59 +0000 (13:34 +0000)]
fix typo reported by Trampas Stern

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

21 years agoframework for the liverangehunt
johanknol [Mon, 24 Feb 2003 12:45:59 +0000 (12:45 +0000)]
framework for the liverangehunt

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

21 years agofixed bug #690781
johanknol [Mon, 24 Feb 2003 12:34:30 +0000 (12:34 +0000)]
fixed bug #690781

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

21 years agovsnprintf is defined as _vsnprintf on MSVC
borutr [Sun, 23 Feb 2003 21:30:11 +0000 (21:30 +0000)]
vsnprintf is defined as _vsnprintf on MSVC

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

21 years agocorrected assertion in function printILine(): _pipe() was not executed on MSVC, becau...
borutr [Sun, 23 Feb 2003 21:28:42 +0000 (21:28 +0000)]
corrected assertion in function printILine(): _pipe() was not executed on MSVC, because NDEBUG is defined (see man assert)

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

21 years ago* src/mcs51/gen.c (genUminusFloat): avoided dptr in-/decrement for xdata variables
frief [Sun, 23 Feb 2003 11:35:08 +0000 (11:35 +0000)]
* src/mcs51/gen.c (genUminusFloat): avoided dptr in-/decrement for xdata variables
* src/mcs51/peeph.def: added rule suggested by Gernot Fink, white space/comment changes

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

21 years agoadded peephole suggested by Gernot Fink, white-space changes,
frief [Sun, 23 Feb 2003 11:31:10 +0000 (11:31 +0000)]
added peephole suggested by Gernot Fink, white-space changes,
comment changes

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

21 years agogenUminusfloat avoiding 3 pairs of
frief [Sun, 23 Feb 2003 11:26:47 +0000 (11:26 +0000)]
genUminusfloat avoiding 3 pairs of
inc dprtr
lcall __decdptr
for xdata variables

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

21 years agorevert to 1.4 and autoconf 2.54
bernhardheld [Sun, 23 Feb 2003 09:20:22 +0000 (09:20 +0000)]
revert to 1.4 and autoconf 2.54

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

21 years agorevert to 1.39 and autoconf 2.54
bernhardheld [Sun, 23 Feb 2003 09:12:45 +0000 (09:12 +0000)]
revert to 1.39 and autoconf 2.54

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

21 years agoUpgrade to autoconf 2.54
kvigor [Sun, 23 Feb 2003 02:31:02 +0000 (02:31 +0000)]
Upgrade to autoconf 2.54

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

21 years agoUse autoconf 2.13 for now to keep the nightly build running
bernhardheld [Sat, 22 Feb 2003 22:49:39 +0000 (22:49 +0000)]
Use autoconf 2.13 for now to keep the nightly build running

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

21 years agoicode comments need space
johanknol [Sat, 22 Feb 2003 13:44:13 +0000 (13:44 +0000)]
icode comments need space

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

21 years agoMore strcpy() strcat() sprintf() squashing
kvigor [Fri, 21 Feb 2003 23:38:38 +0000 (23:38 +0000)]
More strcpy() strcat() sprintf() squashing

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

21 years agoBuffer overflow hunt: removing strcpy, strcat, sprintf
kvigor [Fri, 21 Feb 2003 20:08:13 +0000 (20:08 +0000)]
Buffer overflow hunt: removing strcpy, strcat, sprintf

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

21 years agoa cleaner way to fix the shift bug
johanknol [Wed, 19 Feb 2003 12:14:18 +0000 (12:14 +0000)]
a cleaner way to fix the shift bug

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

21 years agofixed a shift bug
johanknol [Wed, 19 Feb 2003 12:07:16 +0000 (12:07 +0000)]
fixed a shift bug

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

21 years ago*** empty log message ***
frief [Tue, 18 Feb 2003 21:32:08 +0000 (21:32 +0000)]
*** empty log message ***

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

21 years agoadded rules 238a-d which remove redundant moves
frief [Tue, 18 Feb 2003 21:30:28 +0000 (21:30 +0000)]
added rules 238a-d which remove redundant moves

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

21 years agoadded peephole conditions testing for same arguments
frief [Tue, 18 Feb 2003 21:29:33 +0000 (21:29 +0000)]
added peephole conditions testing for same arguments

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

21 years agobad shift right 12
johanknol [Tue, 18 Feb 2003 09:54:30 +0000 (09:54 +0000)]
bad shift right 12

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