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 libfortran/68652] gamma function hangs on some arguments, returns NaN on other ones


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68652

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I posted the bug report here, I hope it's the right place now:
> http://sourceforge.net/p/mingw-w64/bugs/517/
>
> Nothing yet.

I wish you good luck!

> However, I had a look at the assembly output, and it's interesting:
> the Fortran gamma function translates to a call to tgamma.
>
> tgamma is a C99 function, which can be found in several places: Apple libm,
> gcc source, glibc, netbsd... and the mingw-w64 source.

Your analysis confirms that the problem is not in libgfortran but in some
system lib. Closing as WORKSFORME.

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