This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: FreeBSD 4.0 support now in


>> The remaining failure is in 27_io/ostream_inserter_arith.cc and has
>> something to do with

> hmm. didn't notice this on 4.0.......

If all tests passed for you, then it appears to be a gcc thing related
to floating point math on FreeBSD 3.4.  For whatever it is worth, this
simple program:

#include <iostream>
int main()
{
  long double val = 1.2345678901234567890123456789e+1000L;

  std::cout << val << std::endl;
}

; /usr/local/bin/g++ t.C; a.out # 2.95.2+
floating point exception--core dumped

; /usr/local/beta-gcc/bin/g++ -static t.C;a.out # recent CVS
floating point exception--core dumped

dumps core with old libstdc++ and v3.  This was the root cause of
the remaining failure.

I see Infinity under Solaris.  If you say this is working under 4.0,
then I don't really care to investigate since IEEE-FP handling was a
known problem area.

Regards,
Loren

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