OSDN Git Service

2014-04-04 Richard Biener <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog-2010
1 2010-12-31  Benjamin Kosnik  <bkoz@redhat.com>
2
3         * scripts/run_doxygen: Allow doxygen 1.7.1 again.
4
5         * doc/xml/manual/build_hacking.xml: Update.
6         * doc/xml/images/confdeps.dot: Same.
7         * doc/xml/images/confdeps.png: Same.
8
9         * configure.ac: Define BUILD_INFO, BUILD_XML, BUILD_HTML,
10         BUILD_MAN, BUILD_PDF, BUILD_EPUB conditionally.
11         * Makefile.am (xml, html, pdf, man, info, pd, dvi, epub): Define,
12         and install rules.
13         * doc/Makefile.am: Same. Add stamp rules.
14         (doc-epub-docbook): Add.
15         (stamp-xml-single-docbook): Make set too.
16         * configure: Regenerate.
17         * Makefile.in: Same.
18         * doc/Makefile.in: Same.
19         * include/Makefile.in: Same.
20         * libsupc++/Makefile.in: Same.
21         * po/Makefile.in: Same.
22         * python/Makefile.in: Same.
23         * src/Makefile.in: Same.
24         * testsuite/Makefile.in: Same.
25         * aclocal.m4: Same.
26
27 2010-12-31  Benjamin Kosnik  <bkoz@redhat.com>
28
29         * doc/doxygen/user.cfg.in: Disable PDF_HYPERLINKS.
30
31 2010-12-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
32
33         PR libstdc++/46869
34         * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc:
35         Compile with -g0.
36         * testsuite/20_util/shared_ptr/cons/constexpr.cc: Likewise.
37         * testsuite/20_util/unique_ptr/cons/constexpr.cc: Likewise.
38         * testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
39
40 2010-12-19  Paolo Carlini  <paolo.carlini@oracle.com>
41
42         * include/bits/basic_string.h (operator+(basic_string<>&&,
43         basic_string<>&&)): Optimize better.
44         * include/ext/vstring.h (operator+(__versa_string<>&&,
45         __versa_string<>&)): Likewise.
46
47 2010-12-19  Paolo Carlini  <paolo.carlini@oracle.com>
48
49         * testsuite/21_strings/basic_string/operators/char/4.cc: New.
50         * testsuite/21_strings/basic_string/operators/wchar_t/4.cc: Likewise.
51         * testsuite/ext/vstring/operators/2.cc: Likewise.
52
53 2010-11-18  Benjamin Kosnik  <bkoz@redhat.com>
54
55         * config/*/*: Use headername alias to associate private includes
56         to public includes.
57         * include/*/*: Same.
58
59         * scripts/run_doxygen: Update for doxygen 1.7.2.
60         * doc/doxygen/user.cfg.in: Same.
61         * doc/doxygen/TODO: Remove.
62
63         * testsuite/*/std_c++0x_neg.cc: Adjust line number.
64
65 2010-12-17  Paolo Carlini  <paolo.carlini@oracle.com>
66
67         * include/bits/basic_string.h (operator+(basic_string<>&&,
68         const basic_string<>&), operator+(const basic_string<>&,
69         basic_string<>&&), operator+(basic_string<>&&, basic_string<>&&),
70         operator+(const _CharT*, basic_string<>&&), operator+(_CharT,
71         basic_string<>&&), operator+(basic_string<>&&, const _CharT*),
72         operator+(basic_string<>&&, _CharT)): Add.
73         * testsuite/21_strings/basic_string/operators/char/3.cc: New.
74         * testsuite/21_strings/basic_string/operators/wchar_t/3.cc: Likewise.
75
76 2010-12-17  Paolo Carlini  <paolo.carlini@oracle.com>
77
78         * aclocal.m4: Regenerate.
79         * Makefile.in: Likewise.
80         * testsuite/Makefile.in: Likewise.
81         * libsupc++/Makefile.in: Likewise.
82         * include/Makefile.in: Likewise.
83         * po/Makefile.in: Likewise.
84         * doc/Makefile.in: Likewise.
85         * src/Makefile.in: Likewise.
86         * python/Makefile.in: Likewise.
87
88 2010-11-16  Benjamin Kosnik  <bkoz@redhat.com>
89
90         * testsuite/util/testsuite_iterators.h: Guard move.h includes.
91         * testsuite/util/testsuite_allocator.h: Same.
92
93         * testsuite/20_util/temporary_buffer.cc: Use typedef, qualify.
94
95         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Define
96         PB_DS_REGRESSION in the source file.
97         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
98         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
99         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
100         * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
101         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
102         * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
103         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
104         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
105
106         * testsuite/21_strings/c_strings/wchar_t/3_neg.cc: Move to this.
107         Use _neg suffix.
108         * testsuite/21_strings/c_strings/wchar_t/3.cc: ...from this.
109         * testsuite/21_strings/c_strings/char/3_neg.cc: Same.
110         * testsuite/21_strings/c_strings/char/3.cc: Same.
111         * testsuite/ext/slist/23781_neg.cc: Same.
112         * testsuite/ext/slist/23781.cc: Same.
113         * testsuite/ext/profile/mutex_extensions.cc: Same.
114         * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
115         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: Same.
116         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
117         * testsuite/tr1/6_containers/tuple/comparison_operators/35480_neg.cc:
118         Same.
119         * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: Same.
120         * testsuite/23_containers/multimap/23781_neg.cc: Same.
121         * testsuite/23_containers/multimap/23781.cc: Same.
122         * testsuite/23_containers/set/23781_neg.cc: Same.
123         * testsuite/23_containers/set/23781.cc: Same.
124         * testsuite/23_containers/multiset/23781_neg.cc: Same.
125         * testsuite/23_containers/multiset/23781.cc: Same.
126         * testsuite/23_containers/list/23781_neg.cc: Same.
127         * testsuite/23_containers/list/23781.cc: Same.
128         * testsuite/23_containers/map/23781_neg.cc: Same.
129         * testsuite/23_containers/map/23781.cc: Same.
130         * testsuite/20_util/duration/cons/dr974_neg.cc: Same.
131         * testsuite/20_util/duration/cons/dr974.cc: Same.
132         * testsuite/20_util/tuple/comparison_operators/35480_neg.cc: Same.
133         * testsuite/20_util/tuple/comparison_operators/35480.cc: Same.
134         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
135         * testsuite/20_util/shared_ptr/cons/43820.cc: Same.
136         * testsuite/20_util/unique_ptr/cons/pointer_array_convertible_neg.cc:
137         Same.
138         * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc: Same.
139
140 2010-12-15  Paolo Carlini  <paolo.carlini@oracle.com>
141
142         * include/ext/vstring.h (operator+(__versa_string<>&&,
143         const __versa_string<>&), operator+(const __versa_string<>&,
144         __versa_string<>&&), operator+(__versa_string<>&&,
145         __versa_string<>&&), operator+(const _CharT*,
146         __versa_string<>&&), operator+(_CharT, __versa_string<>&&),
147         operator+(__versa_string<>&&, const _CharT*),
148         operator+(__versa_string<>&&, _CharT)): Add.
149         * testsuite/ext/vstring/operators/1.cc: New.
150
151 2010-12-15  Jonathan Wakely  <jwakely.gcc@gmail.com>
152
153         PR libstdc++/46951
154         * testsuite/30_threads/future/members/45133.cc: Fix dg-options.
155         * testsuite/30_threads/shared_future/members/45133.cc: Likewise.
156
157 2010-12-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
158
159         PR libstdc++/45133
160         * include/std/future (__basic_future::wait): Throw if not valid.
161         (__basic_future::wait_for): Likewise.
162         (__basic_future::wait_until): Likewise.
163         (__basic_future::_M_get_result): Likewise.
164         * testsuite/30_threads/future/members/45133.cc: New.
165         * testsuite/30_threads/shared_future/members/45133.cc: New.
166
167 2010-12-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
168
169         PR libstdc++/46910
170         * include/bits/shared_ptr_base.h (_Sp_counted_deleter): Do not
171         derive from _Sp_counted_ptr.
172         * testsuite/20_util/shared_ptr/cons/46910.cc: New.
173         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust.
174         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
175
176 2010-12-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
177
178         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
179         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
180         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
181         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
182         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
183
184 2010-12-12  Paolo Carlini  <paolo.carlini@oracle.com>
185
186         * testsuite/util/testsuite_abi.cc (check_version): Don't push back
187         GLIBCXX_3.4.16, unused.
188
189 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
190
191         * testsuite/lib/libstdc++.exp (v3-build_support): Delete
192         libtestc++.a before creation.
193
194 2010-12-10  Jack Howarth  <howarth@bromo.med.uc.edu>
195             Iain Sandoe  <iains@gcc.gnu.org>
196
197         PR 43751/target
198         * testsuite/lib/prune.exp: Prune dsymutil warnings.
199
200 2010-12-08  Nathan Froyd  <froydnj@codesourcery.com>
201
202         PR testsuite/46860
203         * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust.
204         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
205         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
206
207 2010-12-08  Paolo Carlini  <paolo.carlini@oracle.com>
208
209         * include/std/bitset (_Base_bitset<>::_Base_bitset(),
210         _Base_bitset(unsigned long)): Simplify.
211
212 2010-12-07  François Dumont  <francois.cppdevs@free.fr>
213
214         * include/bits/stl_iterator.h: Add move_iterator operators overloads
215         to make it robust to template abuses.
216         * testsuite/util/testsuite_greedy_ops.h: New.
217         * testsuite/23_containers/vector/types/1.cc: Use latter.
218         * testsuite/23_containers/deque/types/1.cc: Likewise.
219         * testsuite/24_iterators/move_iterator/greedy_ops.cc: New.
220         * testsuite/24_iterators/normal_iterator/greedy_ops.cc: New.
221         * testsuite/24_iterators/reverse_iterator/greedy_ops.cc: New.
222         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
223         line numbers.
224
225 2010-12-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
226
227         PR libstdc++/46830
228         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
229         Early return when this == &__rcs.
230
231 2010-12-06  Paolo Carlini  <paolo.carlini@oracle.com>
232
233         * include/bits/shared_ptr.h (shared_ptr<>::shared_ptr(_Tp1*, _Deleter,
234         const _Alloc&), shared_ptr(nullptr_t, _Deleter, const _Alloc&)): Take
235         the allocator by value, per N3225.
236         (shared_ptr<>::shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...),
237         allocate_shared(_Alloc, _Args&&...): Viceversa, take the allocator
238         by const lvalue ref.
239         * include/bits/shared_ptr_base.h (__shared_count<>::
240         __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...),
241         __shared_ptr<>::__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...),
242         __allocate_shared(_Alloc, _Args&&...)): Likewise.
243         (__shared_ptr<>::__shared_ptr(_Tp1*, _Deleter, const _Alloc&),
244         __shared_ptr(nullptr_t, _Deleter, const _Alloc&), reset(_Tp1*,
245         _Deleter, const _Alloc&)): Take the allocator by value.
246         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust dg-error line
247         numbers.
248         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
249
250 2010-12-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
251
252         * acinclude.m4 (symvers_renaming): Also set if enable_symvers = no.
253         * configure: Regenerate.
254
255 2010-12-06  Paolo Carlini  <paolo.carlini@oracle.com>
256
257         PR libstdc++/46821
258         * include/std/tuple (_Head_base<,, true>::_M_swap_impl):
259         Swap the empty bases.
260         (_Head_base<,, false>::_M_swap_impl): Minor tweak.
261         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
262         line number.
263
264 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
265
266         PR target/40125
267         PR lto/46695
268         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
269         * configure.host (OPT_LDFLAGS): Use lt_host_flags for cygming.
270         * aclocal.m4: Regenerate.
271         * configure: Regenerate.
272         * Makefile.in: Regenerate.
273         * doc/Makefile.in: Regenerate.
274         * include/Makefile.in: Regenerate.
275         * libsupc++/Makefile.in: Regenerate.
276         * po/Makefile.in: Regenerate.
277         * python/Makefile.in: Regenerate.
278         * src/Makefile.in: Regenerate.
279         * testsuite/Makefile.in: Regenerate.
280
281 2010-12-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
282
283         * include/std/mutex (try_lock, __try_lock_impl): Fix.
284         (lock): Implement using __try_lock_impl.
285         * testsuite/30_threads/try_lock/2.cc: Fix logic.
286         * testsuite/30_threads/try_lock/4.cc: New.
287         * testsuite/30_threads/lock/1.cc: New.
288         * testsuite/30_threads/lock/2.cc: New.
289         * testsuite/30_threads/lock/3.cc: New.
290         * testsuite/30_threads/lock/4.cc: New.
291
292 2010-12-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
293
294         * src/future.cc (future_category): Export compatibility symbol.
295         * config/abi/pre/gnu.ver: Move _ZSt15future_categoryv to 3.4.15
296         version.
297
298 2010-12-02  François Dumont  <francois.cppdevs@free.fr>
299
300         * testsuite/23_containers/vector/requirements/explicit_instantiation/
301         2.cc: Hide explicit instantiation with non default constructible type
302         in C++0x mode.
303         * testsuite/23_containers/deque/requirements/explicit_instantiation/
304         2.cc: Likewise.
305         * testsuite/23_containers/list/requirements/explicit_instantiation/
306         2.cc: Likewise.
307
308 2010-12-02  Kai Tietz  <kai.tietz@onevision.com>
309
310         PR libstdc++/43738
311         * config/io/basic_file_stdio.cc (showmanyc): Check _GLIBCXX_NO_IOCTL
312         before use of ioctl.
313         * config/os/mingw32/os_defines.h (_GLIBCXX_NO_IOCTL): New.
314
315 2010-12-01  François Dumont  <francois.cppdevs@free.fr>
316
317         * testsuite/23_containers/deque/cons/2.cc: Fix to explicitly invoke
318         the copy constructor with or without C++0x mode.
319         * testsuite/23_containers/vector/cons/4.cc: Likewise.
320
321 2010-12-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
322
323         * scripts/extract_symvers.pl: New file.
324         * scripts/extract_symvers: Rename to ...
325         * scripts/extract_symvers.in: ... this.
326         Use extract_symvers.pl on SunOS.
327         * configure.ac: Add scripts/extract_symvers to AC_CONFIG_FILES.
328         * configure: Regenerate.
329         * Makefile.in: Regenerate.
330         * testsuite/Makefile.am (extract_symvers): Call extract_symvers
331         from $(glibcxx_builddir).
332         * testsuite/Makefile.in: Regenerate.
333         * testsuite/libstdc++-abi/abi.exp: Call extract_symvers from
334         $objdir.
335
336         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
337         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
338         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
339         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
340         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
341
342 2010-11-30  Paolo Carlini  <paolo.carlini@oracle.com>
343
344         PR libstdc++/46718
345         * include/std/type_traits (__is_nullptr_t): Add.
346         (is_scalar): Use the latter.
347         * testsuite/20_util/is_scalar/value.cc: New.
348         * testsuite/20_util/is_scalar/requirements/typedefs.cc: Likewise.
349         * testsuite/20_util/is_scalar/requirements/explicit_instantiation.cc:
350         Likewise.
351         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
352         Adjust dg-error line numbers.
353         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
354         Likewise.
355         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
356
357 2010-11-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
358
359         PR libstdc++/46689
360         * testsuite/20_util/shared_ptr/comparison/cmp.cc: Remove tests for
361         invalid comparisons.
362
363 2010-11-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
364
365         * include/bits/shared_ptr_base.h (operator>, operator>=, operator<=):
366         Remove comparisons not specified in the C++0x draft.
367
368 2010-11-27  François Dumont  <francois.cppdevs@free.fr>
369
370         * include/debug/unordered_map (unordered_multimap<>::erase): Fix to
371         erase all elements associated to the key.
372         * include/debug/unordered_set (unordered_multiset<>::erase): Likewise.
373         * testsuite/23_containers/unordered_multimap/erase/1.cc: Modify to
374         check for multiple erase.
375         * testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise.
376
377 2010-11-27  François Dumont  <francois.cppdevs@free.fr>
378
379         * include/debug/unordered_map, unordered_set (unordered_map<>::insert,
380         unordered_multimap<>::insert, unordered_set<>::insert,
381         unordered_multiset<>::insert) Debug check iterator hint and pass it to
382         normal implementation.
383
384 2010-11-27  François Dumont  <francois.cppdevs@free.fr>
385
386         * include/debug/bitset (bitset<>::reference): Clean code, use normal
387         reference type in experimental mode.
388         * testsuite/23_containers/bitset/debug/invalid/1.cc: Fix for
389         experimental mode.
390
391 2010-11-26  François Dumont  <francois.cppdevs@free.fr>
392
393         * testsuite/lib/libstdc++.exp ([check_v3_target_debug_mode]): Use
394         remote_file delete for generated exe.
395         ([check_v3_target_profile_mode]): Add.
396         * testsuite/lib/dg-options.exp ([dg-require-profile-mode]): Add
397         * testsuite/ext/profile/mh.cc, profiler_algos.cc, all.cc: Use
398         dg-require-profile-mode, remove explicit _GLIBCXX_PROFILE definition.
399
400 2010-11-25  François Dumont  <francois.cppdevs@free.fr>
401
402         * src/debug.cc: Introduce a mutex pool in get_safe_base_mutex.
403         Move code used to manipulate sequence safe iterators from safe
404         iterator methods to safe sequence ones. Remove usage of safe iterator
405         mutex, keep _Safe_iterator_base::_M_get_mutex for library backward
406         binary compatibility.
407         * src/Makefile.am: Build debug.cc in gnu++0x mode for _Hash_impl usage.
408         * src/Makefile.in: Regenerate
409         * include/debug/safe_base.h: Add _Safe_iterator_base _M_invalidate
410         and _M_reset. Add _Safe_sequence_base _M_attach, _M_attach_single,
411         _M_detach and _M_detach_single.
412         * include/debug.safe_iterator.h, safe_iterator.tcc: Remove
413         _Safe_iterator _M_invalidate and _M_invalidate_single. Implement all
414         methods in terms of normal iterators rather than safe ones.
415         * include/debug/safe_sequence.h: Replace _Safe_sequence
416         _M_transfe_iter with _M_transfer_from_if taking the source sequence
417         and a predicate signaling when a safe iterator shall be transfered.
418         Add _Equal_to predicate.
419         * include/debug/safe_sequence.tcc: New.
420         * include/Makefile.am: Adjust.
421         * include/Makefile.in: Regenerate.
422         * include/debug/forward_list: Swap safe iterators in move constructor.
423         Do not invalidate before begin in _M_invalidate_all method.
424         Reimplement safe methods using normal iterators rather than safe ones.
425         * include/debug/set.h, unordered_map, multiset.h, vector,
426         unordered_set, deque, map.h, list, multimap.h: Reimplement safe method
427         using normal iterators rather than safe ones.
428         * testsuite/23_containers/forward_list/debug/clear.cc, swap.cc,
429         move_constructor.cc, splice_after.cc, splice_after1.cc,
430         splice_after2.cc, splice_after3.cc, splice_after4.cc: New.
431         * testsuite/23_containers/vector/debug/multithreaded_swap.cc: New.
432
433 2010-11-24  Benjamin Kosnik  <bkoz@redhat.com>
434
435         * include/std/tuple: Mark more constructors constexpr.
436         * include/bits/stl_pair.h: Same.
437         * testsuite/20_util/tuple/requirements/dr801.cc: New.
438         * testsuite/20_util/pair/requirements/dr801.cc: New.
439         * testsuite/20_util/tuple/cons/constexpr.cc: Add cases for new
440         constexpr constructors.
441         * testsuite/20_util/pair/cons/constexpr.cc: Same.
442         * testsuite/20_util/pair/comparison_operators/constexpr.cc: New.
443
444         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line number.
445
446 2010-11-24  Paolo Carlini  <paolo.carlini@oracle.com>
447
448         * testsuite/30_threads/future/cons/constexpr.cc: Add dg-require*
449         directives.
450         * testsuite/30_threads/shared_future/cons/constexpr.cc: Likewise.
451
452 2010-11-23  Benjamin Kosnik  <bkoz@redhat.com>
453
454         * include/std/chrono: Constexpr markup for is_monotonic.
455         * src/chrono.cc: Same.
456         * testsuite/20_util/clocks/1.cc: Move...
457         * testsuite/20_util/system_clock/1.cc: ...here.
458         * testsuite/20_util/system_clock/constexpr_data.cc
459         * testsuite/20_util/monotonic_clock/constexpr_data.cc
460
461         * include/std/complex: Mark primary template constexpr.
462         * testsuite/26_numerics/complex/cons/constexpr_primary.cc: Add.
463         * testsuite/26_numerics/complex/complex_value.cc: Move...
464         * testsuite/26_numerics/complex/dr387.cc: Move...
465         * testsuite/26_numerics/complex/value_operations/1.cc: ... here.
466         * testsuite/26_numerics/complex/value_operations/dr387.cc: ...here.
467         * testsuite/26_numerics/complex/value_operations/constexpr.cc: New.
468
469 2010-11-23  Benjamin Kosnik  <bkoz@redhat.com>
470             Jason Merrill  <jason@redhat.com>
471
472         * testsuite/lib/libstdc++.exp: Use scanasm.
473         * testsuite/util/testsuite_common_types.h
474         (constexpr_default_constructible): Add support for non-literal types.
475         (constexpr_single_value_constructible): Same.
476         * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc:
477         Remove xfail.
478         * testsuite/20_util/shared_ptr/cons/constexpr.cc: Add.
479         * testsuite/20_util/unique_ptr/cons/constexpr.cc: Add.
480         * testsuite/20_util/weak_ptr/cons/constexpr.cc: Add.
481         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line number.
482
483 2010-11-23  Benjamin Kosnik  <bkoz@redhat.com>
484             Jonathan Wakely  <jwakely.gcc@gmail.com>
485
486         * include/std/future (shared_future): Default ctor constexpr.
487         (future): Same.
488         * testsuite/30_threads/shared_future/cons/constexpr.cc: New.
489         * testsuite/30_threads/future/cons/constexpr.cc: New.
490
491 2010-11-23  Uros Bizjak  <ubizjak@gmail.com>
492
493         * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Require
494         additional locale name.
495         * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Ditto.
496
497 2010-11-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
498
499         PR libstdc++/46455
500         * include/std/mutex: Define destructors for mutex types which use an
501         init function.
502         * include/ext/concurrence.h: Likewise.
503
504 2010-11-18  Paolo Carlini  <paolo.carlini@oracle.com>
505
506         PR libstdc++/26211 + N3168
507         * include/bits/istream.tcc (basic_istream<>::tellg, seekg(pos_type),
508         seekg(off_type, ios_base::seekdir)): Construct a sentry.
509         (basic_istream<>::seekg(pos_type), seekg(off_type, ios_base::seekdir)
510         putback, unget): Clear eofbit first, per N3168.
511         * testsuite/27_io/basic_istream/seekg/char/26211.cc: New.
512         * testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise.
513         * testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise.
514         * testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise.
515         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Tweak.
516         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
517
518 2010-11-18  H.J. Lu  <hongjiu.lu@intel.com>
519
520         PR other/42670
521         * testsuite/abi/demangle/regression/cw-13.cc: Updated.
522
523 2010-11-18  Paolo Carlini  <paolo.carlini@oracle.com>
524
525         * include/debug/formatter.h (__truth): Remove, unused.
526         (__is_same): Remove, include cpp_type_traits.h instead.
527         (_Parameter::_Parameter(const _Safe_iterator<>&, const char*,
528         _Is_iterator)): Adjust.
529         * include/debug/safe_iterator.h (_Safe_iterator<>::_M_constant):
530         Likewise.
531
532 2010-11-17  François Dumont  <francois.cppdevs@free.fr>
533
534         * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Clean
535         built exe.
536
537 2010-11-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
538
539         PR libstdc++/45711
540         * src/Makefile.am (stamp-debug): Also adjust VPATH.
541         * src/Makefile.in: Regenerate.
542
543 2010-11-15  Jie Zhang  <jie@codesourcery.com>
544
545         * testsuite/ext/profile/mh.cc: Add xfail for uclibc.
546
547 2010-11-14  Matthias Klose  <doko@ubuntu.com>
548
549         * testsuite/28_regex/13_ecmascript: Remove, empty directory.
550         * testsuite/28_regex/02_definitions: Likewise.
551         * testsuite/29_atomics/headers/stdatomic.h: Likewise.
552
553 2010-11-14  Paolo Carlini  <paolo.carlini@oracle.com>
554
555         * include/bits/stl_tree.h (_Rb_tree<>::_M_const_cast_iter): Remove.
556         (_Rb_tree_const_iterator<>::_M_const_cast): Add.
557         (_Rb_tree<>::erase, _M_insert_unique_): Adjust.
558         * include/debug/map.h (map<>::erase, insert): Fix C++0x signatures.
559         * include/debug/multimap.h (multimap<>::erase, insert): Likewise.
560         * include/debug/set.h (set<>::erase, insert): Fix, only cosmetic
561         changes in this case.
562         * include/debug/multiset.h (multiset<>::erase, insert): Likewise.
563         * include/profile/set.h (set<>::insert): Remove redundant macro.
564         * include/profile/multiset.h (multiset<>::insert): Likewise.
565         * include/bits/stl_set.h (set<>::insert): Likewise.
566         * include/bits/stl_multiset.h (multiset<>::insert): Likewise.
567
568 2010-11-12  Ian Lance Taylor  <iant@google.com>
569
570         PR other/46332
571         * testsuite/abi/demangle/abi_examples/14.cc (main): Change
572         expected demangling.
573
574 2010-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
575
576         * include/bits/move.h (forward): Implement N3143, resolving US 90.
577         * testsuite/20_util/forward/a.cc: New.
578         * testsuite/20_util/forward/b.cc: Likewise.
579         * testsuite/20_util/forward/c_neg.cc: Likewise.
580         * testsuite/20_util/forward/d.cc: Likewise.
581         * testsuite/20_util/forward/e.cc: Likewise.
582         * testsuite/20_util/forward/f_neg.cc: Likewise.
583
584 2010-11-10  François Dumont  <francois.cppdevs@free.fr>
585
586         * include/profile/unordered_map (unordered_map<>::_M_profile_size):
587         Simplify, don't take a __new_size argument; adjust all callers.
588
589 2010-11-10  Paolo Carlini  <paolo.carlini@oracle.com>
590
591         PR libstdc++/44436 (partial)
592         PR libstdc++/46148
593         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert_, _M_insert_lower,
594         _M_insert_equal_lower, _M_insert_unique, _M_insert_equal,
595         _M_insert_unique_, _M_insert_equal_): Templatize in C++0x mode,
596         use _GLIBCXX_FORWARD throughout.
597         * include/bits/stl_map.h (map<>::insert(_Pair&&),
598         insert(const_iterator, _Pair&&), operator[](key_type&&): Add.
599         * include/bits/stl_set.h (set<>::insert(value_type&&),
600         insert(const_iterator, value_type&&)): Likewise.
601         * include/bits/stl_multimap.h (multimap<>::insert(_Pair&&),
602         insert(const_iterator, _Pair&&)): Likewise.
603         * include/bits/stl_multiset.h (multiset<>::insert(value_type&&),
604         insert(const_iterator, value_type&&)): Likewise.
605         * include/debug/set.h: Adjust.
606         * include/debug/multiset.h: Likewise.
607         * include/debug/map.h: Likewise.
608         * include/debug/multimap.h: Likewise.
609         * include/profile/set.h: Likewise.
610         * include/profile/multiset.h: Likewise.
611         * include/profile/map.h: Likewise.
612         * include/profile/multimap.h: Likewise.
613         * testsuite/23_containers/multimap/modifiers/insert/1.cc: New.
614         * testsuite/23_containers/multimap/modifiers/insert/2.cc: Likewise.
615         * testsuite/23_containers/multimap/modifiers/insert/3.cc: Likewise.
616         * testsuite/23_containers/multimap/modifiers/insert/4.cc: Likewise.
617         * testsuite/23_containers/set/modifiers/insert/2.cc: Likewise.
618         * testsuite/23_containers/set/modifiers/insert/3.cc: Likewise.
619         * testsuite/23_containers/multiset/modifiers/insert/3.cc: Likewise.
620         * testsuite/23_containers/multiset/modifiers/insert/4.cc: Likewise.
621         * testsuite/23_containers/map/modifiers/insert/2.cc: Likewise.
622         * testsuite/23_containers/map/modifiers/insert/3.cc: Likewise.
623         * testsuite/23_containers/map/modifiers/insert/4.cc: Likewise.
624         * testsuite/23_containers/map/modifiers/insert/5.cc: Likewise.
625         * testsuite/23_containers/map/element_access/2.cc: Likewise.
626         * testsuite/23_containers/map/element_access/46148.cc: Likewise.
627
628         * include/bits/hashtable.h: Trivial naming changes.
629
630 2010-11-10  Paolo Carlini  <paolo.carlini@oracle.com>
631
632         * include/bits/hashtable.h (_Hashtable<>::_Insert_Conv_Type,
633         _Hashtable<>::_Insert_Return_Type): Change to private.
634
635 2010-11-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
636
637         * include/bits/unique_ptr.h: Use static_assert in constexpr
638         constructors.
639         * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Remove xfails.
640         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
641         line number.
642
643 2010-11-09  François Dumont  <francois.cppdevs@free.fr>
644             Johannes Singler  <singler@kit.edu>
645
646         * include/parallel/algobase.h (equal):  Call parallel variant
647         for applicable overloads.
648
649 2010-11-09  Paolo Carlini  <paolo.carlini@oracle.com>
650
651         * include/bits/stl_tree.h (_Rb_tree<>::_M_const_cast_iter): Add
652         and use it throughout.
653
654 2010-11-09  Paolo Carlini  <paolo.carlini@oracle.com>
655
656         PR libstdc++/46385
657         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
658         line number.
659
660 2010-11-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
661
662         * include/bits/unique_ptr.h: Move misplaced static_assert and use
663         tuple's constexpr constructor in constexpr constructors.
664         * testsuite/20_util/unique_ptr/cons/ptr_deleter.cc: New.
665         * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: New.
666
667 2010-11-08  Benjamin Kosnik  <bkoz@redhat.com>
668
669         * doc/doxygen/user.cfg.in: Adjust scanned includes.
670         * include/std/forward_list: Make doxygen file markup unambiguous.
671
672 2010-11-08  Jason Merrill  <jason@redhat.com>
673
674         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
675         expected error.
676
677 2010-11-08  Benjamin Kosnik  <bkoz@redhat.com>
678
679         * include/std/complex (operator==, !=): Mark constexpr.
680         * testsuite/26_numerics/complex/comparison_operators/constexpr.cc: New.
681
682 2010-11-08  Paolo Carlini  <paolo.carlini@oracle.com>
683
684         * include/bits/stl_tree.h (_Rb_tree<>::_M_erase_aux): Add.
685         (_Rb_tree<>::erase(iterator)): Fix in C++0x mode to take
686         const_iterator; remove redundant overload in C++03 mode.
687         (_Rb_tree<>::erase(iterator, iterator)): Likewise.
688         * include/bits/stl_map.h (map<>::erase): Adjust.
689         (map<>::insert): Fix signature in C++0x mode.
690         * include/bits/stl_set.h (set<>::erase): Likewise.
691         (set<>::insert): Likewise.
692         * include/bits/stl_multimap.h (multimap<>::erase): Likewise.
693         (multimap<>::insert): Likewise.
694         * include/bits/stl_multiset.h (multiset<>::erase): Likewise.
695         (multiset<>::insert): Fix signature in C++0x mode.
696         * include/profile/set.h: Adjust.
697         * include/profile/multiset.h: Likewise.
698         * include/profile/map.h: Likewise.
699         * include/profile/multimap.h: Likewise.
700         * testsuite/util/exception/safety.h (erase_base, insert_base):
701         Update.
702
703 2010-11-07  Paolo Carlini  <paolo.carlini@oracle.com>
704
705         * include/profile/unordered_map (unordered_map<>::operator[](_Key&&)):
706         Add.
707
708 2010-11-07  Paolo Carlini  <paolo.carlini@oracle.com>
709
710         * include/profile/bitset (bitset<>::bitset(), bitset<>::
711         bitset(unsigned long long)): Add constexpr specifier.
712
713 2010-11-07  Paolo Carlini  <paolo.carlini@oracle.com>
714
715         * include/debug/bitset: Do not derive from _Safe_sequence_base in
716         C++0x mode, otherwise std::bitset isn't a literal type anymore;
717         adjust everywhere.
718
719         * include/debug/bitset (bitset<>::bitset(), bitset<>::
720         bitset(unsigned long long)):  Add missing constexpr specifier.
721
722 2010-11-05  Benjamin Kosnik  <bkoz@redhat.com>
723
724         * doc/doxygen/user.cfg.in: Add typeindex.
725
726         * testsuite/util/testsuite_common_types.h (constexpr_comparison_eq_ne,
727         constexpr_comparison_operators): New.
728         * testsuite/20_util/duration/comparisons: Move...
729         * testsuite/20_util/duration/comparison_operators: ...here.
730         * testsuite/20_util/duration/comparison_operators/constexpr.cc: New.
731         * testsuite/20_util/time_point/comparison_operators/constexpr.cc: Add.
732
733         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust line
734         numbers.
735         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
736         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
737         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
738
739 2010-11-05  Paolo Carlini  <paolo.carlini@oracle.com>
740
741         * include/bits/shared_ptr.h (shared_ptr<>::__shared_ptr(),
742         shared_ptr<>::shared_ptr(nullptr_t), weak_ptr<>::weak_ptr(),
743         enable_shared_from_this::enable_shared_from_this()): Add constexpr
744         specifier.
745         * include/bits/shared_ptr_base.h (__shared_count::__shared_count(),
746         __shared_count::__shared_count(), __shared_ptr<>::__shared_ptr(),
747         __shared_ptr<>::__shared_ptr(nullptr_t), __weak_ptr<>::__weak_ptr(),
748         __enable_shared_from_this::__enable_shared_from_this()): Likewise.
749         * include/bits/unique_ptr.h (default_delete,
750         unique_ptr<>::unique_ptr(), unique_ptr<>::unique_ptr(nullptr_t)):
751         Likewise.
752         * testsuite/20_util/default_delete/cons/constexpr.cc: Do not xfail.
753         * testsuite/20_util/shared_ptr/cons/constexpr.cc: Remove, the test
754         cannot work for a non-literal type like std::shared_ptr.
755         * testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
756         * testsuite/util/testsuite_common_types.h: Add comments.
757         * testsuite/20_util/unique_ptr/cons/constexpr.cc: Likewise.
758         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust dg-error line
759         numbers.
760         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
761
762 2010-11-05  Benjamin Kosnik  <bkoz@redhat.com>
763
764         * doc/doxygen/user.cfg.in: Remove tr1_impl headers.
765
766         * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
767         constexpr_data.cc: New.
768
769         * testsuite/util/testsuite_tr1.h (LType, LTypeDerived, NLType): New.
770         * testsuite/20_util/is_literal_type/value.cc: New.
771         * testsuite/20_util/is_literal_type/requirements/typedefs.cc: Name.
772         * testsuite/20_util/is_literal_type/requirements/
773         explicit_instantiation.cc: New.
774
775 2010-11-04  Paolo Carlini  <paolo.carlini@oracle.com>
776
777         PR libstdc++/46303
778         * testsuite/30_threads/call_once/constexpr.cc: Add missing dg-require
779         directives.
780         * testsuite/30_threads/mutex/cons/constexpr.cc: Likewise.
781         * testsuite/30_threads/once_flag/cons/constexpr.cc: Likewise.
782
783 2010-11-04  Paolo Carlini  <paolo.carlini@oracle.com>
784
785         * include/std/ratio (ratio_add, ratio_subtract, ratio_multiply,
786         ratio_divide): Declare the data members constexpr.
787         * testsuite/20_util/ratio/requirements/constexpr_data.cc: Extend.
788
789 2010-11-03  Benjamin Kosnik  <bkoz@redhat.com>
790
791         * include/std/tuple (tuple): Make default constructors constexpr.
792         * testsuite/20_util/tuple/cons/constexpr.cc: Add.
793
794         * testsuite/18_support/initializer_list/requirements/
795         constexpr_functions.cc: Add.
796         * testsuite/18_support/initializer_list/constexpr.cc: Add.
797
798 2010-11-03  Paolo Carlini  <paolo.carlini@oracle.com>
799
800         * include/std/limits (__glibcxx_digits10, __glibcxx_max_digits10):
801         Use 643L instead of 643 to avoid overflows on 16-bit machines.
802         * include/ext/numeric_traits.h (__glibcxx_max_digits10): Likewise.
803
804 2010-11-02  Benjamin Kosnik  <bkoz@redhat.com>
805
806         * include/std/chrono: Use typedefs.
807         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust
808         line numbers.
809         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
810         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
811         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
812
813 2010-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
814
815         * include/c_global/cmath (fpclassify, isfinite, isinf, isnan,
816         isnormal, signbit, isgreater, isgreaterequal, isless, islessequal,
817         islessgreater, isunordered): Remove spurious duplicate definition
818         added in the last commit.
819
820         * include/tr1/cmath: Remove tr1_impl leftover macro.
821
822 2010-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
823
824         * include/tr1_impl/cinttypes: Remove, move contents to C++0x
825         and TR1 headers.
826         * include/tr1_impl/cstdlib: Likewise.
827         * include/tr1_impl/cstdio: Likewise.
828         * include/tr1_impl/cctype: Likewise.
829         * include/tr1_impl/boost_sp_counted_base.h: Likewise.
830         * include/tr1_impl/cmath: Likewise.
831         * include/tr1_impl/cfenv: Likewise.
832         * include/tr1_impl/utility: Likewise.
833         * include/tr1_impl/complex: Likewise.
834         * include/tr1_impl/cwchar: Likewise.
835         * include/tr1_impl/type_traits: Likewise.
836         * include/tr1_impl/cstdint: Likewise.
837         * include/tr1_impl/regex: Likewise.
838         * include/tr1_impl/array: Likewise.
839         * include/tr1_impl/cwctype: Likewise.
840         * include/Makefile.am: Adjust.
841         * include/Makefile.in: Regenerate.
842         * src/condition_variable.cc: Adjust; consistently use
843         _GLIBCXX_BEGIN_NAMESPACE and _GLIBCXX_END_NAMESPACE.
844         * src/mutex.cc: Likewise.
845         * src/future.cc: Likewise.
846         * src/atomic.cc: Likewise.
847         * src/chrono.cc: Likewise.
848         * src/thread.cc: Likewise.
849         * include/std/tuple: Likewise.
850         * include/std/utility: Likewise.
851         * include/std/thread: Likewise.: Likewise.
852         * include/std/type_traits: Likewise.
853         * include/std/memory: Likewise.
854         * include/std/future: Likewise.
855         * include/std/ratio: Likewise.
856         * include/std/chrono: Likewise.
857         * include/std/condition_variable: Likewise.
858         * include/std/mutex: Likewise.
859         * include/std/functional: Likewise.
860         * include/std/complex: Likewise.
861         * include/std/typeindex: Likewise.
862         * include/std/array: Likewise.
863         * include/bits/regex_compiler.h: Likewise.
864         * include/bits/regex_grep_matcher.tcc: Likewise.
865         * include/bits/regex_grep_matcher.h: Likewise.
866         * include/bits/regex_constants.h: Likewise.
867         * include/bits/regex_cursor.h: Likewise.
868         * include/bits/regex_nfa.tcc: Likewise.
869         * include/bits/shared_ptr_base.h: Likewise.
870         * include/bits/regex_nfa.h: Likewise.
871         * include/bits/random.tcc: Likewise.
872         * include/bits/regex.h: Likewise.
873         * include/bits/random.h: Likewise.
874         * include/bits/regex_error.h: Likewise.
875         * include/c_global/cinttypes: Likewise.
876         * include/c_global/cstdlib: Likewise.
877         * include/c_global/cstdio: Likewise.
878         * include/c_global/cctype: Likewise.
879         * include/c_global/cmath: Likewise.
880         * include/c_global/cfenv: Likewise.
881         * include/c_global/cwchar: Likewise.
882         * include/c_global/cstdint: Likewise.
883         * include/c_global/cwctype: Likewise.
884         * include/tr1/shared_ptr.h: Likewise.
885         * include/tr1/cinttypes: Likewise.
886         * include/tr1/cstdio: Likewise.
887         * include/tr1/cfenv: Likewise.
888         * include/tr1/utility: Likewise.
889         * include/tr1/cwchar: Likewise.
890         * include/tr1/type_traits: Likewise.
891         * include/tr1/memory: Likewise.
892         * include/tr1/cstdint: Likewise.
893         * include/tr1/regex: Likewise.
894         * include/tr1/cwctype: Likewise.
895         * include/tr1/cstdlib: Likewise.
896         * include/tr1/cctype: Likewise.
897         * include/tr1/cmath: Likewise.
898         * include/tr1/complex: Likewise.
899         * include/tr1/array: Likewise.
900         * include/c_compatibility/fenv.h: Likewise.
901         * include/c_compatibility/stdint.h: Likewise.
902         * include/c_compatibility/inttypes.h: Likewise.
903         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: Adjust
904         dg-error line numbers.
905         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
906         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
907         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
908         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
909         * testsuite/20_util/make_unsigned/requirements/
910         typedefs_neg.cc: Likewise.
911         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
912         * testsuite/20_util/shared_ptr/cons/43820.cc: Likewise.
913         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
914
915 2010-11-02  Paolo Carlini  <paolo.carlini@oracle.com
916
917         * testsuite/28_regex/05_constants/syntax_option_type.cc: Avoid
918         -Wall warnings.
919         * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
920         Likewise.
921         * testsuite/18_support/numeric_limits/requirements/
922         constexpr_functions.cc: Likewise.
923         * testsuite/18_support/numeric_limits/requirements/
924         constexpr_data.cc: Likewise.
925         * testsuite/21_strings/char_traits/requirements/
926         constexpr_functions.cc: Likewise.
927         * testsuite/26_numerics/random/independent_bits_engine/requirements/
928         constexpr_functions.cc: Likewise.
929         * testsuite/26_numerics/random/subtract_with_carry_engine/
930         requirements/constexpr_functions.cc: Likewise.
931         * testsuite/26_numerics/random/subtract_with_carry_engine/
932         requirements/constexpr_data.cc: Likewise.
933         * testsuite/26_numerics/random/discard_block_engine/requirements/
934         constexpr_functions.cc: Likewise.
935         * testsuite/26_numerics/random/discard_block_engine/requirements/
936         constexpr_data.cc: Likewise.
937         * testsuite/26_numerics/random/mersenne_twister_engine/
938         requirements/constexpr_functions.cc: Likewise.
939         * testsuite/26_numerics/random/mersenne_twister_engine/
940         requirements/constexpr_data.cc: Likewise.
941         * testsuite/26_numerics/random/linear_congruential_engine/
942         requirements/constexpr_functions.cc: Likewise.
943         * testsuite/26_numerics/random/linear_congruential_engine/
944         requirements/constexpr_data.cc: Likewise.
945         * testsuite/26_numerics/random/shuffle_order_engine/
946         requirements/constexpr_functions.cc: Likewise.
947         * testsuite/26_numerics/random/shuffle_order_engine/
948         requirements/constexpr_data.cc: Likewise.
949         * testsuite/26_numerics/complex/requirements/
950         constexpr_functions.cc: Likewise.
951         * testsuite/23_containers/bitset/requirements/
952         constexpr_functions.cc: Likewise.
953         * testsuite/23_containers/array/requirements/
954         constexpr_functions.cc: Likewise.
955         * testsuite/util/testsuite_common_types.h: Likewise.
956         * testsuite/20_util/duration/requirements/
957         constexpr_functions.cc: Likewise.
958         * testsuite/20_util/duration_cast/constexpr.cc: Likewise.
959         * testsuite/20_util/time_point/requirements/
960         constexpr_functions.cc: Likewise.
961         * testsuite/20_util/ratio/requirements/constexpr_data.cc: Likewise.
962
963         * testsuite/tr1/4_metaprogramming/integral_constant/
964         requirements/constexpr_data.cc: Remove.
965
966 2010-11-02  Jason Merrill  <jason@redhat.com>
967
968         * include/bits/atomic_0.h (_ATOMIC_CMPEXCHNG_): Use C-style cast.
969
970 2010-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
971
972         PR target/45693
973         * configure.host (osf*): Set os_include_dir to os/generic.
974         Add -lpthread to OPT_LDFLAGS.
975
976 2010-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
977
978         * include/std/bitset (_Base_bitset<>_Base_bitset(unsigned long long)):
979         Convert __val to _WordT.
980
981 2010-11-01  Benjamin Kosnik  <bkoz@redhat.com>
982
983         * include/std/chrono: Extend constexpr application.
984         * testsuite/util/testsuite_common_types.h
985         (constexpr_default_constructible, constexpr_single_value_constructible)
986         : Add comments about implied constraints.
987         * testsuite/20_util/duration/cons/constexpr.cc: Activate all tests.
988         * testsuite/20_util/time_point/cons/constexpr.cc: Same.
989         * testsuite/20_util/time_point/requirements/constexpr_functions.cc:
990         Same.
991         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust line
992         numbers.
993         * testsuite/20_util/time_point_cast/constexpr.cc: New.
994
995         * include/std/bitset: Use __SIZEOF_* macros to re-create original
996         logic instead of slipshod application of
997         std::numeric_limits<T>::max() macros.
998         * testsuite/util/testsuite_common_types.h
999         (constexpr_default_constructible): Modify.
1000
1001         * include/std/chrono: Tested constexpr.
1002         * testsuite/20_util/duration_cast/constexpr.cc: New.
1003         * testsuite/20_util/time_point/cons/constexpr.cc: New.
1004
1005         * testsuite/20_util/duration/cons/constexpr.cc: Add single_value tests.
1006         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust
1007         line numbers.
1008         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
1009         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
1010         * testsuite/20_util/time_point/cons/constexpr.cc: Add single_value
1011         tests.
1012         * testsuite/20_util/time_point/requirements/constexpr_functions.cc: Add.
1013
1014         * testsuite/util/testsuite_common_types.h: Adjust init.
1015
1016         * include/std/chrono (duration): Remove defaulted constructor,
1017         replace with mem-init list.
1018         * testsuite/20_util/duration/cons/constexpr.cc: Add single value.
1019         * testsuite/20_util/duration/requirements/constexpr_functions.cc:
1020         Add non-static member functions.
1021
1022         * testsuite/20_util/default_delete/cons/constexpr.cc: New, xfail.
1023         * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc: Same.
1024         * testsuite/20_util/shared_ptr/cons/constexpr.cc: Same.
1025         * testsuite/20_util/time_point/requirements/constexpr_functions.cc:
1026         Same.
1027         * testsuite/20_util/unique_ptr/cons/constexpr.cc: Same.
1028         * testsuite/20_util/weak_ptr/cons/constexpr.cc: Same.
1029
1030         * include/std/bitset: Add constexpr as per N3126 draft.
1031         * testsuite/23_containers/bitset/cons/constexpr.cc: New.
1032         * testsuite/23_containers/bitset/requirements/constexpr_functions.cc:
1033         New.
1034
1035         * testsuite/util/testsuite_common_types.h: Reset condition.
1036
1037         * include/bits/random.h: Remove misleading comments.
1038         * include/bits/regex.h: Add constexpr.
1039         * testsuite/28_regex/05_constants/syntax_option_type.cc: Add tests.
1040         * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc: New.
1041
1042         PR libstdc++/46134
1043         * include/std/chrono: Use default constructor.
1044         * testsuite/util/testsuite_common_types.h
1045         (constexpr_default_constructible): Adjust condition.
1046
1047         PR libstdc++/46133
1048         * include/std/complex: Adjust complex specialization default
1049         constructors for constexpr.
1050         * testsuite/26_numerics/complex/cons/constexpr.cc: Enable tests.
1051
1052         * include/bits/random.h: Adjust for constexpr as per N3126 draft.
1053         * testsuite/26_numerics/random/discard_block_engine/requirements/
1054         constexpr_data.cc: New.
1055         * testsuite/26_numerics/random/discard_block_engine/requirements/
1056         constexpr_functions.cc: New.
1057         * testsuite/26_numerics/random/independent_bits_engine/requirements/
1058         constexpr_functions.cc: New.
1059         * testsuite/26_numerics/random/linear_congruential_engine/requirements/
1060         constexpr_data.cc: New.
1061         * testsuite/26_numerics/random/linear_congruential_engine/requirements/
1062         constexpr_functions.cc: New.
1063         * testsuite/26_numerics/random/mersenne_twister_engine/requirements/
1064         constexpr_data.cc: New.
1065         * testsuite/26_numerics/random/mersenne_twister_engine/requirements/
1066         constexpr_functions.cc: New.
1067         * testsuite/26_numerics/random/shuffle_order_engine/requirements/
1068         constexpr_data.cc: New.
1069         * testsuite/26_numerics/random/shuffle_order_engine/requirements/
1070         constexpr_functions.cc: New.
1071         * testsuite/26_numerics/random/subtract_with_carry_engine/requirements/
1072         constexpr_data.cc: New.
1073         * testsuite/26_numerics/random/subtract_with_carry_engine/requirements/
1074         constexpr_functions.cc: New.
1075
1076         * include/bits/stream_iterator.h: Add constexpr as per N3126 draft.
1077         * include/bits/streambuf_iterator.h: Same.
1078         * include/std/complex: Same.
1079         * testsuite/24_iterators/istream_iterator/cons/constexpr.cc: New.
1080         * testsuite/24_iterators/istreambuf_iterator/cons/constexpr.cc: New.
1081         * testsuite/26_numerics/complex/cons/constexpr.cc: New.
1082         * testsuite/26_numerics/complex/requirements/constexpr_functions.cc:
1083         New.
1084
1085         * include/bits/char_traits.h: Add constexpr as per N3126 draft.
1086         * testsuite/21_strings/char_traits/requirements/constexpr_functions.cc:
1087         New.
1088
1089         * include/tr1_impl/array: Add constexpr as per N3126 draft.
1090         * testsuite/23_containers/array/requirements/
1091         constexpr_functions.cc: New.
1092
1093         * include/bits/shared_ptr.h: Revert changes.
1094         * include/bits/unique_ptr.h: Same.
1095
1096         * include/std/chrono: Adjust.
1097         * include/tr1_impl/type_traits: Same.
1098
1099         * testsuite/util/testsuite_common_types.h: Add test functors.
1100         * testsuite/20_util/duration/cons/constexpr.cc: New.
1101         * testsuite/20_util/duration/requirements/constexpr_functions.cc: Same.
1102         * testsuite/20_util/pair/cons/constexpr.cc: Same.
1103         * testsuite/20_util/ratio/requirements/constexpr_data.cc: Same.
1104         * testsuite/27_io/ios_base/types/fmtflags/constexpr_operators.cc: Same.
1105         * testsuite/27_io/ios_base/types/iostate/constexpr_operators.cc: Same.
1106         * testsuite/27_io/ios_base/types/openmode/constexpr_operators.cc: Same.
1107         * testsuite/30_threads/call_once/constexpr.cc: Same.
1108         * testsuite/30_threads/mutex/cons/constexpr.cc: Same.
1109         * testsuite/30_threads/once_flag/cons/constexpr.cc: Same.
1110         * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
1111         constexpr_data.cc: Same.
1112
1113         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
1114         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
1115         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Same.
1116         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
1117         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: Same.
1118
1119         * include/bits/allocator.h: Add constexpr as per N3126 draft.
1120         * include/bits/ios_base.h: Same.
1121         * include/bits/shared_ptr.h: Same.
1122         * include/bits/unique_ptr.h: Same.
1123         * include/bits/stl_iterator.h: Same.
1124         * include/bits/stl_pair.h: Same.
1125         * include/std/tuple: Same.
1126         * include/tr1_impl/type_traits: Same.
1127         * include/std/chrono: Same.
1128         * include/std/ratio: Same.
1129         * include/std/mutex: Same.
1130         * src/mutex.cc: Same.
1131         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust.
1132         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
1133         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
1134         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1135         * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
1136         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1137
1138         * doc/doxygen/user.cfg.in: Replace _GLIBCXX_USE_CONSTEXPR,
1139         _GLIBCXX_CONSTEXPR for doxygen generation.
1140
1141         * src/limits.cc: Undef.
1142         * testsuite/29_atomics/atomic/cons/constexpr.cc: Adjust.
1143         * testsuite/29_atomics/atomic_address/cons/constexpr.cc: Same.
1144         * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: Same.
1145         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.c: Same.
1146         * testsuite/18_support/numeric_limits/constexpr.cc: To...
1147         * testsuite/18_support/numeric_limits/requirements/
1148         constexpr_data.cc, constexpr_functions.cc: ...this
1149
1150         * testsuite/util/testsuite_common_types.h
1151         (constexpr_single_value_constructible): Add.
1152         * testsuite/29_atomics/atomic/cons/constexpr.cc: Adjust name.
1153         * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: Same.
1154         * testsuite/29_atomics/atomic_address/cons/constexpr.cc: New.
1155         * testsuite/18_support/numeric_limits/constexpr.cc: New.
1156
1157         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
1158         * testsuite/29_atomics/atomic/cons/constexpr.cc: Same.
1159         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
1160         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Same.
1161         * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: Same.
1162         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
1163         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: Same.
1164         * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: Same.
1165         * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: Same.
1166
1167         * include/bits/c++config (_GLIBCXX_CONSTEXPR): Add.
1168         (_GLIBCXX_USE_CONSTEXPR): Add.
1169         * include/std/limits: Use it.
1170         * src/limits.cc: Adjust.
1171         * testsuite/ext/profile/mutex_extensions.cc: Change line number.
1172
1173         * include/bits/atomic_0.h: Rework for N3126 draft, add constexpr.
1174         * include/bits/atomic_2.h: Same.
1175         * include/bits/atomic_base.h: Same.
1176         * include/std/atomic: Same.
1177         * src/atomic.cc: Same.
1178         * include/bits/atomicfwd_c.h: Remove.
1179         * include/bits/atomicfwd_cxx.h: Remove.
1180         * include/c_compatibility/stdatomic.h: Remove.
1181         * include/Makefile.am: Remove atomicfwd_c.h, atomicfwd_cxx.h,
1182         stdatomic.h.
1183         * include/Makefile.in: Regenerate.
1184         * doc/xml/manual/using.xml: Update list of header files for changes.
1185         * testsuite/util/testsuite_common_types.h
1186         (constexpr_constructible): Add.
1187         * testsuite/29_atomics/atomic/cons/constexpr.cc: New.
1188         * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: New.
1189         * testsuite/17_intro/headers/c++200x/stdc++.cc: Modify.
1190         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
1191         * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
1192         * testsuite/29_atomics/atomic_flag/cons/1.cc: Same.
1193         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Same.
1194         * testsuite/29_atomics/headers/atomic/macros.cc: Same.
1195         * testsuite/29_atomics/headers/atomic/types_std_c++0x.cc: Same.
1196         * testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc: Same.
1197         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Remove.
1198         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
1199         * testsuite/29_atomics/atomic_flag/clear/1.c: Same.
1200         * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: Same.
1201         * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
1202         * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
1203         * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
1204
1205         * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
1206
1207 2010-11-01  Jason Merrill  <jason@redhat.com>
1208
1209         * libsupc++/initializer_list: Decorate with constexpr.
1210
1211 2010-11-01  Jonathan Wakely  <jwakely.gcc@gmail.com>
1212
1213         PR libstdc++/45999
1214         * python/libstdcxx/v6/printers.py (StdVectorPrinter): Replace
1215         conditional expression with backward-compatible if-else.
1216
1217 2010-11-01  Jie Zhang  <jie@codesourcery.com>
1218
1219         * config/abi/pre/gnu.ver: Export __emutls_v._ZSt11__once_call
1220         and __emutls_v._ZSt15__once_callable.
1221
1222 2010-10-31  Paolo Carlini  <paolo.carlini@oracle.com>
1223
1224         * testsuite/23_containers/bitset/cons/dr1325-2.cc: Fix typo.
1225         * testsuite/20_util/hash/quality.cc: Avoid -Wall warnings.
1226         * testsuite/20_util/hash/chi2_quality.cc: Likewise.
1227
1228 2010-10-29  Paolo Carlini  <paolo.carlini@oracle.com>
1229
1230         * include/bits/stl_function.h (_Select1st<>::operator()): Add
1231         templatized overloads.
1232         * include/bits/hashtable_policy.h (_Select1st): Remove; revert
1233         everything to std::_Select1st.
1234         * include/bits/unordered_map.h: Likewise.
1235
1236 2010-10-28  Paolo Carlini  <paolo.carlini@oracle.com>
1237
1238         PR libstdc++/44436 (partial)
1239         * include/bits/hashtable.h (_Hashtable<>::insert(value_type&&),
1240         insert(_Pair&&), insert(const_iterator, value_type&&),
1241         insert(const_iterator, _Pair&&)): Add.
1242         (_M_allocate_node, _M_insert, _M_insert_bucket): Templatize.
1243         * include/bits/hashtable_policy.h (__detail::_Select1st): Add; use
1244         it throughout.
1245         (_Map_base<>::operator[](_Key&&)): Add.
1246         * include/bits/unordered_map.h: Use __detail::_Select1st throughout.
1247         * include/debug/unordered_map: Update.
1248         * include/debug/unordered_set: Likewise.
1249         * include/profile/unordered_map: Likewise.
1250         * include/profile/unordered_set: Likewise.
1251         * testsuite/util/testsuite_rvalref.h (struct hash<rvalstruct>): Add;
1252         minor tweaks throughout, use deleted special members.
1253         * testsuite/23_containers/unordered_map/insert/map_single_move-1.cc:
1254         New.
1255         * testsuite/23_containers/unordered_map/insert/map_single_move-2.cc:
1256         Likewise.
1257         * testsuite/23_containers/unordered_map/insert/array_syntax_move.cc:
1258         Likewise.
1259         * testsuite/23_containers/unordered_multimap/insert/
1260         multimap_single_move-1.cc: Likewise.
1261         * testsuite/23_containers/unordered_multimap/insert/
1262         multimap_single_move-2.cc: Likewise.
1263         * testsuite/23_containers/unordered_set/insert/set_single_move.cc:
1264         Likewise.
1265         * testsuite/23_containers/unordered_multiset/insert/
1266         multiset_single_move.cc: Likewise.
1267
1268         * testsuite/23_containers/unordered_map/insert/array_syntax.cc:
1269         Minor cosmetic changes.
1270
1271 2010-10-27  Jason Merrill  <jason@redhat.com>
1272
1273         * include/std/type_traits (is_literal_type): New.
1274         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
1275         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust.
1276         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust.
1277
1278 2010-10-26  Paolo Carlini  <paolo.carlini@oracle.com>
1279
1280         * testsuite/lib/libstdc++.exp ([check_v3_target_normal_mode]): Add.
1281         * testsuite/lib/dg-options.exp ([dg-require-normal-mode]): Likewise.
1282         * testsuite/23_containers/headers/forward_list/synopsis.cc: Use the
1283         latter.
1284         * testsuite/23_containers/headers/vector/synopsis.cc: Likewise.
1285         * testsuite/23_containers/headers/deque/synopsis.cc: Likewise.
1286         * testsuite/23_containers/headers/bitset/synopsis.cc: Likewise.
1287         * testsuite/23_containers/headers/list/synopsis.cc: Likewise.
1288         * testsuite/23_containers/headers/set/synopsis.cc: Likewise.
1289         * testsuite/23_containers/headers/map/synopsis.cc: Likewise.
1290
1291 2010-10-25  Paolo Carlini  <paolo.carlini@oracle.com>
1292
1293         * include/bits/forward_list.h (_Fwd_list_node_base::swap): Remove.
1294         (_Fwd_list_base<>::_Fwd_list_base(_Fwd_list_base&&),
1295         _Fwd_list_base<>::_Fwd_list_base(_Fwd_list_base&&, const _Alloc&)):
1296         Don't use swap.
1297         (forward_list<>::swap): Just use std::swap.
1298
1299         * include/bits/forward_list.h (_Fwd_list_base<>::_Fwd_list_base(),
1300         _Fwd_list_base(const _Alloc&)): Don't zero again _M_next.
1301
1302         * testsuite/23_containers/forward_list/requirements/dr438/
1303         assign_neg.cc: Adjust dg-error line number.
1304         * testsuite/23_containers/forward_list/requirements/dr438/
1305         insert_neg.cc: Likewise.
1306         * testsuite/23_containers/forward_list/requirements/dr438/
1307         constructor_1_neg.cc: Likewise.
1308         * testsuite/23_containers/forward_list/requirements/dr438/
1309         constructor_2_neg.cc: Likewise.
1310
1311 2010-10-25  Paolo Carlini  <paolo.carlini@oracle.com>
1312
1313         * include/bits/hashtable.h (_Hashtable<>:_M_get_Value_allocator):
1314         Remove, unused.
1315
1316 2010-10-24  François Dumont  <francois.cppdevs@free.fr>
1317
1318         * src/debug.cc: Fix parameter indexes in __msg_valid_range2 message.
1319         Replace 'before begin' decription in 'before-begin' for consistency
1320         with 'paste-the-end'.
1321
1322 2010-10-18  Paolo Carlini  <paolo.carlini@oracle.com>
1323
1324         PR libstdc++/45866
1325         * include/std/ratio (ratio<>::type): Add.
1326         (ratio_add<>::num, ratio_add<>::den,
1327         ratio_subtract<>::num, ratio_subtract<>::den,
1328         ratio_multiply<>::num, ratio_multiply<>::den,
1329         ratio_divide<>::num, ratio_divide<>::den): Likewise.
1330         * testsuite/20_util/ratio/operations/45866.cc: New.
1331
1332 2010-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
1333
1334         * include/bits/forward_list.h (forward_list<>::erase_after): Return
1335         an iterator.
1336         (_M_erase_after): Return _Fwd_list_node_base*.
1337         * include/bits/forward_list.tcc: Likewise.
1338         * include/debug/forward_list: Likewise.
1339         * testsuite/23_containers/forward_list/modifiers/3.cc: Update
1340         and extend.
1341         * testsuite/util/exception/safety.h (erase_base<forward_list<>>):
1342         Adjust.
1343         * testsuite/23_containers/forward_list/requirements/dr438/
1344         assign_neg.cc: Adjust dg-error line number.
1345         * testsuite/23_containers/forward_list/requirements/dr438/
1346         insert_neg.cc: Likewise.
1347         * testsuite/23_containers/forward_list/requirements/dr438/
1348         constructor_1_neg.cc: Likewise.
1349         * testsuite/23_containers/forward_list/requirements/dr438/
1350         constructor_2_neg.cc: Likewise.
1351
1352 2010-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
1353
1354         PR libstdc++/43554
1355         * include/profile/forward_list: New file.
1356         * include/std/forward_list: Include <profile/forward_list>.
1357         * include/Makefile.am: Add.
1358         * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
1359         * include/Makefile.in: Regenerate.
1360
1361 2010-10-15  Paolo Carlini  <paolo.carlini@oracle.com>
1362
1363         * include/std/functional (function<>::operator==, operator!=):
1364         Remove, per LWG 1240.
1365         * testsuite/20_util/function/cmp/cmp_neg.cc: Adjust dg-* directives.
1366
1367 2010-10-13  Jonathan Wakely  <jwakely.gcc@gmail.com>
1368
1369         PR libstdc++/45990
1370         * include/bits/regex.h (regex_traits::isctype): DR 1337.
1371
1372 2010-10-13  Paolo Carlini  <paolo.carlini@oracle.com>
1373
1374         * include/bits/random.h (discrete_distribution<>::param_type::
1375         param_type()): Default construct the vectors.
1376         (discrete_distribution<>::param_type::probabilities): Adjust.
1377         (discrete_distribution<>::probabilities): Likewise.
1378         (discrete_distribution<>::max): Likewise.
1379         (piecewise_constant_distribution<>::param_type::
1380         param_type()): Default construct the vectors.
1381         (piecewise_constant_distribution<>::param_type::intervals): Adjust.
1382         (piecewise_constant_distribution<>::param_type::densities): Likewise.
1383         (piecewise_constant_distribution<>::intervals): Likewise.
1384         (piecewise_constant_distribution<>::densities): Likewise.
1385         (piecewise_constant_distribution<>::min): Likewise.
1386         (piecewise_constant_distribution<>::max): Likewise.
1387         (piecewise_linear_distribution<>::param_type::
1388         param_type()): Default construct the vectors.
1389         (piecewise_linear_distribution<>::param_type::intervals): Adjust.
1390         (piecewise_linear_distribution<>::param_type::densities): Likewise.
1391         (piecewise_linear_distribution<>::intervals): Likewise.
1392         (piecewise_linear_distribution<>::densities): Likewise.
1393         (piecewise_linear_distribution<>::min): Likewise.
1394         (piecewise_linear_distribution<>::max): Likewise.
1395         * include/bits/random.tcc (discrete_distribution<>::param_type::
1396         _M_initialize): Deal quickly with raw _M_prob equivalent to
1397         a default constructed param_type, just clear the vector.
1398         (discrete_distribution<>::operator()): Early return 0 for a
1399         default constructed distribution.
1400         (piecewise_constant_distribution<>::param_type::_M_initialize):
1401         Likewise for _M_int and _M_den.
1402         (piecewise_constant_distribution<>::operator()): Early return
1403         for a default constructed distribution.
1404         (piecewise_linear_distribution<>::param_type::_M_initialize):
1405         Likewise.
1406         (piecewise_linear_distribution<>::operator()): Early return
1407         for a default constructed distribution.
1408         * testsuite/26_numerics/random/discrete_distribution/operators/
1409         call-default.cc: New.
1410         * testsuite/26_numerics/random/piecewise_constant_distribution/
1411         operators/call-default.cc: Likewise.
1412
1413 2010-10-12  Paolo Carlini  <paolo.carlini@oracle.com>
1414
1415         * include/bits/random.h (discrete_distribution<>::param_type):
1416         Disable move operations.
1417         (piecewise_constant_distribution<>::param_type): Likewise.
1418         (piecewise_linear_distribution<>::param_type): Likewise.
1419
1420         * include/bits/random.h (discrete_distribution<>::param_type::
1421         param_type()): Simplify, don't use _M_initialize.
1422         (piecewise_constant_distribution<>::param_type::param_type()):
1423         Likewise.
1424         (piecewise_linear_distribution<>::param_type::param_type()):
1425         Likewise.
1426
1427 2010-10-12  Paolo Carlini  <paolo.carlini@oracle.com>
1428
1429         * include/bits/random.tcc (piecewise_linear_distribution<>::
1430         operator()): Don't crash when the dist is default-constructed.
1431         * testsuite/26_numerics/random/piecewise_linear_distribution/
1432         operators/call-default.cc: New.
1433
1434 2010-10-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1435
1436         * testsuite/23_containers/bitset/cons/2.cc: Tweak.
1437
1438 2010-10-11  Paolo Carlini  <paolo.carlini@oracle.com>
1439
1440         * include/std/bitset (bitset<>::bitset(const _CharT*,
1441         typename std::basic_string<>::size_type, _CharT, _CharT)):
1442         Implement new proposed resolution for DR 1325.
1443         * include/debug/bitset: Likewise.
1444         * include/profile/bitset: Likewise.
1445         * testsuite/23_containers/bitset/cons/dr1325-1.cc: New.
1446         * testsuite/23_containers/bitset/cons/dr1325-2.cc: Likewise.
1447
1448 2010-10-11  Benjamin Kosnik  <bkoz@redhat.com>
1449
1450         * doc/xml/api.xml: Add link to 4.5 generated docs.
1451
1452 2010-10-08  Paolo Carlini  <paolo.carlini@oracle.com>
1453
1454         * include/std/future (_Result_alloc): Derive from _Alloc,
1455         exploit the Empty Base Optimization.
1456
1457 2010-10-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1458
1459         PR libstdc++/45403
1460         * python/libstdcxx/v6/printers.py: Check for lazy_string support.
1461
1462 2010-10-08  Paolo Carlini  <paolo.carlini@oracle.com>
1463
1464         * include/std/future (uses_allocator<packaged_task<>,>): Add;
1465         minor formatting tweaks.
1466
1467 2010-10-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1468
1469         * include/std/future: Enable allocator support.
1470         * testsuite/30_threads/packaged_task/cons/alloc.cc: Expect PASS.
1471         * testsuite/30_threads/promise/cons/alloc.cc: Expect PASS.
1472
1473 2010-10-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1474
1475         PR libstdc++/45893
1476         * include/std/functional (bind): Implement DR 817 and add support
1477         for volatile-qualified call wrappers.
1478         * include/std/mutex (call_once): Implement DR 891.
1479         * include/std/thread (thread::thread): Implement DR 929.
1480         * include/std/future: Optimise use of std::bind.
1481         * testsuite/20_util/bind/cv_quals.cc: Test volatile-qualification.
1482         * testsuite/20_util/bind/move.cc: New.
1483
1484 2010-10-07  Hans-Peter Nilsson  <hp@axis.com>
1485
1486         PR libstdc++/45841
1487         * testsuite/lib/libstdc++.exp (check_v3_target_fileio): Rewrite to
1488         use an actual testsuite file and machinery, not ".".  Specifically
1489         check that incorrectly seeking backwards from 0 yields an error,
1490         and that reading, seeking backwards and reading again works.
1491
1492         * testsuite/libstdc++-dg/conformance.exp: Apply
1493         check_v3_target_fileio as a gate for tests in
1494         subdirectories matching the substring _filebuf.
1495
1496 2010-10-07  Paolo Carlini  <paolo.carlini@oracle.com>
1497
1498         * include/bits/locale_facets_nonio.tcc (time_get<>::
1499         _M_extract_via_format): Tighten somewhat error checking.
1500         * testsuite/22_locale/time_get/get_time/char/6.cc: New.
1501         * testsuite/22_locale/time_get/get_time/wchar_t/6.cc: Likewise.
1502
1503 2010-10-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1504
1505         PR libstdc++/45924
1506         * include/std/functional (_Bind_result::operator()): Do not expand
1507         template parameter pack in forward call.
1508         * testsuite/20_util/bind/45924.cc: New.
1509
1510 2010-10-06  Paolo Carlini  <paolo.carlini@oracle.com>
1511
1512         * include/std/functional (struct _Weak_result_type_impl): Add
1513         specializazions for cv-qualified function types, for variadic
1514         function types and pointers and references to function types,
1515         and for pointers to member function types.
1516         (struct _Reference_wrapper_base): Add specializations for
1517         cv-qualified unary and binary function types.
1518         * testsuite/20_util/reference_wrapper/result_type.cc: New.
1519         * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
1520
1521 2010-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1522
1523         PR libstdc++/45863
1524         * scripts/extract_symvers: Restore revision 164879.
1525         Only use pvs on SunOS.
1526
1527 2010-10-05  David Krauss  <potswa@mac.com>
1528
1529         PR libstdc++/45841
1530         * include/bits/fstream.h (basic_filebuf::underflow): Overflow
1531         success does not preclude returning failure.
1532         (basic_filebuf::pbackfail): Likewise.
1533         (basic_filebuf::xsputn): Fix indentation problem.
1534         (basic_filebuf::xsgetn): Likewise. Also, add similar overflow
1535         call to enable optimized case from write mode.
1536         * testsuite/27_io/basic_filebuf/underflow/char/45841.cc: New.
1537         * testsuite/27_io/basic_filebuf/underflow/wchar_t/45841.cc: Likewise.
1538
1539 2010-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1540
1541         * include/bits/locale_facets_nonio.h (time_get::get_time): Doc typo.
1542         (time_get::get_date): Likewise.
1543
1544 2010-10-05  Paolo Carlini  <paolo.carlini@oracle.com>
1545
1546         * include/std/type_traits (_GLIBCXX_HAS_NESTED_TYPE): Add.
1547         * include/std/functional (_Has_result_type_helper,
1548         _Has_result_type): Remove; use the above to define __has_result_type.
1549         * include/bits/stl_iterator_base_types.h: Use the above to define
1550         __has_iterator_category.
1551         * include/bits/allocator.h (__has_allocator_type): Use the above.
1552         * include/bits/cpp_type_traits.h (__has_iterator_category,
1553         __is_iterator): Remove.
1554
1555 2010-10-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1556             Jonathan Wakely  <jwakely.gcc@gmail.com>
1557
1558         PR libstdc++/44647
1559         * libsupc++/Makefile.am (sources): Add bad_alloc.cc.
1560         * libsupc++/new_handler.cc (bad_alloc): Move to ...
1561         * libsupc++/bad_alloc.cc (bad_alloc): ... here, new file.
1562         * libsupc++/Makefile.in: Regenerate.
1563
1564 2010-10-04  Paolo Carlini  <paolo.carlini@oracle.com>
1565
1566         * include/std/functional (function<>::swap): Use std::swap.
1567         * include/tr1/functional (function<>::swap): Likewise.
1568
1569 2010-10-04  Andreas Schwab  <schwab@redhat.com>
1570
1571         * acinclude.m4 (GLIBCXX_ENABLE): Properly quote argument to
1572         AC_HELP_STRING.  Double quote expansion of _g_help.
1573         (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Double quote third argument of
1574         GLIBCXX_ENABLE.
1575         (GLIBCXX_ENABLE_CHEADERS): Likewise.
1576         (GLIBCXX_ENABLE_CLOCALE): Likewise.
1577         (GLIBCXX_ENABLE_ALLOCATOR): Likewise.
1578         (GLIBCXX_ENABLE_CSTDIO): Likewise.
1579         (GLIBCXX_ENABLE_SYMVERS): Likewise.
1580         * configure: Regenerate.
1581
1582 2010-10-02  H.J. Lu  <hongjiu.lu@intel.com>
1583
1584         PR libstdc++/45863
1585         * scripts/extract_symvers: Revert the pvs change.
1586
1587 2010-10-01  Benjamin Kosnik  <bkoz@redhat.com>
1588
1589         * scripts/extract_symvers: Add support for tracking TLS symbols.
1590         * testsuite/util/testsuite_abi.h (symbol::category): Add tls type.
1591         * testsuite/util/testsuite_abi.cc: Set symbol type to tls when
1592         appropriate, collect size info.
1593
1594 2010-10-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1595
1596         * scripts/extract_symvers: Use pvs if present.
1597         * config/abi/post/solaris2.8/baseline_symbols.txt: New file.
1598         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1599         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1600         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1601         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1602         * configure.host (i?86-*-solaris2*): Remove.
1603         (sparc*-*-solaris2*): Remove.
1604         (*-*-solaris2.[89]): Use solaris2.8 baseline.
1605         (*-*-solaris2.1[0-9]): Use solaris2.10 baseline.
1606         * testsuite/Makefile.am (new-abi-baseline): Add missing /.
1607         * testsuite/Makefile.in: Regenerate.
1608
1609 2010-09-30  Michael Eager  <eager@eagercon.com>
1610
1611         * config/cpu/microblaze/cpu_defines.h: New. Define
1612         _GLIBCXX_NO_VERBOSE_TERMINATE for MicroBlaze.
1613
1614 2010-09-29  Paolo Carlini  <paolo.carlini@oracle.com>
1615
1616         * include/Makefile.am: Add debug/forward_list.
1617         * include/Makefile.in: Regenerate.
1618
1619         * testsuite/util/testsuite_container_traits.h (traits_base):
1620         Add has_erase_after and hash_insert_after typedefs.
1621         (traits<forward_list<>>): Adjust.
1622         * testsuite/util/exception/safety.h (erase_point, erase_range,
1623         insert_point): Deal correctly with forward_list.
1624         * include/Makefile.am: Add.
1625
1626 2010-09-29  François Dumont  <francois.cppdevs@free.fr>
1627
1628         * src/debug.cc: Add forward_list specific debug messages.
1629         * include/debug/forward_list: New.
1630         * include/debug/formatter.h: Add debug message ids and before begin
1631         iterator state.
1632         * include/debug/macros.h (__glibcxx_check_insert_after,
1633         __glibcxx_check_insert_range_after, __glibcxx_check_erase_after,
1634         __glibcxx_check_erase_range_after): Add.
1635         * include/debug/safe_iterator.h (_BeforeBeginHelper): Add.
1636         (_Safe_iterator<>::_M_before_dereferenceable,
1637         _Safe_iterator<>::_M_is_before_begin): Add.
1638         (_Safe_iterator<>::_M_dereferenceable, _Safe_iterator<>::_M_is_end,
1639         _Safe_iterator<>::_M_incrementable): Adjust.
1640         * include/std/forward_list: Include debug/forward when _GLIBCXX_DEBUG
1641         defined.
1642         * include/bits/forward_list.h, forward_list.tcc: Put in std::__norm
1643         when debug mode is active.
1644         * testsuite/23_containers/forward_list/capacity/1.cc: Fix to compile
1645         even in debug mode.
1646         * testsuite/23_containers/forward_list/debug/erase_after1.cc,
1647         erase_after2.cc, erase_after3.cc, erase_after4.cc, erase_after5.cc,
1648         insert_after1.cc,erase_after6.cc, erase_after7.cc, insert_after2.cc,
1649         erase_after8.cc, insert_after3.cc, erase_after9.cc: New
1650
1651 2010-09-28  DJ Delorie  <dj@redhat.com>
1652
1653         * libsupc++/hash_bytes.cc (_Hash_bytes): Replace "clength" with
1654         "len" for "unusual sizeof(size_t)" case.
1655
1656 2010-09-28  Matt Austern  <austern@google.com>
1657
1658         * testsuite/20_util/hash/chi2_quality.cc: New.
1659         * testsuite/20_util/hash/quality.cc: Likewise.
1660
1661 2010-09-27  Paolo Carlini  <paolo.carlini@oracle.com>
1662
1663         * include/bits/allocator.h (allocator_arg_t, allocator_arg,
1664         uses_allocator): Add.
1665         * testsuite/20_util/uses_allocator/value.cc: New.
1666         * testsuite/20_util/uses_allocator/requirements/typedefs.cc: Likewise.
1667         * testsuite/20_util/uses_allocator/requirements/
1668         explicit_instantiation.cc: Likewise.
1669         * include/bits/stl_queue.h (uses_allocator<queue>,
1670         uses_allocator<priority_queue>): Add.
1671         * include/bits/stl_stack.h (uses_allocator<stack>): Likewise.
1672
1673         * include/bits/stl_pair.h (piecewise_construct): Add.
1674         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1675         line number.
1676
1677 2010-09-27  Paolo Carlini  <paolo.carlini@oracle.com>
1678
1679         * include/c_std/cmath (__pow_helper): Remove.
1680         (__cmath_power): Remove declaration.
1681         * include/c_global/cmath: Likewise.
1682         * include/std/complex (__complex_pow_unsigned): Add.
1683         (pow(const complex<_Tp>&, int)): Use the latter.
1684         * include/c_std/cmath.tcc: Remove file.
1685         * include/c_global/cmath.tcc: Likewise.
1686         * acinclude.m4: Adjust.
1687         * include/Makefile.am: Likewise.
1688         * configure: Regenerate.
1689         * include/Makefile.in: Likewise.
1690
1691 2010-09-22  David Krauss  <potswa@mac.com>
1692
1693         PR libstdc++/45628
1694         * include/bits/fstream.tcc (basic_filebuf::underflow): Add state
1695         transition to avoid modality requiring seekoff(0,ios::cur).
1696         (basic_filebuf::pbackfail): Likewise.
1697         (basic_filebuf::overflow): Likewise.
1698         (basic_filebuf::_M_seek): Avoid minor unnecessary conversion.
1699         (basic_filebuf::seekoff): Remove code to _M_get_ext_pos; make
1700         (0, ios::cur) a special case preserving buffer contents.
1701         (basic_filebuf::_M_get_ext_pos): New function to obtain status
1702         about codecvt extern_t buffer for overflow and seekoff.
1703         * include/std/fstream (basic_filebuf::_M_get_ext_pos): Likewise.
1704         * config/abi/pre/gnu.ver: Export new symbols.
1705         * testsuite/27_io/basic_filebuf/seekoff/char/45628-1.cc: New,
1706         verifies that seekoff(0, ios::cur) preserves buffers.
1707         * testsuite/27_io/basic_filebuf/seekoff/45628-2.cc: Likewise.
1708         for codecvt case. More lenient as it may still flush put area.
1709         * testsuite/27_io/basic_filebuf/seekoff/char/4.cc: Modify to
1710         check that seekoff is not required between read and write.
1711         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Likewise.
1712         * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc: Remove.
1713         * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc: Likewise.
1714         * testsuite/util/testsuite_character.h (codecvt::do_length): Comply
1715         with 22.2.1.5.2/10 "Returns ... the LARGEST value in the range..."
1716
1717 2010-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
1718
1719         * include/bits/functional_hash.h (__hash_base): Add.
1720         (hash): Derive from __hash_base instead.
1721         * include/debug/bitset (hash): Likewise.
1722         * include/debug/vector (hash): Likewise.
1723         * include/std/system_error (hash): Likewise.
1724         * include/std/thread (hash): Likewise.
1725         * include/std/bitset (hash): Likewise.
1726         * include/profile/bitset (hash): Likewise.
1727         * include/profile/vector (hash): Likewise.
1728         * include/bits/basic_string.h (hash): Likewise.
1729         * include/bits/stl_bvector.h (hash): Likewise.
1730         * include/std/typeindex (hash): Do not derive from unary_function,
1731         add result_type and argument_type typedefs; trim includes.
1732
1733 2010-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
1734
1735         * include/std/typeindex: New.
1736         * include/Makefile.am: Add.
1737         * include/Makefile.in: Regenerate.
1738         * include/precompiled/stdc++.h: Add.
1739         * testsuite/20_util/typeindex/comparison_operators.cc: New.
1740         * testsuite/20_util/typeindex/hash.cc: Likewise.
1741         * testsuite/20_util/typeindex/hash_code.cc: Likewise.
1742         * testsuite/20_util/typeindex/name.cc: Likewise.
1743
1744         * testsuite/18_support/type_info/hash_code.cc: Tweak.
1745
1746 2010-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
1747
1748         * src/hash_bytes.cc: Move...
1749         * libsupc++/hash_bytes.cc: ... here.
1750         * src/Makefile.am: Adjust.
1751         * libsupc++/Makefile.am: Likewise.
1752         * config/abi/pre/gnu.ver: Likewise.
1753         * libsupc++/typeinfo (type_info::hash_code): Add in C++0x mode.
1754         * src/Makefile.in: Regenerate.
1755         * libsupc++/Makefile.am: Likewise.
1756         * testsuite/18_support/type_info/hash_code.cc: New.
1757
1758 2010-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1759
1760         PR libstdc++/45711
1761         * src/Makefile.am (stamp-debug): Also adjust possibly-relative
1762         file names in MKDIR_P, and, for consistency, also top_build_prefix.
1763         * src/Makefile.in: Regenerate.
1764
1765 2010-09-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1766
1767         * include/ext/throw_allocator.h
1768         (hash<__gnu_cxx::throw_value_limit>::operator()): Uglify local.
1769         (hash<__gnu_cxx::throw_value_random>::operator()): Likewise.
1770         * include/parallel/set_operations.h (__symmetric_difference_func):
1771         Uglify remaining arguments to __count, __first_empty, _M_invoke.
1772         (__difference_func): Likewise for __count.
1773         * include/profile/impl/profiler_node.h
1774         (__object_info_base::__write): Uglify parameter.
1775
1776 2010-09-19  Paolo Carlini  <paolo.carlini@oracle.com>
1777
1778         * src/hash_bytes.cc: Compile load_bytes and shift_mix only when
1779         __SIZEOF_SIZE_T__ == 8.
1780
1781 2010-09-17  Luc Hermitte  <hermitte@free.fr>
1782             Paolo Carlini  <paolo.carlini@oracle.com>
1783
1784         PR libstdc++/45713
1785         * include/std/bitset: Fix _GLIBCXX_BITSET_WORDS macro.
1786         * testsuite/23_containers/bitset/45713.cc: New.
1787
1788 2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
1789
1790         * include/bits/stl_raw_storage_iter.h (raw_storage_iterator<>::
1791         operator=(const _Tp&)): Use std::__addressof.
1792
1793 2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
1794
1795         * include/std/system_error (system_error::system_error(error_code),
1796         system_error(error_code, const string&), system_error(int, const
1797         error_category&), system_error(int, const error_category&,
1798         const string&)): Fix for what() to return the NBTS recommended in
1799         the Note in 19.5.6.2/14.
1800         * testsuite/19_diagnostics/system_error/cons-1.cc: Adjust.
1801         * testsuite/19_diagnostics/system_error/what-1.cc: Likewise.
1802         * testsuite/19_diagnostics/system_error/what-2.cc: Likewise.
1803         * testsuite/19_diagnostics/system_error/what-big.cc: Likewise.
1804         * testsuite/19_diagnostics/system_error/what-3.cc: Likewise.
1805
1806         * testsuite/19_diagnostics/system_error/what-4.cc: Tidy includes.
1807
1808 2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
1809
1810         * include/std/complex (complex<float>::operator=(float),
1811         complex<float>::operator+=(float),
1812         complex<float>::operator-=(float),
1813         complex<double>::operator=(double),
1814         complex<double>::operator+=(double),
1815         complex<double>::operator-=(double),
1816         complex<long double>::operator=(long double),
1817         complex<long double>::operator+=(long double),
1818         complex<long double>::operator-=(long double)): Simplify a tad,
1819         just forward to the underlying __complex__ T operators, as
1820         operator*= and operator/= already do.
1821
1822         * include/std/complex (complex<float>, complex<double>,
1823         complex<long double>): Simplify spelling of return types, just
1824         say complex, instead of complex<float>, complex<double>,
1825         complex<long double>, respectively.
1826
1827 2010-09-15  François Dumont  <francois.cppdevs@free.fr>
1828
1829         * testsuite/lib/libstdc++.exp,([check_v3_target_namedlocale]):
1830         Clean temporary source file once compiled.
1831
1832 2010-09-15  Paolo Carlini  <paolo.carlini@oracle.com>
1833
1834         * doc/xml/manual/prerequisites.xml: Update "C" library locale
1835         information prerequisites.
1836
1837 2010-09-15  François Dumont  <francois.cppdevs@free.fr>
1838
1839         * testsuite/lib/libstdc++.exp, dg-options.exp
1840         ([check_v3_target_namedlocale]): Take the name of the required locale.
1841         * testsuite/27_io/objects/wchar_t/9520.cc, 11.cc, 13.cc, 10.cc, 12.cc:
1842         Specify locale name to check.
1843         * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc, 13007-1.cc,
1844         13007-2.cc: Likewise.
1845         * testsuite/27_io/basic_streambuf/imbue/char/9322.cc, 13007-1.cc,
1846         13007-2.cc: Likewise.
1847         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
1848         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
1849         * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
1850         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
1851         Likewise.
1852         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
1853         Likewise.
1854         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc, 2.cc:
1855         Likewise.
1856         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc, 9322.cc,
1857         13582-2.cc, 2.cc, 13582-3.cc, 12868.cc, 14975-2.cc, 13007.cc: Likewise.
1858         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc, 13171-4.cc,
1859         9322.cc, 13582-2.cc, 2.cc, 14975-1.cc, 13007.cc, 13171-1.cc: Likewise.
1860         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc,
1861         11305-2.cc, 11305-3.cc, 11305-4.cc: Likewise.
1862         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc, 1.cc, 2.cc,
1863         3.cc, 11389-1.cc, 4.cc, 11389-2.cc, 5.cc, 11389-3.cc, 11389-4.cc:
1864         Likewise.
1865         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
1866         * testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc:
1867         Likewise.
1868         * testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise.
1869         * testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc:
1870         Likewise.
1871         * testsuite/27_io/manipulators/extended/get_money/char/1.cc: Likewise.
1872         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
1873         * testsuite/22_locale/money_put/put/wchar_t/1.cc, 2.cc, 3.cc,
1874         wrapped_locale.cc, wrapped_env.cc: Likewise.
1875         * testsuite/22_locale/money_put/put/char/1.cc, 2.cc, 3.cc, 9780-3.cc,
1876         wrapped_locale.cc, wrapped_env.cc: Likewise.
1877         * testsuite/22_locale/facet/2.cc: Likewise.
1878         * testsuite/22_locale/collate/hash/wchar_t/2.cc, wrapped_locale.cc,
1879         wrapped_env.cc: Likewise.
1880         * testsuite/22_locale/collate/hash/char/2.cc, wrapped_locale.cc,
1881         wrapped_env.cc: Likewise.
1882         * testsuite/22_locale/collate/compare/wchar_t/1.cc, 2.cc, 3.cc,
1883         wrapped_locale.cc, wrapped_env.cc: Likewise.
1884         * testsuite/22_locale/collate/compare/char/1.cc, 2.cc, 3.cc,
1885         wrapped_locale.cc, wrapped_env.cc: Likewise.
1886         * testsuite/22_locale/collate/transform/wchar_t/2.cc, 3.cc,
1887         wrapped_locale.cc, wrapped_env.cc: Likewise.
1888         * testsuite/22_locale/collate/transform/char/2.cc, 3.cc,
1889         wrapped_locale.cc, wrapped_env.cc: Likewise.
1890         * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc,
1891         wrapped_env.cc: Likewise.
1892         * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc,
1893         wrapped_env.cc: Likewise.
1894         * testsuite/22_locale/ctype/to/char/wrapped_locale.cc, wrapped_env.cc:
1895         Likewise.
1896         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc,
1897         wrapped_env.cc: Likewise.
1898         * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc,
1899         wrapped_env.cc: Likewise.
1900         * testsuite/22_locale/ctype/widen/wchar_t/2.cc, 3.cc,
1901         wrapped_locale.cc, wrapped_env.cc: Likewise.
1902         * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc,
1903         wrapped_env.cc: Likewise.
1904         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc, wrapped_locale.cc,
1905         wrapped_env.cc: Likewise.
1906         * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc,
1907         wrapped_env.cc: Likewise.
1908         * testsuite/22_locale/ctype/is/wchar_t/2.cc,wrapped_locale.cc,
1909         wrapped_env.cc: Likewise
1910         * testsuite/22_locale/ctype/is/char/2.cc, wrapped_locale.cc,
1911         wrapped_env.cc: Likewise.
1912         * testsuite/22_locale/time_put/put/wchar_t/2.cc, 3.cc, 4.cc, 6.cc,
1913         7.cc, 8.cc, wrapped_env.cc, wrapped_locale.cc, 17038.cc: Likewise.
1914         * testsuite/22_locale/time_put/put/char/2.cc, 3.cc, 4.cc, 6.cc,
1915         9780-1.cc, 7.cc, 8.cc, wrapped_env.cc, wrapped_locale.cc, 17038.cc:
1916         Likewise.
1917         * testsuite/22_locale/money_get/get/wchar_t/1.cc, 2.cc, 3.cc, 4.cc,
1918         wrapped_env.cc, 10.cc, 11528.cc, wrapped_locale.cc, 11.cc, 12.cc,
1919         13.cc, 15.cc, 16.cc, 17.cc, 18.cc: Likewise.
1920         * testsuite/22_locale/money_get/get/char/1.cc, 2.cc, 3.cc, 4.cc,
1921         wrapped_env.cc, 10.cc, 11528.cc, wrapped_locale.cc, 11.cc, 12.cc,
1922         13.cc, 15.cc, 16.cc, 17.cc, 18.cc: Likewise
1923         * testsuite/22_locale/num_put/put/wchar_t/1.cc, 3.cc, 5.cc,
1924         wrapped_env.cc, 20914.cc, wrapped_locale.cc, 20909.cc: Likewise.
1925         * testsuite/22_locale/num_put/put/char/1.cc, 3.cc, 5.cc, 9780-2.cc,
1926         wrapped_env.cc, 20914.cc, wrapped_locale.cc, 20909.cc: Likewise.
1927         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc, wrapped_locale.cc,
1928         3.cc, 4.cc, wrapped_env.cc: Likewise.
1929         * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc,
1930         wrapped_env.cc: Likewise.
1931         testsuite/22_locale/codecvt/length/wchar_t/2.cc, wrapped_locale.cc,
1932         3.cc, 4.cc, 7.cc, wrapped_env.cc: Likewise.
1933         * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc,
1934         wrapped_env.cc: Likewise.
1935         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc,
1936         wrapped_locale.cc, 3.cc, 4.cc, wrapped_env.cc: Likewise.
1937         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc,
1938         wrapped_env.cc: Likewise.
1939         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc, wrapped_locale.cc,
1940         3.cc, 4.cc, wrapped_env.cc: Likewise.
1941         * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc,
1942         wrapped_env.cc: Likewise.
1943         * testsuite/22_locale/codecvt/in/wchar_t/2.cc, wrapped_locale.cc, 3.cc,
1944         4.cc, 7.cc, 8.cc, 9.cc, wrapped_env.cc: Likewise.
1945         * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc,
1946         wrapped_env.cc: Likewise.
1947         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc,
1948         wrapped_locale.cc, 3.cc, 4.cc, wrapped_env.cc: Likewise.
1949         * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc,
1950         wrapped_env.cc: Likewise.
1951         * testsuite/22_locale/codecvt/out/wchar_t/2.cc, wrapped_locale.cc,
1952         3.cc, 4.cc, 7.cc, wrapped_env.cc: Likewise.
1953         * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc,
1954         wrapped_env.cc: Likewise.
1955         * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
1956         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc,
1957         wrapped_env.cc: Likewise.
1958         * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc,
1959         wrapped_env.cc: Likewise.
1960         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc,
1961         wrapped_locale.cc, wrapped_env.cc: Likewise.
1962         * testsuite/22_locale/time_get/get_monthname/char/2.cc,
1963         wrapped_locale.cc, wrapped_env.cc: Likewise.
1964         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc,
1965         wrapped_env.cc: Likewise.
1966         * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc,
1967         wrapped_env.cc: Likewise.
1968         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc,
1969         wrapped_locale.cc, wrapped_env.cc: Likewise.
1970         * testsuite/22_locale/time_get/get_weekday/char/2.cc, 38081-1.cc,
1971         wrapped_locale.cc, 38081-2.cc, wrapped_env.cc: Likewise.
1972         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc, 26701.cc,
1973         2.cc, wrapped_locale.cc, 4.cc, wrapped_env.cc: Likewise.
1974         * testsuite/22_locale/time_get/get_date/char/12750.cc, 26701.cc,
1975         2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise.
1976         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc, 2.cc,
1977         wrapped_locale.cc, wrapped_env.cc: Likewise.
1978         * testsuite/22_locale/time_get/get_time/char/1.cc, 2.cc,
1979         wrapped_locale.cc, wrapped_env.cc: Likewise.
1980         * testsuite/22_locale/num_get/get/wchar_t/1.cc, 3.cc, 5.cc, 6.cc, 9.cc,
1981         wrapped_env.cc, wrapped_locale.cc: Likewise.
1982         * testsuite/22_locale/num_get/get/char/1.cc, 3.cc, 5.cc, 6.cc, 9.cc,
1983         wrapped_env.cc, wrapped_locale.cc: Likewise.
1984         * testsuite/22_locale/locale/cons/38368.cc, 2.cc, 4.cc, 5.cc, 7.cc,
1985         12658_thread-1.cc, 12658_thread-2.cc, 40184.cc, 29217.cc, 38365.cc:
1986         Likewise.
1987         * testsuite/22_locale/locale/global_locale_objects/14071.cc, 2.cc:
1988         Likewise.
1989         * testsuite/22_locale/moneypunct/40712.cc: Likewise.
1990         * testsuite/22_locale/moneypunct/members/wchar_t/2.cc,
1991         wrapped_locale.cc, wrapped_env.cc: Likewise.
1992         * testsuite/22_locale/moneypunct/members/char/2.cc, wrapped_locale.cc,
1993         wrapped_env.cc: Likewise.
1994         * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
1995         * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
1996         * testsuite/22_locale/messages/members/char/1.cc, 2.cc,
1997         wrapped_locale.cc, 3.cc, wrapped_env.cc: Likewise.
1998         * testsuite/22_locale/numpunct/members/wchar_t/2.cc, wrapped_locale.cc,
1999         wrapped_env.cc: Likewise.
2000         * testsuite/22_locale/numpunct/members/char/2.cc, wrapped_locale.cc,
2001         3.cc, wrapped_env.cc: Likewise.
2002         * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
2003
2004 2010-09-14  Matt Austern  <austern@google.com>
2005             Paolo Carlini  <paolo.carlini@oracle.com>
2006
2007         * testsuite/performance/21_strings/hash.cc: New.
2008
2009 2010-09-14  Paolo Carlini  <paolo.carlini@oracle.com>
2010
2011         * testsuite/performance/21_strings/string_append.cc: Rename to...
2012         * testsuite/performance/21_strings/append-1.cc: ... this.
2013         * testsuite/performance/21_strings/string_append_2.cc: Rename to...
2014         * testsuite/performance/21_strings/append-2.cc: ... this.
2015         * testsuite/performance/21_strings/string_cons_input_iterator.cc:
2016         Rename to...
2017         * testsuite/performance/21_strings/cons_input_iterator.cc: ... this.
2018         * testsuite/performance/21_strings/string_copy_cons_and_dest.cc:
2019         Rename to...
2020         * testsuite/performance/21_strings/copy_cons_and_dest.cc: ... this.
2021         * testsuite/performance/21_strings/string_find.cc: Rename to...
2022         * testsuite/performance/21_strings/find.cc: ... this.
2023
2024 2010-09-13  Benjamin Kosnik  <bkoz@redhat.com>
2025
2026         * doc/xml/api.xml: Add title.
2027         * doc/xml/manual/spine.xml: Same.
2028         * doc/xml/spine.xml: Same.
2029
2030 2010-09-13  Matt Austern  <austern@google.com>
2031
2032         * src/hash_bytes.cc: New file, exports _Hash_bytes (a Murmur hash),
2033         and _Fnv_hash_bytes (based on a FNV algorithm).
2034         * src/compatibility-c++0x.cc (hash<string>::operator(),
2035         hash<const string&>::operator(), hash<wstring>::operator(),
2036         hash<const wstring&>::operator(), hash<error_code>::operator()):
2037         Adjust, use _Hash_bytes.
2038         * include/std/system_error (hash<error_code>::operator()): Likewise.
2039         * include/std/thread (hash<thread::id>operator()): Likewise.
2040         * include/std/bitset (hash<bitset>operator()): Likewise.
2041         * include/bits/basic_string.h (hash<string>::operator(),
2042         hash<wstring>::operator(), hash<u16string>::operator(),
2043         hash<u32string>::operator()): Adjust.
2044         * include/bits/vector.tcc (hash<vector<bool>>::operator()): Adjust.
2045         * include/bits/functional_hash.h (_Hash_bytes, _Fnv_hash_bytes):
2046         Declare.
2047         (struct _Hash_impl, struct _Fnv_hash_impl): Add, use _Hash_bytes
2048         and _Fnv_hash_bytes, respectively.
2049         (hash<float>::operator(), hash<double>::operator()): Adjust.
2050         * config/abi/pre/gnu.ver: Add exports.
2051         * src/Makefile.am: Add.
2052         * src/Makefile.in: Regenerate.
2053
2054 2010-09-13  Paolo Carlini  <paolo.carlini@oracle.com>
2055
2056         * include/bits/forward_list.h (forward_list<>::resize(size_type,
2057         value_type)): Fix signature, per LWG 1340.
2058         * include/bits/forward_list.tcc: Adjust definition.
2059
2060 2010-09-13  Paolo Carlini  <paolo.carlini@oracle.com>
2061
2062         * testsuite/27_io/basic_filebuf/seekoff/char/4.cc: New.
2063         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Likewise.
2064
2065 2010-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
2066
2067         * src/hash-string-aux.cc: Remove. Move contents...
2068         * src/hash_tr1.cc: ... here.
2069         * src/compatibility-c++0x.cc: ... and here.
2070
2071 2010-09-09  Paolo Carlini  <paolo.carlini@oracle.com>
2072
2073         PR libstdc++/45613
2074         * include/bits/random.tcc: Add missing include guards.
2075         * include/bits/random.h: Likewise.
2076         * include/tr1/random.tcc: Likewise.
2077
2078 2010-09-09  Paolo Carlini  <paolo.carlini@oracle.com>
2079
2080         * libsupc++/cxxabi.h: Uglify nothrow to __nothrow__; fix a few
2081         inconsistent uglifications everywhere.
2082
2083 2010-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
2084             Marc Glisse  <marc.glisse@normalesup.org>
2085
2086         PR libstdc++/45549
2087         * include/bits/cpp_type_traits.h (__is_iterator_helper): Rename to
2088         __has_iterator_category.
2089         (__is_iterator): Adjust.
2090         * include/bits/stl_iterator_base_types.h (__iterator_traits): Add
2091         in C++0x mode, use the latter.
2092         (iterator_traits): In C++0x mode, derive from the latter.
2093         * include/bits/stl_iterator_base_funcs.h (next, prev): Remove
2094         enable_if on the return type.
2095
2096 2010-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
2097
2098         PR libstdc++/45398
2099         * include/std/atomic (atomic<_TP*>::store): Define.
2100
2101         * include/std/atomic (atomic<_TP*>::load, exchange): Define inline.
2102
2103 2010-09-06  Jason Merrill  <jason@redhat.com>
2104
2105         * testsuite/libstdc++-abi/abi.exp: Add "libstdc++-abi/" to
2106         abi_check FAIL message.
2107
2108 2010-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
2109
2110         PR libstdc++/45347
2111         * include/ext/concurrence.h: Add #pragma GCC system_header.
2112
2113 2010-09-03  François Dumont <francois.cppdevs@free.fr>
2114
2115         * testsuite/lib/libstdc++.exp ([check_v3_target_debug_mode]): Fix so
2116         that it really detects when debug mode is activated.
2117         * testsuite/util/debug/construct_neg.h, insert_neg.h, assign_neg.h:
2118         Remove, content moved...
2119         * testsuite/util/debug/checks.h: ... here. Modify checks to take the
2120         type of the container to test rather than an intermediate container
2121         type traits helper.
2122         * testsuite/23_containers/unordered_map/debug/insert1_neg.cc: Update to
2123         use dg-require-debug-mode when necessary and use new check functions.
2124         * testsuite/23_containers/unordered_map/debug/construct1_neg.cc:
2125         Likewise.
2126         * testsuite/23_containers/unordered_map/debug/construct2_neg.cc:
2127         Likewise.
2128         * testsuite/23_containers/unordered_map/debug/insert2_neg.cc: Likewise.
2129         * testsuite/23_containers/unordered_map/debug/construct3_neg.cc:
2130         Likewise.
2131         * testsuite/23_containers/unordered_map/debug/insert3_neg.cc: Likewise.
2132         * testsuite/23_containers/unordered_map/debug/construct4_neg.cc:
2133         Likewise.
2134         * testsuite/23_containers/unordered_map/debug/insert4_neg.cc: Likewise.
2135         * testsuite/23_containers/multimap/debug/insert1_neg.cc: Likewise.
2136         * testsuite/23_containers/multimap/debug/construct1_neg.cc: Likewise.
2137         * testsuite/23_containers/multimap/debug/construct2_neg.cc: Likewise.
2138         * testsuite/23_containers/multimap/debug/insert2_neg.cc: Likewise.
2139         * testsuite/23_containers/multimap/debug/construct3_neg.cc: Likewise.
2140         * testsuite/23_containers/multimap/debug/insert3_neg.cc: Likewise.
2141         * testsuite/23_containers/multimap/debug/construct4_neg.cc: Likewise.
2142         * testsuite/23_containers/multimap/debug/insert4_neg.cc: Likewise.
2143         * testsuite/23_containers/set/debug/insert1_neg.cc: Likewise.
2144         * testsuite/23_containers/set/debug/construct1_neg.cc: Likewise.
2145         * testsuite/23_containers/set/debug/construct2_neg.cc: Likewise.
2146         * testsuite/23_containers/set/debug/insert2_neg.cc: Likewise.
2147         * testsuite/23_containers/set/debug/construct3_neg.cc: Likewise.
2148         * testsuite/23_containers/set/debug/insert3_neg.cc: Likewise.
2149         * testsuite/23_containers/set/debug/construct4_neg.cc: Likewise.
2150         * testsuite/23_containers/set/debug/insert4_neg.cc: Likewise.
2151         * testsuite/23_containers/unordered_multimap/debug/insert1_neg.cc:
2152         Likewise.
2153         * testsuite/23_containers/unordered_multimap/debug/construct1_neg.cc:
2154         Likewise.
2155         * testsuite/23_containers/unordered_multimap/debug/construct2_neg.cc:
2156         Likewise.
2157         * testsuite/23_containers/unordered_multimap/debug/insert2_neg.cc:
2158         Likewise.
2159         * testsuite/23_containers/unordered_multimap/debug/construct3_neg.cc:
2160         Likewise.
2161         * testsuite/23_containers/unordered_multimap/debug/insert3_neg.cc:
2162         Likewise.
2163         * testsuite/23_containers/unordered_multimap/debug/construct4_neg.cc:
2164         Likewise.
2165         * testsuite/23_containers/unordered_multimap/debug/insert4_neg.cc:
2166         Likewise.
2167         * testsuite/23_containers/vector/debug/assign1_neg.cc: Likewise.
2168         * testsuite/23_containers/vector/debug/construct1_neg.cc: Likewise.
2169         * testsuite/23_containers/vector/debug/construct2_neg.cc: Likewise.
2170         * testsuite/23_containers/vector/debug/assign2_neg.cc: Likewise.
2171         * testsuite/23_containers/vector/debug/construct3_neg.cc: Likewise.
2172         * testsuite/23_containers/vector/debug/assign3_neg.cc: Likewise.
2173         * testsuite/23_containers/vector/debug/construct4_neg.cc: Likewise.
2174         * testsuite/23_containers/vector/debug/assign4_neg.cc: Likewise.
2175         * testsuite/23_containers/vector/debug/insert1_neg.cc: Likewise.
2176         * testsuite/23_containers/vector/debug/insert2_neg.cc: Likewise.
2177         * testsuite/23_containers/vector/debug/insert3_neg.cc: Likewise.
2178         * testsuite/23_containers/vector/debug/insert4_neg.cc: Likewise.
2179         * testsuite/23_containers/unordered_set/debug/insert1_neg.cc: Likewise.
2180         * testsuite/23_containers/unordered_set/debug/construct1_neg.cc:
2181         Likewise.
2182         * testsuite/23_containers/unordered_set/debug/construct2_neg.cc:
2183         Likewise.
2184         * testsuite/23_containers/unordered_set/debug/insert2_neg.cc: Likewise.
2185         * testsuite/23_containers/unordered_set/debug/construct3_neg.cc:
2186         Likewise.
2187         * testsuite/23_containers/unordered_set/debug/insert3_neg.cc: Likewise.
2188         * testsuite/23_containers/unordered_set/debug/construct4_neg.cc:
2189         Likewise.
2190         * testsuite/23_containers/unordered_set/debug/insert4_neg.cc: Likewise.
2191         * testsuite/23_containers/deque/debug/assign1_neg.cc: Likewise.
2192         * testsuite/23_containers/deque/debug/construct1_neg.cc: Likewise.
2193         * testsuite/23_containers/deque/debug/construct2_neg.cc: Likewise.
2194         * testsuite/23_containers/deque/debug/assign2_neg.cc: Likewise.
2195         * testsuite/23_containers/deque/debug/construct3_neg.cc: Likewise.
2196         * testsuite/23_containers/deque/debug/assign3_neg.cc: Likewise.
2197         * testsuite/23_containers/deque/debug/construct4_neg.cc: Likewise.
2198         * testsuite/23_containers/deque/debug/assign4_neg.cc: Likewise.
2199         * testsuite/23_containers/deque/debug/insert1_neg.cc: Likewise.
2200         * testsuite/23_containers/deque/debug/insert2_neg.cc: Likewise.
2201         * testsuite/23_containers/deque/debug/insert3_neg.cc: Likewise.
2202         * testsuite/23_containers/deque/debug/insert4_neg.cc: Likewise.
2203         * testsuite/23_containers/multiset/debug/insert1_neg.cc: Likewise.
2204         * testsuite/23_containers/multiset/debug/construct1_neg.cc: Likewise.
2205         * testsuite/23_containers/multiset/debug/construct2_neg.cc: Likewise.
2206         * testsuite/23_containers/multiset/debug/insert2_neg.cc: Likewise.
2207         * testsuite/23_containers/multiset/debug/construct3_neg.cc: Likewise.
2208         * testsuite/23_containers/multiset/debug/insert3_neg.cc: Likewise.
2209         * testsuite/23_containers/multiset/debug/construct4_neg.cc: Likewise.
2210         * testsuite/23_containers/multiset/debug/insert4_neg.cc: Likewise.
2211         * testsuite/23_containers/list/debug/assign1_neg.cc: Likewise.
2212         * testsuite/23_containers/list/debug/construct1_neg.cc: Likewise.
2213         * testsuite/23_containers/list/debug/construct2_neg.cc: Likewise.
2214         * testsuite/23_containers/list/debug/assign2_neg.cc: Likewise.
2215         * testsuite/23_containers/list/debug/construct3_neg.cc: Likewise.
2216         * testsuite/23_containers/list/debug/assign3_neg.cc: Likewise.
2217         * testsuite/23_containers/list/debug/construct4_neg.cc: Likewise.
2218         * testsuite/23_containers/list/debug/assign4_neg.cc: Likewise.
2219         * testsuite/23_containers/list/debug/insert1_neg.cc: Likewise.
2220         * testsuite/23_containers/list/debug/insert2_neg.cc: Likewise.
2221         * testsuite/23_containers/list/debug/insert3_neg.cc: Likewise.
2222         * testsuite/23_containers/list/debug/insert4_neg.cc: Likewise.
2223         * testsuite/23_containers/unordered_multiset/debug/insert1_neg.cc:
2224         Likewise.
2225         * testsuite/23_containers/unordered_multiset/debug/construct1_neg.cc:
2226         Likewise.
2227         * testsuite/23_containers/unordered_multiset/debug/construct2_neg.cc:
2228         Likewise.
2229         * testsuite/23_containers/unordered_multiset/debug/insert2_neg.cc:
2230         Likewise.
2231         * testsuite/23_containers/unordered_multiset/debug/construct3_neg.cc:
2232         Likewise.
2233         * testsuite/23_containers/unordered_multiset/debug/insert3_neg.cc:
2234         Likewise.
2235         * testsuite/23_containers/unordered_multiset/debug/construct4_neg.cc:
2236         Likewise.
2237         * testsuite/23_containers/unordered_multiset/debug/insert4_neg.cc:
2238         Likewise.
2239         * testsuite/23_containers/map/debug/insert1_neg.cc: Likewise.
2240         * testsuite/23_containers/map/debug/construct1_neg.cc: Likewise.
2241         * testsuite/23_containers/map/debug/construct2_neg.cc: Likewise.
2242         * testsuite/23_containers/map/debug/insert2_neg.cc: Likewise.
2243         * testsuite/23_containers/map/debug/construct3_neg.cc: Likewise.
2244         * testsuite/23_containers/map/debug/insert3_neg.cc: Likewise.
2245         * testsuite/23_containers/map/debug/construct4_neg.cc: Likewise.
2246         * testsuite/23_containers/map/debug/insert4_neg.cc: Likewise.
2247
2248         * testsuite/23_containers/unordered_map/debug/cont_traits.h: Remove.
2249         * testsuite/23_containers/unordered_map/debug/debug_cont_traits.h:
2250         Likewise.
2251         * testsuite/23_containers/multimap/debug/cont_traits.h: Likewise.
2252         * testsuite/23_containers/multimap/debug/debug_cont_traits.h: Likewise.
2253         * testsuite/23_containers/set/debug/cont_traits.h: Likewise.
2254         * testsuite/23_containers/set/debug/debug_cont_traits.h: Likewise.
2255         * testsuite/23_containers/unordered_multimap/debug/cont_traits.h:
2256         Likewise.
2257         * testsuite/23_containers/unordered_multimap/debug/
2258         debug_cont_traits.h: Likewise.
2259         * testsuite/23_containers/vector/debug/cont_traits.h: Likewise.
2260         * testsuite/23_containers/vector/debug/debug_cont_traits.h: Likewise.
2261         * testsuite/23_containers/unordered_set/debug/cont_traits.h: Likewise.
2262         * testsuite/23_containers/unordered_set/debug/debug_cont_traits.h:
2263         Likewise.
2264         * testsuite/23_containers/deque/debug/cont_traits.h: Likewise.
2265         * testsuite/23_containers/deque/debug/debug_cont_traits.h: Likewise.
2266         * testsuite/23_containers/multiset/debug/cont_traits.h: Likewise.
2267         * testsuite/23_containers/multiset/debug/debug_cont_traits.h: Likewise.
2268         * testsuite/23_containers/list/debug/cont_traits.h: Likewise.
2269         * testsuite/23_containers/list/debug/debug_cont_traits.h: Likewise.
2270         * testsuite/23_containers/unordered_multiset/debug/cont_traits.h:
2271         Likewise.
2272         * testsuite/23_containers/unordered_multiset/debug/
2273         debug_cont_traits.h: Likewise.
2274         * testsuite/23_containers/map/debug/cont_traits.h: Likewise.
2275         * testsuite/23_containers/map/debug/debug_cont_traits.h: Likewise.
2276
2277         * testsuite/21_strings/basic_string/element_access/char: Tidy.
2278         * testsuite/21_strings/basic_string/element_access/wchar_t: Likewise.
2279
2280 2010-09-02  Paolo Carlini  <paolo.carlini@oracle.com>
2281
2282         PR libstdc++/40974
2283         * include/Makefile.am: Add -nostdinc++ to PCHFLAGS.
2284         * include/Makefile.in: Regenerate.
2285
2286 2010-09-01  Christopher Yeleighton  <giecrilj@stegny.2a.pl>
2287             Paolo Carlini  <paolo.carlini@oracle.com>
2288
2289         PR libstdc++/45488
2290         * include/bits/stl_algobase.h (lower_bound): Clean-up a tad, move
2291         two variables inside the main loop.
2292         * include/bits/stl_algo.h (lower_bound, upper_bound, equal_range):
2293         Likewise.
2294
2295 2010-08-31  Paolo Carlini  <paolo.carlini@oracle.com>
2296
2297         PR libstdc++/44480
2298         * include/bits/hashtable.h (_Hashtable<>::_M_begin_bucket_index):
2299         Add, caching the index of the first non-empty bucket.
2300         (begin, cbegin): Use it.
2301         (_Hashtable<>::_Hashtable(_InputIterator, _InputIterator, ...),
2302         _Hashtable(const _Hashtable&), _Hashtable(_Hashtable&&),
2303         swap(_Hashtable&), clear): Adjust.
2304         (_M_insert_bucket, _M_insert, erase(const_iterator),
2305         erase(const key_type&), _M_rehash): Update it.
2306
2307         * include/bits/hashtable.h (_Hashtable<>::_M_erase): Remove.
2308         (erase(const_iterator)): Inline the latter.
2309
2310 2010-08-31  Paolo Carlini  <paolo.carlini@oracle.com>
2311
2312         * testsuite/23_containers/forward_list/operations/remove_freed.cc:
2313         Fix test01 return type to void.
2314         * testsuite/util/exception/safety.h: Avoid -Wall -m32 warnings.
2315         * testsuite/util/replacement_memory_operators.h: Likewise.
2316
2317 2010-08-29  Paolo Carlini  <paolo.carlini@oracle.com>
2318
2319         * testsuite/23_containers/bitset/invalidation: Move...
2320         * testsuite/23_containers/bitset/debug/invalidation: ... here.
2321         * testsuite/23_containers/deque/invalidation: Move...
2322         * testsuite/23_containers/deque/debug/invalidation: ... here.
2323         * testsuite/23_containers/list/invalidation: Move...
2324         * testsuite/23_containers/list/debug/invalidation: ... here.
2325         * testsuite/23_containers/map/invalidation: Move...
2326         * testsuite/23_containers/map/debug/invalidation: ... here.
2327         * testsuite/23_containers/multimap/invalidation: Move...
2328         * testsuite/23_containers/multimap/debug/invalidation: ... here.
2329         * testsuite/23_containers/set/invalidation: Move...
2330         * testsuite/23_containers/set/debug/invalidation: ... here.
2331         * testsuite/23_containers/multiset/invalidation: Move...
2332         * testsuite/23_containers/multiset/debug/invalidation: ... here.
2333         * testsuite/23_containers/vector/invalidation: Move...
2334         * testsuite/23_containers/vector/debug/invalidation: ... here.
2335
2336 2010-08-29  François Dumont  <francois.cppdevs@free.fr>
2337
2338         * include/bits/stl_algobase.h (_Iter_base):  Move...
2339         * include/bits/stl_iterator_base_types.h: ...here.
2340         * include/debug/functions.h (__check_valid_range, __check_string,
2341         __check_sorted): Fix to not depend on _GLIBCXX_DEBUG; include
2342         formatter.h and use formatting macros for a consistent debug result.
2343         * include/debug/formatter.h (__check_singular): Declare; do not
2344         include debug.h.
2345         * include/debug/debug.h: Do not include formatter.h.
2346         * include/debug/safe_iterator.h (_Safe_iterator::_Base_Iterator)
2347         rename to iterator_type.
2348         (__gnu_debug::__base): Add.
2349         * include/debug/set.h: Use everywhere __gnu_debug::__base once
2350         iterator range valided.
2351         * include/debug/unordered_map: Likewise.
2352         * include/debug/multiset.h: Likewise.
2353         * include/debug/vector: Likewise.
2354         * include/debug/unordered_set: Likewise.
2355         * include/debug/deque: Likewise.
2356         * include/debug/map.h: Likewise.
2357         * include/debug/string: Likewise.
2358         * include/debug/list: Likewise.
2359         * include/debug/multimap.h: Likewise.
2360         * testsuite/23_containers/util/debug/assign_neg.h: New test cases on
2361         debug checks performed on container assign operation.
2362         * testsuite/23_containers/util/debug/construct_neg.h: New test cases
2363         on debug checks on constructors.
2364         * testsuite/23_containers/util/debug/insert_neg.h: New test cases on
2365         debug checks performed on container insert operations.
2366         * testsuite/23_containers/unordered_map/debug/cont_traits.h,
2367         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2368         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2369         insert3_neg.cc, insert4_neg.cc: New.
2370         * testsuite/23_containers/multimap/debug/cont_traits.h,
2371         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2372         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2373         insert3_neg.cc, insert4_neg.cc: Likewise.
2374         * testsuite/23_containers/set/debug/cont_traits.h,
2375         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2376         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2377         insert3_neg.cc, insert4_neg.cc: Likewise.
2378         * testsuite/23_containers/unordered_multimap/debug/cont_traits.h,
2379         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2380         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2381         insert3_neg.cc, insert4_neg.cc: Likewise.
2382         * testsuite/23_containers/unordered_set/debug/cont_traits.h,
2383         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2384         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2385         insert3_neg.cc, insert4_neg.cc: Likewise.
2386         * testsuite/23_containers/multiset/debug/cont_traits.h,
2387         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2388         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2389         insert3_neg.cc, insert4_neg.cc: Likewise.
2390         * testsuite/23_containers/unordered_multiset/debug/cont_traits.h,
2391         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2392         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2393         insert3_neg.cc, insert4_neg.cc: Likewise.
2394         * testsuite/23_containers/map/debug/cont_traits.h,
2395         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2396         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2397         insert3_neg.cc, insert4_neg.cc: Likewise.
2398         * testsuite/23_containers/vector/debug/cont_traits.h,
2399         debug_cont_traits.h, assign1_neg.cc, assign2_neg.cc, assign3_neg.cc,
2400         assign4_neg.cc, construct1_neg.cc, construct2_neg.cc,
2401         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2402         insert3_neg.cc, insert4_neg.cc: Likewise.
2403         * testsuite/23_containers/deque/debug/cont_traits.h,
2404         debug_cont_traits.h, assign1_neg.cc, assign2_neg.cc, assign3_neg.cc,
2405         assign4_neg.cc, construct1_neg.cc, construct2_neg.cc,
2406         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2407         insert3_neg.cc, insert4_neg.cc: Likewise.
2408         * testsuite/23_containers/list/debug/cont_traits.h,
2409         debug_cont_traits.h, assign1_neg.cc, assign2_neg.cc, assign3_neg.cc,
2410         assign4_neg.cc, construct1_neg.cc, construct2_neg.cc,
2411         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2412         insert3_neg.cc, insert4_neg.cc: Likewise.
2413         * testsuite/performance/23_containers/range_construct/
2414         list_construct1.cc: New, validate performance impact of the patch
2415         on the debug mode.
2416         * testsuite/performance/23_containers/range_construct/
2417         list_construct2.cc: Likewise.
2418         * testsuite/performance/23_containers/range_construct/
2419         vector_construct.cc: Likewise.
2420         * testsuite/performance/23_containers/range_construct/
2421         deque_construct.cc: Likewise.
2422
2423 2010-08-26  Benjamin Kosnik  <bkoz@redhat.com>
2424
2425         * include/bits/stl_iterator_base_types.h: Fix doxygen warning.
2426
2427 2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2428
2429         * configure: Regenerate.
2430
2431 2010-08-18  Kostya Serebryany <kcc@google.com>
2432             Paolo Carlini  <paolo.carlini@oracle.com>
2433
2434         PR libstdc++/45276
2435         * doc/xml/manual/debug.xml ([debug.races]): Add.
2436
2437 2010-08-17  Paolo Carlini  <paolo.carlini@oracle.com>
2438
2439         PR libstdc++/45300
2440         * include/c_std/cwchar: Replace 'restrict' -> '__restrict'.
2441         * include/c_global/cwchar: Likewise.
2442
2443 2010-08-16  Paolo Carlini  <paolo.carlini@oracle.com>
2444
2445         PR libstdc++/45300
2446         * include/c_std/cstdlib: Replace 'restrict' -> '__restrict'.
2447         * include/c_std/cstdio: Likewise.
2448         * include/c_global/cstdlib: Likewise.
2449         * include/c_global/cstdio: Likewise.
2450
2451 2010-08-16  Chris Moller  <cmoller@redhat.com>
2452
2453         http://sourceware.org/bugzilla/show_bug.cgi?id=11874
2454         * python/libstdcxx/v6/printers.py (StdVectorPrinter): Added stuff
2455         to handle pretty-printing of std::vector<bool>.
2456
2457 2010-08-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
2458
2459         PR libstdc++/45283
2460         * testsuite/performance/30_threads/future/polling.cc: Replace calls to
2461         shared_future::is_ready.
2462
2463 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
2464
2465         * include/bits/hashtable.h (_Hashtable<>::operator=(const
2466         _Hashtable&)): Move inline.
2467         (operator=(_Hashtable&&)): Define.
2468         * include/bits/unordered_map.h (unordered_map(unordered_map&&),
2469         unordered_map(const unordered_map&), unordered_multimap
2470         (unordered_multimap&&), unordered_multimap(const unordered_multimap&),
2471         __unordered_map(__unordered_map&&), __unordered_map(const
2472         __unordered_map&), __unordered_multimap(__unordered_multimap&&),
2473         __unordered_multimap(const __unordered_multimap&)): Do not define,
2474         leave implicit.
2475         * include/bits/unordered_set.h (unordered_set(unordered_set&&),
2476         unordered_set(const unordered_set&), unordered_multiset
2477         (unordered_multiset&&), unordered_multiset(const unordered_multiset&),
2478         __unordered_set(__unordered_set&&), __unordered_set(const
2479         __unordered_set&), __unordered_multiset(__unordered_multiset&&),
2480         __unordered_multiset(const __unordered_multiset&)): Likewise.
2481
2482         * include/bits/unordered_map.h (__unordered_map(initializer_list<>),
2483         __unordered_map<>::operator=(initializer_list<>),
2484         __unordered_multimap(initializer_list<>), __unordered_multimap<>::
2485         operator=(initializer_list<>)): Add.
2486         * include/bits/unordered_set.h (__unordered_set(initializer_list<>),
2487         __unordered_set<>::operator=(initializer_list<>),
2488         __unordered_multiset(initializer_list<>), __unordered_multiset<>::
2489         operator=(initializer_list<>)): Likewise.
2490
2491         * include/bits/unordered_map.h (__unordered_map(_InputIterator,
2492         _InputIterator, size_type __n), unordered_map(_InputIterator,
2493         _InputIterator, size_type __n), unordered_map(initializer_list<>,
2494         size_type __n), unordered_multimap(initializer_list<>, size_type __n)):
2495         Fix __n default to 0.
2496         * include/bits/unordered_set.h (__unordered_set(_InputIterator,
2497         _InputIterator, size_type __n), unordered_set(_InputIterator,
2498         _InputIterator, size_type __n), unordered_set(initializer_list<>,
2499         size_type __n), unordered_multiset(initializer_list<>, size_type __n)):
2500         Likewise.
2501         * include/debug/unordered_map (unordered_map(_InputIterator,
2502         _InputIterator, size_type __n), unordered_map(initializer_list<>,
2503         size_type __n), unordered_map(_InputIterator, _InputIterator,
2504         size_type __n), unordered_multimap(initializer_list<>, size_type __n)):
2505         Likewise.
2506         * include/debug/unordered_set (unordered_set(_InputIterator,
2507         _InputIterator, size_type __n), unordered_set(initializer_list<>,
2508         size_type __n), unordered_set(_InputIterator, _InputIterator,
2509         size_type __n), unordered_multiset(initializer_list<>, size_type __n)):
2510         Likewise.
2511         * include/profile/unordered_map (unordered_map(_InputIterator,
2512         _InputIterator, size_type __n), unordered_map(initializer_list<>,
2513         size_type __n), unordered_map(_InputIterator, _InputIterator,
2514         size_type __n), unordered_multimap(initializer_list<>, size_type __n)):
2515         Likewise.
2516         * include/profile/unordered_set (unordered_set(_InputIterator,
2517         _InputIterator, size_type __n), unordered_set(initializer_list<>,
2518         size_type __n), unordered_set(_InputIterator, _InputIterator,
2519         size_type __n), unordered_multiset(initializer_list<>, size_type __n)):
2520         Likewise.
2521
2522 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
2523
2524         PR libstdc++/45281
2525         * include/bits/stl_queue.h (queue(queue&&), operator=(queue&&),
2526         priority_queue(priority_queue&&), operator=(priority_queue&&)):
2527         Remove, per CH 15.
2528
2529 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
2530
2531         * testsuite/23_containers/unordered_map/dr1189.cc: Move to...
2532         * testsuite/23_containers/unordered_map/hash_policy/dr1189.cc:
2533         ... here.
2534         * testsuite/23_containers/unordered_set/dr1189.cc: Move to...
2535         * testsuite/23_containers/unordered_set/hash_policy/dr1189.cc:
2536         ... here.
2537         * testsuite/23_containers/unordered_multimap/dr1189.cc: Move to...
2538         * testsuite/23_containers/unordered_multimap/hash_policy/dr1189.cc:
2539         ... here.
2540         * testsuite/23_containers/unordered_multiset/dr1189.cc: Move to...
2541         * testsuite/23_containers/unordered_multiset/hash_policy/dr1189.cc:
2542         ... here.
2543
2544         * testsuite/23_containers/unordered_set/hash_policy/26132.cc: New.
2545
2546 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
2547
2548         * src/ios_init.cc (ios_base::Init::~Init): Add back semicolon
2549         at the end of the _GLIBCXX_SYNCHRONIZATION_HAPPENS_* macros,
2550         removed by mistake.
2551         * include/tr1_impl/boost_sp_counted_base.h: Likewise.
2552         * include/ext/rc_string_base.h: Likewise.
2553         * include/bits/locale_classes.h: Likewise.
2554         * include/bits/basic_string.h: Likewise.
2555         * include/bits/ios_base.h: Likewise.
2556         * include/bits/c++config: Adjust comment.
2557
2558 2010-08-12  Kostya Serebryany <kcc@google.com>
2559             Paolo Carlini  <paolo.carlini@oracle.com>
2560
2561         * include/bits/c++config (_GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE,
2562         _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER): Add.
2563         * src/ios_init.cc (ios_base::Init::~Init): Decorate with the
2564         latter.
2565         * include/tr1_impl/boost_sp_counted_base.h: Likewise.
2566         * include/ext/rc_string_base.h: Likewise.
2567         * include/bits/locale_classes.h: Likewise.
2568         * include/bits/basic_string.h: Likewise.
2569         * include/bits/ios_base.h: Likewise.
2570         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error
2571         line number.
2572         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2573         * testsuite/ext/profile/mutex_extensions.cc: Likewise.
2574
2575 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2576
2577         * include/bits/hashtable.h (_Hashtable<>::erase(const key_type&)):
2578         Use std::__addressof.
2579
2580         * include/bits/forward_list.tcc (forward_list<>::remove): Deal
2581         correctly with &__tmp->_M_value == &__val.
2582         * testsuite/23_containers/forward_list/operations/remove_freed.cc:
2583         New.
2584
2585 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2586
2587         * include/bits/stl_algo.h (shuffle): Change signature consistently
2588         with random_shuffle (US 121).
2589         * include/bits/algorithmfwd.h: Adjust.
2590         * testsuite/25_algorithms/shuffle/requirements/
2591         explicit_instantiation/2.cc: Likewise.
2592         * testsuite/25_algorithms/shuffle/requirements/
2593         explicit_instantiation/pod.cc: Likewise.
2594
2595 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2596
2597         * include/bits/move.h (forward): Reinstate the N2835 version.
2598
2599 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2600
2601         PR libstdc++/42925
2602         * include/bits/unique_ptr.h (operator==(const unique_ptr<>&,
2603         nullptr_t), operator==(nullptr_t, const unique_ptr<>&),
2604         operator!=(const unique_ptr<>&, nullptr_t),
2605         operator!=(nullptr_t, const unique_ptr<>&)): Add.
2606         * include/bits/shared_ptr_base.h (operator==(const __shared_ptr<>&,
2607         nullptr_t), operator==(nullptr_t, const __shared_ptr<>&),
2608         operator!=(const __shared_ptr<>&, nullptr_t),
2609         operator!=(nullptr_t, const __shared_ptr<>&)): Likewise.
2610         * include/bits/shared_ptr.h (operator==(const shared_ptr<>&,
2611         nullptr_t), operator==(nullptr_t, const shared_ptr<>&),
2612         operator!=(const shared_ptr<>&, nullptr_t),
2613         operator!=(nullptr_t, const shared_ptr<>&)): Likewise.
2614         * testsuite/20_util/unique_ptr/comparison/42925.cc: New.
2615         * testsuite/20_util/shared_ptr/comparison/42925.cc: Likewise.
2616         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
2617         dg-error line numbers.
2618
2619 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2620
2621         * include/bits/unique_ptr.h: Replace _Tp_Deleter -> _Dp, and
2622         _Up_Deleter -> _Ep.
2623
2624 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2625
2626         * include/bits/shared_ptr_base.h: Remove a few now redundant
2627         __glibcxx_function_requires(_ConvertibleConcept...).
2628         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust dg-error
2629         line number.
2630         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
2631
2632 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2633
2634         * testsuite/ext/stdio_sync_filebuf/char/1.cc: Avoid -Wall
2635         warnings.
2636         * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
2637
2638 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2639
2640         * testsuite/23_containers/array/range_access.cc: Avoid -Wall
2641         warnings.
2642
2643 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2644
2645         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Avoid -Wall
2646         warnings.
2647
2648         * include/bits/shared_ptr.h (shared_ptr<>::shared_ptr
2649         (const shared_ptr<>&), shared_ptr(shared_ptr<>&&), weak_ptr<>::
2650         weak_ptr(const weak_ptr<>&), weak_ptr(const shared_ptr<>&)):
2651         Constrain appropriately via std::is_convertible, etc.
2652         * include/bits/shared_ptr_base.h: Likewise.
2653         * include/bits/unique_ptr.h (default_delete<>::
2654         default_delete(const default_delete<>&),
2655         unique_ptr<>::unique_ptr(unique_ptr<>&&), operator=(unique_ptr<>&&)):
2656         Likewise.
2657
2658         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
2659         line numbers.
2660         * testsuite/20_util/shared_ptr/cons/43820.cc: Likewise.
2661
2662         * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(auto_ptr<>&&)):
2663         Add.
2664         * include/std/memory: Adjust includes order.
2665         * testsuite/20_util/unique_ptr/cons/auto_ptr.cc: New.
2666         * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
2667         * testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc: Minor tweaks.
2668
2669 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2670
2671         PR libstdc++/45228
2672         * include/std/tuple (tuple<typename... _Elements>): Constrain
2673         converting constructors and assignment operators with
2674         sizeof...(_UElements) == sizeof...(_Elements).
2675         (tuple(tuple<_UElements...>&): Remove.
2676         (tuple<typename _T1>): Add.
2677         * testsuite/20_util/tuple/cons/45228.cc: New.
2678         * testsuite/20_util/tuple/cons/converting.cc: Likewise.
2679         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
2680         dg-error line number.
2681
2682         * include/std/tuple (_Tuple_impl<>::_Tuple_impl(const _Tuple_impl&)):
2683         Defaulted.
2684
2685         * include/std/tuple (tuple<typename _T1, typename _T2>
2686         ::operator=(pair<_U1, _U2>&&)): Use forward.
2687
2688 2010-08-08  Paolo Carlini  <paolo.carlini@oracle.com>
2689
2690         PR libstdc++/44963
2691         * include/bits/stl_iterator.h (insert_iterator<>::
2692         operator=(const typename _Container::value_type&,
2693         back_insert_iterator<>::
2694         operator=(const typename _Container::value_type&),
2695         front_insert_iterator<>::
2696         operator=(const typename _Container::value_type&))): Add
2697         in C++0x mode.
2698         * testsuite/ext/rope/44963.cc: New.
2699         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
2700         dg-error line number.
2701
2702 2010-08-08  Paolo Carlini  <paolo.carlini@oracle.com>
2703
2704         * include/c_global/cmath: Implement US 136.
2705         * include/tr1_impl/cmath: Do not bring fpclassify, etc from namespace
2706         std, define namespace tr1.
2707         * testsuite/26_numerics/headers/cmath/
2708         c99_classification_macros_c++0x.cc: New.
2709
2710 2010-08-06  David Malcolm  <dmalcolm@redhat.com>
2711             Jan Kratochvil  <jan.kratochvil@redhat.com>
2712
2713         * python/hook.in: Rename variable dir to dir_.
2714
2715 2010-08-06  Jason Merrill  <jason@redhat.com>
2716
2717         * include/std/thread: Add deleted thread(thread&).
2718         * testsuite/30_threads/thread/cons/copy_neg.cc: Remove XFAIL.
2719
2720 2010-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
2721
2722         * include/std/tuple (pack_arguments): Rename to forward_as_tuple
2723         and simplify, per US 98 and US 99.
2724         * testsuite/20_util/tuple/creation_functions/pack_arguments.cc:
2725         Rename to...
2726         * testsuite/20_util/tuple/creation_functions/forward_as_tuple.cc:
2727         ... this, adjust.
2728         * testsuite/20_util/pair/piecewise.cc: Adjust.
2729
2730 2010-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
2731
2732         * include/std/tuple (begin, end): Remove per GB 87.
2733         * testsuite/20_util/tuple/range_access.cc: Remove.
2734
2735 2010-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
2736
2737         * include/std/ratio (ratio_less): Improve, use ratio_divide to avoid
2738         more overflows.
2739         * testsuite/20_util/ratio/comparisons/comp1.cc: Extend.
2740         * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
2741
2742 2010-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
2743
2744         * include/tr1_impl/utility (begin, end): Remove per GB 85.
2745         * testsuite/20_util/pair/range_access.cc: Remove.
2746
2747         * include/std/functional (function<>::function()): Remove explicit,
2748         per JP 3.
2749
2750 2010-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
2751
2752         * include/bits/move.h (forward): Update to N3092.
2753         (identity): Remove (US 92 is NAD).
2754         * include/debug/set.h: Fix move constructor to simply use move.
2755         * include/debug/unordered_map: Likewise.
2756         * include/debug/multiset.h: Likewise.
2757         * include/debug/vector: Likewise.
2758         * include/debug/unordered_set: Likewise.
2759         * include/debug/deque: Likewise.
2760         * include/debug/map.h: Likewise.
2761         * include/debug/string: Likewise.
2762         * include/debug/list: Likewise.
2763         * include/debug/multimap.h: Likewise.
2764         * include/profile/set.h: Likewise.
2765         * include/profile/unordered_map: Likewise.
2766         * include/profile/multiset.h: Likewise.
2767         * include/profile/unordered_set: Likewise.
2768         * include/profile/vector: Likewise.
2769         * include/profile/deque: Likewise.
2770         * include/profile/map.h: Likewise.
2771         * include/profile/list: Likewise.
2772         * include/profile/multimap.h: Likewise.
2773         * include/ext/vstring.h: Likewise.
2774         * include/bits/stl_list.h: Likewise.
2775         * include/bits/stl_map.h: Likewise.
2776         * include/bits/stl_set.h: Likewise.
2777         * include/bits/forward_list.h: Likewise.
2778         * include/bits/stl_multimap.h: Likewise.
2779         * include/bits/unordered_map.h: Likewise.
2780         * include/bits/stl_vector.h: Likewise.
2781         * include/bits/stl_deque.h: Likewise.
2782         * include/bits/stl_multiset.h: Likewise.
2783         * include/bits/unordered_set.h: Likewise.
2784         * include/bits/stl_bvector.h: Likewise.
2785         * testsuite/20_util/identity/value.cc: Remove
2786         * testsuite/20_util/identity/requirements/typedefs.cc: Likewise.
2787         * testsuite/20_util/identity/requirements/explicit_instantiation.cc:
2788         Likewise.
2789
2790 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
2791
2792         * acinclude.m4 ([GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS]): Fix
2793         messages.
2794         * configure: Regenerate.
2795
2796 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
2797
2798         * include/ext/vstring_util.h: Include bits/range_access.h.
2799         * testsuite/ext/vstring/range_access.cc: New test.
2800
2801 2010-07-27  Ed Smith-Rowland  <3dw4rd@verizon.net>
2802
2803         * include/bits/range_access.h: New.
2804         * include/Makefile.in: Add bits/range_access.h.
2805         * include/Makefile.am: Regenerate.
2806         * include/std/array: Include bits/range_access.h.
2807         * include/std/deque: Ditto.
2808         * include/std/forward_list: Ditto.
2809         * include/std/iterator: Ditto.
2810         * include/std/list: Ditto.
2811         * include/std/map: Ditto.
2812         * include/std/regex: Ditto.
2813         * include/std/set: Ditto.
2814         * include/std/string: Ditto.
2815         * include/std/unordered_map: Ditto.
2816         * include/std/unordered_set: Ditto.
2817         * include/std/vector: Ditto.
2818         * include/std/valarray: Add begin() and end().
2819         * libsupc++/initializer_list: Ditto.
2820         * include/tr1_impl/utility: Add begin() and end().
2821         * include/std/tuple: Ditto.
2822         * testsuite/24_iterators/headers/iterator/range_access.cc: New test.
2823         * testsuite/24_iterators/range_access.cc: Ditto.
2824         * testsuite/28_regex/range_access.cc: Ditto.
2825         * testsuite/18_support/initializer_list/range_access.cc: Ditto.
2826         * testsuite/21_strings/basic_string/range_access.cc: Ditto.
2827         * testsuite/26_numerics/valarray/range_access.cc: Ditto.
2828         * testsuite/23_containers/unordered_map/range_access.cc: Ditto.
2829         * testsuite/23_containers/multimap/range_access.cc: Ditto.
2830         * testsuite/23_containers/set/range_access.cc: Ditto.
2831         * testsuite/23_containers/unordered_multimap/range_access.cc: Ditto.
2832         * testsuite/23_containers/forward_list/range_access.cc: Ditto.
2833         * testsuite/23_containers/unordered_set/range_access.cc: Ditto.
2834         * testsuite/23_containers/vector/range_access.cc: Ditto.
2835         * testsuite/23_containers/deque/range_access.cc: Ditto.
2836         * testsuite/23_containers/multiset/range_access.cc: Ditto.
2837         * testsuite/23_containers/list/range_access.cc: Ditto.
2838         * testsuite/23_containers/unordered_multiset/range_access.cc: Ditto.
2839         * testsuite/23_containers/map/range_access.cc: Ditto.
2840         * testsuite/23_containers/array/range_access.cc: Ditto.
2841         * testsuite/20_util/tuple/range_access.cc: Ditto.
2842         * testsuite/20_util/pair/range_access.cc: Ditto.
2843
2844 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
2845             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2846
2847         * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): Remove.
2848         ([GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS]): Add, actually
2849         compute the constants via AC_COMPUTE_INT.
2850         * configure.ac: Call the latter.
2851         * include/bits/ios_base.h: Adjust.
2852         * include/bits/char_traits.h: Likewise.
2853         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error
2854         line number.
2855         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2856         * config.h.in: Regenerate.
2857         * configure: Likewise.
2858
2859 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
2860
2861         * config/io/c_io_stdio.h: Do not include <cstddef>.
2862
2863 2010-07-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2864
2865         * testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
2866         9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC.
2867         * testsuite/22_locale/num_put/put/wchar_t/14220.cc: XFAIL on
2868         Solaris 9/x86 and 32-bit Solaris 10/x86.
2869
2870         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
2871         Only XFAIL on Solaris 8 and 9.
2872         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
2873         Likewise.
2874
2875         * testsuite/ext/enc_filebuf/char/13598.cc: XFAIL before Solaris 11.
2876
2877 2010-07-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
2878
2879         PR libstdc++/45060
2880         * include/bits/hashtable.h (_Hashtable::_Hashtable(_Hashtable&&)):
2881         Reorder mem-initializers.
2882
2883 2010-07-22  Benjamin Kosnik  <bkoz@redhat.com>
2884
2885         DocBook 4.5 to 5.0 transition.
2886         * doc/xml/authors.xml: Update markup to DocBook 5.0.
2887         * doc/xml/faq.xml: Same.
2888         * doc/xml/api.xml: Same.
2889         * doc/xml/class.txml
2890         * doc/xml/gnu/gpl-3.0.xml: Same.
2891         * doc/xml/gnu/fdl-1.2.xml: Same.
2892         * doc/xml/gnu/fdl-1.3.xml: Same.
2893         * doc/xml/gnu/gpl-2.0.xml: Same.
2894         * doc/xml/chapter.txml: Same.
2895         * doc/xml/manual/mt_allocator.xml: Same.
2896         * doc/xml/manual/allocator.xml: Same.
2897         * doc/xml/manual/ctype.xml: Same.
2898         * doc/xml/manual/numerics.xml: Same.
2899         * doc/xml/manual/codecvt.xml: Same.
2900         * doc/xml/manual/backwards_compatibility.xml: Same.
2901         * doc/xml/manual/concurrency.xml: Same.
2902         * doc/xml/manual/intro.xml: Same.
2903         * doc/xml/manual/abi.xml: Same.
2904         * doc/xml/manual/shared_ptr.xml: Same.
2905         * doc/xml/manual/status_cxxtr1.xml: Same.
2906         * doc/xml/manual/auto_ptr.xml: Same.
2907         * doc/xml/manual/internals.xml: Same.
2908         * doc/xml/manual/atomics.xml: Same.
2909         * doc/xml/manual/parallel_mode.xml: Same.
2910         * doc/xml/manual/status_cxx1998.xml: Same.
2911         * doc/xml/manual/profile_mode.xml: Same.
2912         * doc/xml/manual/containers.xml: Same.
2913         * doc/xml/manual/io.xml: Same.
2914         * doc/xml/manual/concurrency_extensions.xml: Same.
2915         * doc/xml/manual/appendix_porting.xml: Same.
2916         * doc/xml/manual/utilities.xml: Same.
2917         * doc/xml/manual/support.xml: Same.
2918         * doc/xml/manual/bitmap_allocator.xml: Same.
2919         * doc/xml/manual/configure.xml: Same.
2920         * doc/xml/manual/build_hacking.xml: Same.
2921         * doc/xml/manual/evolution.xml: Same.
2922         * doc/xml/manual/using.xml: Same.
2923         * doc/xml/manual/using_exceptions.xml: Same.
2924         * doc/xml/manual/debug.xml: Same.
2925         * doc/xml/manual/localization.xml: Same.
2926         * doc/xml/manual/strings.xml: Same.
2927         * doc/xml/manual/debug_mode.xml: Same.
2928         * doc/xml/manual/locale.xml: Same.
2929         * doc/xml/manual/extensions.xml: Same.
2930         * doc/xml/manual/appendix_contributing.xml: Same.
2931         * doc/xml/manual/prerequisites.xml: Same.
2932         * doc/xml/manual/messages.xml: Same.
2933         * doc/xml/manual/diagnostics.xml: Same.
2934         * doc/xml/manual/algorithms.xml: Same.
2935         * doc/xml/manual/appendix_free.xml: Same.
2936         * doc/xml/manual/iterators.xml: Same.
2937         * doc/xml/manual/spine.xml: Same.
2938         * doc/xml/manual/status_cxxtr24733.xml: Same.
2939         * doc/xml/manual/status_cxx200x.xml: Same.
2940         * doc/xml/manual/test.xml: Same.
2941         * doc/xml/book.txml: Same.
2942         * doc/xml/spine.xml: Same.
2943         * doc/Makefile.am: Same.
2944         * doc/Makefile.in: Regenerate.
2945
2946 2010-07-20  Benjamin Kosnik  <bkoz@redhat.com>
2947
2948         * doc/xml/manual/appendix_contributing.xml: Update for new reality.
2949         * doc/Makefile.am (doc-xml): New default rule for XML output.
2950         (doc-xml-single-doxygen): Standardize output names.
2951         * doc/Makefile.in: Regenerate.
2952
2953         * doc/doxygen/user.cfg.in: Tweak.
2954
2955 2010-07-20  Paolo Carlini  <paolo.carlini@oracle.com>
2956
2957         * libsupc++/unwind-cxx.h: Minor formatting / stylistic tweaks.
2958
2959 2010-07-20  Mikael Pettersson  <mikpe@it.uu.se>
2960
2961         PR libstdc++/44902
2962         * libsupc++/unwind-cxx.h (__cxa_type_match): Correct prototype.
2963         (__cxa_begin_cleanup): Likewise.
2964
2965 2010-07-19  Benjamin Kosnik  <bkoz@redhat.com>
2966
2967         * doc/Makefile.am (doc-texinfo): New rule.
2968         (doc-texinfo-docbook): New rule.
2969         (DB2TEXI_FLAGS): New.
2970         (doc-xml-single-docbook): Just the manual, not the set. Tweak flags.
2971         * doc/Makefile.in: Regenerate.
2972
2973 2010-07-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
2974
2975         * doc/xml/manual/shared_ptr.xml: Update.
2976         * doc/html/*: Regenerate.
2977
2978 2010-07-13  Benjamin Kosnik  <bkoz@redhat.com>
2979
2980         * doc/Makefile.am: Edit pdf rules.
2981         (doc-man, doc-pdf, doc-html): Expand default rules.
2982         * doc/Makefile.in: Regenerate.
2983         * doc/doxygen/user.cfg.in: Update to Doxygen 1.7.1.
2984
2985 2010-07-11  Paolo Carlini  <paolo.carlini@oracle.com>
2986
2987         * include/std/type_traits (is_convertible): Use SFINAE.
2988         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
2989         dg-error line numbers.
2990         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2991         Likewise.
2992         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2993
2994 2010-07-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
2995
2996         PR libstdc++/44875
2997         * doc/xml/manual/status_cxx200x.xml: Corrections to status.
2998         * doc/html/*: Regenerate.
2999
3000 2010-07-08  Benjamin Kosnik  <bkoz@redhat.com>
3001
3002         * include/bits/stl_heap.h: Update markup.
3003         * include/bits/move.h: Same.
3004         * include/bits/algorithmfwd.h: Same.
3005         * include/bits/regex.h: Same.
3006         * include/bits/random.h: Same.
3007         * doc/doxygen/doxygroups.cc: Same.
3008         * doc/doxygen/user.cfg.in: Remove include/tr1_impl/regex from
3009         input file list.
3010         * doc/Makefile.am (doc-pdf-doxygen): Add comment, put generated
3011         pdf in location consistent with docbook pdf generation.
3012         * doc/Makefile.in: Regenerate.
3013
3014 2010-07-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
3015
3016         * doc/xml/manual/status_cxx200x.xml: Add some missing features.
3017         * doc/html/*: Regenerate.
3018
3019 2010-07-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
3020
3021         * include/bits/regex_compiler.h: Fix filename in doxygen comment.
3022         * include/bits/regex_constants.h: Likewise.
3023         * include/bits/regex_error.h: Likewise.
3024         * include/bits/regex_grep_matcher.h: Likewise.
3025         * include/bits/regex_grep_matcher.tcc: Likewise.
3026         * include/bits/regex_nfa.tcc: Likewise.
3027
3028 2010-07-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3029
3030         * acinclude.m4 (symvers_renaming): Define
3031         HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT instead of
3032         _GLIBCXX_HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT.
3033         Fix syntax error.
3034         * config.h.in: Regenerate.
3035         * configure: Regenerate.
3036
3037 2010-07-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3038
3039         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle sun style.
3040         Require GCC_PROG_GNU_CXXFILT.
3041         (_GLIBCXX_HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT): Define
3042         unless targetting solaris2*.
3043         Include ../config/gc++filt.m4.
3044         * configure.host (i?86-*-solaris2*): Set abi_baseline_pair.
3045         (sparc-*-solaris2*): Likewise.
3046         * src/Makefile.am [ENABLE_SYMVERS_SUN] (version_dep, version_arg):
3047         New variables.
3048         (libstdc++-symbols.ver-sun): New target.
3049         * configure: Regenerate.
3050         * config.h.in: Regenerate.
3051         * Makefile.in: Likewise.
3052         * doc/Makefile.in: Likewise.
3053         * include/Makefile.in: Likewise.
3054         * libsupc++/Makefile.in: Likewise.
3055         * po/Makefile.in: Likewise.
3056         * python/Makefile.in: Likewise.
3057         * src/Makefile.in: Likewise.
3058         * src/atomic.cc: Only define/use _GLIBCXX_ASM_SYMVER if
3059         _GLIBCXX_HAVE_SYMVER_RENAMING_RUNTIME_SUPPORT.
3060         * src/compatibility.cc: Likewise.
3061         * testsuite/Makefile.am (baseline_subdir): Define.
3062         (baseline_symbols): Use it.
3063         (new-abi-baseline): Likewise.
3064         * testsuite/Makefile.in: Regenerate.
3065
3066         * config/abi/pre/gnu.ver (GLIBCXX_3.4.5): Enclose duplicates in
3067         #ifdef HAVE_SYMVER_RENAMING_RUNTIME_SUPPORT.
3068         (GLIBCXX_3.4.6): Likewise.
3069
3070         * doc/xml/manual/configure.xml (--enable-symvers): Document sun
3071         style.
3072
3073         * doc/xml/manual/abi.xml: Fix grammar.
3074         (Symbol versioning on the libstdc++.so binary): Fix mapfile path.
3075         (Incremental bumping of a library pre-defined macro): Fix
3076         c++config path.
3077         (Incremental bumping of a library pre-defined macro,
3078         _GLIBCPP_VERSION): Likewise.
3079         (Matching each specific C++ compiler release to a specific set of
3080         C++ include files): Fix acinclude.m4 path.
3081         (Prerequisites): Allow for Sun linker on Solaris 2.5+.
3082         Use proper link to Configuring.
3083         Fix acinclude.m4 path.
3084         (Checking Active): Allow for additional symbol versioning styles.
3085         Provide Solaris 2 example with pvs -r.
3086         (Bibliography): Update Linker and Libraries Guide, C++ Migration
3087         Guide entries.
3088
3089 2010-06-29  Jason Merrill  <jason@redhat.com>
3090
3091         Enable implicitly declared move constructor/operator= (N3053).
3092         * include/bits/unordered_map.h: Explicitly default copy constructors.
3093         * include/bits/unordered_set.h: Likewise.
3094
3095         * 19_diagnostics/error_category/cons/copy_neg.cc: Adjust expected
3096         errors, use dg-prune-output.
3097         * 20_util/function/cmp/cmp_neg.cc: Likewise.
3098         * 20_util/unique_ptr/assign/assign_neg.cc: Likewise.
3099         * 20_util/unique_ptr/cons/pointer_array_convertible.cc: Likewise.
3100         * 20_util/unique_ptr/modifiers/reset_neg.cc: Likewise.
3101         * 29_atomics/atomic/cons/assign_neg.cc: Likewise.
3102         * 29_atomics/atomic/cons/copy_neg.cc: Likewise.
3103         * 29_atomics/atomic_address/cons/assign_neg.cc: Likewise.
3104         * 29_atomics/atomic_address/cons/copy_neg.cc: Likewise.
3105         * 29_atomics/atomic_flag/cons/assign_neg.cc: Likewise.
3106         * 29_atomics/atomic_flag/cons/copy_neg.cc: Likewise.
3107         * 29_atomics/atomic_integral/cons/assign_neg.cc: Likewise.
3108         * 29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
3109         * 29_atomics/condition_variable/cons/assign_neg.cc: Likewise.
3110         * 30_threads/condition_variable/cons/copy_neg.cc: Likewise.
3111         * 30_threads/condition_variable_any/cons/assign_neg.cc: Likewise.
3112         * 30_threads/condition_variable_any/cons/copy_neg.cc: Likewise.
3113         * 30_threads/future/cons/assign_neg.cc: Likewise.
3114         * 30_threads/future/cons/copy_neg.cc: Likewise.
3115         * 30_threads/mutex/cons/assign_neg.cc: Likewise.
3116         * 30_threads/mutex/cons/copy_neg.cc: Likewise.
3117         * 30_threads/packaged_task/cons/assign_neg.cc: Likewise.
3118         * 30_threads/packaged_task/cons/copy_neg.cc: Likewise.
3119         * 30_threads/promise/cons/assign_neg.cc: Likewise.
3120         * 30_threads/promise/cons/copy_neg.cc: Likewise.
3121         * 30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
3122         * 30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
3123         * 30_threads/recursive_timed_mutex/cons/assign_neg.cc: Likewise.
3124         * 30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
3125         * 30_threads/thread/cons/assign_neg.cc: Likewise.
3126         * 30_threads/thread/cons/copy_neg.cc: Likewise.
3127         * 30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
3128         * 30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
3129         * ext/ext_pointer/1_neg.cc: Likewise.
3130
3131 2010-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
3132
3133         PR libstdc++/44708
3134         * include/ext/algorithm (copy_n): Qualify __copy_n call with
3135         __gnu_cxx::
3136         * testsuite/ext/rope/44708.cc: New.
3137
3138 2010-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
3139
3140         * include/bits/regex_compiler.h: Trivial formatting / stylistic fixes.
3141         * include/bits/regex_grep_matcher.tcc: Likewise.
3142         * include/bits/regex_cursor.h: Likewise.
3143         * include/bits/regex.h: Likewise.
3144
3145 2010-06-26  Paolo Carlini  <paolo.carlini@oracle.com>
3146
3147         * testsuite/util/testsuite_hooks.h: Cast fn to bool.
3148
3149 2010-06-26  Kees Cook  <kees.cook@canonical.com>
3150
3151         * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Verify freopen.
3152         * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
3153         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
3154         * testsuite/27_io/objects/wchar_t/12048-2.cc: Likewise.
3155         * testsuite/27_io/objects/wchar_t/12048-4.cc: Likewise.
3156         * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
3157         * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
3158         * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
3159         * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
3160         * testsuite/27_io/objects/wchar_t/12048-5.cc: Likewise.
3161         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
3162         * testsuite/27_io/objects/char/12048-2.cc: Likewise.
3163         * testsuite/27_io/objects/char/12048-4.cc: Likewise.
3164         * testsuite/27_io/objects/char/9.cc: Likewise.
3165         * testsuite/27_io/objects/char/12048-1.cc: Likewise.
3166         * testsuite/27_io/objects/char/12048-3.cc: Likewise.
3167         * testsuite/27_io/objects/char/12048-5.cc: Likewise.
3168         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
3169         * testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Verify fgets.
3170         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: Verify
3171         fwrite.
3172         * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
3173         * testsuite/ext/stdio_sync_filebuf/char/1.cc: Likewise.
3174
3175 2010-06-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
3176
3177         * doc/xml/faq.xml: Fix typo.
3178         * doc/html/faq.xml: Likewise.
3179
3180 2010-06-25  Stephen M. Webb  <stephen.webb@bregmasoft.ca>
3181
3182         Initial regex implementation.
3183         * include/std/regex: Modified to use bits/regex_* headers.
3184         * include/bits/regex_compiler.h: New.
3185         * include/bits/regex_constants.h: Likewise.
3186         * include/bits/regex_cursor.h: Likewise.
3187         * include/bits/regex_error.h: Likewise.
3188         * include/bits/regex_grep_matcher.h: Likewise.
3189         * include/bits/regex_grep_matcher.tcc: Likewise.
3190         * include/bits/regex.h: Likewise.
3191         * include/bits/regex_nfa.h: Likewise.
3192         * include/bits/regex_nfa.tcc: Likewise.
3193         * include/Makefile.am: Add.
3194         * include/Makefile.in: Regenerated.
3195         * testsuite/28_regex/02_definitions: New.
3196         * testsuite/28_regex/03_requirements: Likewise.
3197         * testsuite/28_regex/03_requirements/typedefs.cc: Likewise.
3198         * testsuite/28_regex/04_header: Likewise.
3199         * testsuite/28_regex/04_header/regex: Likewise.
3200         * testsuite/28_regex/04_header/regex/std_c++0x_neg.cc: Likewise.
3201         * testsuite/28_regex/05_constants: Likewise.
3202         * testsuite/28_regex/05_constants/error_type.cc: Likewise.
3203         * testsuite/28_regex/05_constants/match_flag_type.cc: Likewise.
3204         * testsuite/28_regex/05_constants/syntax_option_type.cc: Likewise.
3205         * testsuite/28_regex/06_exception_type: Likewise.
3206         * testsuite/28_regex/06_exception_type/regex_error.cc: Likewise.
3207         * testsuite/28_regex/07_traits: Likewise.