public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: johnb@stl.sarov.ru To: gcc-gnats@gcc.gnu.org Subject: libstdc++/7222: g++ 3.1: locale::operator ==() doesn`t work on std::locale("") locales Date: Sat, 06 Jul 2002 09:56:00 -0000 [thread overview] Message-ID: <20020706165137.22896.qmail@sources.redhat.com> (raw) >Number: 7222 >Category: libstdc++ >Synopsis: g++ 3.1: locale::operator ==() doesn`t work on std::locale("") locales >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sat Jul 06 09:56:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: johnb@stl.sarov.ru >Release: g++ 3.1 >Organization: >Environment: Red Hat Linux release 7.2, g++ v3.1 >Description: Comparision of identical constructed as ("") locales doesn`t work - return fail, but for default ("C") locales it works. See attached testcase. >How-To-Repeat: Compile testcase with g++ 3.1 and run it. >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="locale.cpp" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="locale.cpp" I2luY2x1ZGUgPGlvcz4KI2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4gKCkKIHsKCWludCBy ZXMgPSAwOwoJc3RkOjpsb2NhbGUgbXlsb2NDKCJDIik7CglzdGQ6OmxvY2FsZSBub3RtaW5lQyAo IkMiKTsKCglzdGQ6OmxvY2FsZSBteWxvYygiIik7CglzdGQ6OmxvY2FsZSBub3RtaW5lKCIiKTsK CglpZiAobm90bWluZUMgID09IG15bG9jQykgCgkgIHN0ZDo6Y291dCA8PCAiQyBsb2NhbGVzIGNv bXBhcmlzaW9uIHBhc3NlZFxuIjsKCWVsc2UgewoJICByZXMgPSAxOwoJICBzdGQ6OmNvdXQgPDwg IkMgbG9jYWxlcyBjb21wYXJpc2lvbiBmYWlsZWRcbiI7Cgl9CiAgICAgICAgCglpZiAobm90bWlu ZSAgPT0gbXlsb2MpIAoJICBzdGQ6OmNvdXQgPDwgIlBhc3NlZFxuIjsKCWVsc2UgewoJICByZXMg PSAyOwoJICBzdGQ6OmNvdXQgPDwgIkZhaWxlZFxuIjsKCX0KCQogIHJldHVybiByZXM7CiB9Cg==
next reply other threads:[~2002-07-06 16:56 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-07-06 9:56 johnb [this message] 2002-07-13 12:50 paolo 2002-07-24 23:23 bkoz 2002-07-27 14:56 bkoz
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020706165137.22896.qmail@sources.redhat.com \ --to=johnb@stl.sarov.ru \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).