------- Comment #1 from pcarlini at suse dot de 2007-05-05 21:11 ------- Hi Dave. This one and the next one are the very same issue, caused by my fix for libstdc++/31117. I would ask you to help me with config/locale/generic/c_locale.cc on hppa. I would ask you first to check separately the various tests in 12.cc and see which one is failing, float, double, long double or all of them (I expect integers to be all fine). I think float is the most tricky to get right. If I remember correctly, for float, in c_locale.cc hppa ends up using the check:
if (fabs(__d) > numeric_limits<float>::max()) __f = __builtin_huge_valf(); on the d: double __d = strtod(__s, &__sanity); and therefore you should check that why a very large __s doesn't lead to a __d which doesn't pass the check above. More generally, you should tell me whether hppa behave as expected wrt the various __builtin_huge_val* builtins: the various strtof, strtod, strtold, sscanf should return floating point values up to __FLT_MAX__, __DBL_MAX__, __LDBL_MAX__, or, +INF, which should be the same as __builtin_huge_valf(), __builtin_huge_val(), respectively, __builtin_huge_vall() and should compare bigger. -- pcarlini at suse dot de changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de |dot org | Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-05-05 21:11:02 date| | Summary|FAIL: |[4.3 Regression] FAIL: |27_io/basic_istream/extracto|27_io/basic_istream/extracto |rs_arithmetic/char/12.cc |rs_arithmetic/char/12.cc |execution test |execution test http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31836