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