Hi.

Using -flto one can see a test failure:

abuild@marxinbox:~/rpmbuild/BUILD/gmp-6.1.2/tests/mpz> ./t-get_d_2exp 
mpz_get_d_2exp wrong on 2**54-1
result out of range, expect 0.5 <= got < 1.0
   rnd_mode = 0
   data[i]  = 54
   z    =0x3FFFFFFFFFFFFF
   got  =[00 00 00 00 00 00 F0 3F] 1
   got exp  54
Aborted (core dumped)

Step to reproduce: add -flto to CFLAGS. I'm using latest GCC 9.1 release.

Thanks,
Martin

_______________________________________________
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to