OSDN Git Service

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