This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33942] FreeBSD gfortran interprets an external function as a library function?
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Oct 2007 19:29:08 -0000
- Subject: [Bug fortran/33942] FreeBSD gfortran interprets an external function as a library function?
- References: <bug-33942-14284@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2007-10-29 19:29 -------
gfortran 4.3.0 supports now the GAMMA intrinsic function. Thus
PROGRAM pgamma
y = gamma(x)
END PROGRAM pgamma
calls the intrinsic gamma function (the so-called true-gamma function
"tgamma"), which is for some reason not supported on your system. (Thus you do
not have a C99 compatible C library.)
For your program, you should use
EXTERNAL GAMMMA
to use your gamma function.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33942