Re: GMP and GCC 4.3.2

2009-12-18 Thread Jean Christophe Beyler
myarch64 is my port. Then perhaps this is an back-end problem on my port. I'll try to determine this today and keep you posted. Jc On Thu, Dec 17, 2009 at 9:29 PM, Jie Zhang wrote: > On 12/18/2009 06:27 AM, Jean Christophe Beyler wrote: >> >> Actually, I just finished updating my 4.3.2 to 4.3.3

Re: GMP and GCC 4.3.2

2009-12-17 Thread Jie Zhang
On 12/18/2009 06:27 AM, Jean Christophe Beyler wrote: 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 #include int main() { mpz_t a,b; mpz_init_se

Re: GMP and GCC 4.3.2

2009-12-17 Thread Jean Christophe Beyler
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 #include int main() { mpz_t a,b; mpz_init_set_str(a, "100", 10); // program works with 10^9,

Re: GMP and GCC 4.3.2

2009-12-17 Thread Jay Foad
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.

Re: GMP and GCC 4.3.2

2009-12-17 Thread Andrew Haley
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

Re: GMP and GCC 4.3.2

2009-12-16 Thread Steven Bosscher
On Wed, Dec 16, 2009 at 9:54 PM, Jean Christophe Beyler wrote: > I've actually searched but still can't find any mention of such bugs/patches. > > If anybody remembers a key word I could use, that would help. I've > tried "4.3.2" or "GMP" but haven't found anything. I have tried a search on bugs

Re: GMP and GCC 4.3.2

2009-12-16 Thread Jean Christophe Beyler
I've actually searched but still can't find any mention of such bugs/patches. If anybody remembers a key word I could use, that would help. I've tried "4.3.2" or "GMP" but haven't found anything. Thanks a lot, Jc On Wed, Dec 16, 2009 at 2:37 PM, Richard Guenther wrote: > On Wed, Dec 16, 2009 at

Re: GMP and GCC 4.3.2

2009-12-16 Thread Richard Guenther
On Wed, Dec 16, 2009 at 7:50 PM, 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 ne

GMP and GCC 4.3.2

2009-12-16 Thread Jean Christophe Beyler
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