zlib-ng-2.2.4-2.fc43

List of Findings

Error: COMPILER_WARNING: [#def1]
zlib-ng-2.2.4/arch/x86/adler32_avx2.c:46:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   44|       __m256i vs1, vs2;
#   45|   
#   46|->     const __m256i dot2v = _mm256_setr_epi8(32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15,
#   47|                                              14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1);
#   48|       const __m256i dot3v = _mm256_set1_epi16(1);

Error: COMPILER_WARNING: [#def2]
zlib-ng-2.2.4/arch/x86/adler32_avx2_p.h:20:24: note[note]: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   18|   }
#   19|   
#   20|-> static inline uint32_t partial_hsum256(__m256i x) {
#   21|       /* We need a permutation vector to extract every other integer. The
#   22|        * rest are going to be zeros */

Error: COMPILER_WARNING: [#def3]
zlib-ng-2.2.4/arch/x86/adler32_avx2_p.h:23:30: note[note]: called from here
#   21|       /* We need a permutation vector to extract every other integer. The
#   22|        * rest are going to be zeros */
#   23|->     const __m256i perm_vec = _mm256_setr_epi32(0, 2, 4, 6, 1, 1, 1, 1);
#   24|       __m256i non_zero = _mm256_permutevar8x32_epi32(x, perm_vec);
#   25|       __m128i non_zero_sse = _mm256_castsi256_si128(non_zero);

Error: COMPILER_WARNING: [#def4]
zlib-ng-2.2.4/arch/x86/adler32_avx2_p.h:24:24: note[note]: called from here
#   22|        * rest are going to be zeros */
#   23|       const __m256i perm_vec = _mm256_setr_epi32(0, 2, 4, 6, 1, 1, 1, 1);
#   24|->     __m256i non_zero = _mm256_permutevar8x32_epi32(x, perm_vec);
#   25|       __m128i non_zero_sse = _mm256_castsi256_si128(non_zero);
#   26|       __m128i sum2  = _mm_add_epi32(non_zero_sse,_mm_unpackhi_epi64(non_zero_sse, non_zero_sse));

Error: COMPILER_WARNING: [#def5]
zlib-ng-2.2.4/arch/x86/adler32_avx2_p.h:25:28: note[note]: called from here
#   23|       const __m256i perm_vec = _mm256_setr_epi32(0, 2, 4, 6, 1, 1, 1, 1);
#   24|       __m256i non_zero = _mm256_permutevar8x32_epi32(x, perm_vec);
#   25|->     __m128i non_zero_sse = _mm256_castsi256_si128(non_zero);
#   26|       __m128i sum2  = _mm_add_epi32(non_zero_sse,_mm_unpackhi_epi64(non_zero_sse, non_zero_sse));
#   27|       __m128i sum3  = _mm_add_epi32(sum2, _mm_shuffle_epi32(sum2, 1));

Error: COMPILER_WARNING: [#def6]
zlib-ng-2.2.4/arch/x86/adler32_avx512.c:31:21: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#   29|           if (COPY) {
#   30|               __mmask64 storemask = (0xFFFFFFFFFFFFFFFFUL >> (64 - len));
#   31|->             __m512i copy_vec = _mm512_maskz_loadu_epi8(storemask, src);
#   32|               _mm512_mask_storeu_epi8(dst, storemask, copy_vec);
#   33|           }

Error: COMPILER_WARNING: [#def7]
zlib-ng-2.2.4/arch/x86/adler32_avx512_p.h:35:24: note[note]: the ABI for passing parameters with 64-byte alignment has changed in GCC 4.6
#   33|   }
#   34|   
#   35|-> static inline uint32_t partial_hsum(__m512i x) {
#   36|       /* We need a permutation vector to extract every other integer. The
#   37|        * rest are going to be zeros. Marking this const so the compiler stands

Error: COMPILER_WARNING: [#def8]
zlib-ng-2.2.4/arch/x86/adler32_avx512_p.h:40:30: note[note]: called from here
#   38|        * a better chance of keeping this resident in a register through entire
#   39|        * loop execution. We certainly have enough zmm registers (32) */
#   40|->     const __m512i perm_vec = _mm512_setr_epi32(0, 2, 4, 6, 8, 10, 12, 14,
#   41|                                                  1, 1, 1, 1, 1,  1,  1,  1);
#   42|   

Error: COMPILER_WARNING: [#def9]
zlib-ng-2.2.4/arch/x86/adler32_avx512_p.h:43:24: note[note]: called from here
#   41|                                                  1, 1, 1, 1, 1,  1,  1,  1);
#   42|   
#   43|->     __m512i non_zero = _mm512_permutexvar_epi32(perm_vec, x);
#   44|   
#   45|       /* From here, it's a simple 256 bit wide reduction sum */

Error: COMPILER_WARNING: [#def10]
zlib-ng-2.2.4/arch/x86/adler32_avx512_p.h:46:13: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   44|   
#   45|       /* From here, it's a simple 256 bit wide reduction sum */
#   46|->     __m256i non_zero_avx = _mm512_castsi512_si256(non_zero);
#   47|   
#   48|       /* See Agner Fog's vectorclass for a decent reference. Essentially, phadd is

Error: COMPILER_WARNING: [#def11]
zlib-ng-2.2.4/arch/x86/adler32_avx512_p.h:46:28: note[note]: called from here
#   44|   
#   45|       /* From here, it's a simple 256 bit wide reduction sum */
#   46|->     __m256i non_zero_avx = _mm512_castsi512_si256(non_zero);
#   47|   
#   48|       /* See Agner Fog's vectorclass for a decent reference. Essentially, phadd is

Error: COMPILER_WARNING: [#def12]
zlib-ng-2.2.4/arch/x86/adler32_avx512_p.h:50:21: note[note]: called from here
#   48|       /* See Agner Fog's vectorclass for a decent reference. Essentially, phadd is
#   49|        * pretty slow, much slower than the longer instruction sequence below */
#   50|->     __m128i sum1  = _mm_add_epi32(_mm256_extracti128_si256(non_zero_avx, 1),
#   51|                                     _mm256_castsi256_si128(non_zero_avx));
#   52|       __m128i sum2  = _mm_add_epi32(sum1,_mm_unpackhi_epi64(sum1, sum1));

Error: COMPILER_WARNING: [#def13]
zlib-ng-2.2.4/arch/x86/adler32_avx512_vnni.c:35:19: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#   33|           return adler32_avx2(adler, src, len);
#   34|   
#   35|->     const __m512i dot2v = _mm512_set_epi8(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
#   36|                                             20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
#   37|                                             38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55,

Error: COMPILER_WARNING: [#def14]
zlib-ng-2.2.4/arch/x86/adler32_sse42.c:64:28: note[note]: called from here
#   62|               dst += 32;
#   63|   
#   64|->             v_short_sum2 = _mm_maddubs_epi16(vbuf, dot2v);
#   65|               v_short_sum2_0 = _mm_maddubs_epi16(vbuf_0, dot2v_0);
#   66|   

Error: COMPILER_WARNING: [#def15]
zlib-ng-2.2.4/arch/x86/adler32_sse42.c:65:30: note[note]: called from here
#   63|   
#   64|               v_short_sum2 = _mm_maddubs_epi16(vbuf, dot2v);
#   65|->             v_short_sum2_0 = _mm_maddubs_epi16(vbuf_0, dot2v_0);
#   66|   
#   67|               vs1 = _mm_add_epi32(v_sad_sum1, vs1);

Error: COMPILER_WARNING: [#def16]
zlib-ng-2.2.4/arch/x86/adler32_sse42.c:93:28: note[note]: called from here
#   91|   
#   92|               v_sad_sum1 = _mm_sad_epu8(vbuf, zero);
#   93|->             v_short_sum2 = _mm_maddubs_epi16(vbuf, dot2v_0);
#   94|   
#   95|               vs1 = _mm_add_epi32(v_sad_sum1, vs1);

Error: COMPILER_WARNING: [#def17]
zlib-ng-2.2.4/arch/x86/adler32_ssse3.c:108:28: note[note]: called from here
#  106|   
#  107|               vs1 = _mm_add_epi32(v_sad_sum2, vs1);
#  108|->             v_short_sum2 = _mm_maddubs_epi16(vbuf, dot2v);
#  109|               vsum2 = _mm_madd_epi16(v_short_sum2, dot3v);
#  110|               v_short_sum2_0 = _mm_maddubs_epi16(vbuf_0, dot2v_0);

Error: COMPILER_WARNING: [#def18]
zlib-ng-2.2.4/arch/x86/adler32_ssse3.c:110:30: note[note]: called from here
#  108|               v_short_sum2 = _mm_maddubs_epi16(vbuf, dot2v);
#  109|               vsum2 = _mm_madd_epi16(v_short_sum2, dot3v);
#  110|->             v_short_sum2_0 = _mm_maddubs_epi16(vbuf_0, dot2v_0);
#  111|               vs2 = _mm_add_epi32(vsum2, vs2);
#  112|               vsum2_0 = _mm_madd_epi16(v_short_sum2_0, dot3v);

Error: COMPILER_WARNING: [#def19]
zlib-ng-2.2.4/arch/x86/adler32_ssse3.c:135:28: note[note]: called from here
#  133|               vs1 = _mm_add_epi32(v_sad_sum1, vs1);
#  134|               vs3 = _mm_add_epi32(vs1_0, vs3);
#  135|->             v_short_sum2 = _mm_maddubs_epi16(vbuf, dot2v_0);
#  136|               vsum2 = _mm_madd_epi16(v_short_sum2, dot3v);
#  137|               vs2 = _mm_add_epi32(vsum2, vs2);

Error: COMPILER_WARNING: [#def20]
zlib-ng-2.2.4/arch/x86/chunkset_avx2.c:23:14: note[note]: called from here
#   21|   
#   22|   static inline void chunkmemset_2(uint8_t *from, chunk_t *chunk) {
#   23|->     *chunk = _mm256_set1_epi16(zng_memread_2(from));
#   24|   }
#   25|   

Error: COMPILER_WARNING: [#def21]
zlib-ng-2.2.4/arch/x86/chunkset_avx2.c:52:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   50|   }
#   51|   
#   52|-> static inline chunk_t GET_CHUNK_MAG(uint8_t *buf, uint32_t *chunk_rem, uint32_t dist) {
#   53|       lut_rem_pair lut_rem = perm_idx_lut[dist - 3];
#   54|       __m256i ret_vec;

Error: COMPILER_WARNING: [#def22]
zlib-ng-2.2.4/arch/x86/chunkset_avx512.c:37:14: note[note]: called from here
#   35|   
#   36|   static inline void chunkmemset_2(uint8_t *from, chunk_t *chunk) {
#   37|->     *chunk = _mm256_set1_epi16(zng_memread_2(from));
#   38|   }
#   39|   

Error: COMPILER_WARNING: [#def23]
zlib-ng-2.2.4/arch/x86/chunkset_avx512.c:101:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   99|   }
#  100|   
#  101|-> static inline chunk_t GET_CHUNK_MAG(uint8_t *buf, uint32_t *chunk_rem, uint32_t dist) {
#  102|       lut_rem_pair lut_rem = perm_idx_lut[dist - 3];
#  103|       __m256i ret_vec;

Error: COMPILER_WARNING: [#def24]
zlib-ng-2.2.4/arch/x86/chunkset_ssse3.c:69:15: note[note]: called from here
#   67|   
#   68|       perm_vec = _mm_load_si128((__m128i*)(permute_table + lut_rem.idx));
#   69|->     ret_vec = _mm_shuffle_epi8(ret_vec, perm_vec);
#   70|   
#   71|       return ret_vec;

Error: COMPILER_WARNING: [#def25]
zlib-ng-2.2.4/arch/x86/compare256_avx2.c:23:9: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   21|       do {
#   22|           __m256i ymm_src0, ymm_src1, ymm_cmp;
#   23|->         ymm_src0 = _mm256_loadu_si256((__m256i*)src0);
#   24|           ymm_src1 = _mm256_loadu_si256((__m256i*)src1);
#   25|           ymm_cmp = _mm256_cmpeq_epi8(ymm_src0, ymm_src1); /* non-identical bytes = 00, identical bytes = FF */

Error: COMPILER_WARNING: [#def26]
zlib-ng-2.2.4/arch/x86/compare256_avx2.c:23:20: note[note]: called from here
#   21|       do {
#   22|           __m256i ymm_src0, ymm_src1, ymm_cmp;
#   23|->         ymm_src0 = _mm256_loadu_si256((__m256i*)src0);
#   24|           ymm_src1 = _mm256_loadu_si256((__m256i*)src1);
#   25|           ymm_cmp = _mm256_cmpeq_epi8(ymm_src0, ymm_src1); /* non-identical bytes = 00, identical bytes = FF */

Error: COMPILER_WARNING: [#def27]
zlib-ng-2.2.4/arch/x86/compare256_avx2.c:24:20: note[note]: called from here
#   22|           __m256i ymm_src0, ymm_src1, ymm_cmp;
#   23|           ymm_src0 = _mm256_loadu_si256((__m256i*)src0);
#   24|->         ymm_src1 = _mm256_loadu_si256((__m256i*)src1);
#   25|           ymm_cmp = _mm256_cmpeq_epi8(ymm_src0, ymm_src1); /* non-identical bytes = 00, identical bytes = FF */
#   26|           unsigned mask = (unsigned)_mm256_movemask_epi8(ymm_cmp);

Error: COMPILER_WARNING: [#def28]
zlib-ng-2.2.4/arch/x86/compare256_avx2.c:25:19: note[note]: called from here
#   23|           ymm_src0 = _mm256_loadu_si256((__m256i*)src0);
#   24|           ymm_src1 = _mm256_loadu_si256((__m256i*)src1);
#   25|->         ymm_cmp = _mm256_cmpeq_epi8(ymm_src0, ymm_src1); /* non-identical bytes = 00, identical bytes = FF */
#   26|           unsigned mask = (unsigned)_mm256_movemask_epi8(ymm_cmp);
#   27|           if (mask != 0xFFFFFFFF) {

Error: COMPILER_WARNING: [#def29]
zlib-ng-2.2.4/arch/x86/compare256_avx2.c:26:35: note[note]: called from here
#   24|           ymm_src1 = _mm256_loadu_si256((__m256i*)src1);
#   25|           ymm_cmp = _mm256_cmpeq_epi8(ymm_src0, ymm_src1); /* non-identical bytes = 00, identical bytes = FF */
#   26|->         unsigned mask = (unsigned)_mm256_movemask_epi8(ymm_cmp);
#   27|           if (mask != 0xFFFFFFFF) {
#   28|               uint32_t match_byte = (uint32_t)__builtin_ctz(~mask); /* Invert bits so identical = 0 */

Error: COMPILER_WARNING: [#def30]
zlib-ng-2.2.4/arch/x86/compare256_avx2.c:34:20: note[note]: called from here
#   32|           src0 += 32, src1 += 32, len += 32;
#   33|   
#   34|->         ymm_src0 = _mm256_loadu_si256((__m256i*)src0);
#   35|           ymm_src1 = _mm256_loadu_si256((__m256i*)src1);
#   36|           ymm_cmp = _mm256_cmpeq_epi8(ymm_src0, ymm_src1);

Error: COMPILER_WARNING: [#def31]
zlib-ng-2.2.4/arch/x86/compare256_avx2.c:35:20: note[note]: called from here
#   33|   
#   34|           ymm_src0 = _mm256_loadu_si256((__m256i*)src0);
#   35|->         ymm_src1 = _mm256_loadu_si256((__m256i*)src1);
#   36|           ymm_cmp = _mm256_cmpeq_epi8(ymm_src0, ymm_src1);
#   37|           mask = (unsigned)_mm256_movemask_epi8(ymm_cmp);

Error: COMPILER_WARNING: [#def32]
zlib-ng-2.2.4/arch/x86/compare256_avx2.c:36:19: note[note]: called from here
#   34|           ymm_src0 = _mm256_loadu_si256((__m256i*)src0);
#   35|           ymm_src1 = _mm256_loadu_si256((__m256i*)src1);
#   36|->         ymm_cmp = _mm256_cmpeq_epi8(ymm_src0, ymm_src1);
#   37|           mask = (unsigned)_mm256_movemask_epi8(ymm_cmp);
#   38|           if (mask != 0xFFFFFFFF) {

Error: COMPILER_WARNING: [#def33]
zlib-ng-2.2.4/arch/x86/compare256_avx2.c:37:26: note[note]: called from here
#   35|           ymm_src1 = _mm256_loadu_si256((__m256i*)src1);
#   36|           ymm_cmp = _mm256_cmpeq_epi8(ymm_src0, ymm_src1);
#   37|->         mask = (unsigned)_mm256_movemask_epi8(ymm_cmp);
#   38|           if (mask != 0xFFFFFFFF) {
#   39|               uint32_t match_byte = (uint32_t)__builtin_ctz(~mask);

Error: COMPILER_WARNING: [#def34]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:13:13: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#   11|       __m128i *xmm_crc2, __m128i *xmm_crc3, const uint8_t *src, size_t len,
#   12|       __m128i init_crc, int32_t first) {
#   13|->     __m512i zmm_initial = _mm512_zextsi128_si512(init_crc);
#   14|   #endif
#   15|       __m512i zmm_t0, zmm_t1, zmm_t2, zmm_t3;

Error: COMPILER_WARNING: [#def35]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:13:27: note[note]: called from here
#   11|       __m128i *xmm_crc2, __m128i *xmm_crc3, const uint8_t *src, size_t len,
#   12|       __m128i init_crc, int32_t first) {
#   13|->     __m512i zmm_initial = _mm512_zextsi128_si512(init_crc);
#   14|   #endif
#   15|       __m512i zmm_t0, zmm_t1, zmm_t2, zmm_t3;

Error: COMPILER_WARNING: [#def36]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:19:31: note[note]: called from here
#   17|       __m512i z0, z1, z2, z3;
#   18|       size_t len_tmp = len;
#   19|->     const __m512i zmm_fold4 = _mm512_set4_epi32(
#   20|           0x00000001, 0x54442bd4, 0x00000001, 0xc6e41596);
#   21|       const __m512i zmm_fold16 = _mm512_set4_epi32(

Error: COMPILER_WARNING: [#def37]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:21:32: note[note]: called from here
#   19|       const __m512i zmm_fold4 = _mm512_set4_epi32(
#   20|           0x00000001, 0x54442bd4, 0x00000001, 0xc6e41596);
#   21|->     const __m512i zmm_fold16 = _mm512_set4_epi32(
#   22|           0x00000001, 0x1542778a, 0x00000001, 0x322d1430);
#   23|   

Error: COMPILER_WARNING: [#def38]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:25:16: note[note]: called from here
#   23|   
#   24|       // zmm register init
#   25|->     zmm_crc0 = _mm512_setzero_si512();
#   26|       zmm_t0 = _mm512_loadu_si512((__m512i *)src);
#   27|   #ifndef COPY

Error: COMPILER_WARNING: [#def39]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:26:14: note[note]: called from here
#   24|       // zmm register init
#   25|       zmm_crc0 = _mm512_setzero_si512();
#   26|->     zmm_t0 = _mm512_loadu_si512((__m512i *)src);
#   27|   #ifndef COPY
#   28|       XOR_INITIAL512(zmm_t0);

Error: COMPILER_WARNING: [#def40]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:28:5: note[note]: called from here
#   26|       zmm_t0 = _mm512_loadu_si512((__m512i *)src);
#   27|   #ifndef COPY
#   28|->     XOR_INITIAL512(zmm_t0);
#   29|   #endif
#   30|       zmm_crc1 = _mm512_loadu_si512((__m512i *)src + 1);

Error: COMPILER_WARNING: [#def41]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:30:16: note[note]: called from here
#   28|       XOR_INITIAL512(zmm_t0);
#   29|   #endif
#   30|->     zmm_crc1 = _mm512_loadu_si512((__m512i *)src + 1);
#   31|       zmm_crc2 = _mm512_loadu_si512((__m512i *)src + 2);
#   32|       zmm_crc3 = _mm512_loadu_si512((__m512i *)src + 3);

Error: COMPILER_WARNING: [#def42]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:31:16: note[note]: called from here
#   29|   #endif
#   30|       zmm_crc1 = _mm512_loadu_si512((__m512i *)src + 1);
#   31|->     zmm_crc2 = _mm512_loadu_si512((__m512i *)src + 2);
#   32|       zmm_crc3 = _mm512_loadu_si512((__m512i *)src + 3);
#   33|   

Error: COMPILER_WARNING: [#def43]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:32:16: note[note]: called from here
#   30|       zmm_crc1 = _mm512_loadu_si512((__m512i *)src + 1);
#   31|       zmm_crc2 = _mm512_loadu_si512((__m512i *)src + 2);
#   32|->     zmm_crc3 = _mm512_loadu_si512((__m512i *)src + 3);
#   33|   
#   34|       /* already have intermediate CRC in xmm registers

Error: COMPILER_WARNING: [#def44]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:37:16: note[note]: called from here
#   35|           * fold4 with 4 xmm_crc to get zmm_crc0
#   36|       */
#   37|->     zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc0, 0);
#   38|       zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc1, 1);
#   39|       zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc2, 2);

Error: COMPILER_WARNING: [#def45]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:38:16: note[note]: called from here
#   36|       */
#   37|       zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc0, 0);
#   38|->     zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc1, 1);
#   39|       zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc2, 2);
#   40|       zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc3, 3);

Error: COMPILER_WARNING: [#def46]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:39:16: note[note]: called from here
#   37|       zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc0, 0);
#   38|       zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc1, 1);
#   39|->     zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc2, 2);
#   40|       zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc3, 3);
#   41|       z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);

Error: COMPILER_WARNING: [#def47]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:40:16: note[note]: called from here
#   38|       zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc1, 1);
#   39|       zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc2, 2);
#   40|->     zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc3, 3);
#   41|       z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);
#   42|       zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x10);

Error: COMPILER_WARNING: [#def48]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:41:10: note[note]: called from here
#   39|       zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc2, 2);
#   40|       zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc3, 3);
#   41|->     z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);
#   42|       zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x10);
#   43|       zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_t0, 0x96);

Error: COMPILER_WARNING: [#def49]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:42:16: note[note]: called from here
#   40|       zmm_crc0 = _mm512_inserti32x4(zmm_crc0, *xmm_crc3, 3);
#   41|       z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);
#   42|->     zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x10);
#   43|       zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_t0, 0x96);
#   44|   

Error: COMPILER_WARNING: [#def50]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:43:16: note[note]: called from here
#   41|       z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);
#   42|       zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x10);
#   43|->     zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_t0, 0x96);
#   44|   
#   45|   #ifdef COPY

Error: COMPILER_WARNING: [#def51]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:57:18: note[note]: called from here
#   55|       // fold-16 loops
#   56|       while (len >= 256) {
#   57|->         zmm_t0 = _mm512_loadu_si512((__m512i *)src);
#   58|           zmm_t1 = _mm512_loadu_si512((__m512i *)src + 1);
#   59|           zmm_t2 = _mm512_loadu_si512((__m512i *)src + 2);

Error: COMPILER_WARNING: [#def52]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:58:18: note[note]: called from here
#   56|       while (len >= 256) {
#   57|           zmm_t0 = _mm512_loadu_si512((__m512i *)src);
#   58|->         zmm_t1 = _mm512_loadu_si512((__m512i *)src + 1);
#   59|           zmm_t2 = _mm512_loadu_si512((__m512i *)src + 2);
#   60|           zmm_t3 = _mm512_loadu_si512((__m512i *)src + 3);

Error: COMPILER_WARNING: [#def53]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:59:18: note[note]: called from here
#   57|           zmm_t0 = _mm512_loadu_si512((__m512i *)src);
#   58|           zmm_t1 = _mm512_loadu_si512((__m512i *)src + 1);
#   59|->         zmm_t2 = _mm512_loadu_si512((__m512i *)src + 2);
#   60|           zmm_t3 = _mm512_loadu_si512((__m512i *)src + 3);
#   61|   

Error: COMPILER_WARNING: [#def54]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:60:18: note[note]: called from here
#   58|           zmm_t1 = _mm512_loadu_si512((__m512i *)src + 1);
#   59|           zmm_t2 = _mm512_loadu_si512((__m512i *)src + 2);
#   60|->         zmm_t3 = _mm512_loadu_si512((__m512i *)src + 3);
#   61|   
#   62|           z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold16, 0x01);

Error: COMPILER_WARNING: [#def55]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:62:14: note[note]: called from here
#   60|           zmm_t3 = _mm512_loadu_si512((__m512i *)src + 3);
#   61|   
#   62|->         z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold16, 0x01);
#   63|           z1 = _mm512_clmulepi64_epi128(zmm_crc1, zmm_fold16, 0x01);
#   64|           z2 = _mm512_clmulepi64_epi128(zmm_crc2, zmm_fold16, 0x01);

Error: COMPILER_WARNING: [#def56]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:63:14: note[note]: called from here
#   61|   
#   62|           z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold16, 0x01);
#   63|->         z1 = _mm512_clmulepi64_epi128(zmm_crc1, zmm_fold16, 0x01);
#   64|           z2 = _mm512_clmulepi64_epi128(zmm_crc2, zmm_fold16, 0x01);
#   65|           z3 = _mm512_clmulepi64_epi128(zmm_crc3, zmm_fold16, 0x01);

Error: COMPILER_WARNING: [#def57]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:64:14: note[note]: called from here
#   62|           z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold16, 0x01);
#   63|           z1 = _mm512_clmulepi64_epi128(zmm_crc1, zmm_fold16, 0x01);
#   64|->         z2 = _mm512_clmulepi64_epi128(zmm_crc2, zmm_fold16, 0x01);
#   65|           z3 = _mm512_clmulepi64_epi128(zmm_crc3, zmm_fold16, 0x01);
#   66|   

Error: COMPILER_WARNING: [#def58]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:65:14: note[note]: called from here
#   63|           z1 = _mm512_clmulepi64_epi128(zmm_crc1, zmm_fold16, 0x01);
#   64|           z2 = _mm512_clmulepi64_epi128(zmm_crc2, zmm_fold16, 0x01);
#   65|->         z3 = _mm512_clmulepi64_epi128(zmm_crc3, zmm_fold16, 0x01);
#   66|   
#   67|           zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold16, 0x10);

Error: COMPILER_WARNING: [#def59]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:67:20: note[note]: called from here
#   65|           z3 = _mm512_clmulepi64_epi128(zmm_crc3, zmm_fold16, 0x01);
#   66|   
#   67|->         zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold16, 0x10);
#   68|           zmm_crc1 = _mm512_clmulepi64_epi128(zmm_crc1, zmm_fold16, 0x10);
#   69|           zmm_crc2 = _mm512_clmulepi64_epi128(zmm_crc2, zmm_fold16, 0x10);

Error: COMPILER_WARNING: [#def60]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:68:20: note[note]: called from here
#   66|   
#   67|           zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold16, 0x10);
#   68|->         zmm_crc1 = _mm512_clmulepi64_epi128(zmm_crc1, zmm_fold16, 0x10);
#   69|           zmm_crc2 = _mm512_clmulepi64_epi128(zmm_crc2, zmm_fold16, 0x10);
#   70|           zmm_crc3 = _mm512_clmulepi64_epi128(zmm_crc3, zmm_fold16, 0x10);

Error: COMPILER_WARNING: [#def61]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:69:20: note[note]: called from here
#   67|           zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold16, 0x10);
#   68|           zmm_crc1 = _mm512_clmulepi64_epi128(zmm_crc1, zmm_fold16, 0x10);
#   69|->         zmm_crc2 = _mm512_clmulepi64_epi128(zmm_crc2, zmm_fold16, 0x10);
#   70|           zmm_crc3 = _mm512_clmulepi64_epi128(zmm_crc3, zmm_fold16, 0x10);
#   71|   

Error: COMPILER_WARNING: [#def62]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:70:20: note[note]: called from here
#   68|           zmm_crc1 = _mm512_clmulepi64_epi128(zmm_crc1, zmm_fold16, 0x10);
#   69|           zmm_crc2 = _mm512_clmulepi64_epi128(zmm_crc2, zmm_fold16, 0x10);
#   70|->         zmm_crc3 = _mm512_clmulepi64_epi128(zmm_crc3, zmm_fold16, 0x10);
#   71|   
#   72|           zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_t0, 0x96);

Error: COMPILER_WARNING: [#def63]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:72:20: note[note]: called from here
#   70|           zmm_crc3 = _mm512_clmulepi64_epi128(zmm_crc3, zmm_fold16, 0x10);
#   71|   
#   72|->         zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_t0, 0x96);
#   73|           zmm_crc1 = _mm512_ternarylogic_epi32(zmm_crc1, z1, zmm_t1, 0x96);
#   74|           zmm_crc2 = _mm512_ternarylogic_epi32(zmm_crc2, z2, zmm_t2, 0x96);

Error: COMPILER_WARNING: [#def64]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:73:20: note[note]: called from here
#   71|   
#   72|           zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_t0, 0x96);
#   73|->         zmm_crc1 = _mm512_ternarylogic_epi32(zmm_crc1, z1, zmm_t1, 0x96);
#   74|           zmm_crc2 = _mm512_ternarylogic_epi32(zmm_crc2, z2, zmm_t2, 0x96);
#   75|           zmm_crc3 = _mm512_ternarylogic_epi32(zmm_crc3, z3, zmm_t3, 0x96);

Error: COMPILER_WARNING: [#def65]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:74:20: note[note]: called from here
#   72|           zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_t0, 0x96);
#   73|           zmm_crc1 = _mm512_ternarylogic_epi32(zmm_crc1, z1, zmm_t1, 0x96);
#   74|->         zmm_crc2 = _mm512_ternarylogic_epi32(zmm_crc2, z2, zmm_t2, 0x96);
#   75|           zmm_crc3 = _mm512_ternarylogic_epi32(zmm_crc3, z3, zmm_t3, 0x96);
#   76|   

Error: COMPILER_WARNING: [#def66]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:75:20: note[note]: called from here
#   73|           zmm_crc1 = _mm512_ternarylogic_epi32(zmm_crc1, z1, zmm_t1, 0x96);
#   74|           zmm_crc2 = _mm512_ternarylogic_epi32(zmm_crc2, z2, zmm_t2, 0x96);
#   75|->         zmm_crc3 = _mm512_ternarylogic_epi32(zmm_crc3, z3, zmm_t3, 0x96);
#   76|   
#   77|   #ifdef COPY

Error: COMPILER_WARNING: [#def67]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:88:10: note[note]: called from here
#   86|       }
#   87|       // zmm_crc[0,1,2,3] -> zmm_crc0
#   88|->     z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);
#   89|       zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x10);
#   90|       zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_crc1, 0x96);

Error: COMPILER_WARNING: [#def68]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:89:16: note[note]: called from here
#   87|       // zmm_crc[0,1,2,3] -> zmm_crc0
#   88|       z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);
#   89|->     zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x10);
#   90|       zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_crc1, 0x96);
#   91|   

Error: COMPILER_WARNING: [#def69]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:90:16: note[note]: called from here
#   88|       z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);
#   89|       zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x10);
#   90|->     zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_crc1, 0x96);
#   91|   
#   92|       z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);

Error: COMPILER_WARNING: [#def70]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:92:10: note[note]: called from here
#   90|       zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_crc1, 0x96);
#   91|   
#   92|->     z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);
#   93|       zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x10);
#   94|       zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_crc2, 0x96);

Error: COMPILER_WARNING: [#def71]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:93:16: note[note]: called from here
#   91|   
#   92|       z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);
#   93|->     zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x10);
#   94|       zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_crc2, 0x96);
#   95|   

Error: COMPILER_WARNING: [#def72]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:94:16: note[note]: called from here
#   92|       z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);
#   93|       zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x10);
#   94|->     zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_crc2, 0x96);
#   95|   
#   96|       z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);

Error: COMPILER_WARNING: [#def73]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:96:10: note[note]: called from here
#   94|       zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_crc2, 0x96);
#   95|   
#   96|->     z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);
#   97|       zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x10);
#   98|       zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_crc3, 0x96);

Error: COMPILER_WARNING: [#def74]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:97:16: note[note]: called from here
#   95|   
#   96|       z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);
#   97|->     zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x10);
#   98|       zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_crc3, 0x96);
#   99|   

Error: COMPILER_WARNING: [#def75]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:98:16: note[note]: called from here
#   96|       z0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x01);
#   97|       zmm_crc0 = _mm512_clmulepi64_epi128(zmm_crc0, zmm_fold4, 0x10);
#   98|->     zmm_crc0 = _mm512_ternarylogic_epi32(zmm_crc0, z0, zmm_crc3, 0x96);
#   99|   
#  100|       // zmm_crc0 -> xmm_crc[0, 1, 2, 3]

Error: COMPILER_WARNING: [#def76]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:101:17: note[note]: called from here
#   99|   
#  100|       // zmm_crc0 -> xmm_crc[0, 1, 2, 3]
#  101|->     *xmm_crc0 = _mm512_extracti32x4_epi32(zmm_crc0, 0);
#  102|       *xmm_crc1 = _mm512_extracti32x4_epi32(zmm_crc0, 1);
#  103|       *xmm_crc2 = _mm512_extracti32x4_epi32(zmm_crc0, 2);

Error: COMPILER_WARNING: [#def77]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:102:17: note[note]: called from here
#  100|       // zmm_crc0 -> xmm_crc[0, 1, 2, 3]
#  101|       *xmm_crc0 = _mm512_extracti32x4_epi32(zmm_crc0, 0);
#  102|->     *xmm_crc1 = _mm512_extracti32x4_epi32(zmm_crc0, 1);
#  103|       *xmm_crc2 = _mm512_extracti32x4_epi32(zmm_crc0, 2);
#  104|       *xmm_crc3 = _mm512_extracti32x4_epi32(zmm_crc0, 3);

Error: COMPILER_WARNING: [#def78]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:103:17: note[note]: called from here
#  101|       *xmm_crc0 = _mm512_extracti32x4_epi32(zmm_crc0, 0);
#  102|       *xmm_crc1 = _mm512_extracti32x4_epi32(zmm_crc0, 1);
#  103|->     *xmm_crc2 = _mm512_extracti32x4_epi32(zmm_crc0, 2);
#  104|       *xmm_crc3 = _mm512_extracti32x4_epi32(zmm_crc0, 3);
#  105|   

Error: COMPILER_WARNING: [#def79]
zlib-ng-2.2.4/arch/x86/crc32_fold_vpclmulqdq_tpl.h:104:17: note[note]: called from here
#  102|       *xmm_crc1 = _mm512_extracti32x4_epi32(zmm_crc0, 1);
#  103|       *xmm_crc2 = _mm512_extracti32x4_epi32(zmm_crc0, 2);
#  104|->     *xmm_crc3 = _mm512_extracti32x4_epi32(zmm_crc0, 3);
#  105|   
#  106|       return (len_tmp - len);  // return n bytes processed

Error: COMPILER_WARNING: [#def80]
zlib-ng-2.2.4/arch/x86/crc32_pclmulqdq_tpl.h:141:17: note[note]: called from here
#  139|       x_tmp3 = *xmm_crc3;
#  140|   
#  141|->     *xmm_crc0 = _mm_clmulepi64_si128(*xmm_crc0, xmm_fold4, 0x01);
#  142|       x_tmp0 = _mm_clmulepi64_si128(x_tmp0, xmm_fold4, 0x10);
#  143|       ps_crc0 = _mm_castsi128_ps(*xmm_crc0);

Error: COMPILER_WARNING: [#def81]
zlib-ng-2.2.4/arch/x86/crc32_pclmulqdq_tpl.h:142:14: note[note]: called from here
#  140|   
#  141|       *xmm_crc0 = _mm_clmulepi64_si128(*xmm_crc0, xmm_fold4, 0x01);
#  142|->     x_tmp0 = _mm_clmulepi64_si128(x_tmp0, xmm_fold4, 0x10);
#  143|       ps_crc0 = _mm_castsi128_ps(*xmm_crc0);
#  144|       ps_t0 = _mm_castsi128_ps(x_tmp0);

Error: COMPILER_WARNING: [#def82]
zlib-ng-2.2.4/arch/x86/crc32_pclmulqdq_tpl.h:147:17: note[note]: called from here
#  145|       ps_res0 = _mm_xor_ps(ps_crc0, ps_t0);
#  146|   
#  147|->     *xmm_crc1 = _mm_clmulepi64_si128(*xmm_crc1, xmm_fold4, 0x01);
#  148|       x_tmp1 = _mm_clmulepi64_si128(x_tmp1, xmm_fold4, 0x10);
#  149|       ps_crc1 = _mm_castsi128_ps(*xmm_crc1);

Error: COMPILER_WARNING: [#def83]
zlib-ng-2.2.4/arch/x86/crc32_pclmulqdq_tpl.h:148:14: note[note]: called from here
#  146|   
#  147|       *xmm_crc1 = _mm_clmulepi64_si128(*xmm_crc1, xmm_fold4, 0x01);
#  148|->     x_tmp1 = _mm_clmulepi64_si128(x_tmp1, xmm_fold4, 0x10);
#  149|       ps_crc1 = _mm_castsi128_ps(*xmm_crc1);
#  150|       ps_t1 = _mm_castsi128_ps(x_tmp1);

Error: COMPILER_WARNING: [#def84]
zlib-ng-2.2.4/arch/x86/crc32_pclmulqdq_tpl.h:153:17: note[note]: called from here
#  151|       ps_res1 = _mm_xor_ps(ps_crc1, ps_t1);
#  152|   
#  153|->     *xmm_crc2 = _mm_clmulepi64_si128(*xmm_crc2, xmm_fold4, 0x01);
#  154|       x_tmp2 = _mm_clmulepi64_si128(x_tmp2, xmm_fold4, 0x10);
#  155|       ps_crc2 = _mm_castsi128_ps(*xmm_crc2);

Error: COMPILER_WARNING: [#def85]
zlib-ng-2.2.4/arch/x86/crc32_pclmulqdq_tpl.h:154:14: note[note]: called from here
#  152|   
#  153|       *xmm_crc2 = _mm_clmulepi64_si128(*xmm_crc2, xmm_fold4, 0x01);
#  154|->     x_tmp2 = _mm_clmulepi64_si128(x_tmp2, xmm_fold4, 0x10);
#  155|       ps_crc2 = _mm_castsi128_ps(*xmm_crc2);
#  156|       ps_t2 = _mm_castsi128_ps(x_tmp2);

Error: COMPILER_WARNING: [#def86]
zlib-ng-2.2.4/arch/x86/crc32_pclmulqdq_tpl.h:159:17: note[note]: called from here
#  157|       ps_res2 = _mm_xor_ps(ps_crc2, ps_t2);
#  158|   
#  159|->     *xmm_crc3 = _mm_clmulepi64_si128(*xmm_crc3, xmm_fold4, 0x01);
#  160|       x_tmp3 = _mm_clmulepi64_si128(x_tmp3, xmm_fold4, 0x10);
#  161|       ps_crc3 = _mm_castsi128_ps(*xmm_crc3);

Error: COMPILER_WARNING: [#def87]
zlib-ng-2.2.4/arch/x86/crc32_pclmulqdq_tpl.h:160:14: note[note]: called from here
#  158|   
#  159|       *xmm_crc3 = _mm_clmulepi64_si128(*xmm_crc3, xmm_fold4, 0x01);
#  160|->     x_tmp3 = _mm_clmulepi64_si128(x_tmp3, xmm_fold4, 0x10);
#  161|       ps_crc3 = _mm_castsi128_ps(*xmm_crc3);
#  162|       ps_t3 = _mm_castsi128_ps(x_tmp3);

Error: COMPILER_WARNING: [#def88]
zlib-ng-2.2.4/arch/x86/slide_hash_avx2.c:17:20: note[note]: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   15|   #include <immintrin.h>
#   16|   
#   17|-> static inline void slide_hash_chain(Pos *table, uint32_t entries, const __m256i wsize) {
#   18|       table += entries;
#   19|       table -= 16;

Error: COMPILER_WARNING: [#def89]
zlib-ng-2.2.4/arch/x86/slide_hash_avx2.c:24:17: note[note]: called from here
#   22|           __m256i value, result;
#   23|   
#   24|->         value = _mm256_loadu_si256((__m256i *)table);
#   25|           result = _mm256_subs_epu16(value, wsize);
#   26|           _mm256_storeu_si256((__m256i *)table, result);

Error: COMPILER_WARNING: [#def90]
zlib-ng-2.2.4/arch/x86/slide_hash_avx2.c:25:18: note[note]: called from here
#   23|   
#   24|           value = _mm256_loadu_si256((__m256i *)table);
#   25|->         result = _mm256_subs_epu16(value, wsize);
#   26|           _mm256_storeu_si256((__m256i *)table, result);
#   27|   

Error: COMPILER_WARNING: [#def91]
zlib-ng-2.2.4/arch/x86/slide_hash_avx2.c:26:9: note[note]: called from here
#   24|           value = _mm256_loadu_si256((__m256i *)table);
#   25|           result = _mm256_subs_epu16(value, wsize);
#   26|->         _mm256_storeu_si256((__m256i *)table, result);
#   27|   
#   28|           table -= 16;

Error: COMPILER_WARNING: [#def92]
zlib-ng-2.2.4/arch/x86/slide_hash_avx2.c:36:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   34|       Assert(s->w_size <= UINT16_MAX, "w_size should fit in uint16_t");
#   35|       uint16_t wsize = (uint16_t)s->w_size;
#   36|->     const __m256i ymm_wsize = _mm256_set1_epi16((short)wsize);
#   37|   
#   38|       slide_hash_chain(s->head, HASH_SIZE, ymm_wsize);

Error: COMPILER_WARNING: [#def93]
zlib-ng-2.2.4/arch/x86/x86_features.c:61:12: note[note]: called from here
#   59|   static inline uint64_t xgetbv(unsigned int xcr) {
#   60|   #if defined(_MSC_VER) || defined(X86_HAVE_XSAVE_INTRIN)
#   61|->     return _xgetbv(xcr);
#   62|   #else
#   63|       uint32_t eax, edx;

Error: CPPCHECK_WARNING (CWE-457): [#def94]
zlib-ng-2.2.4/chunkset_tpl.h:86: warning[uninitvar]: Uninitialized variable: chunk_load
#   84|           }
#   85|   
#   86|->         return chunk_load;
#   87|   }
#   88|   #endif

Error: CPPCHECK_WARNING (CWE-457): [#def95]
zlib-ng-2.2.4/deflate.c:1039: error[legacyUninitvar]: Uninitialized variable: bstate
# 1037|           block_state bstate;
# 1038|   
# 1039|->         bstate = DEFLATE_HOOK(strm, flush, &bstate) ? bstate :  /* hook for IBM Z DFLTCC */
# 1040|                    s->level == 0 ? deflate_stored(s, flush) :
# 1041|                    s->strategy == Z_HUFFMAN_ONLY ? deflate_huff(s, flush) :

Error: CPPCHECK_WARNING (CWE-457): [#def96]
zlib-ng-2.2.4/inflate.c:1334: warning[uninitvar]: Uninitialized variable: buf
# 1332|           }
# 1333|           state->have = 0;
# 1334|->         syncsearch(&(state->have), buf, len);
# 1335|       }
# 1336|   

Error: COMPILER_WARNING: [#def97]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-Ao6oAf/src.c:8:55: note[note]: called from here

Error: COMPILER_WARNING: [#def98]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-DwCXWv/src.c:2:9: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI

Error: COMPILER_WARNING: [#def99]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-DwCXWv/src.c:2:17: note[note]: the ABI for passing parameters with 64-byte alignment has changed in GCC 4.6

Error: COMPILER_WARNING: [#def100]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-DwCXWv/src.c:3:25: note[note]: called from here

Error: COMPILER_WARNING: [#def101]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-DwCXWv/src.c:4:20: note[note]: called from here

Error: COMPILER_WARNING: [#def102]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-GWLQ4P/src.c:2:9: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI

Error: COMPILER_WARNING: [#def103]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-GWLQ4P/src.c:2:17: note[note]: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6

Error: COMPILER_WARNING: [#def104]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-GWLQ4P/src.c:3:31: note[note]: called from here

Error: COMPILER_WARNING: [#def105]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-GWLQ4P/src.c:4:20: note[note]: called from here

Error: COMPILER_WARNING: [#def106]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-QGlK8S/src.c:3:54: note[note]: called from here

Error: COMPILER_WARNING: [#def107]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-fRsVwQ/src.c:3:13: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI

Error: COMPILER_WARNING: [#def108]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-fRsVwQ/src.c:3:21: note[note]: the ABI for passing parameters with 64-byte alignment has changed in GCC 4.6

Error: COMPILER_WARNING: [#def109]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-fRsVwQ/src.c:4:29: note[note]: called from here

Error: COMPILER_WARNING: [#def110]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-fRsVwQ/src.c:5:24: note[note]: called from here

Error: COMPILER_WARNING: [#def111]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-gZhy82/src.c:4:18: note[note]: called from here

Error: COMPILER_WARNING: [#def112]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-mtvZZ9/src.c:2:9: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI

Error: COMPILER_WARNING: [#def113]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-mtvZZ9/src.c:2:17: note[note]: the ABI for passing parameters with 64-byte alignment has changed in GCC 4.6

Error: COMPILER_WARNING: [#def114]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-mtvZZ9/src.c:3:23: note[note]: called from here

Error: COMPILER_WARNING: [#def115]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-mtvZZ9/src.c:4:18: note[note]: called from here

Error: COMPILER_WARNING: [#def116]
zlib-ng-2.2.4/redhat-linux-build-compat/CMakeFiles/CMakeScratch/TryCompile-uneQnH/src.c:2:65: note[note]: called from here

Error: GCC_ANALYZER_WARNING (CWE-835): [#def117]
zlib-ng-2.2.4/redhat-linux-build-compat/gzread.c:215:17: warning[-Wanalyzer-infinite-loop]: infinite loop
zlib-ng-2.2.4/redhat-linux-build-compat/gzread.c:500:17: enter_function: entry to ‘gzgets’
#  213|   
#  214|       do {
#  215|->         switch (state->how) {
#  216|           case LOOK:      /* -> LOOK, COPY (only if never GZIP), or GZIP */
#  217|               if (gz_look(state) == -1)

Error: COMPILER_WARNING: [#def118]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-1hfTEn/src.c:3:13: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI

Error: COMPILER_WARNING: [#def119]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-1hfTEn/src.c:3:21: note[note]: the ABI for passing parameters with 64-byte alignment has changed in GCC 4.6

Error: COMPILER_WARNING: [#def120]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-1hfTEn/src.c:4:29: note[note]: called from here

Error: COMPILER_WARNING: [#def121]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-1hfTEn/src.c:5:24: note[note]: called from here

Error: COMPILER_WARNING: [#def122]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-OKJ59s/src.c:8:55: note[note]: called from here

Error: COMPILER_WARNING: [#def123]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-S5Y6gU/src.c:4:18: note[note]: called from here

Error: COMPILER_WARNING: [#def124]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-W3opRR/src.c:2:9: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI

Error: COMPILER_WARNING: [#def125]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-W3opRR/src.c:2:17: note[note]: the ABI for passing parameters with 64-byte alignment has changed in GCC 4.6

Error: COMPILER_WARNING: [#def126]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-W3opRR/src.c:3:25: note[note]: called from here

Error: COMPILER_WARNING: [#def127]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-W3opRR/src.c:4:20: note[note]: called from here

Error: COMPILER_WARNING: [#def128]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-fo65pZ/src.c:2:9: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI

Error: COMPILER_WARNING: [#def129]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-fo65pZ/src.c:2:17: note[note]: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6

Error: COMPILER_WARNING: [#def130]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-fo65pZ/src.c:3:31: note[note]: called from here

Error: COMPILER_WARNING: [#def131]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-fo65pZ/src.c:4:20: note[note]: called from here

Error: COMPILER_WARNING: [#def132]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-g2wmXk/src.c:2:9: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI

Error: COMPILER_WARNING: [#def133]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-g2wmXk/src.c:2:17: note[note]: the ABI for passing parameters with 64-byte alignment has changed in GCC 4.6

Error: COMPILER_WARNING: [#def134]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-g2wmXk/src.c:3:23: note[note]: called from here

Error: COMPILER_WARNING: [#def135]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-g2wmXk/src.c:4:18: note[note]: called from here

Error: COMPILER_WARNING: [#def136]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-k7BFG0/src.c:3:54: note[note]: called from here

Error: COMPILER_WARNING: [#def137]
zlib-ng-2.2.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-tdTKE1/src.c:2:65: note[note]: called from here

Error: GCC_ANALYZER_WARNING (CWE-835): [#def138]
zlib-ng-2.2.4/redhat-linux-build/gzread.c:215:17: warning[-Wanalyzer-infinite-loop]: infinite loop
zlib-ng-2.2.4/redhat-linux-build/gzread.c:500:17: enter_function: entry to ‘zng_gzgets’
#  213|   
#  214|       do {
#  215|->         switch (state->how) {
#  216|           case LOOK:      /* -> LOOK, COPY (only if never GZIP), or GZIP */
#  217|               if (gz_look(state) == -1)

Error: CPPCHECK_WARNING (CWE-476): [#def139]
zlib-ng-2.2.4/test/example.c:682: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dictNew
#  680|       CHECK_ERR(err, "deflateGetDictionary");
#  681|       if (err == Z_OK) {
#  682|->         printf("deflateGetDictionary(): %s\n", dictNew);
#  683|       }
#  684|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def140]
zlib-ng-2.2.4/test/minideflate.c:303:48: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb+")’
zlib-ng-2.2.4/test/minideflate.c:251:8: branch_false: following ‘false’ branch (when ‘argc != 1’)...
 branch_false: ...to here
zlib-ng-2.2.4/test/minideflate.c:296:8: branch_true: following ‘true’ branch (when ‘i != argc’)...
zlib-ng-2.2.4/test/minideflate.c:297:25: branch_true: ...to here
zlib-ng-2.2.4/test/minideflate.c:297:15: acquire_resource: opened here
zlib-ng-2.2.4/test/minideflate.c:298:12: branch_false: following ‘false’ branch...
zlib-ng-2.2.4/test/minideflate.c:302:12: branch_false: ...to here
zlib-ng-2.2.4/test/minideflate.c:302:12: branch_true: following ‘true’ branch (when ‘copyout == 0’)...
zlib-ng-2.2.4/test/minideflate.c:303:48: branch_true: ...to here
zlib-ng-2.2.4/test/minideflate.c:303:48: danger: ‘fopen(*<unknown>, "rb+")’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
#  301|           }
#  302|           if (!copyout) {
#  303|->             char *out_file = (char *)calloc(1, strlen(argv[i]) + 6);
#  304|               if (out_file == NULL) {
#  305|                   fprintf(stderr, "Not enough memory\n");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
zlib-ng-2.2.4/test/minideflate.c:303:48: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb+")’
zlib-ng-2.2.4/test/minideflate.c:251:8: branch_false: following ‘false’ branch (when ‘argc != 1’)...
 branch_false: ...to here
zlib-ng-2.2.4/test/minideflate.c:296:8: branch_true: following ‘true’ branch (when ‘i != argc’)...
zlib-ng-2.2.4/test/minideflate.c:297:25: branch_true: ...to here
zlib-ng-2.2.4/test/minideflate.c:297:15: acquire_memory: allocated here
zlib-ng-2.2.4/test/minideflate.c:298:12: branch_false: following ‘false’ branch...
zlib-ng-2.2.4/test/minideflate.c:302:12: branch_false: ...to here
zlib-ng-2.2.4/test/minideflate.c:302:12: branch_true: following ‘true’ branch (when ‘copyout == 0’)...
zlib-ng-2.2.4/test/minideflate.c:303:48: branch_true: ...to here
zlib-ng-2.2.4/test/minideflate.c:303:48: danger: ‘fopen(*<unknown>, "rb+")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
#  301|           }
#  302|           if (!copyout) {
#  303|->             char *out_file = (char *)calloc(1, strlen(argv[i]) + 6);
#  304|               if (out_file == NULL) {
#  305|                   fprintf(stderr, "Not enough memory\n");

Error: GCC_ANALYZER_WARNING (CWE-775): [#def142]
zlib-ng-2.2.4/test/minigzip.c:202:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(file, "rb")’
zlib-ng-2.2.4/test/minigzip.c:189:8: branch_false: following ‘false’ branch...
zlib-ng-2.2.4/test/minigzip.c:194:5: branch_false: ...to here
zlib-ng-2.2.4/test/minigzip.c:196:10: acquire_resource: opened here
zlib-ng-2.2.4/test/minigzip.c:197:8: branch_false: following ‘false’ branch...
zlib-ng-2.2.4/test/minigzip.c:201:11: branch_false: ...to here
zlib-ng-2.2.4/test/minigzip.c:202:8: danger: ‘fopen(file, "rb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  200|       }
#  201|       out = PREFIX(gzopen)(outfile, mode);
#  202|->     if (out == NULL) {
#  203|           fprintf(stderr, "%s: can't gzopen %s\n", prog, outfile);
#  204|           exit(1);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def143]
zlib-ng-2.2.4/test/minigzip.c:202:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(file, "rb")’
zlib-ng-2.2.4/test/minigzip.c:189:8: branch_false: following ‘false’ branch...
zlib-ng-2.2.4/test/minigzip.c:194:5: branch_false: ...to here
zlib-ng-2.2.4/test/minigzip.c:196:10: acquire_memory: allocated here
zlib-ng-2.2.4/test/minigzip.c:197:8: branch_false: following ‘false’ branch...
zlib-ng-2.2.4/test/minigzip.c:201:11: branch_false: ...to here
zlib-ng-2.2.4/test/minigzip.c:202:8: danger: ‘fopen(file, "rb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#  200|       }
#  201|       out = PREFIX(gzopen)(outfile, mode);
#  202|->     if (out == NULL) {
#  203|           fprintf(stderr, "%s: can't gzopen %s\n", prog, outfile);
#  204|           exit(1);

Error: CPPCHECK_WARNING (CWE-476): [#def144]
zlib-ng-2.2.4/test/test_compress_bound.cc:34: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: uncompressed
#   32|           /* buffer with values for worst case compression */
#   33|           for (int32_t j = 0; j < MAX_LENGTH; j++) {
#   34|->             uncompressed[j] = (uint8_t)j;
#   35|           }
#   36|   

Error: CPPCHECK_WARNING (CWE-476): [#def145]
zlib-ng-2.2.4/test/test_deflate_bound.cc:47: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: uncompressed
#   45|           uncompressed = (uint8_t *)malloc(MAX_LENGTH);
#   46|           ASSERT_TRUE(uncompressed != NULL);
#   47|->         memset(uncompressed, 'a', MAX_LENGTH);
#   48|   
#   49|           for (int32_t i = 0; i < MAX_LENGTH; i++) {

Error: CPPCHECK_WARNING (CWE-476): [#def146]
zlib-ng-2.2.4/test/test_deflate_header.cc:35: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
#   33|       EXPECT_EQ(err, Z_OK);
#   34|   
#   35|->     head->text = 1;
#   36|       head->comment = (uint8_t *)"comment";
#   37|       head->name = (uint8_t *)"name";

Error: CPPCHECK_WARNING (CWE-476): [#def147]
zlib-ng-2.2.4/test/test_deflate_header.cc:36: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
#   34|   
#   35|       head->text = 1;
#   36|->     head->comment = (uint8_t *)"comment";
#   37|       head->name = (uint8_t *)"name";
#   38|       head->hcrc = 1;

Error: CPPCHECK_WARNING (CWE-476): [#def148]
zlib-ng-2.2.4/test/test_deflate_header.cc:37: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
#   35|       head->text = 1;
#   36|       head->comment = (uint8_t *)"comment";
#   37|->     head->name = (uint8_t *)"name";
#   38|       head->hcrc = 1;
#   39|       head->extra = (uint8_t *)"extra";

Error: CPPCHECK_WARNING (CWE-476): [#def149]
zlib-ng-2.2.4/test/test_deflate_header.cc:38: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
#   36|       head->comment = (uint8_t *)"comment";
#   37|       head->name = (uint8_t *)"name";
#   38|->     head->hcrc = 1;
#   39|       head->extra = (uint8_t *)"extra";
#   40|       head->extra_len = (uint32_t)strlen((const char *)head->extra);

Error: CPPCHECK_WARNING (CWE-476): [#def150]
zlib-ng-2.2.4/test/test_deflate_header.cc:39: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
#   37|       head->name = (uint8_t *)"name";
#   38|       head->hcrc = 1;
#   39|->     head->extra = (uint8_t *)"extra";
#   40|       head->extra_len = (uint32_t)strlen((const char *)head->extra);
#   41|   

Error: CPPCHECK_WARNING (CWE-476): [#def151]
zlib-ng-2.2.4/test/test_deflate_header.cc:40: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
#   38|       head->hcrc = 1;
#   39|       head->extra = (uint8_t *)"extra";
#   40|->     head->extra_len = (uint32_t)strlen((const char *)head->extra);
#   41|   
#   42|       err = PREFIX(deflateSetHeader)(&c_stream, head);

Error: CPPCHECK_WARNING (CWE-476): [#def152]
zlib-ng-2.2.4/test/test_deflate_params.cc:62: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: uncompr
#   60|       srand((unsigned)time(&now));
#   61|       for (i = 0; i < UNCOMPR_RAND_SIZE; i++)
#   62|->         uncompr[i] = (uint8_t)(rand() % 256);
#   63|   
#   64|       err = PREFIX(deflateInit)(&c_stream, Z_BEST_SPEED);

Error: CPPCHECK_WARNING (CWE-476): [#def153]
zlib-ng-2.2.4/test/test_deflate_pending.cc:50: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: bits
#   48|       EXPECT_EQ(err, Z_OK);
#   49|   
#   50|->     EXPECT_GE(*bits, 0);
#   51|       EXPECT_LE(*bits, 7);
#   52|   

Error: CPPCHECK_WARNING (CWE-476): [#def154]
zlib-ng-2.2.4/test/test_deflate_pending.cc:51: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: bits
#   49|   
#   50|       EXPECT_GE(*bits, 0);
#   51|->     EXPECT_LE(*bits, 7);
#   52|   
#   53|       /* Finish the stream, still forcing small buffers: */

Error: CPPCHECK_WARNING (CWE-476): [#def155]
zlib-ng-2.2.4/test/test_large_buffers.cc:45: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: uncompr
#   43|       srand((unsigned)time(&now));
#   44|       for (i = 0; i < UNCOMPR_RAND_SIZE; i++)
#   45|->         uncompr[i] = (uint8_t)(rand() % 256);
#   46|   
#   47|       err = PREFIX(deflateInit)(&c_stream, Z_DEFAULT_COMPRESSION);

Error: CPPCHECK_WARNING (CWE-758): [#def156]
zlib-ng-2.2.4/tools/makecrct.c:72: error[shiftTooManyBits]: Shifting 32-bit value by 40 bits is undefined behaviour
#   70|               p = p & 1 ? (p >> 1) ^ POLY : p >> 1;
#   71|           crc_table[i] = p;
#   72|->         crc_big_table[i] = ZSWAP64(p);
#   73|       }
#   74|   

Error: CPPCHECK_WARNING (CWE-758): [#def157]
zlib-ng-2.2.4/tools/makecrct.c:72: error[shiftTooManyBits]: Shifting 32-bit value by 56 bits is undefined behaviour
#   70|               p = p & 1 ? (p >> 1) ^ POLY : p >> 1;
#   71|           crc_table[i] = p;
#   72|->         crc_big_table[i] = ZSWAP64(p);
#   73|       }
#   74|   

Error: CPPCHECK_WARNING (CWE-758): [#def158]
zlib-ng-2.2.4/tools/makecrct.c:95: error[shiftTooManyBits]: Shifting 32-bit value by 40 bits is undefined behaviour
#   93|           for (i = 1; i < 256; i++) {
#   94|               ltl[k][i] = q = multmodp(i << 24, p);
#   95|->             big[w - 1 - k][i] = ZSWAP64(q);
#   96|           }
#   97|       }

Error: CPPCHECK_WARNING (CWE-758): [#def159]
zlib-ng-2.2.4/tools/makecrct.c:95: error[shiftTooManyBits]: Shifting 32-bit value by 56 bits is undefined behaviour
#   93|           for (i = 1; i < 256; i++) {
#   94|               ltl[k][i] = q = multmodp(i << 24, p);
#   95|->             big[w - 1 - k][i] = ZSWAP64(q);
#   96|           }
#   97|       }

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-63.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namezlib-ng-2.2.4-2.fc43
store-results-to/tmp/tmpq5rta_yg/zlib-ng-2.2.4-2.fc43.tar.xz
time-created2025-04-25 16:09:03
time-finished2025-04-25 16:11:08
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpq5rta_yg/zlib-ng-2.2.4-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpq5rta_yg/zlib-ng-2.2.4-2.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9