[EXT_EP-10869] bitfield assign incorrectly shifting before extending for uint64_var.bf=int32_var Created: 27/Jul/22 Updated: 01/Sep/22 Resolved: 01/Sep/22 |
|
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-10285 |
Forum URL: | https://e2e.ti.com/support/tools/code-composer-studio-group/code-composer-studio---internal/f/1049/t/1120902 |
Found In Release: | MSP430_4.4.0 MSP430_18.1.0.LTS C2000_22.6.0.LTS MSP430_20.2.0.LTS MSP430_21.6.0.LTS C2000_21.6.0.LTS MSP430_15.12.0.LTS MSP430_18.12.0.LTS MSP430_16.9.0.LTS C2000_18.12.0.LTS C2000_20.2.0.LTS |
Fix In Release: | MSP430_20.2.8.LTS* C2000_21.6.1.LTS* C2000_22.6.1.LTS* MSP430_21.6.1.LTS* |
Affected Platform/Device: | default |
Workaround: | Either change the right hand assigned value from int32 to int16 or
avoid --opt_level=1,2 |
Description |
Generated code for below bitfield assign was incorrectly shifting |