public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/3129: std::ios_base::_M_grow_words vs. DR 41
@ 2001-06-12 13:58 bkoz
  0 siblings, 0 replies; 4+ messages in thread
From: bkoz @ 2001-06-12 13:58 UTC (permalink / raw)
  To: bkoz, gcc-bugs, gcc-prs, kenny.simpson, nobody, theonetruekenny

Synopsis: std::ios_base::_M_grow_words vs. DR 41

Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Tue Jun 12 13:50:18 2001
Responsible-Changed-Why:
    mine
State-Changed-From-To: open->analyzed
State-Changed-By: bkoz
State-Changed-When: Tue Jun 12 13:50:18 2001
State-Changed-Why:
    It's a bug, won't be fixed for 3.0, sorry. We'll try to get it fixed soon afterwards.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3129&database=gcc


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libstdc++/3129: std::ios_base::_M_grow_words vs. DR 41
@ 2002-04-02 18:44 bkoz
  0 siblings, 0 replies; 4+ messages in thread
From: bkoz @ 2002-04-02 18:44 UTC (permalink / raw)
  To: bkoz, gcc-bugs, gcc-prs, kenny.simpson, theonetruekenny

Synopsis: std::ios_base::_M_grow_words vs. DR 41

State-Changed-From-To: feedback->closed
State-Changed-By: bkoz
State-Changed-When: Tue Apr  2 18:44:17 2002
State-Changed-Why:
    Fixed.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3129


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libstdc++/3129: std::ios_base::_M_grow_words vs. DR 41
@ 2002-03-29 16:55 bkoz
  0 siblings, 0 replies; 4+ messages in thread
From: bkoz @ 2002-03-29 16:55 UTC (permalink / raw)
  To: bkoz, gcc-bugs, gcc-prs, kenny.simpson, theonetruekenny

Synopsis: std::ios_base::_M_grow_words vs. DR 41

State-Changed-From-To: analyzed->feedback
State-Changed-By: bkoz
State-Changed-When: Fri Mar 29 16:55:37 2002
State-Changed-Why:
    Fix looks like this:
    cc.gnu.org/ml/gcc-patches/2002-03/msg02011.html

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3129


^ permalink raw reply	[flat|nested] 4+ messages in thread

* libstdc++/3129: std::ios_base::_M_grow_words vs. DR 41
@ 2001-06-11 14:36 kenny.simpson
  0 siblings, 0 replies; 4+ messages in thread
From: kenny.simpson @ 2001-06-11 14:36 UTC (permalink / raw)
  To: gcc-gnats; +Cc: theonetruekenny

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-03  2:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-12 13:58 libstdc++/3129: std::ios_base::_M_grow_words vs. DR 41 bkoz
  -- strict thread matches above, loose matches on Subject: below --
2002-04-02 18:44 bkoz
2002-03-29 16:55 bkoz
2001-06-11 14:36 kenny.simpson

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