[EXT_EP-11948] Loop optimization at -O3 leads to segmentation fault on auto-generated Simulink code Created: 14/Oct/24 Updated: 18/Feb/25 Resolved: 18/Feb/25 |
|
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-13002 |
Forum URL: | https://e2e.ti.com/support/tools/code-composer-studio-group/code-composer-studio---internal/f/1049/t/1423948 |
Found In Release: | ARMCLANG_4.0.0.LTS ARMCLANG_3.2.2.LTS |
Fix In Release: | ARMCLANG_4.0.2.LTS ARMCLANG_3.2.4.LTS* |
Affected Platform/Device: | default |
Workaround: | Use -mllvm -enable-unroll-and-jam=0 |
Description |
The attached test case is source code automatically generated by Simulink. Build it ... % tiarmclang @options.txt file.c PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: tiarmclang @options.txt file.c 1. <eof> parser at end of file 2. Optimizer Exception Code: 0xC0000005 <many lines omitted> |