simde icon indicating copy to clipboard operation
simde copied to clipboard

gcc 12 testing

Open mr-c opened this issue 2 years ago • 1 comments

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.

mr-c avatar May 04 '22 15:05 mr-c

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)]) {
      | ^~~~~~~~~~~~~~~~~~~~

vt-alt avatar Jun 02 '22 14:06 vt-alt

This is fixed as of https://github.com/simd-everywhere/simde/commit/f6db95d5739bed8e76f7aa5f838fd786ddf8795f & https://github.com/simd-everywhere/simde/commit/041b1bd6e560a20b137016a2347697d5c2895fd7

mr-c avatar Jan 18 '23 17:01 mr-c