Justin C. Walker on Sat, 16 Dec 2006 03:32:45 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Lowering compiler optimisation with Apple gcc



On Dec 15, 2006, at 12:11 , Bill Allombert wrote:

Hello PARI-dev,

we regurlarly get bug reports about random problems on Apple platform,
see #504, #523,
<http://pari.math.u-bordeaux.fr/archives/pari-dev-0603/msg00003.html>
<http://pari.math.u-bordeaux.fr/archives/pari-dev-0606/msg00004.html>
and others.

Unfortunately we never have been able to reproduce any of them and
they looks like compilers bugs in various Apple gcc build.

Recent versions of Pari and later versions of the compilers that come with Xcode seem to be fine. I would be hesitant to change this, unless the problems resurface.

Maybe we should lower the default optimisation level to reduce breakage.
Advanced users could still pick higher optimisation level.

Perhaps leave the default as it is, but make it simple to lower it? That may be the case now, but I don't know what the magic strings are. :-}

Justin

--
They said it couldn't be done but sometimes it
doesn't work out that way.
  - Casey Stengel
--