This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: what's up with wchar_t bits in 22_locale on ia64?


In article <200303121645 dot h2CGjflr004662 at hiauly1 dot hia dot nrc dot ca>
"John David Anglin"<dave at hiauly1 dot hia dot nrc dot ca> writes:

> The patch reduced the number of locale fails to two on hppa64-hp-hpux11.11:

> Assertion failed: _EX, file /xxx/gnu/gcc-3.3/gcc/libstdc++-v3/testsuite/22_local
> e/ctype/cons/char/1.cc, line 60
> FAIL: 22_locale/ctype/cons/char/1.cc execution test
> Assertion failed: _EX, file /xxx/gnu/gcc-3.3/gcc/libstdc++-v3/testsuite/22_local
> e/ctype/is/char/1.cc, line 136
> FAIL: 22_locale/ctype/is/char/1.cc execution test

Hi Dave,

These are new issues specific to this port.  At least one of the bugs
may be fixed with a patch of this form (untested thus, not committed):

Index: libstdc++-v3/config/os/hpux/ctype_noninline.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/config/os/hpux/ctype_noninline.h,v
retrieving revision 1.1
diff -c -r1.1 ctype_noninline.h
*** libstdc++-v3/config/os/hpux/ctype_noninline.h	24 Jun 2002 05:49:28 -0000	1.1
--- libstdc++-v3/config/os/hpux/ctype_noninline.h	12 Mar 2003 21:17:04 -0000
***************
*** 36,42 ****
  
    const ctype_base::mask*
    ctype<char>::classic_table() throw()
!   { return 0; }
  
    ctype<char>::ctype(__c_locale, const mask* __table, bool __del, 
  		     size_t __refs) 
--- 36,42 ----
  
    const ctype_base::mask*
    ctype<char>::classic_table() throw()
!   { return __SB_masks; }
  
    ctype<char>::ctype(__c_locale, const mask* __table, bool __del, 
  		     size_t __refs) 


> It didn't change the results for hppa-unknown-linux-gnu or i686-pc-linux-gnu.

FYI, I checked in the change that would fix hppa64-hp-hpux11.11, but
the patch I think would work for *-linux-gnu without all the named
locales was posted but not installed.  Can you confirm that you
applied it to your local tree before checking updated results?

Regards,
Loren


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]