Commit 488ada0
committed
tests: Avoid aliased Functions in a single Operator in test_w_data
`f` and `g` share their buffer, but the generated code declares their
pointers `restrict`, so fusing `Eq(f, f+1)` and `Eq(g, g+1)` into one
Operator lets the compiler hoist the load from `g` above the store to
`f`. gcc 13 and 14 do exactly that and increment by one instead of two,
which is why the test failed on some CI runners and not others. Use one
Operator per Function instead.1 parent 8339590 commit 488ada0
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2187 | 2187 | | |
2188 | 2188 | | |
2189 | 2189 | | |
2190 | | - | |
2191 | | - | |
| 2190 | + | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
2192 | 2197 | | |
2193 | 2198 | | |
2194 | 2199 | | |
| |||
0 commit comments