public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "paolo at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/23953] using stringstreams causes crashes with some locales Date: Sun, 06 Nov 2005 01:12:00 -0000 [thread overview] Message-ID: <20051106011227.14429.qmail@sourceware.org> (raw) In-Reply-To: <bug-23953-11374@http.gcc.gnu.org/bugzilla/> ------- Comment #7 from paolo at gcc dot gnu dot org 2005-11-06 01:12 ------- Subject: Bug 23953 Author: paolo Date: Sun Nov 6 01:12:23 2005 New Revision: 106553 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106553 Log: 2005-11-05 Paolo Carlini <pcarlini@suse.de> PR libstdc++/23953 * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache, __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0. (__verify_grouping): Do the last check only if __grouping[__min] > 0. (__add_grouping<>): End recursion if *__gbeg <= 0. * testsuite/22_locale/num_get/get/char/23953.cc: New. * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise. * testsuite/22_locale/num_put/put/char/23953.cc: Likewise. * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise. Added: branches/gcc-4_0-branch/libstdc++-v3/testsuite/22_locale/num_get/get/char/23953.cc branches/gcc-4_0-branch/libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/23953.cc branches/gcc-4_0-branch/libstdc++-v3/testsuite/22_locale/num_put/put/char/23953.cc branches/gcc-4_0-branch/libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/23953.cc Modified: branches/gcc-4_0-branch/libstdc++-v3/ChangeLog branches/gcc-4_0-branch/libstdc++-v3/include/bits/locale_facets.tcc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23953
next parent reply other threads:[~2005-11-06 1:12 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-23953-11374@http.gcc.gnu.org/bugzilla/> 2005-11-06 1:12 ` paolo at gcc dot gnu dot org [this message] 2005-11-06 1:13 ` pcarlini at suse dot de 2005-11-06 1:13 ` pcarlini at suse dot de 2006-01-16 13:55 ` pcarlini at suse dot de 2006-02-13 17:28 ` pinskia at gcc dot gnu dot org 2005-09-18 16:24 [Bug libstdc++/23953] New: " plors at hakvoort dot be 2005-09-18 16:25 ` [Bug libstdc++/23953] " plors at hakvoort dot be 2005-09-18 16:45 ` plors at hakvoort dot be 2005-09-18 17:02 ` pinskia at gcc dot gnu dot org 2005-09-18 17:31 ` pcarlini at suse dot de 2005-09-18 17:42 ` pcarlini at suse dot de 2005-09-30 8:42 ` cvs-commit at gcc dot gnu dot org 2005-09-30 8:43 ` pcarlini at suse dot de
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=20051106011227.14429.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).