This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Suspect warning in __enc_traits constructor


Benjamin Kosnik <bkoz at redhat dot com> writes:

|> >2003-04-27  Andreas Schwab  <schwab at suse dot de>
|> >
|> >	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
|> >	(__enc_traits): Use __ibom and __ebom instead of ignoring them.
|> 
|> There are two new fails from this patch. 
|> 
|> FAIL: 22_locale/codecvt/unicode/char.cc execution test
|> FAIL: 22_locale/codecvt/unicode/wchar_t.cc execution test
|> 
|> Can you please fix these?

I think the use of the BOM is flawed, either a testsuite bug or its use in
codecvt::do_in and codecvt::do_out is broken.  In any way, it is a latent
bug that was just uncovered by my changes, and I don't know the intended
behaviour of this extension.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab at suse dot de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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