simde
simde copied to clipboard
gcc 12 testing
the first release candidate is out https://gcc.gnu.org/pipermail/gcc/2022-April/238628.html
here is a log using the 2022-03-19 snapshot of gcc in Ubuntu 22.04: https://github.com/simd-everywhere/simde/runs/6291988049?check_suite_focus=true#step:6:31
Those bugs need to be confirmed using the gcc 12.1 release candidate 1.
I also confirm this on gcc version 12.1.1 20220518
https://git.altlinux.org/beehive/logs/Sisyphus/x86_64/archive/2022/0602/error/simde-0.7.2-alt2
[660/1748] Compiling C object test/x86/avx-native-c.p/avx.c.o
In file included from ../test/x86/avx.c:25:
../simde/x86/avx.h: In function вЂsimde_mm256_maskload_ps’:
../simde/x86/avx.h:4071:10: warning: вЂsimde_mm256_loadu_ps’ reading 32 bytes from a region of size 16 [-Wstringop-overread]
4071 | r_ = simde__m256_to_private(simde_mm256_loadu_ps(mem_addr));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../simde/x86/avx.h:4071:10: note: referencing argument 1 of type вЂconst float[8]’
../simde/x86/avx.h:3829:1: note: in a call to function вЂsimde_mm256_loadu_ps’
3829 | simde_mm256_loadu_ps (const float a[HEDLEY_ARRAY_PARAM(8)]) {
| ^~~~~~~~~~~~~~~~~~~~
This is fixed as of https://github.com/simd-everywhere/simde/commit/f6db95d5739bed8e76f7aa5f838fd786ddf8795f & https://github.com/simd-everywhere/simde/commit/041b1bd6e560a20b137016a2347697d5c2895fd7