This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/33583] FAIL: gfortran.dg/gamma_1.f90
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2007 17:58:39 -0000
- Subject: [Bug libfortran/33583] FAIL: gfortran.dg/gamma_1.f90
- References: <bug-33583-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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