Problems with GAMMA functions?
Angelo Graziosi
Angelo.Graziosi@roma1.infn.it
Mon Oct 8 09:04:00 GMT 2007
After reading this http://gcc.gnu.org/ml/fortran/2007-10/msg00115.html, I
did a new GFortran build on CYGWIN, configuring as usually,
${gcc_dir}/configure --prefix=${prefix_dir} \
--exec-prefix=${prefix_dir} \
--sysconfdir=${prefix_dir}/etc \
--libdir=${prefix_dir}/lib \
--libexecdir=${prefix_dir}/lib \
--mandir=${prefix_dir}/share/man \
--infodir=${prefix_dir}/share/info \
--enable-languages=c,fortran \
--enable-bootstrap \
--enable-decimal-float=bid \
--enable-libgomp \
--enable-threads \
--enable-sjlj-exceptions \
--enable-version-specific-runtime-libs \
--enable-nls \
--enable-checking=release \
--disable-fixed-point \
--disable-libmudflap \
--disable-shared \
--disable-win32-registry \
--with-system-zlib \
--without-included-gettext \
--without-x
But the test case I sent in
http://gcc.gnu.org/ml/fortran/2007-10/msg00096.html with
GFortran-4.3.0-20071007-129116 now gives:
$ ./gfc_gamma_test_c302m.exe
Segmentation fault (core dumped)
Cheers,
Angelo.
On Sun, 7 Oct 2007, Thomas Koenig wrote:
> Hi Angelo,
>
> thanks for the report. We are picking up the wrong gamma function
> there. Same thing happens for i686-pc-linux-gnu. We should be using
> tgamma instead.
>
> This is now PR 33683.
>
> Thomas
>
>
>
More information about the Fortran
mailing list