Snippets for gmp 6.3.0 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/gmp/6.3.0/5.fc44/data/logs/i686/build.log.
-
../gmp-impl.h:1230:39: warning: argument 1 of type 'mp_limb_t[4]' {aka 'long unsigned int[4]'} with mismatched bound [-Warray-parameter=] 1230 | __GMP_DECLSPEC void mpn_mod_1_1p_cps (mp_limb_t [4], mp_limb_t); | ^~~~~~~~~~~~~ -
../gmp-impl.h:1234:73: warning: argument 4 of type 'const mp_limb_t[4]' {aka 'const long unsigned int[4]'} with mismatched bound [-Warray-parameter=] 1234 | __GMP_DECLSPEC mp_limb_t mpn_mod_1_1p (mp_srcptr, mp_size_t, mp_limb_t, const mp_limb_t [4]) __GMP_ATTRIBUTE_PURE; | ^~~~~~~~~~~~~~~~~~~ -
../mpn/generic/mod_1_1.c:169:29: warning: argument 1 of type 'mp_limb_t[4]' {aka 'long unsigned int[4]'} with mismatched bound [-Warray-parameter=] 169 | mpn_mod_1_1p_cps (mp_limb_t cps[4], mp_limb_t b) | ~~~~~~~~~~^~~~~~ -
../mpn/generic/mod_1_1.c:199:71: warning: argument 4 of type 'const mp_limb_t[4]' {aka 'const long unsigned int[4]'} with mismatched bound [-Warray-parameter=] 199 | mpn_mod_1_1p (mp_srcptr ap, mp_size_t n, mp_limb_t b, const mp_limb_t bmodb[4]) | ~~~~~~~~~~~~~~~~^~~~~~~~ -
../gmp-impl.h:1257:40: warning: argument 1 of type 'mp_limb_t[7]' {aka 'long unsigned int[7]'} with mismatched bound [-Warray-parameter=] 1257 | __GMP_DECLSPEC void mpn_mod_1s_4p_cps (mp_limb_t [7], mp_limb_t); | ^~~~~~~~~~~~~ -
../gmp-impl.h:1261:74: warning: argument 4 of type 'const mp_limb_t[7]' {aka 'const long unsigned int[7]'} with mismatched bound [-Warray-parameter=] 1261 | __GMP_DECLSPEC mp_limb_t mpn_mod_1s_4p (mp_srcptr, mp_size_t, mp_limb_t, const mp_limb_t [7]) __GMP_ATTRIBUTE_PURE; | ^~~~~~~~~~~~~~~~~~~ -
../mpn/generic/mod_1_4.c:44:30: warning: argument 1 of type 'mp_limb_t[7]' {aka 'long unsigned int[7]'} with mismatched bound [-Warray-parameter=] 44 | mpn_mod_1s_4p_cps (mp_limb_t cps[7], mp_limb_t b) | ~~~~~~~~~~^~~~~~ -
../mpn/generic/mod_1_4.c:90:72: warning: argument 4 of type 'const mp_limb_t[7]' {aka 'const long unsigned int[7]'} with mismatched bound [-Warray-parameter=] 90 | mpn_mod_1s_4p (mp_srcptr ap, mp_size_t n, mp_limb_t b, const mp_limb_t cps[7]) | ~~~~~~~~~~~~~~~~^~~~~~ -
../gmp-impl.h:1239:40: warning: argument 1 of type 'mp_limb_t[5]' {aka 'long unsigned int[5]'} with mismatched bound [-Warray-parameter=] 1239 | __GMP_DECLSPEC void mpn_mod_1s_2p_cps (mp_limb_t [5], mp_limb_t); | ^~~~~~~~~~~~~ -
../gmp-impl.h:1243:74: warning: argument 4 of type 'const mp_limb_t[5]' {aka 'const long unsigned int[5]'} with mismatched bound [-Warray-parameter=] 1243 | __GMP_DECLSPEC mp_limb_t mpn_mod_1s_2p (mp_srcptr, mp_size_t, mp_limb_t, const mp_limb_t [5]) __GMP_ATTRIBUTE_PURE; | ^~~~~~~~~~~~~~~~~~~ -
../mpn/generic/mod_1_2.c:44:30: warning: argument 1 of type 'mp_limb_t[5]' {aka 'long unsigned int[5]'} with mismatched bound [-Warray-parameter=] 44 | mpn_mod_1s_2p_cps (mp_limb_t cps[5], mp_limb_t b) | ~~~~~~~~~~^~~~~~ -
../mpn/generic/mod_1_2.c:84:72: warning: argument 4 of type 'const mp_limb_t[5]' {aka 'const long unsigned int[5]'} with mismatched bound [-Warray-parameter=] 84 | mpn_mod_1s_2p (mp_srcptr ap, mp_size_t n, mp_limb_t b, const mp_limb_t cps[5]) | ~~~~~~~~~~~~~~~~^~~~~~ -
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); | ^ -
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; | ^~ -
../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))) | ^ -
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))) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
toom_interpolate_16pts.c:156:8: warning: value computed is not used [-Wunused-value] 156 | (255 & 1 * mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 255))) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
toom_interpolate_16pts.c:156:8: warning: value computed is not used [-Wunused-value] 156 | (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; | ^~~ -
ismpf.cc:139:5: warning: label 'fail' defined but not used [-Wunused-label] 139 | fail: | ^~~~ -
osmpf.cc:51:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable=] 51 | int ret; | ^~~ -
x86check.c:89:15: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'mp_limb_t' {aka 'long unsigned int'} [-Wformat=] 89 | printf ("%s %s got 0x%08X want 0x%08X\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
x86check.c:89:15: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'mp_limb_t' {aka 'long unsigned int'} [-Wformat=] 89 | printf ("%s %s got 0x%08X want 0x%08X\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
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:27:16: warning: variable ‘r’ set but not used [-Wunused-but-set-variable=] 27 | 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); | ~~^~~~~~~~~~~~~~