Gentoo: dev-libs/gmp-4.2.1-r1 - TEST "t_import" fails with "-funroll-loops"/"-O3"

Steffen.Bergner at Steffen.Bergner at
Mon Jun 4 14:51:45 CEST 2007

Hi Torbjorn,

thanks for your email.

I got it fixed for gcc 4.1.2. (-Wunsafe...), please have a look into the bugzilla-case.

So "make check" runs fine after all. :)



-----Original Message-----
From: tege at [mailto:tege at] On Behalf Of Torbjorn Granlund
Sent: Monday, June 04, 2007 2:22 PM
To: Bergner, Steffen, GGP-KO
Cc: gmp-bugs at
Subject: Re: Gentoo: dev-libs/gmp-4.2.1-r1 - TEST "t_import" fails with "-funroll-loops"/"-O3"

<Steffen.Bergner at> writes:
There isn't much the GMP developers can do about compiler bugs.  We used to try to work around them, but the compiler bug bandwidth now far exceed any sustainable workaround bandwidth, so we stopped.

I actually suspect the set of correctly compiled non-trivial C programs is approaching the empty set, over the set of compilers.  A workaround might thereby just start triggering bugs in another compiler.

Our current approach to compiler bugs is to boom out to users that they should run "make check" and iterate over several compilers until they get lucky.  We trust the GMP test suite to catch any relevant compiler bug.


More information about the gmp-bugs mailing list