]>
git.gag.com Git - fw/sdcc/log
sdattalo [Tue, 30 Oct 2001 17:21:13 +0000 (17:21 +0000)]
The PIC Port was assuming ifx was always true. (A recent [valid] change
in iCode generation broke that assumption.)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1470
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 30 Oct 2001 14:53:49 +0000 (14:53 +0000)]
a small update, before I forget
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1469
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 30 Oct 2001 14:13:23 +0000 (14:13 +0000)]
a beauty patch from bug #476062
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1468
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 30 Oct 2001 13:16:09 +0000 (13:16 +0000)]
fixed bug #476089
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1467
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 30 Oct 2001 12:53:08 +0000 (12:53 +0000)]
void * is allowed
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1466
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 30 Oct 2001 11:26:51 +0000 (11:26 +0000)]
fixed bug #476281
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1465
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 30 Oct 2001 11:00:30 +0000 (11:00 +0000)]
fixed bug #475821
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1464
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 29 Oct 2001 14:07:37 +0000 (14:07 +0000)]
fixed bug #475852
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1463
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 29 Oct 2001 10:29:22 +0000 (10:29 +0000)]
fixed an array to pointer bug
cleaned it up a little
unified print from -> to typechain
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1462
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 29 Oct 2001 10:25:50 +0000 (10:25 +0000)]
make the examples work again
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1461
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 28 Oct 2001 19:17:27 +0000 (19:17 +0000)]
Assignment to structure member incorrect
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1459
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 28 Oct 2001 00:35:47 +0000 (00:35 +0000)]
* src/z80/gen.c (genArrayInit): Made it work for on stack arrays.
* src/z80/main.c (gbz80_port =): Added rle support to the gbz80 port.
* src/z80/gen.c (genMinus): Fixed for where the result is one byte.
(movLeft2ResultLong): Created.
* src/z80/ralloc.c (packRegsForHLUse): Added a couple of simple cases for the GB.
(joinPushes): Added. Joins two char pushes into a word push.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1457
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 27 Oct 2001 21:09:22 +0000 (21:09 +0000)]
Added new option --dumptree . This will dump the front end tree
before lowering it to iCode.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1456
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 27 Oct 2001 20:38:15 +0000 (20:38 +0000)]
Fix for bug 474411: Two loops can share the same lastBlock so the
induction variables should be unioned.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1455
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 27 Oct 2001 19:34:49 +0000 (19:34 +0000)]
Fix for bug #469649 . When we make a register equivalent carry over the fact
that it can go on stack.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1454
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 27 Oct 2001 19:15:34 +0000 (19:15 +0000)]
fixed an array of structures initialisation bug
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1453
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 27 Oct 2001 17:16:52 +0000 (17:16 +0000)]
fixed a sprintf() bug, only visible in the ds390 port
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1452
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 27 Oct 2001 17:13:45 +0000 (17:13 +0000)]
Make the examples work again
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1451
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sat, 27 Oct 2001 01:45:41 +0000 (01:45 +0000)]
* support/cpp2/Makefile.in (install): Added creation of dest dir.
* support/makebin/Makefile (install): Added creation of dest dir.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1450
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kvigor [Fri, 26 Oct 2001 21:38:31 +0000 (21:38 +0000)]
fix some grossness in the logic operations (genAnd, genOr, genXor)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1449
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kvigor [Fri, 26 Oct 2001 21:07:39 +0000 (21:07 +0000)]
fix broken genOr
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1448
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 26 Oct 2001 13:44:42 +0000 (13:44 +0000)]
temporary "fixed" bug #469649, more too come...
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1447
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 26 Oct 2001 13:26:49 +0000 (13:26 +0000)]
fixed bug #474411/474687
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1446
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 26 Oct 2001 12:25:46 +0000 (12:25 +0000)]
fixed a optimizer bug for longs
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1445
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 26 Oct 2001 12:01:59 +0000 (12:01 +0000)]
fixed bug #474222
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1444
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Wed, 24 Oct 2001 20:09:53 +0000 (20:09 +0000)]
remove cpp directory
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1443
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Wed, 24 Oct 2001 20:02:41 +0000 (20:02 +0000)]
stdio.h not needed
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1442
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Wed, 24 Oct 2001 19:46:47 +0000 (19:46 +0000)]
Remove cpp directory
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1441
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Wed, 24 Oct 2001 19:23:48 +0000 (19:23 +0000)]
remove output of empty line
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1440
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Wed, 24 Oct 2001 09:04:45 +0000 (09:04 +0000)]
it's ok now
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1439
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Wed, 24 Oct 2001 08:56:08 +0000 (08:56 +0000)]
Cleaned it up a little
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1438
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kvigor [Tue, 23 Oct 2001 15:52:28 +0000 (15:52 +0000)]
ding, dong, the ack is dead! (fixed the last "Ack!" error)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1437
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 23 Oct 2001 12:40:19 +0000 (12:40 +0000)]
fixed bug #443366
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1436
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 23 Oct 2001 11:59:03 +0000 (11:59 +0000)]
small reg bank fix
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1435
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 23 Oct 2001 11:26:42 +0000 (11:26 +0000)]
fixed bug #473654
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1434
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 23 Oct 2001 08:23:52 +0000 (08:23 +0000)]
fixed a gcc warning
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1433
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kvigor [Tue, 23 Oct 2001 03:09:49 +0000 (03:09 +0000)]
Bug 471076 fix
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1432
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Mon, 22 Oct 2001 19:17:40 +0000 (19:17 +0000)]
clean: rm timeout.exe for Cygwin
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1431
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 22 Oct 2001 19:00:28 +0000 (19:00 +0000)]
Function attribute migration.
Now all function attributes (args, critical, interrupt etc) are in the
sym_link where DECLARATOR==FUNCTION instead of scattered around in
the symbol and the etype of the symbol.
Now we can have multiple functions in a typechain which can have their own
private attributes.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1430
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Mon, 22 Oct 2001 01:14:16 +0000 (01:14 +0000)]
2001-10-21 Michael Hope <michaelh@juju.net.nz>
* src/z80/ralloc.c: Turned off faulty pack for one use.
* src/z80/peeph-gbz80.def: Removed redundent restart options.
* src/z80/gen.c (genMult): Added native mul for constants on the z80 and gbz80.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1429
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sun, 21 Oct 2001 22:40:40 +0000 (22:40 +0000)]
Signed comparisons are now working (except for signed longs)
Fixed gen errors for bit &, | operators
Auto register collision detection was failing
Changed the default processor to a 16F877
Added regression test script "rt.sh" for regression testing a single file.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1428
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 21 Oct 2001 21:32:09 +0000 (21:32 +0000)]
Added temp.lnk to clean
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1427
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 21 Oct 2001 21:29:07 +0000 (21:29 +0000)]
Fix: added includes
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1426
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 21 Oct 2001 20:53:04 +0000 (20:53 +0000)]
* support/regression/Makefile: Improved clean
* support/regression/ports/gbz80/spec.mk: Added clean
* support/regression/ports/host/spec.mk: Added clean
* support/regression/ports/z80/spec.mk: Added clean
* support/regression/ports/mcs51/spec.mk: Added clean, little improvements
* support/regression/ports/mcs51/timeout.c: little improvements
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1425
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 21 Oct 2001 17:58:44 +0000 (17:58 +0000)]
small fix
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1424
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 21 Oct 2001 17:49:08 +0000 (17:49 +0000)]
added a long litteral test
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1423
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 21 Oct 2001 12:11:41 +0000 (12:11 +0000)]
No need for that anymore
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1422
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 21 Oct 2001 10:52:16 +0000 (10:52 +0000)]
some litteral long fixes, now 40000+40000 = 80000l instead of 14464 and
#define TIMER1_RELOAD_VALUE -(2*OSCILATOR)/(32*12*BAUD) works again
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1421
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 20 Oct 2001 17:55:50 +0000 (17:55 +0000)]
Early optimization of '?' operator if value already known
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1420
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 19 Oct 2001 11:41:58 +0000 (11:41 +0000)]
implicit casts of array to pointer are now in default space
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1419
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 19 Oct 2001 11:05:12 +0000 (11:05 +0000)]
no need to do that
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1418
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 19 Oct 2001 11:01:33 +0000 (11:01 +0000)]
should also work in --model-small now
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1417
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 18 Oct 2001 19:09:32 +0000 (19:09 +0000)]
Hmmm, didn't do that in my early days just because ... but this is better
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1416
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 18 Oct 2001 18:31:51 +0000 (18:31 +0000)]
bring back in a huge optimization
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1415
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Thu, 18 Oct 2001 02:13:45 +0000 (02:13 +0000)]
* support/regression/fwk/include/testfwk.h: Fixed up to use function pts correctly.
* support/regression/generate-cases.py: Fixed up to use function pts correctly.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1414
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Wed, 17 Oct 2001 16:28:56 +0000 (16:28 +0000)]
fixed bug #436360 part 2
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1413
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Wed, 17 Oct 2001 05:33:44 +0000 (05:33 +0000)]
- And'ing with a constant works (again).
- Added and1.c to test anding unsigned chars, ints, and longs with lits.
- Change PIC regression testing so that simulations are run only on the
C files that have changed
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1412
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Tue, 16 Oct 2001 20:02:06 +0000 (20:02 +0000)]
timeout for uCsim
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1411
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Tue, 16 Oct 2001 15:51:45 +0000 (15:51 +0000)]
- signed/unsigned long comparisons now work.
- compound compares with chars and ints work.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1410
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 16 Oct 2001 15:05:58 +0000 (15:05 +0000)]
fixed bug #436360 part 1 and 3
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1409
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 16 Oct 2001 08:50:17 +0000 (08:50 +0000)]
found a better fix in SDCCcse.c:1.53
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1408
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 16 Oct 2001 08:48:30 +0000 (08:48 +0000)]
Without this algebraicOpts() gets confused
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1407
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 16 Oct 2001 08:14:04 +0000 (08:14 +0000)]
fixed regression bug, although it doesn't fix the regression
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1406
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 15 Oct 2001 13:05:05 +0000 (13:05 +0000)]
%lf doesn't recognize 0x1234
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1405
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 15 Oct 2001 12:20:37 +0000 (12:20 +0000)]
let's be nice to cygwin and mingw
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1404
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 15 Oct 2001 10:22:27 +0000 (10:22 +0000)]
fixed a regression bug, although it doesn't fix the regression
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1403
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Mon, 15 Oct 2001 05:50:48 +0000 (05:50 +0000)]
Added tests
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1401
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Mon, 15 Oct 2001 02:08:35 +0000 (02:08 +0000)]
Same enhancement as in mcs51/ralloc.c can set accuse
if conditional & used only in IFX
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1400
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Mon, 15 Oct 2001 02:03:11 +0000 (02:03 +0000)]
A fix for bug #467035 - this is a fairly major shift in
CSE processing. Previously when an operation was performed
before with the same operands then the result of the previous
operand replaced the result of the current operation entirely.
This was buggy , the current solution looks like a much cleaner
way to do things. Replace the current iCode with the an assignment
of the previous icode's result, we nolonger have to replace the
operands because the assignment exists, will have to watch for
performance regressions
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1399
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Mon, 15 Oct 2001 01:59:34 +0000 (01:59 +0000)]
set accuse when used ONLY in IFX & this is a CONDITIONAL
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1398
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sat, 13 Oct 2001 19:25:11 +0000 (19:25 +0000)]
* src/SDCCmain.c (linkEdit): Added support for passing a legacy command line through the processor.
* src/mcs51/main.c (_linkCmd): Added bin path to command.
* src/SDCCmain.c (initValues): Added support for when it it called just to link.
* as/mcs51/lklibr.c (libfil;): Turned off 'library file' message.
* src/SDCCval.c (constVal): Fixed usage of 'L' modifier problems on ppc.
* support/regression/tests/longor.c: Added.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1396
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sat, 13 Oct 2001 17:50:10 +0000 (17:50 +0000)]
* src/SDCCval.c (constVal): Fixed usage of 'L' modifier problems on ppc.
* support/regression/tests/longor.c: Added.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1395
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sat, 13 Oct 2001 17:40:05 +0000 (17:40 +0000)]
* support/regression/tests/longor.c: Added.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1394
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 13 Oct 2001 10:08:54 +0000 (10:08 +0000)]
fixed bug # 470722
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1393
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Fri, 12 Oct 2001 19:06:23 +0000 (19:06 +0000)]
replace FILENAME_MAX with PATH_MAX
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1392
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 12 Oct 2001 12:36:05 +0000 (12:36 +0000)]
Another big endian fix
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1391
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 12 Oct 2001 09:45:32 +0000 (09:45 +0000)]
A better but still temporary fix for bug #467035
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1390
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Fri, 12 Oct 2001 01:18:11 +0000 (01:18 +0000)]
* src/z80/gen.c (gencjneshort): Fixed
* src/z80/ralloc.c (packRegsForHLUse): Added pack into HL for cast then ipush.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1389
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 11 Oct 2001 14:23:58 +0000 (14:23 +0000)]
a bug fix of Martijn van Buul
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1388
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 11 Oct 2001 13:41:47 +0000 (13:41 +0000)]
a ppc endian fix
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1387
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 11 Oct 2001 11:51:14 +0000 (11:51 +0000)]
more fixes for the constant values
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1386
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Wed, 10 Oct 2001 12:25:04 +0000 (12:25 +0000)]
fixed a loop optimation bug
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1385
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Wed, 10 Oct 2001 04:09:56 +0000 (04:09 +0000)]
Added bug 469671
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1384
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Wed, 10 Oct 2001 03:48:58 +0000 (03:48 +0000)]
* src/z80/gen.c (shiftIntoPair): Fixed up warning.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1383
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 9 Oct 2001 14:49:04 +0000 (14:49 +0000)]
solaris (ppc?) ignores 'L' for non-integers in the scanf format string
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1382
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 9 Oct 2001 12:12:51 +0000 (12:12 +0000)]
int=32 but short=16
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1381
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 9 Oct 2001 11:51:38 +0000 (11:51 +0000)]
fixed bug #469089 part 1
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1380
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Tue, 9 Oct 2001 05:56:40 +0000 (05:56 +0000)]
Added more PIC regression testing.
Signed casting is now working. Signed addition and subtraction now working.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1379
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Tue, 9 Oct 2001 02:28:32 +0000 (02:28 +0000)]
* src/SDCCmain.c: Added --fommit-frame-pointer option and implemented in the z80 port.
* src/z80/gen.c (genPlus): Fixed to work with extended stack. Also fixed genMinus, genCmp. genUMinus is still left.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1378
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Mon, 8 Oct 2001 18:22:35 +0000 (18:22 +0000)]
* src/SDCCmain.c (preProcess): added define SDCC_NOOVERLAY
* src/device/lib/_mulint.c : removed hint: nooverlay bug
* src/device/lib/_mullong.c : removed hint: nooverlay bug
* src/device/lib/_divuint.c : removed hint: nooverlay bug
* src/device/lib/_divulong.c: removed hint: nooverlay bug
* src/device/lib/_moduint.c : removed hint: nooverlay bug
* src/device/lib/_modulong.c: removed hint: nooverlay bug
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1377
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 8 Oct 2001 13:44:41 +0000 (13:44 +0000)]
fixed bug #467893
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1376
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 8 Oct 2001 11:34:37 +0000 (11:34 +0000)]
fixed bug #468824
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1375
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 8 Oct 2001 10:24:00 +0000 (10:24 +0000)]
fixed bug #468811
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1374
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 7 Oct 2001 18:28:35 +0000 (18:28 +0000)]
* src/z80/gen.c (setupPair): Added 'extended stack' support for the z80. Can now have local variables or parameters of more than 127 bytes in size. Increadibly slow, but it will work. Currently anything involving the carry flag.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1373
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 7 Oct 2001 17:12:13 +0000 (17:12 +0000)]
Created
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1372
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 7 Oct 2001 16:55:31 +0000 (16:55 +0000)]
* support/Util/NewAlloc.c (freeTrace): Changed free for the gc case to not free at all. Fixes runtime segfault.
* support/regression/tests/scott-compare3.c (c_abcd): Fixed up casts.
* src/SDCCmain.c (WRITE_SEG_LOC): Fixed up to use Safe_strdup.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1371
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 7 Oct 2001 15:53:02 +0000 (15:53 +0000)]
fixed the return value of gets()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1369
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 7 Oct 2001 15:49:53 +0000 (15:49 +0000)]
this looks better
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1368
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 7 Oct 2001 14:29:06 +0000 (14:29 +0000)]
port to mcs51
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1367
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 7 Oct 2001 13:21:54 +0000 (13:21 +0000)]
let's not assume it is a symbol
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1366
4a8a32a2 -be11-0410-ad9d-
d568d2c75423