Re: g++-3.4 bug

2012-02-21 Thread Marc Glisse
On Mon, 20 Feb 2012, Torbjorn Granlund wrote: Marc Glisse marc.gli...@inria.fr writes: Yes, my main concern is whether I should let people notice that the testsuite is failing so they try a more recent compiler, or work around it by disabling the use of __builtin_constant_p for 3.4.* (and

Re: g++-3.4 bug

2012-02-20 Thread Marc Glisse
On Mon, 20 Feb 2012, Richard Guenther wrote: On Thu, 16 Feb 2012, Marc Glisse wrote: Hello, some tests currently fail on gmpxx with g++-3.4 (on shell). This is due to a bug in g++-3.4, which for l=2 says the following is true: __builtin_constant_p(l) (l == 0) it is interesting to insert a

Re: g++-3.4 bug

2012-02-20 Thread Torbjorn Granlund
Richard Guenther rguent...@suse.de writes: ... has have 4.2.x and 4.3.x. But it seems freebsd is stuck with 4.2.2, the last release with GPLv2. I suppose for freebsd testing should focus on LLVM. I think differently. I am developing GMP on FreeBSD systems, and use gcc there. I don't