public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pcarlini at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/31836] [4.3 Regression] FAIL: 27_io/basic_istream/extractors_arithmetic/char/12.cc execution test
Date: Sat, 05 May 2007 20:11:00 -0000	[thread overview]
Message-ID: <20070505201103.6553.qmail@sourceware.org> (raw)
In-Reply-To: <bug-31836-276@http.gcc.gnu.org/bugzilla/>



------- 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


  reply	other threads:[~2007-05-05 20:11 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-05  1:42 [Bug libstdc++/31836] New: " danglin at gcc dot gnu dot org
2007-05-05 20:11 ` pcarlini at suse dot de [this message]
2007-05-05 20:12 ` [Bug libstdc++/31836] [4.3 Regression] " pcarlini at suse dot de
2007-05-05 20:38 ` pcarlini at suse dot de
2007-05-05 21:57 ` pcarlini at suse dot de
2007-05-05 22:03 ` dave at hiauly1 dot hia dot nrc dot ca
2007-05-06  3:01 ` dave at hiauly1 dot hia dot nrc dot ca
2007-05-06  3:02 ` dave at hiauly1 dot hia dot nrc dot ca
2007-05-06  9:16 ` pcarlini at suse dot de
2007-05-06  9:16 ` pcarlini at suse dot de
2007-05-06  9:30 ` pcarlini at suse dot de
2007-05-06 11:51 ` paolo at gcc dot gnu dot org
2007-05-06 11:56 ` pcarlini at suse dot de
2007-05-06 21:35 ` dave at hiauly1 dot hia dot nrc dot ca
2007-05-06 22:08 ` dave at hiauly1 dot hia dot nrc dot ca
2007-05-06 22:59 ` pcarlini at suse dot de
2007-05-06 23:52 ` dave at hiauly1 dot hia dot nrc dot ca
2007-05-07  0:02 ` pcarlini at suse dot de
2007-05-11 16:36 ` amylaar at gcc dot gnu dot org
2007-05-11 17:29 ` pcarlini at suse dot de
2007-05-11 17:32 ` dave at hiauly1 dot hia dot nrc dot ca
2007-05-11 18:02 ` pcarlini at suse dot de
2007-05-11 18:04 ` pcarlini at suse dot de
2007-05-11 18:17 ` pcarlini at suse dot de
2007-05-11 22:38 ` dave at hiauly1 dot hia dot nrc dot ca
2007-05-12  0:22 ` dave at hiauly1 dot hia dot nrc dot ca
2007-05-12  0:51 ` pcarlini at suse dot de
2007-05-12  1:01 ` pcarlini at suse dot de
2007-05-12  1:23 ` dave at hiauly1 dot hia dot nrc dot ca
2007-05-12  1:37 ` dave at hiauly1 dot hia dot nrc dot ca
2007-05-12 18:17 ` pcarlini at suse dot de
2007-05-12 18:54 ` dave at hiauly1 dot hia dot nrc dot ca
2007-05-12 19:26 ` pcarlini at suse dot de
2007-05-14 15:40 ` amylaar at spamcop dot net
2007-05-14 15:54 ` pcarlini at suse dot de
2007-05-14 18:25 ` amylaar at spamcop dot net
2007-06-30  9:12 ` pinskia at gcc dot gnu dot org
2007-07-25 15:33 ` danglin at gcc dot gnu dot org
2007-07-25 15:36 ` danglin at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070505201103.6553.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).