This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/31836] [4.3 Regression] FAIL: 27_io/basic_istream/extractors_arithmetic/char/12.cc execution test
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 May 2007 00:22:40 -0000
- Subject: [Bug libstdc++/31836] [4.3 Regression] FAIL: 27_io/basic_istream/extractors_arithmetic/char/12.cc execution test
- References: <bug-31836-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #24 from dave at hiauly1 dot hia dot nrc dot ca 2007-05-12 01:22 -------
Subject: Re: [4.3 Regression] FAIL:
27_io/basic_istream/extractors_arithmetic/char/12.cc execution test
> which code do we have on hppa? _GLIBCXX_HAVE_STRTOLD is defined or not?
It's defined.
The 11.11 man page indicates that single-byte character code sets
are supported. It also states that this function is "to be obsoleted
at a future date."
The code is:
char* __sanity;
long double __ld = strtold(__s, &__sanity);
if (__sanity != __s
&& __ld != __builtin_huge_vall() && __ld != -__builtin_huge_vall())
__v = __ld;
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31836