another un-important error with nails

jason at jason at
Sat Nov 8 16:54:06 CET 2008



Reading specs from /usr/lib/gcc/x86_64-pc-linux/4.2.3/specs
Target: x86_64-pc-linux
with: ../gcc-4.2.3/configure --prefix=/usr --enable-shared --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-__cxa_atexit --disable-checking --disable-multilib --with-gnu-ld --verbose --build=x86_64-pc-linux --target=x86_64-pc-linux --host=x86_64-pc-linux
Thread model: posix
gcc version 4.2.3

 ./configure --enable-assert --enable-nails=12 && make && make check   

PASS: t-powm
PASS: t-powm_ui
PASS: t-pow
PASS: t-div_2exp
PASS: reuse
PASS: t-root
PASS: t-perfsqr
PASS: t-jac
PASS: t-bin
PASS: t-get_d
PASS: t-get_d_2exp
PASS: t-get_si
t-set_d.c:60: GNU MP assertion failed: ((z)->_mp_size) == 0 || ((z)->_mp_d)
[((((z)->_mp_size)) >= 0 ? (((z)->_mp_size)) : -(((z)->_mp_size))) - 1] != 0
/bin/sh: line 4:  3050 Aborted                 ${dir}$tst
FAIL: t-set_d
PASS: t-set_si
PASS: t-fac_ui
PASS: t-fib_ui
PASS: t-lucnum_ui
PASS: t-scan
PASS: t-fits
PASS: t-divis
PASS: t-divis_2exp
PASS: t-cong
PASS: t-cong_2exp
PASS: t-sizeinbase
PASS: t-set_str
PASS: t-aorsmul
mpz_cmp_d wrong (from check_low_z_one)
  got  1
  want 0
  y 2
  y 2
  y 00 00 00 00 00 00 00 40
/bin/sh: line 4:  3374 Aborted                 ${dir}$tst
FAIL: t-cmp_d
PASS: t-cmp_si
PASS: t-hamdist
PASS: t-oddeven
PASS: t-popcount
PASS: t-set_f
PASS: t-io_raw
PASS: t-import
PASS: t-export
PASS: t-pprime_p
2 of 56 tests failed
Please report to gmp-bugs at
make[4]: *** [check-TESTS] Error 1

probably as 64-12=52 < 54 double prec size

More information about the gmp-bugs mailing list