OSDN Git Service

67e5b893f24d8486d87080438648f90881b9ddb7
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2012-01-27  Richard Henderson  <rth@redhat.com>
2
3         * include/bits/atomic_base.h (__atomic_flag_base): Define _M_i
4         based on the value of __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
5         (ATOMIC_FLAG_INIT): Initialize with 0, not false.
6         (atomic_flag::atomic_flag): Use __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
7
8 2012-01-26  Jakub Jelinek  <jakub@redhat.com>
9
10         PR bootstrap/51985
11         * src/c++98/Makefile.am (libc__98_la_SOURCES,
12         libc__98convenience_la_SOURCES): Remove $(inst_sources).
13         * src/c++98/Makefile.in: Regenerated.
14
15 2012-01-25  Richard Sandiford  <rdsandiford@googlemail.com>
16
17         * testsuite/20_util/system_clock/1.cc: Add dg-require-time.
18         * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: Likewise.
19         * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: Likewise.
20         * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: Likewise.
21         * testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Add
22         dg-require-fileio.
23         * testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise.
24         * testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise.
25         * testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise.
26         * testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc:
27         Likewise.
28         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
29
30 2012-01-25  Matthias Klose  <doko@ubuntu.com>
31
32         * testsuite/30_threads/condition_variable_any/requirements: Remove
33         empty directory.
34
35 2012-01-23  Benjamin Kosnik  <bkoz@redhat.com>
36
37         * src/Makefile.am (libstdc++convenience.la): Correct stamp rule, copy.
38         * src/Makefile.in: Regenerate.
39
40 2012-01-23  Benjamin Kosnik  <bkoz@redhat.com>
41
42         PR libstdc++/49829
43         Add libc++98convenience.la, libc++11convenience.la.
44         * src/c++98: New directory.
45         * src/c++11: New directory.
46         * acinclude.m4: (GLIBCXX_CONFIGURE): Add src-c++98, src-c++11.
47         * configure: Regenerated.
48         * Makefile.am (hosted_source): Add src-c++98, src-c++11 to SUBDIRS.
49         * Makefile.in: Regenerate.
50         * libsupc++/Makefile.am (AM_CXXFLAGS): USe XTEMPLATE_FLAGS for
51         -fno-implicit-templates.
52         * libsupc++/Makefile.in: Regenerate.
53         * src/Makefile.am (inst_sources): Move... C++11 files into
54         separate directory for libstdc++11convenience.la. Files are:
55         fstream-inst.cc, string-inst.cc, wlocale-inst.cc, wstring-inst.cc).
56         (sources): Move C++11 files. Files are: compatibility-c++0x.cc,
57         compatibility-atomic-c++0x.cc, debug.cc, functexcept.cc,
58         functional.cc, hash_c++0x.cc, hashtable_c++0x.cc, limits.cc,
59         system_error.cc, placeholders.cc, regex.cc, shared_ptr.cc,
60         mutex.cc, condition_variable.cc, chrono.cc, thread.cc, future.cc.
61         (libstdc++convenience.la): Add new target.
62         (SUBDIRS): Add c++11, c++98.
63         * src/Makefile.in: Regenerate.
64         * src/c++11/Makefile.am: New.
65         * src/c++11/Makefile.in: Generate.
66         * src/c++98/Makefile.am: New, C++98 files.
67         * src/c++98/Makefile.in: Generate.
68
69 2012-01-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
70
71         libstdc++-v3:
72         * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
73         32-bit Solaris 10/x86.
74         * testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
75
76 2012-01-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
77
78         PR libstdc++/50982
79         * testsuite/30_threads/*: Add powerpc-ibm-aix* to target selectors.
80
81 2012-01-19  Jakub Jelinek  <jakub@redhat.com>
82
83         PR libstdc++/51845
84         * include/bits/hashtable.h
85         (_Hashtable<>::erase(const_iterator, const_iterator)): Also update
86         _M_buckets[__n_bkt] if __is_bucket_begin.
87         * testsuite/23_containers/unordered_multimap/erase/51845-multimap.cc:
88         New test.
89
90 2012-01-18  Benjamin Kosnik  <bkoz@redhat.com>
91
92         * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): Fix quoting.
93
94 2012-01-18  Benjamin Kosnik  <bkoz@redhat.com>
95
96         * configure.ac: Move epub checks...
97         * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): ...here, use
98         test -f instead of AC_CHECK_FILES.
99
100 2012-01-18  François Dumont  <fdumont@gcc.gnu.org>
101             Roman Kononov  <roman@binarylife.net>
102
103         PR libstdc++/51866
104         * include/bits/hashtable.h (_Hashtable<>::_M_insert(_Arg, false_type)):
105         Do not keep a reference to a potentially moved instance.
106         * testsuite/23_containers/unordered_multiset/insert/51866.cc: New.
107         * testsuite/23_containers/unordered_multimap/insert/51866.cc: New.
108
109 2012-01-17  Benjamin Kosnik  <bkoz@redhat.com>
110
111         * doc/html/*: Regenerate.
112
113 2012-01-17  Benjamin Kosnik  <bkoz@redhat.com>
114
115         * configure.ac (BUILD_EPUB): Adjust for epub3.
116         * configure: Regenerate.
117         * Makefile.in: Same.
118         * doc/Makefile.am (stamp-epub-docbook): Update for epub3.
119         * doc/Makefile.in: Regenerate.
120         * include/Makefile.in: Same.
121         * libsupc++/Makefile.in: Same.
122         * po/Makefile.in: Same.
123         * python/Makefile.in: Same.
124         * src/Makefile.in: Same.
125         * testsuite/Makefile.in: Same.
126
127         * doc/xml/manual/documentation_hacking.xml: Update.
128
129 2012-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
130
131         PR target/47852
132         * configure.host (irix6.5*): Add -lpthread to OPT_LDFLAGS.
133
134 2012-01-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
135
136         * include/bits/stl_iterator.h (reverse_iterator): Doxygen comments.
137
138 2012-01-13  François Dumont  <fdumont@gcc.gnu.org>
139
140         * include/bits/hashtable_policy.h (_Hash_node_base): New, use it as
141         base class of ...
142         (_Hash_node<Value, true>, _Hash_node<Value, false>): ... those.
143         * include/bits/hashtable.h (_Hashtable): Replace _M_begin_bucket_index
144         by _M_before_begin. Review implementation so that we do not need to
145         look for previous non-empty bucket when inserting nodes.
146
147 2012-01-09  Kai Tietz  <ktietz@redhat.com>
148
149         PR libstc++/51673 part 2
150         * config/abi/pre/gnu-versioned-namespace.ver: Adjusted new/delete
151         operators signature for LLP64 size_t, and adjusted signatures for
152         mt-allocator using size_t.
153
154 2012-01-09  Benjamin Kosnik  <bkoz@redhat.com>
155
156         PR libstc++/51673 part 1
157         * config/abi/pre/gnu-versioned-namespace.ver: Sync cxxabi symbols
158         with gnu.ver.
159
160 2012-01-09  Benjamin Kosnik  <bkoz@redhat.com>
161
162         * fragment.am (WARN_CXXFLAGS): Add -Wabi.
163         * Makefile.in: Regenerate.
164         * doc/Makefile.in: Same.
165         * include/Makefile.in: Same.
166         * libsupc++/Makefile.in: Same.
167         * src/Makefile.in: Same.
168         * testsuite/Makefile.in: Same.
169         * po/Makefile.in: Same.
170         * python/Makefile.in: Same.
171
172 2012-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
173
174         * python/libstdcxx/v6/printers.py (StdForwardListPrinter): Add.
175         * testsuite/libstdc++-prettyprinters/cxx11.cc: New.
176
177 2012-01-06  Jason Merrill  <jason@redhat.com>
178
179         * testsuite/abi/demangle/regression/cw-16.cc (main): Adjust
180         expected demangling.
181
182 2012-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
183
184         PR libstdc++/51504
185         * doc/xml/manual/debug.xml: Suggest using symbol interposition
186         to override symbols using annotation macros.
187
188 2012-01-05  François Dumont  <fdumont@gcc.gnu.org>
189
190         * include/bits/hashtable_policy.h (_Hashtable_base<>::_M_eq()):
191         protected rather than private, use it...
192         * include/bits/hashtable.h (_Hashtable<>::key_eq()): ... here.
193         * testsuite/23_containers/unordered_set/observers.cc: New.
194         * testsuite/23_containers/unordered_multiset/observers.cc: New.
195         * testsuite/23_containers/unordered_map/observers.cc: New.
196         * testsuite/23_containers/unordered_multimap/observers.cc: New.
197
198 2012-01-03  François Dumont  <fdumont@gcc.gnu.org>
199
200         * include/bits/hashtable_policy.h (_Ebo_helper<>): Rename to the more
201         specific _Hashtable_ebo_helper. Hide this implementation detail thanks
202         to private inheritance.
203
204 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
205
206         PR c++/51738
207         * testsuite/23_containers/map/element_access/39901.cc: New.