[EXT_EP-8973] Unreachable code in linear assembly may lead to crash Created: 27/Feb/18 Updated: 19/Feb/20 Resolved: 27/Feb/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-4525 |
Forum URL: | https://e2e.ti.com/support/development_tools/compiler/f/343/t/667591 |
Found In Release: | ARM_18.1.0.LTS C6000_8.2.0 ARM_16.9.0.LTS ARM_18.9.0.STS C6000_8.3.0 C7000_1.4.0.LTS* C6000_8.1.0B1 ARP32_1.0.0B1 |
Fix In Release: | ARM_18.9.0.STS C6000_8.3.0 C6000_8.2.4 ARM_18.1.3.LTS C6000_8.1.8 ARP32_1.1.0* ARM_16.9.9.LTS |
Workaround: | Remove the unreachable code before compiling, or compile with -o1, -o0, or -ooff, or use --symdebug:none which happens to avoid the problem. |
Release Notes: | The compiler may crash if given a linear assembly file containing some code that has a label but is not reachable. It's theoretically possible to create the same problem with C/C++ code, but we haven't been able to do it and the risk is quite small. |
Description |
Unreachable code in linear assembly may lead to crash |