GMP 4.1.3 - t-cmp_si fails on x86_64

Kevin Ryde user42 at zip.com.au
Thu Jul 15 01:33:24 CEST 2004


Schoeller Porter <schoeller_porter at yahoo.com> writes:
>
> Relevant info from the RHEL3 system:
> gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-34)
>
> Relevant info from the Suse 9.1 machine (where there is no problem):
> gcc version 3.3.3 (SuSE Linux)

We've had joy from gcc 3.3 too.  I'd suspect a compiler bug if it
seems confined to 3.2.

> mpf_cmp_si wrong on data[6]
>   a=-0.1e1 (-1)
>   b=1 (1)
>   got=0
>   want=-1

That should be fairly straightforward to trace through if you're
inclined.  It's claiming -1 in an mpf_t is equal to +1 in the si
parameter.

-- 
All followups to gmp-bugs at swox.com please.


More information about the gmp-bugs mailing list