From: SourceForge.net <no...@so...> - 2006-10-24 20:35:41
|
Patches item #1584001, was opened at 2006-10-24 20:35 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300599&aid=1584001&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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Simon Bryden (sbryden) Assigned to: Nobody/Anonymous (nobody) Summary: Multiply-named variables cause problems in pic14 Initial Comment: Variables are stored in a hash table during compilation by the function newReg() and subsequently retrieved by the function dirregWithName() during the stage which inserts bank select code. However newReg() specifically looks for multiply named variables, and if it finds a variable at a fixed address which is already stored under another name, it ignores the request. When the variable is requested using dirregWithName() (by the second name) to get bank information, it is returned not found and the bank selection is not done. This patch simply removes the check for duplicate name. I'm new to this code so it should be checked at the very least by someone who understands why the duplicate name was put there in the first place. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300599&aid=1584001&group_id=599 |