Task #1669 - mpfr-4.2.1-3.fc40/scan-results.err

back to task #1669
download
Error: GCC_ANALYZER_WARNING (CWE-457):
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c: scope_hint: In function 'sin_bs_aux'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:375:52: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'accu[k]'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:24: included_from: Included from here.
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:591:3: note: in expansion of macro 'MPFR_ASSERTN'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:2315:2: note: in expansion of macro 'MPFR_GROUP_INIT_TEMPLATE'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:600:3: note: in expansion of macro 'MPFR_GROUP_INIT_2'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:2294:10: note: in expansion of macro 'MPFR_PREC2LIMBS'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:2315:2: note: in expansion of macro 'MPFR_GROUP_INIT_TEMPLATE'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:600:3: note: in expansion of macro 'MPFR_GROUP_INIT_2'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:518:30: note: in expansion of macro 'MPFR_ASSUME'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:475:3: note: in expansion of macro 'MPFR_ASSERTD'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:479:19: note: in expansion of macro 'MPFR_PREC'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:311:3: note: in expansion of macro 'mpz_init'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:518:30: note: in expansion of macro 'MPFR_ASSUME'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:1636:5: note: in expansion of macro 'MPFR_ASSERTD'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:328:3: note: in expansion of macro 'MPFR_MPZ_SIZEINBASE2'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:142: included_from: Included from here.
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:1639:5: note: in expansion of macro 'count_leading_zeros'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:328:3: note: in expansion of macro 'MPFR_MPZ_SIZEINBASE2'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:518:30: note: in expansion of macro 'MPFR_ASSUME'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:1636:5: note: in expansion of macro 'MPFR_ASSERTD'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:335:3: note: in expansion of macro 'MPFR_MPZ_SIZEINBASE2'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:1639:5: note: in expansion of macro 'count_leading_zeros'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:335:3: note: in expansion of macro 'MPFR_MPZ_SIZEINBASE2'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:518:30: note: in expansion of macro 'MPFR_ASSUME'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:1636:5: note: in expansion of macro 'MPFR_ASSERTD'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:336:3: note: in expansion of macro 'MPFR_MPZ_SIZEINBASE2'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:1639:5: note: in expansion of macro 'count_leading_zeros'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:336:3: note: in expansion of macro 'MPFR_MPZ_SIZEINBASE2'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:518:30: note: in expansion of macro 'MPFR_ASSUME'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:349:11: note: in expansion of macro 'MPFR_ASSERTD'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:518:30: note: in expansion of macro 'MPFR_ASSUME'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:349:11: note: in expansion of macro 'MPFR_ASSERTD'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:351:11: note: in expansion of macro 'MPFR_ASSERTN'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:518:30: note: in expansion of macro 'MPFR_ASSUME'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:1636:5: note: in expansion of macro 'MPFR_ASSERTD'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:356:11: note: in expansion of macro 'MPFR_MPZ_SIZEINBASE2'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:1639:5: note: in expansion of macro 'count_leading_zeros'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:356:11: note: in expansion of macro 'MPFR_MPZ_SIZEINBASE2'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:362:7: note: in expansion of macro 'MPFR_ASSERTN'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:518:30: note: in expansion of macro 'MPFR_ASSUME'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:1636:5: note: in expansion of macro 'MPFR_ASSERTD'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:372:7: note: in expansion of macro 'MPFR_MPZ_SIZEINBASE2'
mpfr-4.2.1-build/mpfr-4.2.1/src/mpfr-impl.h:1639:5: note: in expansion of macro 'count_leading_zeros'
mpfr-4.2.1-build/mpfr-4.2.1/src/sin_cos.c:372:7: note: in expansion of macro 'MPFR_MPZ_SIZEINBASE2'
#  373|         mult[k] += 2 * r - size_ptoj[1] - 1;
#  374|         /* the absolute contribution of the next term is 1/2^accu[k] */
#  375|->       accu[k] = (k == 0) ? mult[k] : mult[k] + accu[k-1];
#  376|         prec_i_have = accu[k]; /* the current term is < 1/2^accu[k] */
#  377|         j = (i + 2) / 2;