OSDN Git Service

2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index c67b5e4..a6a2909 100644 (file)
@@ -1,3 +1,127 @@
+2011-02-28  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
+       * testsuite/20_util/hash/quality.cc: Same.
+
+2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/47921
+       * include/std/streambuf (basic_streambuf<>::__safe_gbump,
+       __safe_pbump): Add.
+       * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
+       xputn): Use the latter.
+       * include/bits/streambuf_iterator.h: Likewise.
+       * src/strstream.cc: Likewise.
+       * src/streambuf.cc: Likewise.
+       * src/compatibility.cc: Likewise.
+       * src/istream.cc: Likewise.
+       * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
+       instead of gbump.
+       * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
+       * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
+       seekpos, _M_sync): Use setg, setp, and _M_pbump.
+       * config/abi/pre/gnu.ver: Tweak.
+
+2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * testsuite/20_util/ratio/comparisons/comp3.cc: New.
+
+2011-02-28  Marc Glisse  <marc.glisse@normalesup.org>
+
+       PR libstdc++/42622
+       * include/std/ratio (ratio_less): Reimplement to never overflow.
+       * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
+
+2011-02-24  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/18_support/type_info/fundamental.cc: New.
+
+       * testsuite/Makefile.am: Make clean fixups.
+       * testsuite/Makefile.in: Regenerate.
+
+2011-02-19  François Dumont  <francois.cppdevs@free.fr>
+
+       * include/debug/string (basic_string::insert): Add iterator check and
+       pass normal iterator to normal insert.
+       * include/debug/macros.h (__glibcxx_check_heap,
+       __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
+       already done.
+
+2011-02-17  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/47776
+       * testsuite/ext/vstring/hash/char/1.cc: Fix.
+       * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
+
+2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/bits/regex.h (basic_regex::traits_type): Add typedef.
+       (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
+       (basic_regex::operator=(basic_regex&&)): Likewise.
+       (basic_regex::assign(basic_regex&&)): Likewise.
+       (operator==(sub_match,...)): Implement DR 1181.
+       (match_results::match_results(match_results&&)): Define.
+       (match_results::operator=(const match_results&)): Fix parameter type.
+       (match_results::operator=(match_results&&)): Define.
+
+2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/47724
+       * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
+       line anchors as metacharacters.
+       * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
+
+2011-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/47773
+       * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
+       hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
+       hash<__gnu_cxx::__u32vstring>): Add.
+       * testsuite/ext/vstring/hash/char/1.cc: New.
+       * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
+
+2011-02-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/bits/regex.h (match_results::format): Use char_traits.
+
+2011-02-16  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/std/atomic: Remove atomic_address, uplift to N3225.
+       * include/bits/atomic_0.h: Same.
+       * include/bits/atomic_2.h: Same.
+       * include/bits/atomic_base.h: Same.
+       * testsuite/29_atomics/atomic_address/*: Delete.
+
+2011-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/bits/regex.h (sub_match::sub_match): Add.
+       (match_results::ready): Add.
+       (match_results::empty): Adjust.
+       (match_results::length): Add missing dereference.
+       (match_results::operator[],prefix,suffix): Add debug mode checks.
+       (match_results::cend): Re-use end().
+       (match_results::format): Adjust signatures.
+       (operator==(match_results,match_results)): Implement.
+       * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
+       * include/bits/regex_constants.h (syntax_option_type): Likewise.
+       * include/bits/regex_grep_matcher.h: Fix comment typo.
+       (_SpecializedResults::_SpecializedResults): Simplify.
+       * include/bits/regex_cursor.h: Fix comment typo.
+       * include/bits/regex_nfa.h: Likewise.
+       * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
+       Fix error code, remove xfail.
+       * testsuite/28_regex/basic_regex/ctors/extended/
+       string_range_01_02_03.cc: Likewise.
+
+2011-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
+       * include/bits/regex_nfa.h: Remove unnecessary base classes.
+
+2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
 2011-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR libstdc++/47709
@@ -6,7 +130,7 @@
        * testsuite/ext/is_heap/47709.cc: New.
 
 2011-02-12  Jakub Jelinek  <jakub@redhat.com>
-            Jonathan Wakely  <jwakely.gcc@gmail.com>
+           Jonathan Wakely  <jwakely.gcc@gmail.com>
 
        PR libstdc++/47662
        * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
 
 2011-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
 
-        * doc/html/ext/lwg-active.html: Update to Revision D73.
-        * doc/html/ext/lwg-closed.html: Likewise.
-        * doc/html/ext/lwg-defects.html: Likewise.
-        * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
+       * doc/html/ext/lwg-active.html: Update to Revision D73.
+       * doc/html/ext/lwg-closed.html: Likewise.
+       * doc/html/ext/lwg-defects.html: Likewise.
+       * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
 
 2011-01-30  Benjamin Kosnik  <bkoz@redhat.com>