This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/33942] FreeBSD gfortran interprets an external function as a library function?



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]