-
Bug
-
Resolution: Unresolved
-
Medium
-
Code Generation Tools
-
CODEGEN-274
-
SDSCM00038293
-
When using options "cl430 -vmspx --data_model=large --near_data=globals", the compiler uses a BIT.W instruction to test a 20-bit address, leading to a relocation overflow. This bug does not happen if --near_data=none (the compiler uses BITX.W).
The compiler should either use a BITX.W instruction to test expressions which involve pointer addresses, or use a relocation that ignores overflow.