public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: kenny.simpson@gs.com To: gcc-gnats@gcc.gnu.org Cc: theonetruekenny@yahoo.com Subject: libstdc++/3129: std::ios_base::_M_grow_words vs. DR 41 Date: Mon, 11 Jun 2001 14:36:00 -0000 [thread overview] Message-ID: <20010611212844.2266.qmail@sourceware.cygnus.com> (raw) >Number: 3129 >Category: libstdc++ >Synopsis: std::ios_base::_M_grow_words vs. DR 41 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Jun 11 14:36:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: kenny.simpson@gs.com >Release: 20010604 snapshot >Organization: >Environment: source >Description: according to: http://anubis.dkhttp://anubis.dkuug.dk/jtc1/sc22/wg21/docs/lwg-defects.html#41uug.dk/jtc1/sc22/wg21/docs/lwg-defects.html#41 iword/pword should set badbit if they fail and if *this is an object of type basic_ios<>. However, in include/bits/ios_base.h, iword and pword can only fail if _M_grow_words fails. In src/ios.cc, _M_grow_words only returns an empty structure when it fails. There are comments suggesting that this issue was known, but the implementation was not completed. >How-To-Repeat: look at line 223 of src/ios.cc. >Fix: ??? wild suggestion: class ios_base { private: virtual void _M_secret() {} } template <typename charT, typename traits> class basic_ios : public ios_base { private: void _M_secret() { this->setstate(badbit);} }; line 223 of src/ios.cc: _M_secret(); // DR 41: may throw >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2001-06-11 14:36 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-06-11 14:36 kenny.simpson [this message] 2001-06-12 13:58 bkoz 2002-03-29 16:55 bkoz 2002-04-02 18:44 bkoz
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=20010611212844.2266.qmail@sourceware.cygnus.com \ --to=kenny.simpson@gs.com \ --cc=gcc-gnats@gcc.gnu.org \ --cc=theonetruekenny@yahoo.com \ /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).