From: SourceForge.net <no...@so...> - 2009-05-23 22:04:10
|
Bugs item #2795942, was opened at 2009-05-24 00:04 Message generated for change (Tracker Item Submitted) made by spth You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=2795942&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: Philipp Krause (spth) Assigned to: Nobody/Anonymous (nobody) Summary: hl overwritten Initial Comment: adcc sometimes generates code where hl is overwritten (storing a temporarily used address) even though it already holds a value. This was first noticed as #2646174 and did appear to be restricted to the scenario described there. However it now seems this is a more general problem. As generic solution would probably result in more efficient code generation for memcpy(), too, compared to the current workaround introduced in rev. #5456. In the attached file the comparison if (players[i].xx > max_xx) in line 58 is affected by the bug, in revisions #5456 and current svn. Philipp ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=2795942&group_id=599 |