------- Comment #12 from fxcoudert at gcc dot gnu dot org  2007-11-26 17:58 
-------
(In reply to comment #10)
> Bug 33942 was marked as a duplicate of this one, but it is not fixed

PR33942 contains two different issues: first, that using GAMMA in your main
program is calling the system gamma function, and not your internal gamma
function: this one is, unfortunately, is a voluntary change in the behaviour of
gfortran to conform to other compilers and the Fortran 2008 standard (or
whatever its final name will be). You can get rid of that behaviour by adding
"EXTERNAL GAMMA" to your main program, as I stated in my comment to PR33942.
That first part is, as far as we are concerned, not a bug. It is noted in the
4.3 release notes (http://gcc.gnu.org/gcc-4.3/changes.html), along with the
fact that adding "EXTERNAL GAMMA" is the way to go.

The second half of the issue is that, on FreeBSD, there is no gammaf() in libm.
This is what this PR tracks, and this is why PR33942 was closed as a duplicate.

Sorry if that wasn't clear enough.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33583

Reply via email to