OSDN Git Service

2011-04-12 Allan McRae <allan@archlinux.org>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2011-04-12  Allan McRae  <allan@archlinux.org>
2
3         PR libstdc++/48566
4         * testsuite/tr1/6_containers/unordered_map/requirements/
5         iterator_null_neg.cc: Include <cstddef>.
6         * testsuite/tr1/6_containers/unordered_set/requirements/
7         iterator_null_neg.cc: Likewise.
8         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
9         <cstring>.
10         * testsuite/util/testsuite_common_types.h: Include <limits>.
11         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
12         Adjust dg-error line numbers.
13         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
14         * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
15         Likewise.
16         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
17         Likewise.
18         * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
19         Likewise.
20         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
21         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
22
23 2011-04-11  Jason Merrill  <jason@redhat.com>
24
25         * testsuite/20_util/is_convertible/value.cc: Adjust.
26
27 2011-04-11  Paolo Carlini  <paolo.carlini@oracle.com>
28
29         * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
30         it in parallel-mode for check-parallel.
31         * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
32         * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
33         * testsuite/25_algorithms/remove/moveable.cc: Likewise.
34         * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
35         Likewise.
36         * testsuite/25_algorithms/unique/moveable.cc: Likewise.
37         * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
38         * testsuite/25_algorithms/heap/moveable.cc: Likewise.
39
40         * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
41         the tests based on std::lexicographical_compare for check-parallel.
42         * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
43
44 2011-04-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
45
46         PR libstdc++/48541
47         * include/std/functional (_Base_manager::_M_get_pointer): Use
48         addressof.
49         * testsuite/20_util/function/48541.cc: New.
50
51 2011-04-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
52
53         PR libstdc++/48465
54         * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
55         * configure: Regenerate.
56         * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
57         * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
58
59 2011-04-06  Jeffrey Yasskin  <jyasskin@google.com>
60
61         * include/ext/algorithm (is_sorted): In C++0x mode import from
62         namespace std.
63         * include/ext/numeric (iota): In C++0x mode import from
64         namespace std.
65         * testsuite/ext/is_sorted/cxx0x.cc: New.
66         * testsuite/ext/iota/cxx0x.cc: New.
67
68 2011-04-02  Jonathan Wakely  <redi@gcc.gnu.org>
69
70         PR libstdc++/48398
71         * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
72         * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
73         * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
74         unused parameter name.
75
76 2011-03-31  Jeffrey Yasskin  <jyasskin@google.com>
77
78         * libsupc++/exception_ptr.h: Forward-declare std::type_info.
79         * libsupc++/nested_exception.h (__throw_with_nested): Remove a
80         redundant default argument from std::__throw_with_nested.
81
82 2011-03-31  Paolo Carlini  <paolo.carlini@oracle.com>
83
84         PR libstdc++/48382
85         * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
86         * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
87         * src/Makefile.in: Regenerate.
88         * include/Makefile.am: Remove ctype_noninline.h from host_headers.
89         * include/Makefile.in: Regenerate.
90         * doc/xml/manual/internals.xml: Update.
91         * config/os/newlib/ctype_noninline.h: Fixup and rename to...
92         * config/os/newlib/ctype_configure_char.cc: ... this.
93         * config/os/aix/ctype_noninline.h: Likewise.
94         * config/os/aix/ctype_configure_char.cc: Likewise.
95         * config/os/vxworks/ctype_noninline.h: Likewise.
96         * config/os/vxworks/ctype_configure_char.cc
97         * config/os/hpux/ctype_noninline.h: Likewise.
98         * config/os/hpux/ctype_configure_char.cc: Likewise.
99         * config/os/gnu-linux/ctype_noninline.h: Likewise.
100         * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
101         * config/os/mingw32/ctype_noninline.h: Likewise.
102         * config/os/mingw32/ctype_configure_char.cc: Likewise.
103         * config/os/tpf/ctype_noninline.h: Likewise.
104         * config/os/tpf/ctype_configure_char.cc: Likewise.
105         * config/os/uclibc/ctype_noninline.h: Likewise.
106         * config/os/uclibc/ctype_configure_char.cc: Likewise.
107         * config/os/bionic/ctype_noninline.h: Likewise.
108         * config/os/bionic/ctype_configure_char.cc: Likewise.
109         * config/os/djgpp/ctype_noninline.h: Likewise.
110         * config/os/djgpp/ctype_configure_char.cc: Likewise.
111         * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
112         * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
113         * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
114         * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
115         * config/os/bsd/darwin/ctype_noninline.h: Likewise.
116         * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
117         * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
118         * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
119         * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
120         * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
121         * config/os/generic/ctype_noninline.h: Likewise.
122         * config/os/generic/ctype_configure_char.cc: Likewise.
123         * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
124         * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
125
126 2011-03-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
127
128         * include/std/future (future::share): Add.
129         (packaged_task::result_type): Remove as per LWG 2030.
130         (packaged_task::packaged_task): Remove redundant constructors, as per
131         LWG 1514.
132         * testsuite/30_threads/future/members/share.cc: New.
133         * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
134
135 2011-03-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
136
137         * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
138         members which require a fully established result state.
139         * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
140
141 2011-03-25  Paolo Carlini  <paolo.carlini@oracle.com>
142
143         * include/bits/random.h (negative_binomial_distribution<>::
144         negative_binomial_distribution(_IntType, double),
145         negative_binomial_distribution<>::
146         negative_binomial_distribution(const param_type&)): Tweak
147         construction of _M_gd.
148         * include/bits/random.tcc (negative_binomial_distribution<>::
149         operator()): Adjust.
150
151 2011-03-24  Paolo Carlini  <paolo.carlini@oracle.com>
152
153         * include/bits/random.h (negative_binomial_distribution<>::
154         negative_binomial_distribution(_IntType, double),
155         negative_binomial_distribution<>::
156         negative_binomial_distribution(const param_type&)): Fix
157         construction of _M_gd.
158         * include/bits/random.tcc (negative_binomial_distribution<>::
159         operator()): Fix computation, per Leger's algorithm.
160         * testsuite/util/testsuite_random.h (discrete_pdf,
161         negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
162         (binomial_pdf): Swap last two parameters.
163         * testsuite/26_numerics/random/discrete_distribution/
164         operators/values.cc: New.
165         * testsuite/26_numerics/random/negative_binomial_distribution/
166         operators/values.cc: Likewise.
167         * testsuite/26_numerics/random/poisson_distribution/
168         operators/values.cc: Likewise.
169         * testsuite/26_numerics/random/uniform_int_distribution/
170         operators/values.cc: Likewise.
171         * testsuite/26_numerics/random/binomial_distribution/
172         operators/values.cc: Adjust.
173
174 2011-03-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
175
176         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
177         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
178         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
179         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
180         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
181
182 2011-03-23  Matthias Klose  <doko@ubuntu.com>
183
184         * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
185
186 2011-03-23  Uros Bizjak  <ubizjak@gmail.com>
187
188         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
189
190 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
191
192         * configure.ac: Don't handle powerpc*-*-gnu*.
193         * configure: Regenerate.
194
195 2011-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
196
197         * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
198         Copyright years.
199         * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
200         Likewise.
201
202 2011-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
203
204         * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
205         per DR 1401.
206         (operator==, operator!=, operator<): Fix per the letter of DR 1401.
207         * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
208         * include/bits/unique_ptr.h (operator==, operator!=, operator<,
209         operator<=, operator>, operator>=): Fix per the letter of DR 1401.
210         * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
211         * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
212         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
213
214 2011-03-22  Jakub Jelinek  <jakub@redhat.com>
215
216         * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
217         and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
218         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
219         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
220         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
221         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
222         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
223         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
224         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
225         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
226         Likewise.
227         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
228         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
229         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
230         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
231         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
232         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
233         * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
234         * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
235         test.
236
237 2011-03-21  Jack Howarth  <howarth@bromo.med.uc.edu>
238
239         * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
240         create compact unwind for" warnings.
241
242 2011-03-21  Jakub Jelinek  <jakub@redhat.com>
243
244         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
245         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
246         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
247         Likewise.
248         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
249         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
250         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
251         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
252         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
253         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
254         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
255         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
256         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
257
258         * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
259         even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
260         CXXABI_LDBL_1.3 versions.
261
262 2011-03-21  Benjamin Kosnik  <bkoz@redhat.com>
263
264         * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
265
266 2011-03-21  Jakub Jelinek  <jakub@redhat.com>
267
268         * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
269         (CXXABI_1.3.5): Export _ZTI[PK]*[no].
270
271 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
272
273         * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
274         sparc*-sun-solaris2.10 && lp64.
275
276 2011-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
277
278         * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
279         to check_v3_target_cmath.
280         * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
281         to dg-require-cmath.
282         * testsuite/26_numerics/random/binomial_distribution/
283         operators/values.cc: Adjust.
284
285 2011-03-18  Diego Novillo  <dnovillo@google.com>
286
287         * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
288         mixed-mode_neg.cc
289         * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
290         mixed-mode-arith_neg.cc
291
292 2011-03-18  Paolo Carlini  <paolo.carlini@oracle.com>
293
294         * testsuite/util/testsuite_random.h: New.
295         * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
296         * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
297         * testsuite/26_numerics/random/bernoulli_distribution/
298         operators/values.cc: New.
299         * testsuite/26_numerics/random/binomial_distribution/
300         operators/values.cc: Likewise.
301         * testsuite/26_numerics/random/geometric_distribution/
302         operators/values.cc: Likewise.
303
304 2011-03-16  Benjamin Kosnik  <bkoz@redhat.com>
305
306         * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
307         * testsuite/19_diagnostics/stdexcept.cc: New.
308
309 2011-03-15  Benjamin Kosnik  <bkoz@redhat.com>
310
311         * include/std/thread: Revert.
312         * src/thread.cc: Same.
313         * config/abi/pre/gnu.ver: Same.
314
315 2011-03-15  Doug Kwan  <dougkwan@google.com>
316
317         PR libstdc++/48123
318         * include/Makefile.am (install-freestanding-headers): Install
319         cpu_defines.h
320         * include/Makefile.in: Regenerate.
321
322 2011-03-15  Benjamin Kosnik  <bkoz@redhat.com>
323
324         * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
325         Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
326
327 2011-03-14  Benjamin Kosnik  <bkoz@redhat.com>
328
329         PR libstdc++/48130
330         * src/future.cc: Guard definitions.
331         * libsupc++/nested_exception.cc: Same.
332
333 2011-03-14  Benjamin Kosnik  <bkoz@redhat.com>
334
335         * src/Makefile.am: Add functional.cc, shared_ptr.cc.
336         * src/Makefile.in: Regenerate.
337         * libsupc++/Makefile.am: Add nested_exception.cc.
338         * libsupc++/Makefile.in: Regenerate.
339         * src/system_error.cc: Add ctor and dtor definitions for error_category.
340         * src/functional.cc: New. Add dtor definition for bad_function_call.
341         * src/stdexcept.cc: Add dtor definitions for domain_error,
342         invalid_argument, length_error, out_of_range, range_error,
343         overflow_error, underflow_error.
344         * src/future.cc: Add dtor definition for __future_base::_Result_base.
345         * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
346         * src/thread.cc: Add dtor for thread::_Impl_base.
347         * include/std/system_error: Adjust.
348         * include/std/stdexcept: Same.
349         * include/std/future: Same.
350         * include/std/functional: Same.
351         * include/std/thread: Same.
352         * include/bits/shared_ptr_base.h: Same.
353         * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
354         * libsupc++/nested_exception.h: Adjust.
355         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
356         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
357         * config/abi/pre/gnu.ver: Add new exports.
358
359 2011-03-14  Benjamin Kosnik  <bkoz@redhat.com>
360
361         * include/bits/regex_compiler.h: Nest namespace versioning.
362         * include/bits/regex_grep_matcher.tcc: Same.
363         * include/bits/regex_grep_matcher.h: Same.
364         * include/bits/regex_cursor.h: Same.
365         * include/bits/regex_nfa.h: Same.
366         * include/bits/regex_nfa.tcc: Same.
367
368         * include/bits/regex_grep_matcher.h: Version forward declarations.
369         * include/bits/c++config: Add namespace association for __regex.
370         * include/bits/regex.h: Make sub_match consistent.
371
372 2011-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
373
374         * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
375         equivalents.
376         * doc/html/manual/abi.html: Regenerate.
377
378 2011-03-14  Tom Tromey  <tromey@redhat.com>
379
380         * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
381         Try to import `gdb.printing' module.
382         (UniquePointerPrinter.__init__): Add 'typename' argument.
383         (StdSlistPrinter.__init__): Likewise.
384         (StdSlistIteratorPrinter.__init__): Likewise.
385         (StdVectorIteratorPrinter.__init__): Likewise.
386         (StdRbtreeIteratorPrinter.__init__): Likewise.
387         (StdDebugIteratorPrinter.__init__): Likewise.
388         (StdDequeIteratorPrinter.__init__): Likewise.
389         (StdStringPrinter.__init__): Likewise.
390         (RxPrinter, Printer): New class.
391         (libstdcxx_printer): New global.
392         (register_libstdcxx_printers): Rewrite.
393         (build_libstdcxx_dictionary): Rewrite.
394         (pretty_printers_dict): Remove.
395
396 2011-03-14  Andrey Zholos  <aaz@althenia.net>
397
398         PR libstdc++/48114
399         * include/bits/random.h (geometric_distribution): Correct formula
400         in comment, per C++0x.
401         (geometric_distribution<>::param_type::param_type(double)): Fix check.
402         (geometric_distribution<>::param_type::_M_initialize):
403         Store log(1 - p).
404         * include/bits/random.tcc (geometric_distribution<>::operator()):
405         Fix computation.
406         (binomial_distribution<>::operator()): Likewise.
407
408 2011-03-09  Paolo Carlini  <paolo.carlini@oracle.com>
409
410         * testsuite/util/testsuite_rvalref.h: Minor tweaks.
411
412 2011-03-09  Jonathan Wakely  <redi@gcc.gnu.org>
413             Chris Jefferson  <chris@bubblescope.net>
414             Paolo Carlini  <paolo.carlini@oracle.com>
415
416         * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
417         New.
418         * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
419         Likewise.
420         * testsuite/25_algorithms/partial_sort/check_compare_by_value:
421         Likewise.
422         * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
423         Likewise.
424         * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
425
426 2011-03-09  Chris Jefferson  <chris@bubblescope.net>
427
428         PR libstdc++/48038
429         * include/bits/stl_algo.h (__merge_backward): Rename to
430         __move_merge_backward and change to always move rather than copy.
431         (__move_merge): New function similar to std::merge except values
432         are moved instead of copied.
433         (__merge_adaptive, __merge_sort_loop): Change from using std::merge
434         and __merge_backward to __move_merge and __move_merge_backward.
435
436 2011-03-07  Jason Merrill  <jason@redhat.com>
437
438         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
439         expected errors.
440
441 2011-03-07  Benjamin Kosnik  <bkoz@redhat.com>
442             Matthias Klose  <doko@ubuntu.com>
443             Jonathan Wakely  <redi@gcc.gnu.org>
444
445         PR libstdc++/47145
446         * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
447         * configure.ac: Use it.
448         * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
449         * configure: Regenerate.
450         * doc/Makefile.in: Regenerate.
451
452 2011-03-04  Benjamin Kosnik  <bkoz@chula>
453
454         * src/Makefile.am (inst_sources): Make source instantion files
455         conditional.
456         (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
457         * src/Makefile.in: Regenerate.
458         * src/valarray-inst.cc: Move to..
459         * src/valarray.cc: ...this.
460         * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
461         * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
462         * configure: Regenerate.
463         * include/Makefile.am (stamp-extern-template): Add.
464         * include/Makefile.in: Regenerate.
465
466         * doc/xml/manual/configure.xml: Document --enable-extern-template.
467
468         * include/bits/locale_classes.tcc: Adjust comment.
469         * include/bits/locale_facets.tcc: Same.
470         * include/bits/basic_ios.tcc: Same.
471         * include/bits/istream.tcc: Same.
472         * include/bits/codecvt.h: Same.
473         * include/bits/ostream.tcc: Same.
474         * include/bits/sstream.tcc: Same.
475         * include/bits/c++config: Same.
476         * include/bits/basic_string.tcc: Same.
477         * include/bits/ostream_insert.h: Same.
478         * include/bits/locale_facets_nonio.tcc: Same.
479         * include/bits/streambuf.tcc: Same.
480         * include/bits/allocator.h: Same.
481         * include/bits/fstream.tcc: Same.
482
483         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
484
485 2011-03-02  Benjamin Kosnik  <bkoz@redhat.com>
486
487         * testsuite/Makefile.am: Make clean fixups.
488         * testsuite/Makefile.in: Regenerate.
489
490 2011-03-02  Marc Glisse  <marc.glisse@normalesup.org>
491
492         * include/std/ratio (ratio_less): Add comments.
493
494 2011-03-02  Marc Glisse  <marc.glisse@normalesup.org>
495
496         PR libstdc++/47913
497         * include/std/ratio (ratio_add): Avoid denominator overflow.
498         * testsuite/20_util/ratio/operations/47913.cc: New.
499
500 2011-02-28  Benjamin Kosnik  <bkoz@redhat.com>
501
502         * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
503         * testsuite/20_util/hash/quality.cc: Same.
504
505 2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
506
507         PR libstdc++/47921
508         * include/std/streambuf (basic_streambuf<>::__safe_gbump,
509         __safe_pbump): Add.
510         * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
511         xputn): Use the latter.
512         * include/bits/streambuf_iterator.h: Likewise.
513         * src/strstream.cc: Likewise.
514         * src/streambuf.cc: Likewise.
515         * src/compatibility.cc: Likewise.
516         * src/istream.cc: Likewise.
517         * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
518         instead of gbump.
519         * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
520         * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
521         seekpos, _M_sync): Use setg, setp, and _M_pbump.
522         * config/abi/pre/gnu.ver: Tweak.
523
524 2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
525
526         * testsuite/20_util/ratio/comparisons/comp3.cc: New.
527
528 2011-02-28  Marc Glisse  <marc.glisse@normalesup.org>
529
530         PR libstdc++/42622
531         * include/std/ratio (ratio_less): Reimplement to never overflow.
532         * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
533
534 2011-02-24  Benjamin Kosnik  <bkoz@redhat.com>
535
536         * testsuite/18_support/type_info/fundamental.cc: New.
537
538         * testsuite/Makefile.am: Make clean fixups.
539         * testsuite/Makefile.in: Regenerate.
540
541 2011-02-19  François Dumont  <francois.cppdevs@free.fr>
542
543         * include/debug/string (basic_string::insert): Add iterator check and
544         pass normal iterator to normal insert.
545         * include/debug/macros.h (__glibcxx_check_heap,
546         __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
547         already done.
548
549 2011-02-17  Paolo Carlini  <paolo.carlini@oracle.com>
550
551         PR libstdc++/47776
552         * testsuite/ext/vstring/hash/char/1.cc: Fix.
553         * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
554
555 2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
556
557         * include/bits/regex.h (basic_regex::traits_type): Add typedef.
558         (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
559         (basic_regex::operator=(basic_regex&&)): Likewise.
560         (basic_regex::assign(basic_regex&&)): Likewise.
561         (operator==(sub_match,...)): Implement DR 1181.
562         (match_results::match_results(match_results&&)): Define.
563         (match_results::operator=(const match_results&)): Fix parameter type.
564         (match_results::operator=(match_results&&)): Define.
565
566 2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
567
568         PR libstdc++/47724
569         * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
570         line anchors as metacharacters.
571         * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
572
573 2011-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
574
575         PR libstdc++/47773
576         * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
577         hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
578         hash<__gnu_cxx::__u32vstring>): Add.
579         * testsuite/ext/vstring/hash/char/1.cc: New.
580         * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
581
582 2011-02-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
583
584         * include/bits/regex.h (match_results::format): Use char_traits.
585
586 2011-02-16  Benjamin Kosnik  <bkoz@redhat.com>
587
588         * include/std/atomic: Remove atomic_address, uplift to N3225.
589         * include/bits/atomic_0.h: Same.
590         * include/bits/atomic_2.h: Same.
591         * include/bits/atomic_base.h: Same.
592         * testsuite/29_atomics/atomic_address/*: Delete.
593
594 2011-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
595
596         * include/bits/regex.h (sub_match::sub_match): Add.
597         (match_results::ready): Add.
598         (match_results::empty): Adjust.
599         (match_results::length): Add missing dereference.
600         (match_results::operator[],prefix,suffix): Add debug mode checks.
601         (match_results::cend): Re-use end().
602         (match_results::format): Adjust signatures.
603         (operator==(match_results,match_results)): Implement.
604         * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
605         * include/bits/regex_constants.h (syntax_option_type): Likewise.
606         * include/bits/regex_grep_matcher.h: Fix comment typo.
607         (_SpecializedResults::_SpecializedResults): Simplify.
608         * include/bits/regex_cursor.h: Fix comment typo.
609         * include/bits/regex_nfa.h: Likewise.
610         * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
611         Fix error code, remove xfail.
612         * testsuite/28_regex/basic_regex/ctors/extended/
613         string_range_01_02_03.cc: Likewise.
614
615 2011-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
616
617         * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
618         * include/bits/regex_nfa.h: Remove unnecessary base classes.
619
620 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
621
622         * configure: Regenerate.
623
624 2011-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
625
626         PR libstdc++/47709
627         * include/ext/algorithm (is_heap): In C++0x mode import from
628         namespace std.
629         * testsuite/ext/is_heap/47709.cc: New.
630
631 2011-02-12  Jakub Jelinek  <jakub@redhat.com>
632             Jonathan Wakely  <jwakely.gcc@gmail.com>
633
634         PR libstdc++/47662
635         * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
636         * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
637
638 2011-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
639
640         * include/tr1/cmath (fabs): Define.
641         * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
642         in C++0x mode.
643
644 2011-02-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
645
646         * testsuite/tr1/headers/c++200x/complex.cc: New.
647
648 2011-02-11  Johannes Singler  <singler@kit.edu>
649
650         PR libstdc++/47433
651         * include/parallel/losertree.h
652         (_LoserTreeUnguarded<>::__delete_min_insert):
653         Add missing "using std::swap;", as for other variants.
654
655 2011-02-10  Benjamin Kosnik  <bkoz@redhat.com>
656
657         * src/Makefile.am (sources): Add regex.cc.
658         * src/Makefile.in: Regenerate.
659         * src/regex.cc: New.
660         * include/bits/regex_error.h (error_type): Use constexpr.
661         (regex_error): Move ctor and dtor out of line.
662
663         * testsuite/28_regex/03_requirements: To...
664         * testsuite/28_regex/requirements: ... this.
665         * testsuite/28_regex/04_header: To...
666         * testsuite/28_regex/headers: ... this.
667         * testsuite/28_regex/05_constants: To...
668         * testsuite/28_regex/constants: ... this.
669         * testsuite/28_regex/06_exception_type: To...
670         * testsuite/28_regex/regex_error: ... this.
671         * testsuite/28_regex/07_traits: To...
672         * testsuite/28_regex/traits: ... this.
673         * testsuite/28_regex/08_basic_regex: To...
674         * testsuite/28_regex/basic_regex: ... this.
675         * testsuite/28_regex/09_sub_match: To...
676         * testsuite/28_regex/sub_match: ... this.
677         * testsuite/28_regex/10_match_results: To...
678         * testsuite/28_regex/match_results: ... this.
679         * testsuite/28_regex/11_algorithms: To...
680         * testsuite/28_regex/algorithms: ... this.
681         * testsuite/28_regex/12_iterators: To...
682         * testsuite/28_regex/iterators: ... this.
683
684 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
685
686         PR libstdc++/47662
687         * include/bits/c++config: Do not use alternative token.
688         * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
689
690 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
691
692         * src/future.cc (future_error_category::message): Handle no_state.
693
694 2011-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
695
696         * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
697         not test in C++0x mode.
698         * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
699         * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
700         in C++0x mode too.
701
702 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
703
704         * doc/xml/manual/status_cxx200x.xml: Update.
705         * doc/html/*: Regenerate.
706
707 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
708
709         * doc/xml/manual/debug.xml: Improve data race docs.
710
711 2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
712
713         PR libstdc++/47668
714         * include/debug/map.h (map): Remove unnecessary using-declaration.
715         * include/debug/multimap.h (multimap): Likewise.
716         * include/profile/map.h (map): Likewise.
717         * include/profile/multimap.h (multimap): Likewise.
718
719 2011-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
720
721         PR libstdc++/43863
722         * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
723         Move to ...
724         * libsupc++/guard_error.cc: ... new file.
725         * libsupc++/Makefile.am: Update.
726         * libsupc++/Makefile.in: Regenerate.
727
728 2011-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
729
730         * include/std/future (packaged_task::operator bool): Rename to...
731         (packaged_task::valid): ...this.
732         * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
733         * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
734         * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
735         * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
736         * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
737         * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
738         * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
739         * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
740         * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
741         * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
742         * testsuite/30_threads/packaged_task/members/valid.cc: Add.
743
744 2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
745
746         * doc/xml/manual/io.xml: Fix typo.
747         * doc/html/manual/streambufs.html: Likewise.
748
749 2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
750
751         * config/abi/pre/gnu.ver: Fix.
752
753 2011-02-08  Benjamin Kosnik  <bkoz@redhat.com>
754
755         * doc/xml/manual/appendix_porting.xml: Add doc section.
756         * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
757         * doc/xml/manual/documentation_hacking.xml: ...here.
758
759         * doc/xml/manual/debug_mode.xml: Adjust.
760         * doc/xml/manual/prerequisites.xml: Adjust.
761         * doc/Makefile.am (xml_sources): Add dot files,
762         documentation_hacking.xml.
763         * doc/Makefile.in: Regenerate.
764
765         * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
766         * doc/xml/images/confdeps.pdf: Add.
767
768         * doc/html/*: Regenerate.
769
770 2011-02-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
771
772         * doc/xml/gnu/fdl-1.2.xml: Remove.
773         * doc/xml/gnu/gpl-2.0.xml: Remove.
774         * doc/Makefile.am: Update.
775         * doc/Makefile.in: Regenerate.
776
777 2011-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
778
779         PR libstdc++/47628
780         * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
781         iterator)): Add back in C++03 mode.
782         * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
783         * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
784
785 2011-02-07  Benjamin Kosnik  <bkoz@redhat.com>
786
787         PR libstdc++/47560 try two
788         * config/os/hpux/os_defines.h: Guard for C++.
789
790 2011-02-07  Gerald Pfeifer  <gerald@pfeifer.com>
791
792         * doc/xml/faq.xml: Adjust link to bug database.
793         Remove old item on broken header files.
794
795 2011-02-04  Benjamin Kosnik  <bkoz@redhat.com>
796
797         * include/bits/regex_error.h (__throw_regex_error): Not inline.
798         * src/functexcept.cc: Add definition.
799         * config/abi/pre/gnu.ver: Export.
800
801 2011-02-04  Ralf Corsépius <ralf.corsepius@rtems.org>
802
803         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
804         * configure: Regenerate.
805
806 2011-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
807
808         PR libstdc++/46914
809         * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
810         _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
811         avoid name conflicts.
812
813 2011-02-01  Benjamin Kosnik  <bkoz@redhat.com>
814
815         PR libstdc++/47560
816         * config/os/hpux/os_defines.h: Remove use of macros on namespace.
817
818 2011-02-01  Benjamin Kosnik  <bkoz@redhat.com>
819
820         * scripts/run_doxygen: Allow doxygen 1.7.0 again.
821         * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
822         (COMPACT_LATEX): Enable.
823
824         * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
825         * include/profile/impl/profiler_hash_func.h: Same.
826         * include/bits/hashtable.h: Same.
827         * include/backward/auto_ptr.h: Same.
828         * include/backward/strstream: Same.
829         * include/backward/backward_warning.h: Same.
830         * include/backward/binders.h: Same.
831
832 2011-02-01  Gerald Pfeifer  <gerald@pfeifer.com>
833
834         * doc/xml/manual/debug.xml: Use GDB instead of gdb.
835         Adjust link to GDB manual.
836
837 2011-01-31  Benjamin Kosnik  <bkoz@redhat.com>
838
839         * include/bits/c++config (_GLIBCXX_DEPRECATED): To
840         _GLIBCXX_USE_DEPRECATED.
841         (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
842         * doc/xml/manual/using.xml: Same.
843         * include/std/memory: Same.
844         * include/std/streambuf: Same.
845         * include/bits/shared_ptr.h: Same.
846         * include/bits/unique_ptr.h: Same.
847         * include/bits/shared_ptr_base.h: Same.
848         * include/bits/stl_function.h: Same.
849         * include/tr1/shared_ptr.h: Same.
850         * include/backward/auto_ptr.h: Same.
851         * include/backward/binders.h: Same.
852
853 2011-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
854
855         * doc/html/ext/lwg-active.html: Update to Revision D73.
856         * doc/html/ext/lwg-closed.html: Likewise.
857         * doc/html/ext/lwg-defects.html: Likewise.
858         * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
859
860 2011-01-30  Benjamin Kosnik  <bkoz@redhat.com>
861
862         PR libstdc++/36104 part four
863         * include/bits/c++config (_GLIBCXX_STD): Remove.
864         (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
865         (_GLIBCXX_P): Now _GLIBCXX_STD_A.
866         (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
867          _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
868         (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
869          _GLIBCXX_INLINE_PROFILE): Remove.
870         (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
871         (_GLIBCXX_END_NAMESPACE): Remove.
872         (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
873         (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
874         (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
875         (_GLIBCXX_END_NAMESPACE_ALGO): Add.
876         (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
877         (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
878         (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
879         (_GLIBCXX_END_NAMESPACE_VERSION): Add.
880         (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
881         (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
882         (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
883         * include/*: Use new macros for namespace scope.
884         * config/*: Same.
885         * src/*: Same.
886
887         * src/Makefile.am (sources): Remove debug_list.cc, add
888         compatibility-debug_list-2.cc.
889         (parallel_sources): Remove parallel_list.cc, add
890         compatibility-parallel_list-2.cc.
891         (compatibility-parallel_list-2.[o,lo]): New rule.
892         * src/Makefile.in: Regenerate.
893         * src/debug_list.cc: Remove.
894         * src/parallel_list.cc: Remove.
895         * src/compatibility-list-2.cc: New.
896         * src/compatibility-debug_list-2.cc: New.
897         * src/compatibility-parallel_list-2.cc: New.
898
899         * doc/doxygen/user.cfg.in: Adjust macros.
900
901         * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
902         * testsuite/20_util/declval/requirements/1_neg.cc: Same.
903         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
904         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
905         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
906         * testsuite/20_util/forward/c_neg.cc: Same.
907         * testsuite/20_util/forward/f_neg.cc: Same.
908         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
909         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
910         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
911         * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
912         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
913         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
914         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
915         * testsuite/23_containers/deque/requirements/dr438/
916         constructor_1_neg.cc: Same.
917         * testsuite/23_containers/deque/requirements/dr438/
918         constructor_2_neg.cc: Same.
919         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
920         * testsuite/23_containers/forward_list/capacity/1.cc: Same.
921         * testsuite/23_containers/forward_list/requirements/dr438/
922         assign_neg.cc: Same.
923         * testsuite/23_containers/forward_list/requirements/dr438/
924         constructor_1_neg.cc: Same.
925         * testsuite/23_containers/forward_list/requirements/dr438/
926         constructor_2_neg.cc: Same.
927         * testsuite/23_containers/forward_list/requirements/dr438/
928         insert_neg.cc: Same.
929         * testsuite/23_containers/list/capacity/29134.cc: Same.
930         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
931         * testsuite/23_containers/list/requirements/dr438/
932         constructor_1_neg.cc: Same.
933         * testsuite/23_containers/list/requirements/dr438/
934         constructor_2_neg.cc: Same.
935         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
936         * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
937         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
938         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
939         * testsuite/23_containers/vector/requirements/dr438/
940         constructor_1_neg.cc: Same.
941         * testsuite/23_containers/vector/requirements/dr438/
942         constructor_2_neg.cc: Same.
943         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
944         * testsuite/25_algorithms/sort/35588.cc: Same.
945         * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
946         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
947         * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
948         * testsuite/ext/profile/profiler_algos.cc: Same.
949         * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
950         * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
951         * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
952         * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
953         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
954
955 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
956
957         * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
958         Improve description of one such reference.
959
960 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
961
962         * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
963         Standards Revision Group.
964         * doc/xml/manual/locale.xml: Ditto.
965         * doc/xml/manual/messages.xml: Ditto.
966         * doc/xml/manual/using_exceptions.xml: Ditto.
967
968 2011-01-28  Paolo Carlini  <paolo.carlini@oracle.com>
969
970         * include/bits/atomic_base.h: Do not include <stddef.h>.
971         (kill_dependency): Uglify ret.
972
973 2011-01-26  Johannes Singler  <singler@kit.edu>
974
975         * include/parallel/numeric (inner_product, partial_sum):
976         Qualify subsequent call with __gnu_parallel instead of
977         _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
978         * include/parallel/algobase.h (equal): Likewise.
979         * include/parallel/algo.h (find_first_of, search_n, merge,
980         nth_element, partial_sort, max_element, min_element): Likewise.
981         * testsuite/25_algorithms/headers/algorithm/
982         parallel_algorithm_mixed1.cc (main): Add respective test cases.
983         * testsuite/25_algorithms/headers/algorithm/
984         parallel_algorithm_mixed2.cc (main): Likewise.
985         * testsuite/26_numerics/headers/numeric/
986         parallel_numeric_mixed1.cc (main): Likewise.
987         * testsuite/26_numerics/headers/numeric/
988         parallel_numeric_mixed2.cc (main): Likewise.
989
990 2011-01-24  Graham Reed  <greed@pobox.com>
991
992         PR libstdc++/47387
993         * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
994         provided.
995
996 2011-01-24  Johannes Singler  <singler@kit.edu>
997
998         PR libstdc++/47433
999         * include/parallel/losertree.h
1000         (_LoserTree<>::__delete_min_insert):
1001         Do not qualify swap with std:: for value type,
1002         but include a using directive instead.
1003         (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
1004         * include/parallel/balanced_quicksort.h (__qsb_divide):
1005         Use std::iter_swap instead of std::swap.
1006         (__qsb_local_sort_with_helping): Likewise.
1007         * include/parallel/partition.h (__parallel_partition):
1008         Likewise. (__parallel_nth_element): Likewise.
1009
1010 2011-01-24  Johannes Singler  <singler@kit.edu>
1011
1012         PR libstdc++/47437
1013         * include/parallel/multiway_merge.h (_UnguardedIterator):
1014         Remove useless "mutable" from reference declaration.
1015
1016 2011-01-21  Benjamin Kosnik  <bkoz@redhat.com>
1017
1018         * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
1019         * include/debug/safe_sequence.h: Same.
1020         * include/debug/safe_iterator.h: Same.
1021         * include/std/forward_list: Same.
1022         * include/std/deque: Same.
1023         * include/std/list: Same.
1024         * include/std/random: Same.
1025         * include/std/streambuf: Same.
1026         * include/std/fstream: Same.
1027         * include/std/istream: Same.
1028         * include/std/string: Same.
1029         * include/std/ostream: Same.
1030         * include/std/sstream: Same.
1031         * include/ext/vstring.h: Same.
1032         * include/bits/basic_ios.h: Same.
1033         * include/bits/locale_classes.h: Same.
1034         * include/bits/locale_facets.h: Same.
1035         * include/bits/valarray_array.h: Same.
1036         * include/bits/locale_facets_nonio.h: Same.
1037         * include/tr1/random: Same.
1038
1039 2011-01-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
1040
1041         * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
1042
1043 2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>
1044
1045         PR libstdc++/36104 part three
1046         * src/hashtable_c++0x.cc: Adjust namespace macros.
1047         * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
1048         * config/abi/pre/gnu-versioned-namespace.ver: Update.
1049
1050 2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>
1051
1052         * include/ext/pb_ds/detail/resize_policy/
1053         hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
1054         * include/ext/pb_ds/detail/pat_trie_/
1055         constructors_destructor_fn_imps.hpp: Same.
1056         * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
1057         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1058         * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
1059
1060         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
1061         iterations downward when testing in debug mode.
1062         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
1063         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
1064         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
1065         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
1066         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
1067         * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
1068         reduce in debug mode.
1069
1070 2011-01-19  Benjamin Kosnik  <bkoz@redhat.com>
1071
1072         PR libstdc++/36104 part two
1073         * include/bits/hashtable.h: Revert to non-nested macro usage.
1074         * include/bits/hashtable_policy.h: Same.
1075
1076 2011-01-19  Graham Reed  <greed@pobox.com>
1077
1078         PR libstdc++/47354
1079         * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
1080
1081 2011-01-18  Benjamin Kosnik  <bkoz@redhat.com>
1082
1083         * doc/xml/images/confdeps.png: Regenerate.
1084
1085         * include/std/chrono (duration): Mark copy constructor constexpr.
1086         * testsuite/20_util/duration/cons/constexpr.cc: Add test.
1087
1088 2011-01-18  Paolo Carlini  <paolo.carlini@oracle.com>
1089
1090         * include/bits/unique_ptr.h (default_delete<>::default_delete()):
1091         Declare defaulted per DR 1517.
1092         * testsuite/util/testsuite_common_types.h
1093         (constexpr_defaulted_default_constructible): Add.
1094         * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
1095
1096 2011-01-17  Paolo Carlini  <paolo.carlini@oracle.com>
1097
1098         * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
1099         Implement DR 1198.
1100         * include/bits/stl_stack.h (stack<>::swap): Likewise.
1101
1102 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
1103
1104         PR libstdc++/47323
1105         * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
1106         Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
1107
1108 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
1109
1110         PR libstdc++/47320
1111         * testsuite/18_support/numeric_limits/lowest.cc:
1112         Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
1113
1114 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
1115
1116         PR libstdc++/47321
1117         * testsuite/21_strings/basic_string/requirements/typedefs.cc:
1118         Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
1119
1120 2011-01-16  François Dumont  <francois.cppdevs@free.fr>
1121
1122         * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
1123         to this. Use _neg suffix.
1124         * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
1125         this.
1126         * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
1127         Same.
1128         * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
1129         * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
1130         Same.
1131         * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
1132         * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
1133         Same.
1134         * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
1135         * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
1136         Same.
1137         * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
1138         * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
1139         Same.
1140         * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
1141         * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
1142         Same.
1143         * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
1144         * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
1145         Same.
1146         * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
1147         * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
1148         Same.
1149         * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
1150         * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
1151         Same.
1152         * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
1153         * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
1154         Same.
1155         * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
1156         * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
1157         Same.
1158         * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
1159         * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
1160         Same.
1161         * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
1162         * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
1163         Same.
1164         * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
1165         * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
1166         Same.
1167         * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
1168         * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
1169         Same.
1170         * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
1171
1172 2011-01-14  Benjamin Kosnik  <bkoz@redhat.com>
1173
1174         PR libstdc++/36104
1175         * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
1176         * include/Makefile.in: Regenerate.
1177         * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
1178         (install-stdHEADERS, install-bitsHEADERS): New.
1179         * libsupc++/Makefile.in: Regenerate.
1180
1181         * include/bits/c++config: Update for inline namespaces.
1182         * libsupc++/cxxabi-forced.h: To...
1183         * libsupc++/cxxabi_forced.h: ...this.
1184         * libsupc++/hash_bytes.h: Separate file.
1185         * libsupc++/typeinfo: Use it.
1186         * libsupc++/exception: Adjust for bits subdirectory.
1187         * libsupc++/eh_aux_runtime.cc: Same.
1188         * libsupc++/eh_ptr.cc: Same.
1189         * libsupc++/new_op.cc: Same.
1190         * libsupc++/exception_defines.h: Same.
1191         * libsupc++/nested_exception.h: Same.
1192         * libsupc++/eh_terminate.cc: Same.
1193         * libsupc++/vec.cc: Same.
1194         * libsupc++/vterminate.cc: Same.
1195         * libsupc++/exception_ptr.h: Same.
1196         * libsupc++/eh_personality.cc: Same.
1197         * libsupc++/eh_call.cc: Same.
1198         * libsupc++/new_opnt.cc: Same.
1199         * libsupc++/hash_bytes.cc: Same.
1200         * config/cpu/arm/cxxabi_tweaks.h: Same.
1201         * config/cpu/generic/cxxabi_tweaks.h: Same.
1202         * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
1203         * include/std/bitset: Same.
1204         * include/ext/vstring.tcc: Same.
1205         * include/bits/hashtable.h: Same.
1206         * include/bits/functional_hash.h: Same.
1207         * include/bits/hashtable_policy.h: Same.
1208         * include/bits/basic_string.h: Same.
1209         * include/bits/istream.tcc: Same.
1210         * include/bits/ostream.tcc: Same.
1211         * include/bits/algorithmfwd.h: Same.
1212         * include/bits/basic_string.tcc: Same.
1213         * include/bits/ostream_insert.h: Same.
1214         * include/bits/fstream.tcc: Same.
1215         * include/bits/functexcept.h: Same.
1216
1217         * doc/doxygen/user.cfg.in: Adjust names.
1218
1219         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1220
1221 2011-01-14  Paolo Carlini  <paolo.carlini@oracle.com>
1222
1223         * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
1224         tweaks.
1225         * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
1226
1227 2011-01-13  Paolo Carlini  <paolo.carlini@oracle.com>
1228
1229         * testsuite/25_algorithms/is_permutation/check_type.cc: New.
1230         * testsuite/25_algorithms/is_permutation/requirements/
1231         explicit_instantiation/2.cc: Likewise.
1232         * testsuite/25_algorithms/is_permutation/requirements/
1233         explicit_instantiation/pod.cc: Likewise.
1234         * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
1235
1236 2011-01-13  John Lakos  <jlakos@bloomberg.net>
1237             Pablo Halpern  <phalpern@halpernwightsoftware.com>
1238             Paolo Carlini  <paolo.carlini@oracle.com>
1239
1240         * include/bits/stl_algo.h (is_permutation): Add, per N3068.
1241         * include/bits/algorithmfwd.h: Add.
1242
1243 2011-01-13  Jonathan Wakely  <jwakely.gcc@gmail.com>
1244
1245         PR libstdc++/47045
1246         * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
1247
1248 2011-01-11  Paolo Carlini  <paolo.carlini@oracle.com>
1249
1250         * aclocal.m4: Regenerate.
1251
1252 2011-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
1253
1254         PR libstdc++/47185
1255         * src/placeholders.cc: New.
1256         * src/Makefile.am: Adjust.
1257         * src/Makefile.in: Regenerate.
1258         * include/std/functional (placeholders::_1, _2, ..., _29): Declare
1259         extern.
1260         * config/abi/pre/gnu.ver: Export.
1261
1262 2011-01-05  François Dumont  <francois.cppdevs@free.fr>
1263
1264         * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
1265         * include/src/debug.cc: Use latter
1266         * include/debug/forward_list (forward_list<>::_M_swap):  Fix to
1267         correctly handle before_begin iterators.
1268         * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
1269         useless _GLIBCXX_DEBUG checks.
1270
1271 2011-01-04  Kai Tietz  <kai.tietz@onevision.com>
1272
1273         PR libstdc++/47145
1274         * configure.ac (AC_CHECK_FILE): Replaced by test -f.
1275         * configure: Regenerated.
1276
1277 2011-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
1278
1279         PR libstdc++/46922
1280         * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
1281
1282 \f
1283 Copyright (C) 2011 Free Software Foundation, Inc.
1284
1285 Copying and distribution of this file, with or without modification,
1286 are permitted in any medium without royalty provided the copyright
1287 notice and this notice are preserved.