public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "tsyvarev at ispras dot ru" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/37958] num_get<>::do_get(bool) sets eofbit flag incorrectly when boolalpha == true Date: Sat, 01 Nov 2008 15:53:00 -0000 [thread overview] Message-ID: <20081101155232.8036.qmail@sourceware.org> (raw) In-Reply-To: <bug-37958-16694@http.gcc.gnu.org/bugzilla/> ------- Comment #11 from tsyvarev at ispras dot ru 2008-11-01 15:52 ------- It is not nitpicking. Case with empty sequences is only demonstration, that code behaviour is not confirm to the standard. Really, it seems that in every succesfull matching it will be unnecessary comparision (in == end). For example, for target sequences "false" and "true" and input sequence "false" eofbit flag won't be set in err, but when __beg points to 'e', (++__beg == __end) in the last if-operator inside for-cycle will return true. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37958
next prev parent reply other threads:[~2008-11-01 15:53 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-10-30 15:01 [Bug libstdc++/37958] New: " tsyvarev at ispras dot ru 2008-10-30 16:09 ` [Bug libstdc++/37958] " paolo dot carlini at oracle dot com 2008-10-30 16:17 ` paolo dot carlini at oracle dot com 2008-10-30 16:53 ` paolo dot carlini at oracle dot com 2008-10-31 10:36 ` tsyvarev at ispras dot ru 2008-10-31 10:37 ` paolo dot carlini at oracle dot com 2008-10-31 10:49 ` tsyvarev at ispras dot ru 2008-10-31 16:50 ` paolo at gcc dot gnu dot org 2008-10-31 16:51 ` paolo dot carlini at oracle dot com 2008-11-01 12:22 ` tsyvarev at ispras dot ru 2008-11-01 12:37 ` paolo dot carlini at oracle dot com 2008-11-01 15:53 ` tsyvarev at ispras dot ru [this message] 2008-11-01 16:03 ` tsyvarev at ispras dot ru 2008-11-01 16:20 ` paolo at gcc dot gnu dot org 2008-11-01 16:23 ` paolo dot carlini at oracle dot com 2008-11-01 18:44 ` tsyvarev at ispras dot ru 2008-11-01 18:49 ` paolo dot carlini at oracle dot com 2008-11-01 19:06 ` paolo dot carlini at oracle dot com 2008-11-01 22:12 ` paolo at gcc dot gnu dot org 2008-11-06 7:17 ` tsyvarev at ispras dot ru 2008-11-06 11:54 ` paolo dot carlini at oracle dot com
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=20081101155232.8036.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: linkBe 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).