This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: make check fails when optimizing with gcc-2.96-88
- To: David Necas (Yeti) <yeti at physics dot muni dot cz>, gsl-discuss at sources dot redhat dot com
- Subject: Re: make check fails when optimizing with gcc-2.96-88
- From: Brian Gough <bjg at network-theory dot co dot uk>
- Date: Wed, 8 Aug 2001 20:23:08 +0100 (BST)
- References: <20010808160545.A1979@physics.muni.cz><15217.32048.951986.645577@debian>
Brian Gough writes:
> David Necas (Yeti) writes:
> > I have troubles compiling gsl-0.9 with RH's
> > gcc-2.96-88. When I compile it with CFLAGS=,
> > `make check' passes, however, CFLAGS=-O makes a
> > test to fail and CFLAGS=-O2 makes whole hundreds
> > of tests to fail.
> >
>
> Thanks for the bug reports. As you guessed the -O2 problem is due to
> an error in gcc-2.96. It works ok with gcc-3.0.
>
> The other case is due to the error estimate being too small -- we'll
> fix this for the next release.
Actually the 'exact' value in the test had an insufficient number of
significant figures. I've replaced it with the analytic value to
double-precision accuracy. The test should work now.