[EXT_EP-7800] Forward reference in .space generates an internal error Created: 29/Sep/04 Updated: 28/Jun/22 |
|
Status: | New |
Project: | Embedded Software & Tools |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Low |
Reporter: | TI User | Assignee: | TI User |
Resolution: | Unresolved | Votes: | 0 |
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Product: | Code Generation Tools |
Internal ID: | CODEGEN-56 |
OldID: | SDSCM00008543 |
Found In Release: | C2000_16.9.0.LTS MSP430_21.6.0.LTS C6000_8.1.0B1 C6000_7.4.0B1 ARM_5.2.0B1 MSP430_16.9.0.LTS ARM_15.12.0.LTS C6000_8.2.0 C2000_18.1.0.LTS C2000_6.4.0B1 C6000_8.3.0 MSP430_20.2.0.LTS ARM_18.12.0.LTS C2000_21.6.0.LTS MSP430_15.12.0.LTS PRU_2.3.0 PRU_2.2.0 PRU_2.1.0 ARM_20.2.0.LTS C2000_20.2.0.LTS ARM_18.1.0.LTS MSP430_18.1.0.LTS ARM_16.9.0.LTS C2000_22.6.0.LTS C2000_15.12.0.LTS MSP430_4.4.0B1 MSP430_18.12.0.LTS C2000_18.12.0.LTS ARP32_1.0.0B1 |
Workaround: | Restructure the code so that all symbols used in the .space directive are defined lexically before the .space directive. |
Release Notes: | The assembler may when the size expression in a .space directive contains a forward symbol reference. The assembler allows forward symbol references in many situations, but can't handle a forward symbol reference in a .space directive. The assembler is supposed to emit an error message in this situation, but some particular expressions for the size field may cause the assembler to crash instead of emitting a nice error message. The compiler does not generate code that runs into this situation. |
Description |
Forward reference in .space generates an internal error |