[EXT_EP-9565] Compiler computes wrong offset for structure member, causing CCS to display it incorrectly Created: 05/Nov/19  Updated: 19/Feb/20  Resolved: 05/Nov/19

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-6866
Forum URL: https://e2e.ti.com/support/processors/f/791/t/852657
Found In Release: PRU_2.2.0
 C6000_8.2.0
 C6000_8.1.0B1
 PRU_2.1.0
Fix In Release: C6000_8.2.9*
 ARM_18.12.5.LTS
 ARM_18.1.8.LTS*
Workaround: Rearranging the members of the struct so that the largest members come last might keep the offsets of all members below 16MiB. Alternatively, compile without DWARF information.
Release Notes: For very large structs with any member where offsetof(struct,member)>=16MiB, the DWARF information would incorrectly sign-extend the value in the DW_AT_data_member_location attribute.

 Description   

Compiler computes wrong offset for structure member, causing CCS to display it incorrectly


Generated at Sun Apr 13 16:40:28 CDT 2025 using Jira 9.12.17#9120017-sha1:aba4002bcd633f188b6a4bb5dd8a0e1f20b79ee4.