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

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