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

2023-01-12 Thread James Addison via Gcc
James wrote: > > > > > 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 > > enabl

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