public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libstdc++/7413: Solaris 2.6 ctype<char>::classic_table returns incorrect value
@ 2002-07-26  6:26 david.holt2
  0 siblings, 0 replies; 2+ messages in thread
From: david.holt2 @ 2002-07-26  6:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7413
>Category:       libstdc++
>Synopsis:       Solaris 2.6 ctype<char>::classic_table returns incorrect value
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 26 06:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     David Holt
>Release:        gcc-3.1
>Organization:
>Environment:
Solaris 2.6, probably Solaris 2.5 (not verified)
GCC 3.1
>Description:
The Solaris 2.6 function ctype<char>::classic_table() returns a null pointer instead of the __ctype_mask.

This causes all users of the ctype facet with default args to dump core when accessing the ctype member array _M_table, e.g. in the ctype::is function.

One such example where this is used is in all istream::operator>> functions, which currently dump core.
>How-To-Repeat:
Just call operator>> on an istream.
>Fix:
see attached diff
>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: libstdc++/7413: Solaris 2.6 ctype<char>::classic_table returns incorrect value
@ 2002-07-27 14:59 bkoz
  0 siblings, 0 replies; 2+ messages in thread
From: bkoz @ 2002-07-27 14:59 UTC (permalink / raw)
  To: bkoz, david.holt2, gcc-bugs, gcc-prs, nobody

Synopsis: Solaris 2.6 ctype<char>::classic_table returns incorrect value

Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Sat Jul 27 14:59:19 2002
Responsible-Changed-Why:
    Mine.
State-Changed-From-To: open->closed
State-Changed-By: bkoz
State-Changed-When: Sat Jul 27 14:59:19 2002
State-Changed-Why:
    Fixed in 3.1.1 and 3.2.0
    
    -benjamin

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


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

end of thread, other threads:[~2002-07-27 21:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-26  6:26 libstdc++/7413: Solaris 2.6 ctype<char>::classic_table returns incorrect value david.holt2
2002-07-27 14:59 bkoz

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