Snippets for gmp 6.3.0 from Fedora aarch64
Sourced from https://kojipkgs.fedoraproject.org/packages/gmp/6.3.0/5.fc44/data/logs/aarch64/build.log.
-
dive_1.c:80:47: warning: variable 'dummy' set but not used [-Wunused-but-set-variable=] 80 | mp_limb_t c, h, l, ls, s, s_next, inverse, dummy; | ^~~~~ -
mode1o.c:117:32: warning: variable 'dummy' set but not used [-Wunused-but-set-variable=] 117 | mp_limb_t s, h, l, inverse, dummy, dmul, ret; | ^~~~~ -
mod_1_1.c:287:25: warning: variable 'B2mb' set but not used [-Wunused-but-set-variable=] 287 | mp_limb_t B2modb, B2mb; | ^~~~ -
mod_1_1.c:276:17: warning: unused variable 'B1modb' [-Wunused-variable] 276 | mp_limb_t bi, B1modb; | ^~~~~~ -
mod_1.c:108:14: warning: variable 'dummy' set but not used [-Wunused-but-set-variable=] 108 | mp_limb_t dummy; | ^~~~~ -
mod_1.c:187:14: warning: variable 'dummy' set but not used [-Wunused-but-set-variable=] 187 | mp_limb_t dummy; | ^~~~~ -
../gmp-impl.h:2993:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 2993 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
../gmp-impl.h:4448:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 4448 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
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); | ^ -
tdiv_qr.c:296:28: warning: variable 'dummy' set but not used [-Wunused-but-set-variable=] 296 | mp_limb_t h, dummy; | ^~~~~ -
toom22_mul.c:93:13: warning: unused variable '__gmpn_cpuvec_initialized' [-Wunused-variable] 93 | const int __gmpn_cpuvec_initialized = 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
toom33_mul.c:92:13: warning: unused variable '__gmpn_cpuvec_initialized' [-Wunused-variable] 92 | const int __gmpn_cpuvec_initialized = 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
toom2_sqr.c:72:13: warning: unused variable '__gmpn_cpuvec_initialized' [-Wunused-variable] 72 | const int __gmpn_cpuvec_initialized = 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
toom3_sqr.c:81:13: warning: unused variable '__gmpn_cpuvec_initialized' [-Wunused-variable] 81 | const int __gmpn_cpuvec_initialized = 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
../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))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../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))) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../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; | ^~~ -
../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_powm.c:283:20: warning: variable 'dummy' set but not used [-Wunused-but-set-variable=] 283 | mp_limb_t t, dummy, mip0 = mip[0]; | ^~~~~ -
sec_pi1_div_qr.c:84:31: warning: variable 'dummy' set but not used [-Wunused-but-set-variable=] 84 | mp_limb_t nh, cy, q1h, q0h, dummy, cnd; | ^~~~~ -
sec_pi1_div_r.c:84:31: warning: variable 'dummy' set but not used [-Wunused-but-set-variable=] 84 | mp_limb_t nh, cy, q1h, q0h, dummy, cnd; | ^~~~~ -
add_n_sub_n.c:53:13: warning: unused variable 'scyn' [-Wunused-variable] 53 | mp_limb_t scyn, scyo; /* carry for subtract */ | ^~~~ -
add_n_sub_n.c:52:13: warning: unused variable 'acyn' [-Wunused-variable] 52 | mp_limb_t acyn, acyo; /* carry for add */ | ^~~~ -
sec_div_r.c:86:17: warning: unused variable 'qh' [-Wunused-variable] 86 | mp_limb_t qh, cy; | ^~ -
powm.c:90:40: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 90 | mp_limb_t _p1, _u1, _u0, _m0, _r0, _dummy; \ | ^~~~~~ -
powm.c:90:40: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 90 | mp_limb_t _p1, _u1, _u0, _m0, _r0, _dummy; \ | ^~~~~~ -
powm.c:90:40: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 90 | mp_limb_t _p1, _u1, _u0, _m0, _r0, _dummy; \ | ^~~~~~ -
powm.c:90:40: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 90 | mp_limb_t _p1, _u1, _u0, _m0, _r0, _dummy; \ | ^~~~~~ -
powm.c:90:40: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 90 | mp_limb_t _p1, _u1, _u0, _m0, _r0, _dummy; \ | ^~~~~~ -
powm.c:90:40: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 90 | mp_limb_t _p1, _u1, _u0, _m0, _r0, _dummy; \ | ^~~~~~ -
../gmp-impl.h:2993:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 2993 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
../gmp-impl.h:4458:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 4458 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
../gmp-impl.h:4448:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 4448 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
../gmp-impl.h:4458:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 4458 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
../gmp-impl.h:2993:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 2993 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
../gmp-impl.h:4448:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 4448 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
../gmp-impl.h:4448:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 4448 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
../gmp-impl.h:4458:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 4458 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
../gmp-impl.h:4448:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 4448 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
../gmp-impl.h:4458:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 4458 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
../gmp-impl.h:4448:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 4448 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
../gmp-impl.h:4448:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 4448 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
../gmp-impl.h:4448:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 4448 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
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); | ^~~~~~~~~~~~~~~~~~~~~ -
../gmp-impl.h:2993:20: warning: variable '_dummy' set but not used [-Wunused-but-set-variable=] 2993 | mp_limb_t _ph, _dummy; \ | ^~~~~~ -
../../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); | ~~^~~~~~~~~~~~~~