Commit 275be0f
Kiriti
ci: add -fno-strict-aliasing to CTS build to fix 5 pre-existing Array test failures at -O3
The 5 Array.vxCreateArray failures (CHAR, INT8, UINT8, INT16, UINT16)
were caused by GCC -O3 strict-aliasing optimizations in the CTS test
code (own_verify_data_items casts between vx_uint8* and vx_char* etc.).
Debug (-O0) and -O2 builds pass all 20 Array tests. Only -O3 fails.
Adding -fno-strict-aliasing to the CTS build resolves the issue without
affecting rustVX performance.1 parent 404b23e commit 275be0f
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
| |||
0 commit comments