1 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
3 * include/std/type_traits (is_nothrow_default_constructible,
4 is_nothrow_copy_constructible, is_nothrow_move_constructible,
5 is_copy_constructible, is_move_constructible): Add.
6 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
8 (is_nothrow_constructible): Adjust.
10 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
11 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
12 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
13 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
15 * testsuite/20_util/has_nothrow_default_constructor: Remove.
16 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
18 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
19 * testsuite/20_util/is_nothrow_move_constructible/requirements/
20 typedefs.cc: Likewise.
21 * testsuite/20_util/is_nothrow_move_constructible/requirements/
22 explicit_instantiation.cc: Likewise.
23 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
24 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
25 typedefs.cc: Likewise.
26 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
27 explicit_instantiation.cc: Likewise.
28 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
30 * testsuite/20_util/is_nothrow_default_constructible/requirements/
31 typedefs.cc: Likewise.
32 * testsuite/20_util/is_nothrow_default_constructible/requirements/
33 explicit_instantiation.cc: Likewise.
34 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
35 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
37 * testsuite/20_util/is_move_constructible/requirements/
38 explicit_instantiation.cc: Likewise.
39 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
40 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
42 * testsuite/20_util/is_copy_constructible/requirements/
43 explicit_instantiation.cc: Likewise.
45 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
46 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
48 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
49 Adjust dg-error line numbers.
50 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
52 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
54 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
56 * testsuite/25_algorithms/partition/moveable.cc: Actually run
57 it in parallel-mode for check-parallel.
59 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
60 Paolo Carlini <paolo.carlini@oracle.com>
62 PR libstdc++/48635 (again)
63 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
64 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
65 unique_ptr<>::operator=(unique_ptr<>&&),
66 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
67 forward<_Dp>, to forward the deleter.
68 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
70 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
71 Paolo Carlini <paolo.carlini@oracle.com>
74 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
75 function call operator.
76 * testsuite/20_util/default_delete/48631_neg.cc: New.
77 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
80 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
81 Paolo Carlini <paolo.carlini@oracle.com>
84 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
85 unique_ptr<>::operator=(unique_ptr<>&&),
86 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
87 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
89 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
91 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
93 * scripts/extract_symvers.pl: Handle NOTY.
95 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
97 * include/std/istream: Fix comments in the light of DR60 + N3168.
99 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
100 Paolo Carlini <paolo.carlini@oracle.com>
103 * include/std/type_traits (struct is_constructible): Re-implement,
105 (struct is_default_constructible): Add.
106 (struct is_destructible): Likewise.
107 (struct __and_, __or_, __not_): Add and use throughout; reorder some
108 facilities, other minor tweaks.
109 * testsuite/util/testsuite_tr1.h: Add test types.
110 * testsuite/20_util/is_constructible/value-2.cc: New.
111 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
112 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
114 * testsuite/20_util/is_default_constructible/requirements/
115 explicit_instantiation.cc: Likewise.
116 * testsuite/20_util/is_destructible/value.cc: Likewise.
117 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
119 * testsuite/20_util/is_destructible/requirements/
120 explicit_instantiation.cc: Likewise.
121 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
122 dg-error line numbers.
123 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
125 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
126 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
128 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
130 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
132 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
133 * testsuite/20_util/is_function/requirements/
134 explicit_instantiation.cc: Likewise.
135 * testsuite/20_util/is_function/24808.cc: Likewise.
136 * testsuite/20_util/is_function/35637.cc: Likewise.
137 * testsuite/20_util/is_object/value.cc: Likewise.
138 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
139 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
141 * testsuite/20_util/is_object/24808.cc: Likewise.
142 * testsuite/20_util/is_compound/value.cc: Likewise.
143 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
144 * testsuite/20_util/is_compound/requirements/
145 explicit_instantiation.cc: Likewise.
146 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
147 * testsuite/20_util/is_member_object_pointer/requirements/
148 typedefs.cc: Likewise.
149 * testsuite/20_util/is_member_object_pointer/requirements/
150 explicit_instantiation.cc: Likewise.
151 * testsuite/20_util/is_fundamental/value.cc: Likewise.
152 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
153 * testsuite/20_util/is_fundamental/requirements/
154 explicit_instantiation.cc: Likewise.
155 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
156 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
158 * testsuite/20_util/is_member_pointer/requirements/
159 explicit_instantiation.cc: Likewise.
160 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
161 * testsuite/20_util/is_member_function_pointer/
162 requirements/typedefs.cc: Likewise.
163 * testsuite/20_util/is_member_function_pointer/requirements/
164 explicit_instantiation.cc: Likewise.
166 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
169 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
172 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
173 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
174 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
175 * testsuite/20_util/tuple/cons/48476.cc: New.
176 * testsuite/20_util/tuple/48476.cc: Likewise.
177 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
179 2011-04-12 Allan McRae <allan@archlinux.org>
182 * testsuite/tr1/6_containers/unordered_map/requirements/
183 iterator_null_neg.cc: Include <cstddef>.
184 * testsuite/tr1/6_containers/unordered_set/requirements/
185 iterator_null_neg.cc: Likewise.
186 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
188 * testsuite/util/testsuite_common_types.h: Include <limits>.
189 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
190 Adjust dg-error line numbers.
191 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
192 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
194 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
196 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
198 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
199 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
201 2011-04-11 Jason Merrill <jason@redhat.com>
203 * testsuite/20_util/is_convertible/value.cc: Adjust.
205 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
207 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
208 it in parallel-mode for check-parallel.
209 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
210 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
211 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
212 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
214 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
215 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
216 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
218 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
219 the tests based on std::lexicographical_compare for check-parallel.
220 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
222 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
225 * include/std/functional (_Base_manager::_M_get_pointer): Use
227 * testsuite/20_util/function/48541.cc: New.
229 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
232 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
233 * configure: Regenerate.
234 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
235 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
237 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
239 * include/ext/algorithm (is_sorted): In C++0x mode import from
241 * include/ext/numeric (iota): In C++0x mode import from
243 * testsuite/ext/is_sorted/cxx0x.cc: New.
244 * testsuite/ext/iota/cxx0x.cc: New.
246 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
249 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
250 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
251 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
252 unused parameter name.
254 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
256 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
257 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
258 redundant default argument from std::__throw_with_nested.
260 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
263 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
264 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
265 * src/Makefile.in: Regenerate.
266 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
267 * include/Makefile.in: Regenerate.
268 * doc/xml/manual/internals.xml: Update.
269 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
270 * config/os/newlib/ctype_configure_char.cc: ... this.
271 * config/os/aix/ctype_noninline.h: Likewise.
272 * config/os/aix/ctype_configure_char.cc: Likewise.
273 * config/os/vxworks/ctype_noninline.h: Likewise.
274 * config/os/vxworks/ctype_configure_char.cc
275 * config/os/hpux/ctype_noninline.h: Likewise.
276 * config/os/hpux/ctype_configure_char.cc: Likewise.
277 * config/os/gnu-linux/ctype_noninline.h: Likewise.
278 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
279 * config/os/mingw32/ctype_noninline.h: Likewise.
280 * config/os/mingw32/ctype_configure_char.cc: Likewise.
281 * config/os/tpf/ctype_noninline.h: Likewise.
282 * config/os/tpf/ctype_configure_char.cc: Likewise.
283 * config/os/uclibc/ctype_noninline.h: Likewise.
284 * config/os/uclibc/ctype_configure_char.cc: Likewise.
285 * config/os/bionic/ctype_noninline.h: Likewise.
286 * config/os/bionic/ctype_configure_char.cc: Likewise.
287 * config/os/djgpp/ctype_noninline.h: Likewise.
288 * config/os/djgpp/ctype_configure_char.cc: Likewise.
289 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
290 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
291 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
292 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
293 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
294 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
295 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
296 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
297 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
298 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
299 * config/os/generic/ctype_noninline.h: Likewise.
300 * config/os/generic/ctype_configure_char.cc: Likewise.
301 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
302 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
304 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
306 * include/std/future (future::share): Add.
307 (packaged_task::result_type): Remove as per LWG 2030.
308 (packaged_task::packaged_task): Remove redundant constructors, as per
310 * testsuite/30_threads/future/members/share.cc: New.
311 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
313 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
315 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
316 members which require a fully established result state.
317 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
319 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
321 * include/bits/random.h (negative_binomial_distribution<>::
322 negative_binomial_distribution(_IntType, double),
323 negative_binomial_distribution<>::
324 negative_binomial_distribution(const param_type&)): Tweak
325 construction of _M_gd.
326 * include/bits/random.tcc (negative_binomial_distribution<>::
329 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
331 * include/bits/random.h (negative_binomial_distribution<>::
332 negative_binomial_distribution(_IntType, double),
333 negative_binomial_distribution<>::
334 negative_binomial_distribution(const param_type&)): Fix
335 construction of _M_gd.
336 * include/bits/random.tcc (negative_binomial_distribution<>::
337 operator()): Fix computation, per Leger's algorithm.
338 * testsuite/util/testsuite_random.h (discrete_pdf,
339 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
340 (binomial_pdf): Swap last two parameters.
341 * testsuite/26_numerics/random/discrete_distribution/
342 operators/values.cc: New.
343 * testsuite/26_numerics/random/negative_binomial_distribution/
344 operators/values.cc: Likewise.
345 * testsuite/26_numerics/random/poisson_distribution/
346 operators/values.cc: Likewise.
347 * testsuite/26_numerics/random/uniform_int_distribution/
348 operators/values.cc: Likewise.
349 * testsuite/26_numerics/random/binomial_distribution/
350 operators/values.cc: Adjust.
352 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
354 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
355 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
356 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
357 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
358 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
360 2011-03-23 Matthias Klose <doko@ubuntu.com>
362 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
364 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
366 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
368 2011-03-22 Joseph Myers <joseph@codesourcery.com>
370 * configure.ac: Don't handle powerpc*-*-gnu*.
371 * configure: Regenerate.
373 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
375 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
377 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
380 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
382 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
384 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
385 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
386 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
387 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
388 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
389 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
390 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
392 2011-03-22 Jakub Jelinek <jakub@redhat.com>
394 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
395 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
396 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
397 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
398 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
399 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
400 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
401 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
402 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
403 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
405 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
406 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
407 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
408 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
409 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
410 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
411 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
412 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
415 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
417 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
418 create compact unwind for" warnings.
420 2011-03-21 Jakub Jelinek <jakub@redhat.com>
422 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
423 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
424 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
426 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
427 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
428 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
429 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
430 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
431 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
432 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
433 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
434 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
436 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
437 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
438 CXXABI_LDBL_1.3 versions.
440 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
442 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
444 2011-03-21 Jakub Jelinek <jakub@redhat.com>
446 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
447 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
449 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
451 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
452 sparc*-sun-solaris2.10 && lp64.
454 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
456 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
457 to check_v3_target_cmath.
458 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
460 * testsuite/26_numerics/random/binomial_distribution/
461 operators/values.cc: Adjust.
463 2011-03-18 Diego Novillo <dnovillo@google.com>
465 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
467 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
468 mixed-mode-arith_neg.cc
470 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
472 * testsuite/util/testsuite_random.h: New.
473 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
474 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
475 * testsuite/26_numerics/random/bernoulli_distribution/
476 operators/values.cc: New.
477 * testsuite/26_numerics/random/binomial_distribution/
478 operators/values.cc: Likewise.
479 * testsuite/26_numerics/random/geometric_distribution/
480 operators/values.cc: Likewise.
482 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
484 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
485 * testsuite/19_diagnostics/stdexcept.cc: New.
487 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
489 * include/std/thread: Revert.
490 * src/thread.cc: Same.
491 * config/abi/pre/gnu.ver: Same.
493 2011-03-15 Doug Kwan <dougkwan@google.com>
496 * include/Makefile.am (install-freestanding-headers): Install
498 * include/Makefile.in: Regenerate.
500 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
502 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
503 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
505 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
508 * src/future.cc: Guard definitions.
509 * libsupc++/nested_exception.cc: Same.
511 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
513 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
514 * src/Makefile.in: Regenerate.
515 * libsupc++/Makefile.am: Add nested_exception.cc.
516 * libsupc++/Makefile.in: Regenerate.
517 * src/system_error.cc: Add ctor and dtor definitions for error_category.
518 * src/functional.cc: New. Add dtor definition for bad_function_call.
519 * src/stdexcept.cc: Add dtor definitions for domain_error,
520 invalid_argument, length_error, out_of_range, range_error,
521 overflow_error, underflow_error.
522 * src/future.cc: Add dtor definition for __future_base::_Result_base.
523 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
524 * src/thread.cc: Add dtor for thread::_Impl_base.
525 * include/std/system_error: Adjust.
526 * include/std/stdexcept: Same.
527 * include/std/future: Same.
528 * include/std/functional: Same.
529 * include/std/thread: Same.
530 * include/bits/shared_ptr_base.h: Same.
531 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
532 * libsupc++/nested_exception.h: Adjust.
533 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
534 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
535 * config/abi/pre/gnu.ver: Add new exports.
537 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
539 * include/bits/regex_compiler.h: Nest namespace versioning.
540 * include/bits/regex_grep_matcher.tcc: Same.
541 * include/bits/regex_grep_matcher.h: Same.
542 * include/bits/regex_cursor.h: Same.
543 * include/bits/regex_nfa.h: Same.
544 * include/bits/regex_nfa.tcc: Same.
546 * include/bits/regex_grep_matcher.h: Version forward declarations.
547 * include/bits/c++config: Add namespace association for __regex.
548 * include/bits/regex.h: Make sub_match consistent.
550 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
552 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
554 * doc/html/manual/abi.html: Regenerate.
556 2011-03-14 Tom Tromey <tromey@redhat.com>
558 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
559 Try to import `gdb.printing' module.
560 (UniquePointerPrinter.__init__): Add 'typename' argument.
561 (StdSlistPrinter.__init__): Likewise.
562 (StdSlistIteratorPrinter.__init__): Likewise.
563 (StdVectorIteratorPrinter.__init__): Likewise.
564 (StdRbtreeIteratorPrinter.__init__): Likewise.
565 (StdDebugIteratorPrinter.__init__): Likewise.
566 (StdDequeIteratorPrinter.__init__): Likewise.
567 (StdStringPrinter.__init__): Likewise.
568 (RxPrinter, Printer): New class.
569 (libstdcxx_printer): New global.
570 (register_libstdcxx_printers): Rewrite.
571 (build_libstdcxx_dictionary): Rewrite.
572 (pretty_printers_dict): Remove.
574 2011-03-14 Andrey Zholos <aaz@althenia.net>
577 * include/bits/random.h (geometric_distribution): Correct formula
578 in comment, per C++0x.
579 (geometric_distribution<>::param_type::param_type(double)): Fix check.
580 (geometric_distribution<>::param_type::_M_initialize):
582 * include/bits/random.tcc (geometric_distribution<>::operator()):
584 (binomial_distribution<>::operator()): Likewise.
586 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
588 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
590 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
591 Chris Jefferson <chris@bubblescope.net>
592 Paolo Carlini <paolo.carlini@oracle.com>
594 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
596 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
598 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
600 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
602 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
604 2011-03-09 Chris Jefferson <chris@bubblescope.net>
607 * include/bits/stl_algo.h (__merge_backward): Rename to
608 __move_merge_backward and change to always move rather than copy.
609 (__move_merge): New function similar to std::merge except values
610 are moved instead of copied.
611 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
612 and __merge_backward to __move_merge and __move_merge_backward.
614 2011-03-07 Jason Merrill <jason@redhat.com>
616 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
619 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
620 Matthias Klose <doko@ubuntu.com>
621 Jonathan Wakely <redi@gcc.gnu.org>
624 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
625 * configure.ac: Use it.
626 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
627 * configure: Regenerate.
628 * doc/Makefile.in: Regenerate.
630 2011-03-04 Benjamin Kosnik <bkoz@chula>
632 * src/Makefile.am (inst_sources): Make source instantion files
634 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
635 * src/Makefile.in: Regenerate.
636 * src/valarray-inst.cc: Move to..
637 * src/valarray.cc: ...this.
638 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
639 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
640 * configure: Regenerate.
641 * include/Makefile.am (stamp-extern-template): Add.
642 * include/Makefile.in: Regenerate.
644 * doc/xml/manual/configure.xml: Document --enable-extern-template.
646 * include/bits/locale_classes.tcc: Adjust comment.
647 * include/bits/locale_facets.tcc: Same.
648 * include/bits/basic_ios.tcc: Same.
649 * include/bits/istream.tcc: Same.
650 * include/bits/codecvt.h: Same.
651 * include/bits/ostream.tcc: Same.
652 * include/bits/sstream.tcc: Same.
653 * include/bits/c++config: Same.
654 * include/bits/basic_string.tcc: Same.
655 * include/bits/ostream_insert.h: Same.
656 * include/bits/locale_facets_nonio.tcc: Same.
657 * include/bits/streambuf.tcc: Same.
658 * include/bits/allocator.h: Same.
659 * include/bits/fstream.tcc: Same.
661 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
663 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
665 * testsuite/Makefile.am: Make clean fixups.
666 * testsuite/Makefile.in: Regenerate.
668 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
670 * include/std/ratio (ratio_less): Add comments.
672 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
675 * include/std/ratio (ratio_add): Avoid denominator overflow.
676 * testsuite/20_util/ratio/operations/47913.cc: New.
678 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
680 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
681 * testsuite/20_util/hash/quality.cc: Same.
683 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
686 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
688 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
689 xputn): Use the latter.
690 * include/bits/streambuf_iterator.h: Likewise.
691 * src/strstream.cc: Likewise.
692 * src/streambuf.cc: Likewise.
693 * src/compatibility.cc: Likewise.
694 * src/istream.cc: Likewise.
695 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
697 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
698 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
699 seekpos, _M_sync): Use setg, setp, and _M_pbump.
700 * config/abi/pre/gnu.ver: Tweak.
702 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
704 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
706 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
709 * include/std/ratio (ratio_less): Reimplement to never overflow.
710 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
712 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
714 * testsuite/18_support/type_info/fundamental.cc: New.
716 * testsuite/Makefile.am: Make clean fixups.
717 * testsuite/Makefile.in: Regenerate.
719 2011-02-19 François Dumont <francois.cppdevs@free.fr>
721 * include/debug/string (basic_string::insert): Add iterator check and
722 pass normal iterator to normal insert.
723 * include/debug/macros.h (__glibcxx_check_heap,
724 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
727 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
730 * testsuite/ext/vstring/hash/char/1.cc: Fix.
731 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
733 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
735 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
736 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
737 (basic_regex::operator=(basic_regex&&)): Likewise.
738 (basic_regex::assign(basic_regex&&)): Likewise.
739 (operator==(sub_match,...)): Implement DR 1181.
740 (match_results::match_results(match_results&&)): Define.
741 (match_results::operator=(const match_results&)): Fix parameter type.
742 (match_results::operator=(match_results&&)): Define.
744 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
747 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
748 line anchors as metacharacters.
749 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
751 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
754 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
755 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
756 hash<__gnu_cxx::__u32vstring>): Add.
757 * testsuite/ext/vstring/hash/char/1.cc: New.
758 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
760 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
762 * include/bits/regex.h (match_results::format): Use char_traits.
764 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
766 * include/std/atomic: Remove atomic_address, uplift to N3225.
767 * include/bits/atomic_0.h: Same.
768 * include/bits/atomic_2.h: Same.
769 * include/bits/atomic_base.h: Same.
770 * testsuite/29_atomics/atomic_address/*: Delete.
772 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
774 * include/bits/regex.h (sub_match::sub_match): Add.
775 (match_results::ready): Add.
776 (match_results::empty): Adjust.
777 (match_results::length): Add missing dereference.
778 (match_results::operator[],prefix,suffix): Add debug mode checks.
779 (match_results::cend): Re-use end().
780 (match_results::format): Adjust signatures.
781 (operator==(match_results,match_results)): Implement.
782 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
783 * include/bits/regex_constants.h (syntax_option_type): Likewise.
784 * include/bits/regex_grep_matcher.h: Fix comment typo.
785 (_SpecializedResults::_SpecializedResults): Simplify.
786 * include/bits/regex_cursor.h: Fix comment typo.
787 * include/bits/regex_nfa.h: Likewise.
788 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
789 Fix error code, remove xfail.
790 * testsuite/28_regex/basic_regex/ctors/extended/
791 string_range_01_02_03.cc: Likewise.
793 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
795 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
796 * include/bits/regex_nfa.h: Remove unnecessary base classes.
798 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
800 * configure: Regenerate.
802 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
805 * include/ext/algorithm (is_heap): In C++0x mode import from
807 * testsuite/ext/is_heap/47709.cc: New.
809 2011-02-12 Jakub Jelinek <jakub@redhat.com>
810 Jonathan Wakely <jwakely.gcc@gmail.com>
813 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
814 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
816 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
818 * include/tr1/cmath (fabs): Define.
819 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
822 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
824 * testsuite/tr1/headers/c++200x/complex.cc: New.
826 2011-02-11 Johannes Singler <singler@kit.edu>
829 * include/parallel/losertree.h
830 (_LoserTreeUnguarded<>::__delete_min_insert):
831 Add missing "using std::swap;", as for other variants.
833 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
835 * src/Makefile.am (sources): Add regex.cc.
836 * src/Makefile.in: Regenerate.
838 * include/bits/regex_error.h (error_type): Use constexpr.
839 (regex_error): Move ctor and dtor out of line.
841 * testsuite/28_regex/03_requirements: To...
842 * testsuite/28_regex/requirements: ... this.
843 * testsuite/28_regex/04_header: To...
844 * testsuite/28_regex/headers: ... this.
845 * testsuite/28_regex/05_constants: To...
846 * testsuite/28_regex/constants: ... this.
847 * testsuite/28_regex/06_exception_type: To...
848 * testsuite/28_regex/regex_error: ... this.
849 * testsuite/28_regex/07_traits: To...
850 * testsuite/28_regex/traits: ... this.
851 * testsuite/28_regex/08_basic_regex: To...
852 * testsuite/28_regex/basic_regex: ... this.
853 * testsuite/28_regex/09_sub_match: To...
854 * testsuite/28_regex/sub_match: ... this.
855 * testsuite/28_regex/10_match_results: To...
856 * testsuite/28_regex/match_results: ... this.
857 * testsuite/28_regex/11_algorithms: To...
858 * testsuite/28_regex/algorithms: ... this.
859 * testsuite/28_regex/12_iterators: To...
860 * testsuite/28_regex/iterators: ... this.
862 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
865 * include/bits/c++config: Do not use alternative token.
866 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
868 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
870 * src/future.cc (future_error_category::message): Handle no_state.
872 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
874 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
875 not test in C++0x mode.
876 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
877 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
880 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
882 * doc/xml/manual/status_cxx200x.xml: Update.
883 * doc/html/*: Regenerate.
885 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
887 * doc/xml/manual/debug.xml: Improve data race docs.
889 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
892 * include/debug/map.h (map): Remove unnecessary using-declaration.
893 * include/debug/multimap.h (multimap): Likewise.
894 * include/profile/map.h (map): Likewise.
895 * include/profile/multimap.h (multimap): Likewise.
897 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
900 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
902 * libsupc++/guard_error.cc: ... new file.
903 * libsupc++/Makefile.am: Update.
904 * libsupc++/Makefile.in: Regenerate.
906 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
908 * include/std/future (packaged_task::operator bool): Rename to...
909 (packaged_task::valid): ...this.
910 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
911 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
912 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
913 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
914 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
915 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
916 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
917 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
918 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
919 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
920 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
922 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
924 * doc/xml/manual/io.xml: Fix typo.
925 * doc/html/manual/streambufs.html: Likewise.
927 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
929 * config/abi/pre/gnu.ver: Fix.
931 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
933 * doc/xml/manual/appendix_porting.xml: Add doc section.
934 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
935 * doc/xml/manual/documentation_hacking.xml: ...here.
937 * doc/xml/manual/debug_mode.xml: Adjust.
938 * doc/xml/manual/prerequisites.xml: Adjust.
939 * doc/Makefile.am (xml_sources): Add dot files,
940 documentation_hacking.xml.
941 * doc/Makefile.in: Regenerate.
943 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
944 * doc/xml/images/confdeps.pdf: Add.
946 * doc/html/*: Regenerate.
948 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
950 * doc/xml/gnu/fdl-1.2.xml: Remove.
951 * doc/xml/gnu/gpl-2.0.xml: Remove.
952 * doc/Makefile.am: Update.
953 * doc/Makefile.in: Regenerate.
955 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
958 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
959 iterator)): Add back in C++03 mode.
960 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
961 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
963 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
965 PR libstdc++/47560 try two
966 * config/os/hpux/os_defines.h: Guard for C++.
968 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
970 * doc/xml/faq.xml: Adjust link to bug database.
971 Remove old item on broken header files.
973 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
975 * include/bits/regex_error.h (__throw_regex_error): Not inline.
976 * src/functexcept.cc: Add definition.
977 * config/abi/pre/gnu.ver: Export.
979 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
981 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
982 * configure: Regenerate.
984 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
987 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
988 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
989 avoid name conflicts.
991 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
994 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
996 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
998 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
999 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
1000 (COMPACT_LATEX): Enable.
1002 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
1003 * include/profile/impl/profiler_hash_func.h: Same.
1004 * include/bits/hashtable.h: Same.
1005 * include/backward/auto_ptr.h: Same.
1006 * include/backward/strstream: Same.
1007 * include/backward/backward_warning.h: Same.
1008 * include/backward/binders.h: Same.
1010 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
1012 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
1013 Adjust link to GDB manual.
1015 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
1017 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
1018 _GLIBCXX_USE_DEPRECATED.
1019 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
1020 * doc/xml/manual/using.xml: Same.
1021 * include/std/memory: Same.
1022 * include/std/streambuf: Same.
1023 * include/bits/shared_ptr.h: Same.
1024 * include/bits/unique_ptr.h: Same.
1025 * include/bits/shared_ptr_base.h: Same.
1026 * include/bits/stl_function.h: Same.
1027 * include/tr1/shared_ptr.h: Same.
1028 * include/backward/auto_ptr.h: Same.
1029 * include/backward/binders.h: Same.
1031 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
1033 * doc/html/ext/lwg-active.html: Update to Revision D73.
1034 * doc/html/ext/lwg-closed.html: Likewise.
1035 * doc/html/ext/lwg-defects.html: Likewise.
1036 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
1038 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
1040 PR libstdc++/36104 part four
1041 * include/bits/c++config (_GLIBCXX_STD): Remove.
1042 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
1043 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
1044 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
1045 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
1046 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
1047 _GLIBCXX_INLINE_PROFILE): Remove.
1048 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
1049 (_GLIBCXX_END_NAMESPACE): Remove.
1050 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
1051 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
1052 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
1053 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
1054 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
1055 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
1056 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
1057 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
1058 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
1059 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
1060 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
1061 * include/*: Use new macros for namespace scope.
1065 * src/Makefile.am (sources): Remove debug_list.cc, add
1066 compatibility-debug_list-2.cc.
1067 (parallel_sources): Remove parallel_list.cc, add
1068 compatibility-parallel_list-2.cc.
1069 (compatibility-parallel_list-2.[o,lo]): New rule.
1070 * src/Makefile.in: Regenerate.
1071 * src/debug_list.cc: Remove.
1072 * src/parallel_list.cc: Remove.
1073 * src/compatibility-list-2.cc: New.
1074 * src/compatibility-debug_list-2.cc: New.
1075 * src/compatibility-parallel_list-2.cc: New.
1077 * doc/doxygen/user.cfg.in: Adjust macros.
1079 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
1080 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
1081 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
1082 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
1083 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
1084 * testsuite/20_util/forward/c_neg.cc: Same.
1085 * testsuite/20_util/forward/f_neg.cc: Same.
1086 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
1087 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
1088 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
1089 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
1090 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
1091 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1092 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
1093 * testsuite/23_containers/deque/requirements/dr438/
1094 constructor_1_neg.cc: Same.
1095 * testsuite/23_containers/deque/requirements/dr438/
1096 constructor_2_neg.cc: Same.
1097 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
1098 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
1099 * testsuite/23_containers/forward_list/requirements/dr438/
1100 assign_neg.cc: Same.
1101 * testsuite/23_containers/forward_list/requirements/dr438/
1102 constructor_1_neg.cc: Same.
1103 * testsuite/23_containers/forward_list/requirements/dr438/
1104 constructor_2_neg.cc: Same.
1105 * testsuite/23_containers/forward_list/requirements/dr438/
1106 insert_neg.cc: Same.
1107 * testsuite/23_containers/list/capacity/29134.cc: Same.
1108 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
1109 * testsuite/23_containers/list/requirements/dr438/
1110 constructor_1_neg.cc: Same.
1111 * testsuite/23_containers/list/requirements/dr438/
1112 constructor_2_neg.cc: Same.
1113 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
1114 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
1115 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
1116 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
1117 * testsuite/23_containers/vector/requirements/dr438/
1118 constructor_1_neg.cc: Same.
1119 * testsuite/23_containers/vector/requirements/dr438/
1120 constructor_2_neg.cc: Same.
1121 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
1122 * testsuite/25_algorithms/sort/35588.cc: Same.
1123 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
1124 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1125 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
1126 * testsuite/ext/profile/profiler_algos.cc: Same.
1127 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
1128 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
1129 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
1130 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
1131 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
1133 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1135 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
1136 Improve description of one such reference.
1138 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1140 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
1141 Standards Revision Group.
1142 * doc/xml/manual/locale.xml: Ditto.
1143 * doc/xml/manual/messages.xml: Ditto.
1144 * doc/xml/manual/using_exceptions.xml: Ditto.
1146 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
1148 * include/bits/atomic_base.h: Do not include <stddef.h>.
1149 (kill_dependency): Uglify ret.
1151 2011-01-26 Johannes Singler <singler@kit.edu>
1153 * include/parallel/numeric (inner_product, partial_sum):
1154 Qualify subsequent call with __gnu_parallel instead of
1155 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
1156 * include/parallel/algobase.h (equal): Likewise.
1157 * include/parallel/algo.h (find_first_of, search_n, merge,
1158 nth_element, partial_sort, max_element, min_element): Likewise.
1159 * testsuite/25_algorithms/headers/algorithm/
1160 parallel_algorithm_mixed1.cc (main): Add respective test cases.
1161 * testsuite/25_algorithms/headers/algorithm/
1162 parallel_algorithm_mixed2.cc (main): Likewise.
1163 * testsuite/26_numerics/headers/numeric/
1164 parallel_numeric_mixed1.cc (main): Likewise.
1165 * testsuite/26_numerics/headers/numeric/
1166 parallel_numeric_mixed2.cc (main): Likewise.
1168 2011-01-24 Graham Reed <greed@pobox.com>
1171 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
1174 2011-01-24 Johannes Singler <singler@kit.edu>
1177 * include/parallel/losertree.h
1178 (_LoserTree<>::__delete_min_insert):
1179 Do not qualify swap with std:: for value type,
1180 but include a using directive instead.
1181 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
1182 * include/parallel/balanced_quicksort.h (__qsb_divide):
1183 Use std::iter_swap instead of std::swap.
1184 (__qsb_local_sort_with_helping): Likewise.
1185 * include/parallel/partition.h (__parallel_partition):
1186 Likewise. (__parallel_nth_element): Likewise.
1188 2011-01-24 Johannes Singler <singler@kit.edu>
1191 * include/parallel/multiway_merge.h (_UnguardedIterator):
1192 Remove useless "mutable" from reference declaration.
1194 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
1196 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
1197 * include/debug/safe_sequence.h: Same.
1198 * include/debug/safe_iterator.h: Same.
1199 * include/std/forward_list: Same.
1200 * include/std/deque: Same.
1201 * include/std/list: Same.
1202 * include/std/random: Same.
1203 * include/std/streambuf: Same.
1204 * include/std/fstream: Same.
1205 * include/std/istream: Same.
1206 * include/std/string: Same.
1207 * include/std/ostream: Same.
1208 * include/std/sstream: Same.
1209 * include/ext/vstring.h: Same.
1210 * include/bits/basic_ios.h: Same.
1211 * include/bits/locale_classes.h: Same.
1212 * include/bits/locale_facets.h: Same.
1213 * include/bits/valarray_array.h: Same.
1214 * include/bits/locale_facets_nonio.h: Same.
1215 * include/tr1/random: Same.
1217 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1219 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
1221 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1223 PR libstdc++/36104 part three
1224 * src/hashtable_c++0x.cc: Adjust namespace macros.
1225 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
1226 * config/abi/pre/gnu-versioned-namespace.ver: Update.
1228 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1230 * include/ext/pb_ds/detail/resize_policy/
1231 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
1232 * include/ext/pb_ds/detail/pat_trie_/
1233 constructors_destructor_fn_imps.hpp: Same.
1234 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
1235 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1236 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
1238 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
1239 iterations downward when testing in debug mode.
1240 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
1241 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
1242 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
1243 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
1244 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
1245 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
1246 reduce in debug mode.
1248 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
1250 PR libstdc++/36104 part two
1251 * include/bits/hashtable.h: Revert to non-nested macro usage.
1252 * include/bits/hashtable_policy.h: Same.
1254 2011-01-19 Graham Reed <greed@pobox.com>
1257 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
1259 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
1261 * doc/xml/images/confdeps.png: Regenerate.
1263 * include/std/chrono (duration): Mark copy constructor constexpr.
1264 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
1266 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
1268 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
1269 Declare defaulted per DR 1517.
1270 * testsuite/util/testsuite_common_types.h
1271 (constexpr_defaulted_default_constructible): Add.
1272 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
1274 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
1276 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
1278 * include/bits/stl_stack.h (stack<>::swap): Likewise.
1280 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1283 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
1284 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
1286 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1289 * testsuite/18_support/numeric_limits/lowest.cc:
1290 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
1292 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1295 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
1296 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
1298 2011-01-16 François Dumont <francois.cppdevs@free.fr>
1300 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
1301 to this. Use _neg suffix.
1302 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
1304 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
1306 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
1307 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
1309 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
1310 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
1312 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
1313 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
1315 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
1316 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
1318 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
1319 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
1321 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
1322 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
1324 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
1325 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
1327 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
1328 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
1330 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
1331 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
1333 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
1334 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
1336 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
1337 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
1339 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
1340 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
1342 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
1343 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
1345 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
1346 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
1348 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
1350 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
1353 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
1354 * include/Makefile.in: Regenerate.
1355 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
1356 (install-stdHEADERS, install-bitsHEADERS): New.
1357 * libsupc++/Makefile.in: Regenerate.
1359 * include/bits/c++config: Update for inline namespaces.
1360 * libsupc++/cxxabi-forced.h: To...
1361 * libsupc++/cxxabi_forced.h: ...this.
1362 * libsupc++/hash_bytes.h: Separate file.
1363 * libsupc++/typeinfo: Use it.
1364 * libsupc++/exception: Adjust for bits subdirectory.
1365 * libsupc++/eh_aux_runtime.cc: Same.
1366 * libsupc++/eh_ptr.cc: Same.
1367 * libsupc++/new_op.cc: Same.
1368 * libsupc++/exception_defines.h: Same.
1369 * libsupc++/nested_exception.h: Same.
1370 * libsupc++/eh_terminate.cc: Same.
1371 * libsupc++/vec.cc: Same.
1372 * libsupc++/vterminate.cc: Same.
1373 * libsupc++/exception_ptr.h: Same.
1374 * libsupc++/eh_personality.cc: Same.
1375 * libsupc++/eh_call.cc: Same.
1376 * libsupc++/new_opnt.cc: Same.
1377 * libsupc++/hash_bytes.cc: Same.
1378 * config/cpu/arm/cxxabi_tweaks.h: Same.
1379 * config/cpu/generic/cxxabi_tweaks.h: Same.
1380 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
1381 * include/std/bitset: Same.
1382 * include/ext/vstring.tcc: Same.
1383 * include/bits/hashtable.h: Same.
1384 * include/bits/functional_hash.h: Same.
1385 * include/bits/hashtable_policy.h: Same.
1386 * include/bits/basic_string.h: Same.
1387 * include/bits/istream.tcc: Same.
1388 * include/bits/ostream.tcc: Same.
1389 * include/bits/algorithmfwd.h: Same.
1390 * include/bits/basic_string.tcc: Same.
1391 * include/bits/ostream_insert.h: Same.
1392 * include/bits/fstream.tcc: Same.
1393 * include/bits/functexcept.h: Same.
1395 * doc/doxygen/user.cfg.in: Adjust names.
1397 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1399 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
1401 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
1403 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
1405 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
1407 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
1408 * testsuite/25_algorithms/is_permutation/requirements/
1409 explicit_instantiation/2.cc: Likewise.
1410 * testsuite/25_algorithms/is_permutation/requirements/
1411 explicit_instantiation/pod.cc: Likewise.
1412 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
1414 2011-01-13 John Lakos <jlakos@bloomberg.net>
1415 Pablo Halpern <phalpern@halpernwightsoftware.com>
1416 Paolo Carlini <paolo.carlini@oracle.com>
1418 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
1419 * include/bits/algorithmfwd.h: Add.
1421 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
1424 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
1426 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
1428 * aclocal.m4: Regenerate.
1430 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
1433 * src/placeholders.cc: New.
1434 * src/Makefile.am: Adjust.
1435 * src/Makefile.in: Regenerate.
1436 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
1438 * config/abi/pre/gnu.ver: Export.
1440 2011-01-05 François Dumont <francois.cppdevs@free.fr>
1442 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
1443 * include/src/debug.cc: Use latter
1444 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
1445 correctly handle before_begin iterators.
1446 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
1447 useless _GLIBCXX_DEBUG checks.
1449 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
1452 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
1453 * configure: Regenerated.
1455 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1458 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
1461 Copyright (C) 2011 Free Software Foundation, Inc.
1463 Copying and distribution of this file, with or without modification,
1464 are permitted in any medium without royalty provided the copyright
1465 notice and this notice are preserved.