This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Input stream crash with gcc 3.1/cygwin (stack trace incl.)
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: gcc at gcc dot gnu dot org, dylan at q-games dot com, David dot Billinghurst at riotinto dot com
- Date: Mon, 25 Mar 2002 11:17:05 -0800 (PST)
- Subject: Re: Input stream crash with gcc 3.1/cygwin (stack trace incl.)
Okay. This has been an ongoing issue for a bit. David and I tried to
tackle this on the libstdc++ list, on and off last month. I don't have
full-time access to a cygwin setup, and so it's kind of hard for me to
debug this.
However.
Your email had a pretty good backtrace, and I went through the CVS logs
for the cygwin files, and cross checked this with David's postings on
gcc-testresults. It looks like my 2002-01-20 patch killed ctype support
for this platform.
Can you please try this:
2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
* config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
_ctype_.
Index: ctype_noninline.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/config/os/newlib/bits/ctype_noninline.h,v
retrieving revision 1.8
diff -c -p -r1.8 ctype_noninline.h
*** ctype_noninline.h 2002/01/21 04:08:51 1.8
--- ctype_noninline.h 2002/03/25 19:12:38
***************
*** 35,41 ****
const ctype_base::mask*
ctype<char>::classic_table() throw()
! { return 0; }
ctype<char>::ctype(__c_locale, const mask* __table, bool __del,
size_t __refs)
--- 35,41 ----
const ctype_base::mask*
ctype<char>::classic_table() throw()
! { return _ctype_; }
ctype<char>::ctype(__c_locale, const mask* __table, bool __del,
size_t __refs)