This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: make check fails when optimizing with gcc-2.96-88


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]