From: SourceForge.net <no...@so...> - 2004-03-23 14:47:17
|
Bugs item #801101, was opened at 2003-09-05 15:57 Message generated for change (Comment added) made by maartenbrock You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=801101&group_id=599 Category: Live range problems Group: None Status: Open Resolution: None Priority: 5 Submitted By: Stephan Uhlemann (uhle89) Assigned to: Nobody/Anonymous (nobody) Summary: various compiler problems vprintf-library Initial Comment: There are several problems in library vprintf.rel if compiled with SDCC using standard instalation procedure and the library C code as provided with the compiler. Two bugs are tracked down to assembler level. See attached file: vprintf_sdcc_bugs.txt SDCC V2.3.5 (Snapshot of 31. Aug 2003) and SDCC V2.3.0 released (see Attachment for details) regards Stephan Uhlemann uhl...@ce... the SDCC call issued in the build process is caught as: ../../bin/sdcc -I../../device/include --model-small --nostdinc -c vprintf.c -o build/small/vprintf.rel To get the list file vprintf.lst cited in the attachment I simply recompiled the library using the line above. ---------------------------------------------------------------------- Comment By: Maarten Brock (maartenbrock) Date: 2004-03-23 15:47 Message: Logged In: YES user_id=888171 Hi, I've been testing these problems with the latest SDCC (2.4.1 2003-03-23) and can no longer reproduce them. But the code produced by line 567 is not very optimal. Everything is cast to a signed int. Changing 1 to 1U helps a bit, now everything is cast to unsigned int. Changing 1 to (unsigned char)1 does not help, it gets cast to signed int once more. Hope to have helped, greets, Maarten ---------------------------------------------------------------------- Comment By: Bernhard Held (bernhardheld) Date: 2003-09-05 16:15 Message: Logged In: YES user_id=203539 It's a known bug: #536787 http://www.geocrawler.com/archives/3/1557/2002/3/0/82550 26/ http://www.geocrawler.com/archives/3/1557/2002/3/0/82570 30/ ---------------------------------------------------------------------- Comment By: Stephan Uhlemann (uhle89) Date: 2003-09-05 16:05 Message: Logged In: YES user_id=859767 I feel Problem 1 described here is very much the same as the register allocation bug reported as #519583. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=801101&group_id=599 |