From: SourceForge.net <no...@so...> - 2012-03-12 22:53:31
|
Bugs item #3502965, was opened at 2012-03-12 15:53 Message generated for change (Tracker Item Submitted) made by woody1234 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3502965&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: z80 port Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Woody (woody1234) Assigned to: Nobody/Anonymous (nobody) Summary: --oldralloc bug 2 Initial Comment: 1. Sample code attached. 2. command used: C:\SDCC\BIN\sdcc bug3.c -mz80 -c --std-c99 --oldralloc --codeseg CODE3 3. sdcc -v: SDCC : mcs51/gbz80/z80/z180/r2k/ds390/pic16/pic14/TININative/ds400/hc08 3.1.3 #7432 (Mar 12 2012) (MINGW32) 4. In bug3.c, line 39, _sReceiveDataLen = sLen - iHeadLen; sReceiveDataLen value is generated wrong with correct sLen and iHeadLen. Command line "sdcc bug3.c -mz80 -c --std-c99 --codeseg CODE3" can generate correct result. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3502965&group_id=599 |