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