diff options
author | Paolo Carlini <pcarlini@unitus.it> | 2002-10-27 08:35:06 +0100 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2002-10-27 07:35:06 +0000 |
commit | 085825b83b283c7533aa4d95ceda37231c4c99dd (patch) | |
tree | 2c476023bdd470f4ec06836f5845a7aa69a038c6 /gcc | |
parent | 881fc3545960a3a2da8d7c52fb87fd75039c22e5 (diff) | |
download | gcc-085825b83b283c7533aa4d95ceda37231c4c99dd.zip gcc-085825b83b283c7533aa4d95ceda37231c4c99dd.tar.gz gcc-085825b83b283c7533aa4d95ceda37231c4c99dd.tar.bz2 |
re PR libstdc++/8347 (empty vector range used in string construction causes core dump.)
2002-10-27 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/8347
* include/bits/basic_string.tcc
(string::_S_construct(_InIter, _InIter, const _Alloc&,
forward_iterator_tag)): Do not throw logic error if
__beg == NULL && __end == __beg.
(string::string(const _CharT*, const _Alloc&)): Tweak.
* testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
From-SVN: r58577
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions