Re: avx512erintrin.h: uninitialized variable warning (optimized build)

2023-01-12 Thread James Addison via Gcc
Thanks, Sam, Yep, that does seem closely related. The problems mentioned there look similar enough that it may be possible to resolve an entire class of these problems in the same area of the code in a single pass. I'll add some more details there soon. On Thu, 12 Jan 2023 at 06:51, Sam James

Re: avx512erintrin.h: uninitialized variable warning (optimized build)

2023-01-11 Thread Sam James via Gcc
> On 12 Jan 2023, at 00:26, James Addison via Gcc wrote: > > Hi, > > During GCC 12.2.0 compilation of a file that includes[1] immintrin.h > with both code-optimization and uninitialized-variable-warnings > enabled, a warning is emitted: > >/usr/lib/gcc/x86_64-linux-gnu/12/include/avx512er

avx512erintrin.h: uninitialized variable warning (optimized build)

2023-01-11 Thread James Addison via Gcc
Hi, During GCC 12.2.0 compilation of a file that includes[1] immintrin.h with both code-optimization and uninitialized-variable-warnings enabled, a warning is emitted: /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512erintrin.h:55:20: warning: ‘__W’ is used uninitialized [-Wuninitialized] The