This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/68652] gamma function hangs on some arguments, returns NaN on other ones
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 05 Dec 2015 13:57:39 +0000
- Subject: [Bug libfortran/68652] gamma function hangs on some arguments, returns NaN on other ones
- Auto-submitted: auto-generated
- References: <bug-68652-4 at http dot gcc dot gnu dot org/bugzilla/>
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.