make check fails when optimizing with gcc-2.96-88
Brian Gough
bjg@network-theory.co.uk
Wed Dec 19 13:20:00 GMT 2001
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.
More information about the Gsl-discuss
mailing list