This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Suspect warning in __enc_traits constructor
- From: Andreas Schwab <schwab at suse dot de>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Mon, 28 Apr 2003 13:17:01 +0200
- Subject: Re: Suspect warning in __enc_traits constructor
- References: <m38ytvaosx.fsf@whitebox.local><20030427232837.0e6f9151.bkoz@redhat.com>
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."