Commit d1957d2
ci: fix strict-warnings on gcc-13/clang-18 and cross regression build
The strict lane surfaced more on the CI compilers than on older local
ones (verified against gcc 13 / clang 18):
* gcc: zero-init nadj in the float lgammaf_r too (same guarded
false-positive as the double/long-double versions).
* clang 18 renamed the int->float conversion diagnostic to
-Wimplicit-const-int-float-conversion; suppress that spelling as well.
* clang: suppress -Wdeprecated-non-prototype (C23) for the lane; the K&R
definitions in w_cabs*.c and bsdsrc/b_*.c are left for a focused
prototype-conversion follow-up.
Cross CI: build the regression programs with the cross toolchain in the
"Build tests" step and pass the toolchain vars to the qemu run, so the
foreign-arch regression binaries are produced by $TRIPLE-gcc instead of
the host compiler. Verified locally by cross-building for riscv64 and
running the regression test under qemu.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 304b96b commit d1957d2
3 files changed
Lines changed: 19 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
65 | | - | |
| 68 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | | - | |
171 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
172 | 174 | | |
173 | | - | |
174 | | - | |
175 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
176 | 183 | | |
177 | 184 | | |
178 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| |||
0 commit comments