[EXT_EP-8882] Macro with temp label causes assembler to crash Created: 13/Apr/18  Updated: 19/Feb/20  Resolved: 13/Apr/18

Status: Fixed
Project: Embedded Software & Tools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: TI User Assignee: TI User
Resolution: Fixed Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Product: Code Generation Tools
Internal ID: CODEGEN-4668
Forum URL: https://e2e.ti.com/support/development_tools/compiler/f/343/t/680327
Found In Release: C6000_8.2.0
 C6000_8.1.0B1
 C2000_16.9.0.LTS
Fix In Release: C6000_8.3.0
 ARM_18.9.0.STS
 C2000_18.9.0.STS
Workaround: The problem will not occur without macro labels. If labels are required, no workaround is known.
Release Notes: The assembler may crash or report a memory misuse when using an assembly macro containing a label, if the label appears in an instruction in a position that requires extra lookahead to parse.

The original example is a register name followed by a comma and a label use; for that assembler, the thing following the comma might be a shift specifier, so it requires expanding the macro label. That extra step frees some memory that it shouldn't, causing the problem.

 Description   

Macro with temp label causes assembler to crash


Generated at Sat Dec 13 11:32:53 CST 2025 using Jira 10.3.7#10030007-sha1:a563685562f94d165eb4e158cfb2a142338d8c54.