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.