[EXT_EP-9476] Optimizer fails with segmentation fault Created: 12/Aug/19 Updated: 19/Feb/20 Resolved: 12/Aug/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-6581 |
Forum URL: | https://e2e.ti.com/support/tools/ccs/f/81/t/828521 |
Found In Release: | ARM_18.1.0.LTS C6000_8.3.0 ARM_18.12.0.LTS ARM_20.2.0.beta |
Fix In Release: | ARM_18.12.4.LTS C6000_8.3.5 ARM_18.1.7.LTS ARM_20.2.0.beta |
Affected Platform/Device: | default |
Workaround: | No simple workaround. If there's a way to restructure the code to avoid template parameter packs, or at least to avoid passing them as arguments to calls, try that. This particular test case will not crash with -O2 or -O3, though it will with -O0 and -O1. The --disable_inlining option will avoid the problem, but of course affects performance. |
Release Notes: | When compiling C++ code that uses template parameter packs, especially if those parameter packs are passed as arguments to calls within the template functions, the optimiser may crash. |
Description |
Optimizer fails with segmentation fault |