[EXT_EP-11612] Brace-initialized nested aggregate zero-init omitted Created: 20/Dec/23 Updated: 01/Apr/24 Resolved: 09/Jan/24 |
|
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-11931 |
Forum URL: | https://e2e.ti.com/support/processors-group/processors/f/791/t/1305722 |
Found In Release: | C6000_8.3.0 MSP430_20.2.0.LTS C7000_2.1.0.LTS MSP430_21.6.0.LTS C7000_3.1.0.LTS |
Fix In Release: | MSP430_20.2.8.LTS* C7000_2.1.3.LTS* MSP430_21.6.2.LTS* C6000_8.3.13 C7000_3.1.2.LTS* |
Affected Platform/Device: | default |
Workaround: | Don't use the empty bracket notation; provide an explicit initialization value for each nested aggregate member. |
Description |
When initializing an aggregate type with an empty brace initializer {}, nested aggregate types which should be zero-initialized aren't initialized. |