--disable-nls
--enable-languages=c --with-newlib --disable-libssp
--with-mpfr=/home/beyler/myarch64/local
Thread model: single
gcc version 4.3.3 (GCC)
What's myarch64? I got the correct result for your test with vanilla
gcc-4.3.2 and gmp-4.3.1 on Debian unstable AMD64.
Jie
Jean Christophe Beyler wrote:
Dear all,
Found on http://gmplib.org/.
N.B. gcc 4.3.2 miscompiles GMP 4.3.x on 64-bit machines. The problem
is specific to that very release; specifically gcc 4.3.1 and 4.3.3
seem to work fine.
Since porting to a newer version is difficult for me right now
If it's the bug being discussed here:
http://gmplib.org/list-archives/gmp-discuss/2009-April/003717.html
... then it was reported as fixed here:
http://gcc.gnu.org/ml/gcc/2009-04/msg00562.html
Jay.
Actually, I just finished updating my 4.3.2 to 4.3.3 and tested it and
I still have the same issue.
This seems to be a problem more than just 4.3.2.
Here is the test program:
#include stdio.h
#include gmp.h
int main() {
mpz_t a,b;
mpz_init_set_str(a, 100, 10); // program works
-1.16.0/newlib/libc/include
--prefix=/home/beyler/myarch64/local --disable-nls
--enable-languages=c --with-newlib --disable-libssp
--with-mpfr=/home/beyler/myarch64/local
Thread model: single
gcc version 4.3.3 (GCC)
What's myarch64? I got the correct result for your test with vanilla
gcc-4.3.2
Dear all,
Found on http://gmplib.org/.
N.B. gcc 4.3.2 miscompiles GMP 4.3.x on 64-bit machines. The problem
is specific to that very release; specifically gcc 4.3.1 and 4.3.3
seem to work fine.
Since porting to a newer version is difficult for me right now, I was
wondering if anybody worked
On Wed, Dec 16, 2009 at 7:50 PM, Jean Christophe Beyler
jean.christophe.bey...@gmail.com wrote:
Dear all,
Found on http://gmplib.org/.
N.B. gcc 4.3.2 miscompiles GMP 4.3.x on 64-bit machines. The problem
is specific to that very release; specifically gcc 4.3.1 and 4.3.3
seem to work fine
:
On Wed, Dec 16, 2009 at 7:50 PM, Jean Christophe Beyler
jean.christophe.bey...@gmail.com wrote:
Dear all,
Found on http://gmplib.org/.
N.B. gcc 4.3.2 miscompiles GMP 4.3.x on 64-bit machines. The problem
is specific to that very release; specifically gcc 4.3.1 and 4.3.3
seem to work fine
, Richard Guenther
richard.guent...@gmail.com wrote:
On Wed, Dec 16, 2009 at 7:50 PM, Jean Christophe Beyler
jean.christophe.bey...@gmail.com wrote:
Dear all,
Found on http://gmplib.org/.
N.B. gcc 4.3.2 miscompiles GMP 4.3.x on 64-bit machines. The problem
is specific to that very release