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++/31370] resizing bugs in std::vector<bool> Date: Mon, 02 Apr 2007 10:16:00 -0000 [thread overview] Message-ID: <20070402101604.22330.qmail@sourceware.org> (raw) In-Reply-To: <bug-31370-14320@http.gcc.gnu.org/bugzilla/> ------- Comment #9 from paolo at gcc dot gnu dot org 2007-04-02 11:16 ------- Subject: Bug 31370 Author: paolo Date: Mon Apr 2 11:15:50 2007 New Revision: 123424 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123424 Log: 2007-04-02 Matthew Levine <gcc@severeweblint.org> Paolo Carlini <pcarlini@suse.de> PR libstdc++/31370 * include/bits/stl_bvector.h (vector<bool>::max_size): Fix. (vector<bool>::_M_check_len): Add. * include/bits/vector.tcc (_M_fill_insert(iterator, size_type, bool), _M_insert_range(iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag), _M_insert_aux(iterator, bool)): Use it. * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: New. * testsuite/23_containers/vector/bool/capacity/29134.cc: Adjust. * include/bits/stl_vector.h (vector<>::_M_check_len): Add. * include/bits/vector.tcc (_M_insert_aux(iterator, const _Tp&), _M_fill_insert(iterator, size_type, const value_type&), _M_range_insert(iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)): Use it. Added: trunk/libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/insert/31370.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/stl_bvector.h trunk/libstdc++-v3/include/bits/stl_vector.h trunk/libstdc++-v3/include/bits/vector.tcc trunk/libstdc++-v3/testsuite/23_containers/vector/bool/capacity/29134.cc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31370
next prev parent reply other threads:[~2007-04-02 10:16 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-03-27 3:03 [Bug libstdc++/31370] New: resizing bugs in std::vector gcc at severeweblint dot org 2007-03-27 3:09 ` [Bug libstdc++/31370] " gcc at severeweblint dot org 2007-03-27 3:20 ` gcc at severeweblint dot org 2007-03-27 6:05 ` [Bug libstdc++/31370] resizing bugs in std::vector<bool> pinskia at gcc dot gnu dot org 2007-03-27 7:52 ` fang at csl dot cornell dot edu 2007-03-27 8:07 ` pcarlini at suse dot de 2007-03-27 19:27 ` gcc at severeweblint dot org 2007-03-27 20:03 ` pcarlini at suse dot de 2007-03-31 16:52 ` pcarlini at suse dot de 2007-04-02 10:16 ` paolo at gcc dot gnu dot org [this message] 2007-04-02 10:19 ` 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=20070402101604.22330.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).