Snippets for gmp 6.3.0 from Fedora x86_64
Sourced from https://kojipkgs.fedoraproject.org/packages/gmp/6.3.0/5.fc44/data/logs/x86_64/build.log.
-
.././mpn/x86_64/fat/addmul_2.c:34:69: warning: argument 4 of type 'const mp_limb_t[2]' {aka 'const long unsigned int[2]'} with mismatched bound [-Warray-parameter=] 34 | mpn_addmul_2 (mp_ptr rp, mp_srcptr up, mp_size_t n, const mp_limb_t vp[2]) | ~~~~~~~~~~~~~~~~^~~~~ -
matrix22_mul1_inverse_vector.c:44:17: warning: variable 'h1' set but not used [-Wunused-but-set-variable=] 44 | mp_limb_t h0, h1; | ^~ -
matrix22_mul1_inverse_vector.c:44:13: warning: variable 'h0' set but not used [-Wunused-but-set-variable=] 44 | mp_limb_t h0, h1; | ^~ -
rootrem.c:219:22: warning: variable 'c' set but not used [-Wunused-but-set-variable=] 219 | unsigned ulz, snb, c, logk; | ^ -
rootrem.c:514:10: warning: 'rn' may be used uninitialized [-Wmaybe-uninitialized] 514 | return rn; | ^~ -
gcdext.c:303:50: warning: 'matrix_scratch' may be used uninitialized [-Wmaybe-uninitialized] 303 | nn = mpn_hgcd (ap + p, bp + p, n - p, &M, tp + matrix_scratch); | ^ -
../gmp-impl.h:1723:6: warning: value computed is not used [-Wunused-value] 1723 | (3 & mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 3))) | ^ -
../gmp-impl.h:1723:6: warning: value computed is not used [-Wunused-value] 1723 | (3 & mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 3))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../gmp-impl.h:1723:6: warning: value computed is not used [-Wunused-value] 1723 | (3 & mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 3))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../gmp-impl.h:1723:6: warning: value computed is not used [-Wunused-value] 1723 | (3 & mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 3))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../gmp-impl.h:1759:7: warning: value computed is not used [-Wunused-value] 1759 | (15 & 1 * mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 15))) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../gmp-impl.h:1723:6: warning: value computed is not used [-Wunused-value] 1723 | (3 & mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 3))) | ^ -
invertappr.c:230:21: warning: variable 'chk' set but not used [-Wunused-but-set-variable=] 230 | mp_limb_t chk; | ^~~ -
toom_interpolate_12pts.c:137:8: warning: value computed is not used [-Wunused-value] 137 | (255 & 1 * mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 255))) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../gmp-impl.h:1723:6: warning: value computed is not used [-Wunused-value] 1723 | (3 & mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 3))) | ^ -
../gmp-impl.h:1734:6: warning: value computed is not used [-Wunused-value] 1734 | (7 & 3 * mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 5))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../gmp-impl.h:1764:7: warning: value computed is not used [-Wunused-value] 1764 | (31 & 15 * mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 17))) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
sec_div_r.c:86:17: warning: unused variable 'qh' [-Wunused-variable] 86 | mp_limb_t qh, cy; | ^~ -
remove.c:141:12: warning: 'np' may be used uninitialized [-Wmaybe-uninitialized] 141 | np += pn; | ~~~^~~~~ -
doscan.c:473:33: warning: unused variable 'end_fmt' [-Wunused-variable] 473 | const char *fmt, *this_fmt, *end_fmt; | ^~~~~~~ -
osdoprnti.cc:54:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable=] 54 | int ret; | ^~~ -
osmpf.cc:51:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable=] 51 | int ret; | ^~~ -
ismpf.cc:139:5: warning: label 'fail' defined but not used [-Wunused-label] 139 | fail: | ^~~~ -
extract-dbl.c:53:21: warning: unused variable 'manh' [-Wunused-variable] 53 | unsigned long int manh, manl; | ^~~~ -
misc.c:102:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 102 | fread (buf, 1, 6, fs); | ^~~~~~~~~~~~~~~~~~~~~ -
../../mpn/perfsqr.h:23:16: warning: variable ‘r’ set but not used [-Wunused-but-set-variable=] 23 | mp_limb_t r; \ | ^ -
t-bdiv.c:134:20: warning: variable ‘maxdn’ set but not used [-Wunused-but-set-variable=] 134 | mp_size_t maxnn, maxdn, nn, dn, clearn, i; | ^~~~~ -
../../gmp.h:1456:20: warning: ‘ulimb’ may be used uninitialized [-Wmaybe-uninitialized] 1456 | #define mpf_ui_div __gmpf_ui_div
-
../../gmp.h:1296:20: warning: ‘vlimb’ may be used uninitialized [-Wmaybe-uninitialized] 1296 | #define mpf_div_ui __gmpf_div_ui
-
t-cast.cc:34:18: warning: variable ‘i’ set but not used [-Wunused-but-set-variable=] 34 | int i; | ^ -
t-cxx11.cc:166:7: warning: moving ‘x’ of type ‘__gmp_expr<__mpz_struct [1], __mpz_struct [1]>’ to itself [-Wself-move] 166 | x = std::move(x); | ~~^~~~~~~~~~~~~~ -
t-cxx11.cc:166:7: warning: moving ‘x’ of type ‘__gmp_expr<__mpq_struct [1], __mpq_struct [1]>’ to itself [-Wself-move] 166 | x = std::move(x); | ~~^~~~~~~~~~~~~~ -
t-cxx11.cc:166:7: warning: moving ‘x’ of type ‘__gmp_expr<__mpf_struct [1], __mpf_struct [1]>’ to itself [-Wself-move] 166 | x = std::move(x); | ~~^~~~~~~~~~~~~~ -
t-cxx11.cc:166:7: warning: moving ‘x’ of type ‘__gmp_expr<__mpz_struct [1], __mpz_struct [1]>’ to itself [-Wself-move] 166 | x = std::move(x); | ~~^~~~~~~~~~~~~~