1 2009-04-06 Paolo Carlini <paolo.carlini@oracle.com>
3 * include/bits/random.tcc (linear_congruential_engine<>::
4 seed(seed_seq&)): Fix typo in last fix for __m == 0.
6 2009-04-06 Paolo Carlini <paolo.carlini@oracle.com>
8 * include/bits/random.h (operator==): Mark all inline.
9 (mersenne_twister_engine): Enable #if 0 checks.
11 * include/bits/random.h: Formatting tweaks.
13 2009-04-05 Paolo Carlini <paolo.carlini@oracle.com>
15 * include/bits/random.tcc (piecewise_linear_distribution<>::
16 operator()(_UniformRandomNumberGenerator&, const param_type&)):
17 Remove spurious closed parenthesis.
19 2009-04-05 Paolo Carlini <paolo.carlini@oracle.com>
21 PR libstdc++/39644 (partial)
22 * include/bits/random.tcc (linear_congruential_engine<>::
23 seed(seed_seq&), independent_bits_engine<>::operator(),
24 generate_canonical(_UniformRandomNumberGenerator&)): Avoid log2l.
26 2009-04-04 Edward Smith-Rowland <3dw4rd@verizon.net>
28 * include/bits/random.h (struct _ShiftMin1): Fix small typo and
30 * testsuite/26_numerics/random/mersenne_twister_engine/cons/
33 2009-04-04 Paolo Carlini <paolo.carlini@oracle.com>
35 PR libstdc++/39629 (partial)
36 * testsuite/26_numerics/random/independent_bits_engine/cons/
37 base_move.cc: Use uint_fast64_t instead of unsigned long.
38 * testsuite/26_numerics/random/independent_bits_engine/cons/
40 * testsuite/26_numerics/random/independent_bits_engine/cons/
42 * testsuite/26_numerics/random/independent_bits_engine/cons/
43 base_copy.cc: Likewise.
44 * testsuite/26_numerics/random/independent_bits_engine/cons/
46 * testsuite/26_numerics/random/independent_bits_engine/cons/
47 seed_seq.cc: Likewise.
48 * testsuite/26_numerics/random/independent_bits_engine/
49 requirements/typedefs.cc: Likewise.
50 * testsuite/26_numerics/random/independent_bits_engine/
51 operators/equal.cc: Likewise.
52 * testsuite/26_numerics/random/independent_bits_engine/
53 operators/serialize.cc: Likewise.
54 * testsuite/26_numerics/random/mt19937_64.cc: Use ull.
56 2009-04-03 Paolo Carlini <paolo.carlini@oracle.com>
58 * include/tr1_impl/random: Remove, empty.
59 * include/tr1_impl/random.tcc: Likewise.
61 * include/std/random: Minor clean-ups, formatting fixes, adjust
63 * include/bits/random.tcc: Likewise.
64 * include/bits/random.h: Likewise.
65 * include/tr1/random: Likewise.
66 * include/tr1/random.tcc: Likewise.
67 * include/tr1/random.h: Likewise.
69 2009-04-02 Benjamin Kosnik <bkoz@redhat.com>
71 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
72 Change to mersenne_twister_engine, add same defaults as
73 mersenne_twister_engine/cons/default.cc.
74 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Same.
76 * include/bits/random.tcc (seed_seq::seed_seq): Uglify parameter
78 * include/bits/random.h (mersenne_twister_engine): Qualify
79 _ShiftMin1 with namespace __detail.
80 (__detail::_ShiftMin1): Use __gnu_cxx::__numeric_traits::max until
81 constexpr std::numeric_limits::max() can be used.
82 (mersenne_twister_engine): Split apart static asserts into one
83 assert per message. Temporarily disable the last three.
85 2009-04-02 Edward Smith-Rowland <3dw4rd@verizon.net>
87 * include/Makefile.am: Update to N2836. Modified for new random headers.
88 * include/Makefile.in: Ditto.
89 * include/tr1_impl/random: Moved to tr1/random.h
90 * include/tr1_impl/random.tcc: Moved to tr1
91 * include/tr1/random: Just point to moved tr1 random headers.
92 * include/tr1/random.tcc: Moved from tr1_impl.
93 * include/tr1/random.h: Moved from tr1_impl/random.
94 * include/std/random: Modified to point to std random headers.
95 * include/bits/random.tcc: New implementation of std random facilities.
96 * include/bits/random.h: Ditto.
97 * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Changed.
98 * testsuite/26_numerics/random/linear_congruential_engine/cons/
100 * testsuite/26_numerics/random/linear_congruential_engine/cons/
102 * testsuite/26_numerics/random/linear_congruential_engine/cons/
104 * testsuite/26_numerics/random/linear_congruential_engine/requirements/
105 non_uint_neg.cc: New.
106 * testsuite/26_numerics/random/linear_congruential_engine/requirements/
108 * testsuite/26_numerics/random/linear_congruential_engine/operators/
110 * testsuite/26_numerics/random/linear_congruential_engine/operators/
112 * testsuite/26_numerics/random/mersenne_twister_engine/cons/
114 * testsuite/26_numerics/random/mersenne_twister_engine/cons/
116 * testsuite/26_numerics/random/mersenne_twister_engine/cons/
118 * testsuite/26_numerics/random/mersenne_twister_engine/requirements/
120 * testsuite/26_numerics/random/mersenne_twister_engine/operators/
122 * testsuite/26_numerics/random/mersenne_twister_engine/operators/
124 * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
126 * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
128 * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
130 * testsuite/26_numerics/random/subtract_with_carry_engine/requirements/
132 * testsuite/26_numerics/random/subtract_with_carry_engine/operators/
134 * testsuite/26_numerics/random/subtract_with_carry_engine/operators/
136 * testsuite/26_numerics/random/discard_block_engine/cons/
138 * testsuite/26_numerics/random/discard_block_engine/cons/
140 * testsuite/26_numerics/random/discard_block_engine/cons/
142 * testsuite/26_numerics/random/discard_block_engine/cons/
144 * testsuite/26_numerics/random/discard_block_engine/cons/
146 * testsuite/26_numerics/random/discard_block_engine/cons/
148 * testsuite/26_numerics/random/discard_block_engine/requirements/
150 * testsuite/26_numerics/random/discard_block_engine/operators/
152 * testsuite/26_numerics/random/discard_block_engine/operators/
154 * testsuite/26_numerics/random/independent_bits_engine/cons/
156 * testsuite/26_numerics/random/independent_bits_engine/cons/
158 * testsuite/26_numerics/random/independent_bits_engine/cons/
160 * testsuite/26_numerics/random/independent_bits_engine/cons/
162 * testsuite/26_numerics/random/independent_bits_engine/cons/
164 * testsuite/26_numerics/random/independent_bits_engine/cons/
166 * testsuite/26_numerics/random/independent_bits_engine/requirements/
168 * testsuite/26_numerics/random/independent_bits_engine/operators/
170 * testsuite/26_numerics/random/independent_bits_engine/operators/
172 * testsuite/26_numerics/random/shuffle_order_engine/cons/
174 * testsuite/26_numerics/random/shuffle_order_engine/cons/
176 * testsuite/26_numerics/random/shuffle_order_engine/cons/
178 * testsuite/26_numerics/random/shuffle_order_engine/cons/
180 * testsuite/26_numerics/random/shuffle_order_engine/cons/
182 * testsuite/26_numerics/random/shuffle_order_engine/cons/
184 * testsuite/26_numerics/random/shuffle_order_engine/requirements/
186 * testsuite/26_numerics/random/shuffle_order_engine/operators/
188 * testsuite/26_numerics/random/shuffle_order_engine/operators/
190 * testsuite/26_numerics/random/mt19937.cc: New.
191 * testsuite/26_numerics/random/mt19937_64.cc: New.
192 * testsuite/26_numerics/random/minstd_rand.cc: New.
193 * testsuite/26_numerics/random/minstd_rand0.cc: New.
194 * testsuite/26_numerics/random/ranlux24_base.cc: New.
195 * testsuite/26_numerics/random/ranlux48_base.cc: New.
196 * testsuite/26_numerics/random/ranlux24.cc: New.
197 * testsuite/26_numerics/random/ranlux48.cc: New.
198 * testsuite/26_numerics/random/knuth_b.cc: New.
199 * testsuite/26_numerics/random/default_random_engine.cc: New.
200 * testsuite/26_numerics/random/chi_squared_distribution/cons/
202 * testsuite/26_numerics/random/chi_squared_distribution/cons/
204 * testsuite/26_numerics/random/chi_squared_distribution/requirements/
206 * testsuite/26_numerics/random/chi_squared_distribution/operators/
208 * testsuite/26_numerics/random/normal_distribution/cons/
210 * testsuite/26_numerics/random/normal_distribution/cons/
212 * testsuite/26_numerics/random/normal_distribution/requirements/
214 * testsuite/26_numerics/random/normal_distribution/operators/
216 * testsuite/26_numerics/random/seed_seq/cons/range.cc: New.
217 * testsuite/26_numerics/random/seed_seq/cons/default.cc: New.
218 * testsuite/26_numerics/random/seed_seq/requirements/typedefs.cc: New.
219 * testsuite/26_numerics/random/uniform_int_distribution/cons/
221 * testsuite/26_numerics/random/uniform_int_distribution/cons/
223 * testsuite/26_numerics/random/uniform_int_distribution/cons/
225 * testsuite/26_numerics/random/uniform_int_distribution/requirements/
227 * testsuite/26_numerics/random/uniform_int_distribution/operators/
229 * testsuite/26_numerics/random/uniform_real_distribution/cons/
231 * testsuite/26_numerics/random/uniform_real_distribution/cons/
233 * testsuite/26_numerics/random/uniform_real_distribution/cons/
235 * testsuite/26_numerics/random/uniform_real_distribution/requirements/
237 * testsuite/26_numerics/random/uniform_real_distribution/operators/
239 * testsuite/26_numerics/random/poisson_distribution/cons/
241 * testsuite/26_numerics/random/poisson_distribution/cons/
243 * testsuite/26_numerics/random/poisson_distribution/requirements/
245 * testsuite/26_numerics/random/poisson_distribution/operators/
247 * testsuite/26_numerics/random/bernoulli_distribution/cons/
249 * testsuite/26_numerics/random/bernoulli_distribution/cons/
251 * testsuite/26_numerics/random/bernoulli_distribution/requirements/
253 * testsuite/26_numerics/random/bernoulli_distribution/operators/
255 * testsuite/26_numerics/random/discrete_distribution/cons/
257 * testsuite/26_numerics/random/discrete_distribution/cons/
259 * testsuite/26_numerics/random/discrete_distribution/cons/
261 * testsuite/26_numerics/random/discrete_distribution/cons/
262 num_xbound_fun.cc: New.
263 * testsuite/26_numerics/random/discrete_distribution/requirements/
265 * testsuite/26_numerics/random/discrete_distribution/operators/
267 * testsuite/26_numerics/random/weibull_distribution/cons/
269 * testsuite/26_numerics/random/weibull_distribution/cons/
271 * testsuite/26_numerics/random/weibull_distribution/requirements/
273 * testsuite/26_numerics/random/weibull_distribution/operators/
275 * testsuite/26_numerics/random/negative_binomial_distribution/cons/
277 * testsuite/26_numerics/random/negative_binomial_distribution/cons/
279 * testsuite/26_numerics/random/negative_binomial_distribution/
280 requirements/typedefs.cc: New.
281 * testsuite/26_numerics/random/negative_binomial_distribution/
282 operators/serialize.cc: New.
283 * testsuite/26_numerics/random/cauchy_distribution/cons/
285 * testsuite/26_numerics/random/cauchy_distribution/cons/
287 * testsuite/26_numerics/random/cauchy_distribution/requirements/
289 * testsuite/26_numerics/random/cauchy_distribution/operators/
291 * testsuite/26_numerics/random/gamma_distribution/cons/
293 * testsuite/26_numerics/random/gamma_distribution/cons/
295 * testsuite/26_numerics/random/gamma_distribution/requirements/
297 * testsuite/26_numerics/random/gamma_distribution/operators/
299 * testsuite/26_numerics/random/fisher_f_distribution/cons/
301 * testsuite/26_numerics/random/fisher_f_distribution/cons/
303 * testsuite/26_numerics/random/fisher_f_distribution/requirements/
305 * testsuite/26_numerics/random/fisher_f_distribution/operators/
308 * testsuite/26_numerics/random/exponential_distribution/cons/
310 * testsuite/26_numerics/random/exponential_distribution/cons/
312 * testsuite/26_numerics/random/exponential_distribution/requirements/
314 * testsuite/26_numerics/random/exponential_distribution/operators/
316 * testsuite/26_numerics/random/lognormal_distribution/cons/
318 * testsuite/26_numerics/random/lognormal_distribution/cons/
320 * testsuite/26_numerics/random/lognormal_distribution/requirements/
322 * testsuite/26_numerics/random/lognormal_distribution/operators/
324 * testsuite/26_numerics/random/binomial_distribution/cons/
326 * testsuite/26_numerics/random/binomial_distribution/cons/
328 * testsuite/26_numerics/random/binomial_distribution/requirements/
330 * testsuite/26_numerics/random/binomial_distribution/operators/
332 * testsuite/26_numerics/random/random_device/cons/
334 * testsuite/26_numerics/random/random_device/cons/
336 * testsuite/26_numerics/random/random_device/requirements/
338 * testsuite/26_numerics/random/extreme_value_distribution/cons/
340 * testsuite/26_numerics/random/extreme_value_distribution/cons/
342 * testsuite/26_numerics/random/extreme_value_distribution/requirements/
344 * testsuite/26_numerics/random/extreme_value_distribution/operators/
346 * testsuite/26_numerics/random/piecewise_linear_distribution/cons/
348 * testsuite/26_numerics/random/piecewise_linear_distribution/cons/
350 * testsuite/26_numerics/random/piecewise_linear_distribution/cons/
351 num_xbound_fun.cc: New.
352 * testsuite/26_numerics/random/piecewise_linear_distribution/cons/
353 initlist_fun.cc: New.
354 * testsuite/26_numerics/random/piecewise_linear_distribution/
355 requirements/typedefs.cc: New.
356 * testsuite/26_numerics/random/piecewise_linear_distribution/operators/
358 * testsuite/26_numerics/random/student_t_distribution/cons/
360 * testsuite/26_numerics/random/student_t_distribution/cons/
362 * testsuite/26_numerics/random/student_t_distribution/requirements/
364 * testsuite/26_numerics/random/student_t_distribution/operators/
366 * testsuite/26_numerics/random/geometric_distribution/cons/
368 * testsuite/26_numerics/random/geometric_distribution/cons/
370 * testsuite/26_numerics/random/geometric_distribution/requirements/
372 * testsuite/26_numerics/random/geometric_distribution/operators/
374 * testsuite/26_numerics/random/piecewise_constant_distribution/cons/
376 * testsuite/26_numerics/random/piecewise_constant_distribution/cons/
378 * testsuite/26_numerics/random/piecewise_constant_distribution/cons/
379 num_xbound_fun.cc: New.
380 * testsuite/26_numerics/random/piecewise_constant_distribution/cons/
381 initlist_fun.cc: New.
382 * testsuite/26_numerics/random/piecewise_constant_distribution/
383 requirements/typedefs.cc: New.
384 * testsuite/26_numerics/random/piecewise_constant_distribution/
385 operators/serialize.cc: New.
387 2009-04-02 Dodji Seketeli <dodji@redhat.com>
389 * include/ext/bitmap_allocator.h: The typedefs should be made public
390 if we want them to be accessible. This has been revealed by the patch
391 that fixes PR c++/26693 in g++.
393 2009-04-02 Jakub Jelinek <jakub@redhat.com>
395 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
397 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
399 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
400 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
401 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
402 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
403 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Regenerated.
404 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
405 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
407 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
409 2009-03-31 Jason Merrill <jason@redhat.com>
411 * libsupc++/unwind-cxx.h: Correct __cxa_call_terminate prototype.
414 * include/tr1_impl/type_traits (is_function): Add partial
415 specializations with function cv-quals.
416 (__is_function_helper): Remove.
417 (is_member_pointer): Don't define in terms of is_member_*_pointer.
419 2009-03-30 Ian Lance Taylor <iant@google.com>
421 * include/backward/hashtable.h (clear): Return quickly if the
424 2009-03-27 Ian Lance Taylor <iant@google.com>
426 * include/backward/hashtable.h (_S_num_primes): Change to 29.
427 (__stl_prime_list): Add 5 at the start of the list.
429 2009-03-25 Edward Smith-Rowland <3dw4rd@verizon.net>
431 * include/std/fstream (basic_filebuf<>::open(const std::string&,
432 ios_base::openmode), basic_ifstream<>::basic_ifstream(const
433 std::string&, ios_base::openmode), basic_ifstream<>::
434 open(const std::string&, ios_base::openmode), basic_ofstream<>::
435 basic_ofstream(const std::string&, ios_base::openmode),
436 basic_ofstream<>::open(const std::string&, ios_base::openmode),
437 basic_fstream<>::basic_fstream(const std::string&, ios_base::openmode),
438 basic_fstream<>::open(const std::string&, ios_base::openmode)):
440 * testsuite/27_io/basic_ofstream/open/char/2.cc: New.
441 * testsuite/27_io/basic_ofstream/cons/char/2.cc: Likewise.
442 * testsuite/27_io/basic_fstream/open/char/1.cc: Likewise.
443 * testsuite/27_io/basic_fstream/cons/char/1.cc: Likewise.
444 * testsuite/27_io/basic_ifstream/open/char/2.cc: Likewise.
445 * testsuite/27_io/basic_ifstream/cons/char/2.cc: Likewise.
446 * testsuite/27_io/basic_filebuf/open/char/5.cc: Likewise.
448 2009-03-25 Paolo Carlini <paolo.carlini@oracle.com>
450 * testsuite/27_io/basic_ofstream/cons/char/2.cc: Rename to...
451 * testsuite/27_io/basic_ofstream/cons/char/1.cc: ... this.
452 * testsuite/27_io/basic_fstream/cons/3.cc: Rename to...
453 * testsuite/27_io/basic_fstream/cons/1.cc: ... this.
455 2009-03-25 Paolo Carlini <paolo.carlini@oracle.com>
457 * include/bits/forward_list.h (_Fwd_list_node_base<>::
458 _M_transfer_after, _M_reverse_after): Move out of line...
459 * include/bits/forward_list.tcc: ... here.
460 (forward_list<>::reverse): Move inline...
461 * include/bits/forward_list.h: ... here; minor cosmetic changes.
463 2009-03-22 Mark Mitchell <mark@codesourcery.com>
465 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/
467 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-3.cc:
469 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-4.cc:
471 * testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc:
474 2009-03-22 Mark Mitchell <mark@codesourcery.com>
476 * testsuite/25_algorithms/search_n/iterator.cc: Update copyright
478 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
479 * testsuite/21_strings/basic_string/inserters_extractors/char/28277.cc
481 * testsuite/27_io/basic_ostream/inserters_character/char/28277-3.cc:
483 * testsuite/27_io/basic_ostream/inserters_character/char/28277-4.cc:
485 * testsuite/ext/vstring/inserters_extractors/char/28277.cc: Likewise.
487 2009-03-22 Mark Mitchell <mark@codesourcery.com>
489 * testsuite/25_algorithms/search_n/iterator.cc: Condition
490 iterations for simulators.
491 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
492 * testsuite/21_strings/basic_string/inserters_extractors/char/28277.cc
493 Condition stream width for simulators.
494 * testsuite/27_io/basic_ostream/inserters_character/char/28277-3.cc:
496 * testsuite/27_io/basic_ostream/inserters_character/char/28277-4.cc:
498 * testsuite/ext/vstring/inserters_extractors/char/28277.cc: Likewise.
500 2009-03-17 Benjamin Kosnik <bkoz@redhat.com>
502 * doc/xml/manual/appendix_contributing.xml: Add docbook style
503 sheet version information. Table-ize docbook element examples.
504 * doc/xml/manual/using.xml: Human-readable header
505 markup. Alphabetized. Add new headers.
506 * doc/html: Regenerate.
508 2009-03-15 Paolo Carlini <paolo.carlini@oracle.com>
510 * doc/xml/faq.xml: Fix link to setup documentation.
512 2009-03-14 Paolo Carlini <paolo.carlini@oracle.com>
514 * include/std/type_traits (__add_lvalue_reference_helper,
515 __add_rvalue_reference_helper): As an optimization, rewrite
516 condition (avoid is_function).
518 2009-03-13 Paolo Carlini <paolo.carlini@oracle.com>
521 * testsuite/20_util/shared_ptr/cons/39405.cc: New.
522 * testsuite/tr1/2_general_utilities/shared_ptr/cons/39405.cc: Likewise.
524 2009-03-12 Benjamin Kosnik <bkoz@redhat.com>
526 * testsuite/30_threads/condition_variable_any/native_handle/
527 typesizes.cc: Include tweaks.
528 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
529 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
530 * testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
531 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
532 * testsuite/30_threads/condition_variable/native_handle/
535 2009-03-11 Jonathan Wakely <jwakely.gcc@gmail.com>
537 * include/bits/shared_ptr.h: Add include guards.
538 * include/tr1/shared_ptr.h: Likewise.
540 2009-03-11 Jonathan Wakely <jwakely.gcc@gmail.com>
542 * include/std/iostream: Fix doxygen link.
543 * include/bits/forward_list.h: Fix doxygen markup.
544 * include/ext/vstring.h: Escape backslash in doxygen comment.
545 * include/bits/basic_string.h: Likewise.
547 2009-03-10 Paolo Carlini <paolo.carlini@oracle.com>
549 * doc/xml/faq.xml: Fix links to implementation status pages.
551 2009-03-10 Paolo Carlini <paolo.carlini@oracle.com>
553 * include/std/complex (operator+(const complex<>&, const _Tp&),
554 operator+(const _Tp&, const complex<>&),
555 operator-(const complex<>&, const _Tp&),
556 operator-(const _Tp&, const complex<>&)): Do not assume real()
557 returns a reference (against DR 387).
558 * testsuite/26_numerics/complex/dr387_2.cc: New.
560 2009-03-02 Benjamin Kosnik <bkoz@redhat.com>
562 * testsuite/thread/pthread4.cc: Move...
563 * testsuite/21_strings/basic_string/pthread4.cc: ...here.
564 * testsuite/thread/pthread5.cc: Move...
565 * testsuite/23_containers/list/pthread5.cc: ...here.
566 * testsuite/thread/pthread6.cc: Move...
567 * testsuite/23_containers/map/pthread6.cc: ...here.
568 * testsuite/thread/pthread7-rope.cc: Move...
569 * testsuite/ext/rope/pthread7-rope.cc: ...here.
570 * testsuite/thread/guard.cc: Move...
571 * testsuite/18_support/pthread_guard.cc: ...here.
572 * testsuite/thread/18185.cc: Move...
573 * testsuite/21_strings/basic_string/pthread18185.cc: ...here.
574 * testsuite/thread/pthread1.cc: Move...
575 * testsuite/23_containers/list/pthread1.cc: ...here.
576 * testsuite/thread/pthread2.cc: Move...
577 * testsuite/27_io/basic_ofstream/pthread2.cc: ...here.
578 * testsuite/thread/pthread3.cc: Move...
579 * testsuite/27_io/basic_ostringstream/pthread3.cc: ...here.
581 * testsuite/libstdc++-dg/conformance.exp: Remove thread directory.
582 * testsuite/thread: Remove.
584 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
586 * configure: Regenerate.
588 2009-02-23 Adam Nemet <anemet@caviumnetworks.com>
590 * testsuite/libstdc++-abi/abi.exp: Add multilib support.
591 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove MULTISUBDIR
593 * configure: Regenerate.
594 * testsuite/Makefile.am (baseline_file): Remove variable.
595 (site.exp): Set baseline_dir rather than baseline_file.
596 (check-abi): Pass AM_RUNTESTFLAGS and RUNTESTFLAGS to runtest.
597 * testsuite/Makefile.in: Regenerate.
599 2009-02-20 Benjamin Kosnik <bkoz@redhat.com>
601 * testsuite/30_threads/thread/this_thread: Move...
602 * testsuite/30_threads/this_thread: ...here.
603 * testsuite/20_util/unique_ptr/assign/assign.cc: Move...
604 * testsuite/20_util/unique_ptr/assign/assign_neg.cc: ...here.
605 * testsuite/20_util/ratio/cons/cons_overflow.cc: Move...
606 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: ...here.
607 * testsuite/20_util/ratio/operations/ops_overflow.cc: Move...
608 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: ...here.
610 2009-02-20 Benjamin Kosnik <bkoz@redhat.com>
612 * doc/doxygen/user.cfg.in: Tweaks.
613 * doc/doxygen/doxygroups.cc: Prefer markup that can be elsewhere,
616 * include/tr1_impl/unordered_map: Just use most specialized
618 * include/tr1_impl/unordered_set: Same.
619 * include/tr1_impl/array: Same.
620 * include/bits/stl_list.h: Same.
621 * include/bits/stl_map.h: Same.
622 * include/bits/stl_queue.h: Same.
623 * include/bits/stl_set.h: Same.
624 * include/bits/stl_stack.h: Same.
625 * include/bits/forward_list.h: Same.
626 * include/bits/basic_string.h: Same.
627 * include/bits/stl_multimap.h: Same.
628 * include/bits/stl_vector.h: Same.
629 * include/bits/stl_deque.h: Same.
630 * include/bits/stl_multiset.h: Same.
631 * include/bits/stl_bvector.h: Same.
633 * include/backward/binders.h: Change binder module to binders.
635 * include/std/complex: Add complex_numers module.
636 * include/tr1_impl/complex: Same.
638 * include/std/valarray: Add numeric_arrays module.
639 * include/bits/gslice_array.h: Same.
640 * include/bits/gslice.h: Same.
641 * include/bits/mask_array.h: Same.
642 * include/bits/slice_array.h: Same.
643 * include/bits/indirect_array.h: Same.
645 * include/bits/allocator.h: Add allocators module.
646 * include/ext/throw_allocator.h
647 * include/ext/pool_allocator.h
648 * include/ext/bitmap_allocator.h
649 * include/ext/new_allocator.h
650 * include/ext/malloc_allocator.h
651 * include/ext/array_allocator.h
652 * include/ext/mt_allocator.h
653 * include/ext/debug_allocator.h
654 * include/ext/extptr_allocator.h
656 * include/tr1_impl/functional: Move namespace markup here.
657 * include/tr1_impl/regex: Same.
659 * include/tr1_impl/type_traits: Add metaprogramming module.
660 * include/std/type_traits: Same.
662 * include/std/memory: Add memory module.
664 * include/std/ratio: Add ratio module.
666 * include/std/chrono: Move namespace markup here, add time module.
668 * include/std/thread: Move namespace markup here, add concurrency
670 * include/std/mutex: Use concurrency module.
671 * include/std/condition_variable: Same.
674 * include/bits/ios_base.h: Refine io module.
675 * include/bits/basic_ios.h: Same.
676 * include/std/fstream: Same.
677 * include/std/istream: Same.
678 * include/std/ostream: Same.
679 * include/std/sstream: Same.
681 * include/ext/vstring.h: Correct parameter markup.
683 * include/bits/shared_ptr.h: Add pointer_abstractions module.
684 * include/bits/unique_ptr.h: Same.
686 * include/bits/algorithmfwd.h: Add mutating_algorithms,
687 non_mutating_algorithms, sorting_algorithms. Adjust nesting.
688 * include/bits/stl_heap.h: Add markup for new groupings.
689 * include/bits/stl_algobase.h: Same.
690 * include/bits/stl_algo.h: Same.
692 * include/c_compatibility/stdatomic.h: Add atomics module.
693 * include/c_global/cstdatomic: Same.
695 * libsupc++/exception: Add exceptions module.
696 * libsupc++/typeinfo: Same.
697 * libsupc++/new: Same.
698 * libsupc++/exception_ptr.h: Same.
699 * include/std/system_error: Same.
700 * include/std/stdexcept: Same.
702 * libsupc++/cxxabi.h: Move doxygroups.cc markup here.
703 * libsupc++/cxxabi-forced.h: Same.
705 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix up line numbers.
706 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
707 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Same.
708 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Same.
709 * testsuite/30_threads/mutex/cons/assign_neg.cc: Same.
710 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
711 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Same.
712 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Same.
713 * testsuite/30_threads/thread/cons/assign_neg.cc: Same.
714 * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
715 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
716 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
717 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Same.
718 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Same.
719 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Same.
720 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Same.
721 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
722 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
723 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
724 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
725 * testsuite/23_containers/vector/requirements/dr438/
726 constructor_1_neg.cc: Same.
727 * testsuite/23_containers/vector/requirements/dr438/
728 constructor_2_neg.cc: Same.
729 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
730 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
731 * testsuite/23_containers/deque/requirements/dr438/
732 constructor_1_neg.cc: Same.
733 * testsuite/23_containers/deque/requirements/dr438/
734 constructor_2_neg.cc: Same.
735 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
736 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
737 * testsuite/23_containers/list/requirements/dr438/
738 constructor_1_neg.cc: Same.
739 * testsuite/23_containers/list/requirements/dr438/
740 constructor_2_neg.cc: Same.
741 * testsuite/20_util/duration/cons/1_neg.cc: Same.
742 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
743 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
744 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
745 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
746 * testsuite/20_util/unique_ptr/assign/assign.cc: Same.
747 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
748 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
749 * testsuite/20_util/ratio/cons/cons_overflow.cc: Same.
750 * testsuite/20_util/ratio/operations/ops_overflow.cc: Same.
752 2009-02-18 Benjamin Kosnik <bkoz@redhat.com>
754 * doc/doxygen/doxygroups.cc: Move algorithm groups into algorithmfwd.h.
755 * doc/doxygen/user.cfg.in: Update.
756 * scripts/run_doxygen: Adjust for new group names.
758 * include/tr1_impl/random: Update doxygen group markup.
759 * include/tr1_impl/unordered_map: Same.
760 * include/tr1_impl/unordered_set: Same.
761 * include/tr1_impl/array: Same.
762 * include/std/numeric: Same.
763 * include/std/utility: Same.
764 * include/std/bitset: Same.
765 * include/std/iosfwd: Same.
766 * include/bits/stl_list.h: Same.
767 * include/bits/stl_map.h: Same.
768 * include/bits/stl_algobase.h: Same.
769 * include/bits/stl_queue.h: Same.
770 * include/bits/stl_set.h: Same.
771 * include/bits/stl_stack.h: Same.
772 * include/bits/stl_iterator_base_types.h: Same.
773 * include/bits/forward_list.h: Same.
774 * include/bits/basic_string.h: Same.
775 * include/bits/stl_multimap.h: Same.
776 * include/bits/stl_vector.h: Same.
777 * include/bits/stl_deque.h: Same.
778 * include/bits/stl_multiset.h: Same.
779 * include/bits/stl_algo.h: Same.
780 * include/bits/stl_bvector.h: Same.
781 * include/bits/algorithmfwd.h: Same.
782 * include/bits/stl_function.h: Same.
783 * include/tr1/cmath: Same.
784 * include/backward/binders.h: Same.
786 2009-02-17 Benjamin Kosnik <bkoz@redhat.com>
788 * include/std/system_error (system_category): To system_category().
789 (generic_category): To generic_category. DR 890.
790 * src/system_error.cc: Define.
791 * include/bits/functexcept.h: Only one __throw_system_error.
792 * src/functexcept.cc: Same.
793 * include/std/mutex: Fixup for changes above.
794 * testsuite/19_diagnostics/error_condition/cons/1.cc: Same.
795 * testsuite/19_diagnostics/error_code/cons/1.cc: Same.
796 * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
797 * config/abi/pre/gnu.ver: Clean up exports.
799 2009-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
801 * include/std/thread: Fix typo.
802 * src/thread.cc (thread::join): Use NULL.
804 2009-02-15 Paolo Carlini <paolo.carlini@oracle.com>
807 * src/locale_facets.cc (__verify_grouping(const char*, size_t,
808 const string&)): Also check that the value != CHAR_MAX.
809 * include/bits/locale_facets.tcc (__numpunct_cache<>::
810 _M_cache(const locale&), __add_grouping(_CharT*, _CharT,
811 const char*, size_t, const _CharT*, const _CharT*)): Likewise.
812 * include/bits/locale_facets_nonio.tcc (__moneypunct_cache<>::
813 _M_cache(const locale&)): Likewise.
814 * testsuite/22_locale/money_put/put/wchar_t/39168.cc: New.
815 * testsuite/22_locale/money_put/put/char/39168.cc: Likewise.
816 * testsuite/22_locale/money_get/get/wchar_t/39168.cc: Likewise.
817 * testsuite/22_locale/money_get/get/char/39168.cc: Likewise.
818 * testsuite/22_locale/num_get/get/wchar_t/39168.cc: Likewise.
819 * testsuite/22_locale/num_get/get/char/39168.cc: Likewise.
821 2009-02-13 Chris Fairles <cfairles@gcc.gnu.org>
822 Benjamin Kosnik <bkoz@redhat.com>
824 * include/std/thread (_Impl_base): Move _M_id out and into ...
825 (thread): ...here. Call _M_make_routine in body of constructors.
826 Adjust data member usage to reflect changes.
827 (_M_make_routine): From _M_make_shared_data.
828 (_M_start_thread): Add __shared_base_type argument.
829 * src/thread.cc: Fixups for above.
830 * config/abi/pre/gnu.ver: Adjust exports.
831 * testsuite/30_threads/thread/native_handle/typesizes.cc: Enable.
832 * testsuite/30_threads/thread/cons/assign_neg.cc: Adjust line numbers.
833 * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
835 2009-02-12 Benjamin Kosnik <bkoz@redhat.com>
837 * testsuite/util/thread/all.h (compare_type_to_native_type_sizes): To...
838 (compare_type_to_native_type): ...this, add alignment check.
839 * testsuite/30_threads/condition_variable_any/native_handle/
840 typesizes.cc: Modify as above.
841 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
842 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
843 * testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
844 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
845 * testsuite/30_threads/condition_variable/native_handle/
847 * testsuite/30_threads/recursive_timed_mutex/native_handle/
850 * testsuite/30_threads/thread/cons/1.cc: Add comments.
851 * testsuite/30_threads/thread/cons/2.cc: Same.
852 * testsuite/30_threads/thread/cons/3.cc: Same.
853 * testsuite/30_threads/thread/cons/4.cc: Same.
854 * testsuite/30_threads/thread/cons/5.cc: Same.
855 * testsuite/30_threads/thread/cons/6.cc: Same.
856 * testsuite/30_threads/thread/cons/7.cc: Same.
857 * testsuite/30_threads/thread/cons/8.cc: Same.
859 * testsuite/30_threads/thread/cons/9.cc: New.
860 * testsuite/30_threads/thread/cons/moveable.cc: New.
862 * src/condition_variable.cc: Clean up whitespace.
863 * include/std/condition_variable: Same.
865 2009-02-09 Benjamin Kosnik <bkoz@redhat.com>
867 * include/std/condition_variable (condition_variable): Remove
868 _M_internal_mutex. Add private __native_type typedef.
869 * src/condition_variable.cc (condition_variable::notify_one):
870 Remove _M_internal_mutex use. Use typedef.
871 (condition_variable::notify_all): Same.
872 * include/std/mutex (mutex): Add private __native_type typedef. Use it.
873 (recursive_mutex): Same.
875 (recursive_timed_mutex): Same.
876 (once_flag): Make __native_type typedef private.
878 * include/std/thread (this_thread): Add minimal markup.
880 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
882 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Same.
883 * testsuite/30_threads/mutex/cons/assign_neg.cc: Same.
884 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
885 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Same.
886 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Same.
887 * testsuite/30_threads/thread/cons/assign_neg.cc: Same.
888 * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
889 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
890 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
891 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Same.
892 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Same.
893 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Same.
894 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Same.
896 * testsuite/util/thread/all.h: Testsuite utilities for testing thread.
897 * testsuite/30_threads/condition_variable_any/native_handle/
899 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
900 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
901 * testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
902 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
903 * testsuite/30_threads/condition_variable/native_handle/
905 * testsuite/30_threads/recursive_timed_mutex/native_handle/
908 2009-02-09 Jack Howarth <howarth@bromo.med.uc.edu>
911 * libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc: Skip
914 2009-02-09 Adam Nemet <anemet@caviumnetworks.com>
916 * configure.host: Set abi_baseline_pair for mips64*-linux.
917 * config/abi/post/mips64-linux-gnu/baseline_symbols.txt: New file.
919 2009-02-08 Chris Fairles <cfairles@gcc.gnu.org>
921 * include/std/thread (this_thread::get_id): Inline.
923 2009-02-08 Chris Fairles <cfairles@gcc.gnu.org>
925 * include/std/thread (thread<>::thread(_Callable)): Explicitly use
926 _Callable as template argument for _M_make_shared_data.
927 * testsuite/30_threads/thread/cons/6.cc: New.
928 * testsuite/30_threads/thread/cons/7.cc: New.
929 * testsuite/30_threads/thread/cons/8.cc: New.
931 2009-02-07 Benjamin Kosnik <bkoz@redhat.com>
933 * testsuite/30_threads/thread/member: To..
934 * testsuite/30_threads/thread/members: ...this.
935 * testsuite/30_threads/condition_variable/member: To...
936 * testsuite/30_threads/condition_variable/members: ...this.
938 2009-02-06 Benjamin Kosnik <bkoz@redhat.com>
940 * include/std/thread (thread::id): Move definition inside thread.
941 Use native_handle_type. Remove this_thread::get_id friend.
942 Change __thread_data_ptr to __shared_base_ptr.
943 (thread::id::id(native_handle_type): Make public. Still explicit.
944 Use native_handle_type. Change _M_thread_id to _M_thread.
945 (thread::__thread_data_base): Rename to _Impl_base. Use id, change
946 _M_thread_handle to _M_id.
947 (thread::__thread_data): Rename to _Impl.
949 (thread::_M_make_thread_data): Return derived type.
950 (thread::hardware_concurrency): Add definition for default case.
951 (thread::get_id): Now can define inline.
952 (thread): Change _M_thread_data to _M_data.
953 (this_thread::get_id): Now can define inline.
954 * src/thread.cc (__thread_proxy): Rename to
955 execute_native_thread_routine.
956 Fixup for other renames.
957 * testsuite/30_threads/thread/cons/assign_neg.cc: New.
958 * testsuite/30_threads/thread/cons/copy_neg.cc: New.
959 * testsuite/30_threads/thread/algorithm: Move to..
960 * testsuite/30_threads/thread/swap: ...this.
961 * testsuite/30_threads/thread/member/hardware_concurrency.cc: Add.
962 * testsuite/30_threads/thread/id/operators.cc: New.
964 2009-02-05 Chris Fairles <cfairles@gcc.gnu.org>
966 * include/std/tuple (_Head_base<>::_Head_base(_UHead&&)): Formatting.
967 (_Head_base<>::__swap_impl): Rename to _M_swap_impl.
968 (_Tuple_impl<>::__swap_impl): Likewise and make protected to avoid
969 exposing it in public std::tuple interface.
971 2009-02-05 Chris Fairles <cfairles@gcc.gnu.org>
972 Benjamin Kosnik <bkoz@redhat.com>
974 * include/std/thread (__thread_data_base): Nest class in std::thread.
975 (__thread_data): Likewise.
976 (__thread_data_ptr): Nest typedef in std::thread.
977 * src/thread.cc (__thread_proxy): Qualify the above names.
978 * config/abi/pre/gnu.ver: Remove unused exports.
980 2009-02-04 Benjamin Kosnik <bkoz@redhat.com>
982 * include/bits/unique_ptr.h: Remove private __this_type typedef.
983 * include/bits/stl_vector.h: Remove private vector_type typedef.
984 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
986 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
987 * testsuite/23_containers/vector/requirements/dr438/
988 constructor_1_neg.cc: Same.
989 * testsuite/23_containers/vector/requirements/dr438/
990 constructor_2_neg.cc: Same.
991 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
992 * testsuite/20_util/unique_ptr/assign/assign.cc: Same.
994 2009-02-03 Paolo Carlini <paolo.carlini@oracle.com>
997 * libsupc++/exception_defines.h: Depending on __EXCEPTIONS,
998 deal consistently with __try and __catch too.
999 * src/localename.cc: Replace try -> __try, catch -> __catch.
1000 * src/ios.cc: Likewise.
1001 * src/locale.cc: Likewise.
1002 * src/istream.cc: Likewise.
1003 * src/thread.cc: Likewise.
1004 * src/compatibility.cc: Likewise.
1005 * src/bitmap_allocator.cc: Likewise.
1006 * src/ios_init.cc: Likewise.
1007 * include/debug/deque: Likewise.
1008 * include/debug/list: Likewise.
1009 * include/tr1_impl/hashtable: Likewise.
1010 * include/std/bitset: Likewise.
1011 * include/ext/pb_ds/detail/resize_policy/
1012 hash_load_check_resize_trigger_imp.hpp: Likewise.
1013 * include/ext/pb_ds/detail/resize_policy/
1014 hash_standard_resize_policy_imp.hpp: Likewise.
1015 * include/ext/pb_ds/detail/cc_hash_table_map_/
1016 resize_fn_imps.hpp: Likewise.
1017 * include/ext/pb_ds/detail/cc_hash_table_map_/
1018 constructor_destructor_fn_imps.hpp: Likewise.
1019 * include/ext/pb_ds/detail/pat_trie_/
1020 split_join_branch_bag.hpp: Likewise.
1021 * include/ext/pb_ds/detail/pat_trie_/
1022 constructors_destructor_fn_imps.hpp: Likewise.
1023 * include/ext/pb_ds/detail/bin_search_tree_/
1024 constructors_destructor_fn_imps.hpp: Likewise.
1025 * include/ext/pb_ds/detail/gp_hash_table_map_/
1026 resize_fn_imps.hpp: Likewise.
1027 * include/ext/pb_ds/detail/gp_hash_table_map_/
1028 constructor_destructor_fn_imps.hpp: Likewise.
1029 * include/ext/pb_ds/detail/binary_heap_/
1030 constructors_destructor_fn_imps.hpp: Likewise.
1031 * include/ext/pb_ds/detail/binary_heap_/
1032 erase_fn_imps.hpp: Likewise.
1033 * include/ext/pb_ds/detail/binary_heap_/
1034 split_join_fn_imps.hpp: Likewise.
1035 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1036 constructors_destructor_fn_imps.hpp: Likewise.
1037 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
1038 * include/ext/pb_ds/detail/list_update_map_/
1039 constructor_destructor_fn_imps.hpp: Likewise.
1040 * include/ext/slist: Likewise.
1041 * include/ext/memory: Likewise.
1042 * include/ext/rc_string_base.h: Likewise.
1043 * include/ext/ropeimpl.h: Likewise.
1044 * include/ext/vstring.tcc: Likewise.
1045 * include/ext/rope: Likewise.
1046 * include/ext/sso_string_base.h: Likewise.
1047 * include/bits/shared_ptr.h: Likewise.
1048 * include/bits/stl_list.h: Likewise.
1049 * include/bits/locale_classes.tcc: Likewise.
1050 * include/bits/locale_facets.tcc: Likewise.
1051 * include/bits/locale_classes.h: Likewise.
1052 * include/bits/forward_list.h: Likewise.
1053 * include/bits/stl_vector.h: Likewise.
1054 * include/bits/stl_deque.h: Likewise.
1055 * include/bits/istream.tcc: Likewise.
1056 * include/bits/stl_uninitialized.h: Likewise.
1057 * include/bits/ostream.tcc: Likewise.
1058 * include/bits/vector.tcc: Likewise.
1059 * include/bits/stl_tempbuf.h: Likewise.
1060 * include/bits/deque.tcc: Likewise.
1061 * include/bits/basic_string.tcc: Likewise.
1062 * include/bits/ostream_insert.h: Likewise.
1063 * include/bits/locale_facets_nonio.tcc: Likewise.
1064 * include/bits/stl_tree.h: Likewise.
1065 * include/bits/fstream.tcc: Likewise.
1066 * include/tr1/shared_ptr.h: Likewise.
1067 * include/tr1/hypergeometric.tcc: Likewise.
1068 * include/backward/hashtable.h: Likewise.
1069 * libsupc++/exception_ptr.h: Likewise.
1070 * libsupc++/eh_personality.cc: Likewise.
1071 * libsupc++/eh_call.cc: Likewise.
1072 * config/locale/gnu/monetary_members.cc: Likewise.
1073 * config/locale/gnu/time_members.h: Likewise.
1074 * config/locale/generic/time_members.h: Likewise.
1076 2009-02-03 Johannes Singler <singler@ira.uka.de>
1078 * include/parallel/algorithmfwd.h:
1079 Add parallelism default for many declarations.
1080 * include/parallel/numericfwd.h: Likewise.
1081 * include/parallel/iterator.h: Use iterator_traits as usual.
1082 * include/parallel/par_loop.h:
1083 Include equally_split.h.
1084 (for_each_template_random_access_ed):
1085 Avoid calling the Result default constructor.
1086 * include/parallel/numeric: Replace
1087 for_each_template_random_access by
1088 for_each_template_random_access_ed in numeric functions.
1090 2009-02-02 Benjamin Kosnik <bkoz@redhat.com>
1092 * config/os/gnu-linux/os_defines.h: Remove superfluous
1093 __NO_STRING_INLINES.
1095 2009-02-02 Jakub Jelinek <jakub@redhat.com>
1097 * testsuite/21_strings/c_strings/char/3.cc: New test.
1098 * testsuite/21_strings/c_strings/wchar_t/3.cc: New test.
1100 2009-01-30 Ulrich Drepper <drepper@redhat.com>
1101 Jakub Jelinek <jakub@redhat.com>
1103 PR libstdc++/30928 (partial, works together with recent glibcs)
1104 * include/c_std/cstring (memchr, strchr, strpbrk, strrchr, strstr):
1105 Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
1107 * include/c_std/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
1108 Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
1110 * include/c_global/cstring (memchr, strchr, strpbrk, strrchr, strstr):
1111 Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
1113 * include/c_global/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
1114 Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
1116 * testsuite/21_strings/c_strings/char_t/2.cc (test02): If first
1117 argument is const char *, assign result to const char * var, not
1119 * testsuite/21_strings/c_strings/wchar_t/2.cc (test02): If first
1120 argument is const wchar_t *, assign result to const wchar_t * var, not
1123 2009-01-29 Jonathan Wakely <jwakely.gcc@gmail.com>
1125 * include/std/thread: Remove unused headers.
1126 (__thread_data_base): Remove unused mutex and base.
1127 (thread::~thread): Only detach if joinable.
1128 (thread::joinable): Test if thread data ptr is empty.
1129 (thread::_M_thread_data_mutex): Remove.
1130 (thread::_M_get_thread_data): Remove.
1131 (thread::_M_make_thread_data): Remove overload, use make_shared.
1132 (thread::id::id): Make constructor explicit.
1133 * src/thread.cc (thread::join,thread::detach): Throw if not joinable.
1134 (thread::_M_start_thread): Break shared_ptr cycle on error.
1135 (__thread_proxy): Use shared_ptr swap instead of copy and reset.
1136 * testsuite/30_threads/thread/member/4.cc: New.
1137 * testsuite/30_threads/thread/member/5.cc: New.
1139 2009-01-28 Benjamin Kosnik <bkoz@redhat.com>
1141 * testsuite/util/testsuite_common_types.h (has_trivial_cons_dtor): New.
1142 (standard_layout): Just use !has_virtual_destructor for now.
1143 * testsuite/30_threads/mutex/requirements/standard_layout.cc: New.
1144 * testsuite/30_threads/timed_mutex/requirements/standard_layout.cc: New.
1145 * testsuite/30_threads/recursive_mutex/requirements/
1146 standard_layout.cc: New.
1147 * testsuite/30_threads/condition_variable/requirements/
1148 standard_layout.cc: New.
1149 * testsuite/29_atomics/atomic_address/requirements/
1150 standard_layout.cc: Adjust.
1151 * testsuite/29_atomics/atomic_flag/requirements/
1152 standard_layout.cc: Same.
1153 * testsuite/29_atomics/atomic_address/requirements/trivial.cc: New.
1154 * testsuite/29_atomics/atomic_integral/requirements/trivial.cc: Same.
1155 * testsuite/29_atomics/atomic_flag/requirements/trivial.cc: Same.
1156 * testsuite/30_threads/condition_variable/requirements/typedefs.cc: New.
1157 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust
1159 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
1160 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
1161 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
1162 * testsuite/29_atomics/atomic/requirements/standard_layout.cc:
1163 Remove, not required.
1165 2009-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
1167 * include/std/thread (__thread_data_base, thread): Rename member
1168 functions to match coding style.
1169 (thread::thread,thread::operator=): Define move operations.
1170 * src/thread.cc (__thread_data_base, thread): Rename member functions.
1171 * config/abi/pre/gnu.ver: Adjust.
1173 2009-01-22 Benjamin Kosnik <bkoz@redhat.com>
1176 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Disable symbol versioning
1178 * configure: Regenerate.
1180 2009-01-21 Benjamin Kosnik <bkoz@redhat.com>
1182 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Remove
1185 2009-01-21 Dodji Seketeli <dodji@redhat.com>
1187 2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
1188 Uros Bizjak <ubizjak@gmail.com>
1191 * config/abi/pre/gnu.ver: Correct char16_t and char32_t exports.
1192 * config/os/gnu-linux/ldbl-extra.ver: Tweak.
1194 2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
1195 Rainer Emrich <r.emrich@de.tecosim.com>
1198 * crossconfig.m4: Use GLIBCXX_CHECK_MATH_SUPPORT and
1199 GLIBCXX_CHECK_STDLIB_SUPPORT for mingw crosses.
1200 * configure: Regenerate.
1202 2009-01-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1204 * include/std/thread (__thread_data_base::__run): Make non-const.
1205 * testsuite/30_threads/thread/cons/5.cc: New.
1207 2009-01-16 Benjamin Kosnik <bkoz@redhat.com>
1209 * src/Makefile.am (sources): Add math_stubs_float.cc.
1210 * src/Makefile.in: Regenerate.
1211 * src/math_stubs_float.cc: New, from libmath/stubs.c.
1213 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
1215 * src/Makefile.am (sources): Add math_stubs_long_double.cc.
1216 * src/Makefile.in: Regenerate.
1217 * src/math_stubs_long_double.cc: New, from libmath/stubs.c.
1219 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
1222 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
1224 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
1227 * Makefile.am (hosted_source): Remove libmath directory.
1228 * Makefile.in: Regenerate.
1229 * linkage.m4 (GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT): Remove.
1230 (AC_REPLACE_MATHFUNCS): Remove.
1231 (GLIBCXX_CHECK_MATH_SUPPORT): Remove copysign, copysignl checks as done
1232 in GLIBCXX_CHECK_C99_TR1.
1233 * acinclude.m4: Remove libmath, need_math.
1234 * crossconfig.m4: Remove use of HAVE_COPYSIGN, HAVE_COPYSIGNL,
1235 HAVE_COPYSIGNF, GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT, need_libmath.
1236 * configure.ac: Same.
1237 * configure: Regenerate.
1238 * fragment.am: Fix comment.
1239 * config.h.in: Regenerate.
1240 * src/Makefile.in: Regenerate.
1241 * src/Makefile.am: Remove libmath references.
1242 * doc/Makefile.in: Regenerate.
1243 * po/Makefile.in: Regenerate.
1244 * include/Makefile.in: Regenerate.
1245 * libsupc++/Makefile.in: Regenerate.
1246 * testsuite/Makefile.in: Regenerate.
1248 * src/compatibility.cc: Also export long double versions of "C" math
1249 library if hppa-linux.
1250 * config/abi/pre/gnu.ver: Remove unused __signbit exports.
1251 * doc/xml/manual/appendix_contributing.xml: Remove libmath reference.
1254 * libmath/signbit.c: Same.
1255 * libmath/stubs.c: Same.
1256 * libmath/Makefile.in: Same.
1257 * libmath/copysignf.c: Same.
1258 * libmath/mathconf.h: Same.
1259 * libmath/signbitf.c: Same.
1260 * libmath/Makefile.am: Same.
1261 * libmath/signbitl.c: Same.
1263 2009-01-15 Chris Fairles <cfairles@gcc.gnu.org>
1264 Paolo Carlini <paolo.carlini@oracle.com>
1266 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME],
1267 [GLIBCXX_CHECK_NANOSLEEP]): Remove.
1268 ([GLIBCXX_ENABLE_LIBSTDCXX_TIME]): Add.
1269 * configure.ac: Adjust.
1270 * doc/xml/manual/configure.xml: Update.
1271 * testsuite/lib/libstdc++.exp (check_v3_target_sched_yield): Add.
1272 * testsuite/lib/dg-options.exp (dg-require-sched-yield): Add.
1273 * testsuite/30_threads/thread/this_thread/2.cc: Use the latter.
1274 * configure: Regenerate.
1275 * config.h.in: Likewise.
1277 * src/thread.cc (thread::thread(), thread::~thread, thread::get_id,
1278 thread::joinable, thread::swap, this_thread::get_id,
1279 this_thread::yield): Define inline...
1280 * include/std/thread: ... here.
1281 * config/abi/pre/gnu.ver: Adjust.
1283 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
1285 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc:
1286 Add dg-timeout-factor 2.0.
1287 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
1288 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
1289 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
1290 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
1291 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Ditto.
1292 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
1294 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
1296 * scripts/extract_symvers: Add sed script to remove ' [<other>: xx] '
1297 field from readelf output.
1299 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
1302 * crossconfig.m4 (hpux): Update for 10.20, 11, 11.20.
1303 * configure: Regenerate.
1305 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
1307 * crossconfig.m4 (linux): Add GCC_CHECK_TLS to define
1309 Use GLIBCXX_CHECK_COMPILER_FEATURES to compute SECTION_FLAGS.
1311 2009-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
1313 * include/tr1_impl/regex (basic_regex::basic_regex): Use range
1314 constructor for _M_pattern.
1315 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
1316 string.cc: Test construction from different basic_string type.
1317 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
1318 string.cc: Likewise.
1320 2009-01-07 Benjamin Kosnik <bkoz@redhat.com>
1321 Jonathan Larmour <jifl@eCosCentric.com>
1324 * config/cpu/generic/atomicity_mutex/atomicity.h (get_atomic_mutex):
1326 (__gnu_cxx::__exchange_and_add): Use it.
1327 * src/atomic.cc (get_atomic_mutex): New.
1328 * src/debug.cc (get_safe_base_mutex): New.
1329 * src/locale.cc (get_locale_cache_mutex): New.
1330 * src/mt_allocator.cc (get_freelist): New.
1331 (get_freelist_mutex): New.
1332 * src/pool_allocator.cc (get_palloc_mutex): New.
1333 * include/std/mutex (__once_functor_lock): To
1334 (__get_once_functor_lock): ...this.
1335 * src/mutex.cc (__once_mutex): Don't export, use
1336 (get_once_mutex): ...this.
1337 * config/abi/pre/gnu.ver: Adjust exports.
1339 2009-01-07 Jakub Jelinek <jakub@redhat.com>
1342 * libsupc++/unwind-cxx.h (__cxxabiv1::__cxa_exception): Remove
1343 referenceCount field again.
1344 (__cxxabiv1::__cxa_refcounted_exception): New struct.
1345 (__cxxabiv1::__get_refcounted_exception_header_from_obj,
1346 __cxxabiv1::__get_refcounted_exception_header_from_ue): New static
1348 * libsupc++/eh_alloc.cc (__cxxabiv1::__cxa_allocate_exception,
1349 __cxxabiv1::__cxa_free_exception): Use __cxa_refcounted_exception
1350 instead of __cxa_exception.
1351 * libsupc++/eh_throw.cc (__gxx_exception_cleanup,
1352 __cxxabiv1::__cxa_throw): Likewise.
1353 * libsupc++/eh_ptr.cc (std::rethrow_exception,
1354 std::__exception_ptr::exception_ptr::_M_addref,
1355 std::__exception_ptr::exception_ptr::_M_release,
1356 __gxx_dependent_exception_cleanup): Likewise.
1357 * testsuite/18_support/exception/38732.cc: New test.
1360 * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New test.
1361 * src/compatibility.cc: Don't use .symver directives if
1362 _GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE is not defined.
1363 * config.h.in: Regenerated.
1364 * configure: Likewise.
1366 2009-01-07 Paolo Carlini <paolo.carlini@oracle.com>
1369 * include/bits/stl_pair.h: Document C++03 pair vs swap.
1371 2009-01-06 Benjamin Kosnik <bkoz@redhat.com>
1373 * src/locale_init.cc (locale::_S_initialize_once): Move construction
1374 of classic locale...
1375 (locale::classic): Here.
1377 2009-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
1379 * include/tr1_impl/regex: Fix bad return statements and typos.
1381 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
1383 * include/tr1_impl/regex: Remove unimplemented function definitions.
1384 * testsuite/28_regex/init-list.cc: Compile only.
1385 * testsuite/tr1/7_regular_expressions/regex/cons/char/
1386 c_string_extended.cc: Same.
1387 * testsuite/tr1/7_regular_expressions/basic_regex/assign/*: Same.
1388 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/*: Same.
1390 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
1393 * crossconfig.m4: Define HAVE_FABSF for hpux crosses.
1394 * configure: Regenerate.
1396 2009-01-05 Ben Elliston <bje@au.ibm.com>
1398 * configure.ac (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove invocation.
1399 * configure: Regenerate.
1401 2009-01-05 Ben Elliston <bje@au.ibm.com>
1403 * configure.ac: Exchange the order of GLIBCXX_ENABLE_THREADS and
1404 GLIBCXX_ENABLE_ATOMIC_BUILTINS macro invocations.
1405 * configure: Regenerate.
1407 2009-01-04 Richard Guenther <rguenther@suse.de>
1410 * include/ext/pointer.h (_Relative_pointer_impl): Use an unsigned
1411 integer type for storage, arithmetic and comparisons.
1412 * testsuite/ext/ext_pointer/1_neg.cc: Adjust line numbers.
1414 2009-01-04 Paolo Carlini <paolo.carlini@oracle.com>
1417 * include/bits/forward_list.h (_Fwd_list_iterator<>::_M_next,
1418 _Fwd_list_const_iterator::_M_next): Fix return type.
1420 2009-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1422 * Revert last commit, reopen and suspend libstdc++/38678.
1424 2009-01-01 Paolo Carlini <paolo.carlini@oracle.com>
1427 * include/std/istream (basic_istream<>::_M_read): New.
1428 * include/bits/istream.tcc (basic_istream<>::_M_read): Define.
1429 (basic_istream<>::read, basic_istream<>::readsome): Use it.
1430 * include/std/ostream (basic_ostream<>::_M_write_): New.
1431 (basic_ostream<>::_M_write): Adjust.
1432 * include/bits/ostream.tcc (basic_ostream<>::_M_write_): Define.
1433 * testsuite/27_io/basic_istream/read/char/38678.cc: New.
1434 * testsuite/27_io/basic_istream/read/wchar_t/38678.cc: Likewise.
1435 * testsuite/27_io/basic_ostream/write/char/38678.cc: Likewise.
1436 * testsuite/27_io/basic_ostream/write/wchar_t/38678.cc: Likewise.
1438 2008-12-22 Jonathan Larmour <jifl@eCosCentric.com>
1440 * include/ext/concurrence.h: Fix __gthread_cond_t initialisation
1441 function macro name.
1443 2008-12-22 Benjamin Kosnik <bkoz@redhat.com>
1445 * doc/doxygen/stdheader.cc: Add cstdlib.
1446 * doc/doxygen/user.cfg.in: Regenerate for doxygen 1.5.7.
1448 2008-12-21 Andrew Pinski <pinskia@gmail.com>
1451 * configure: Regenerate.
1453 2008-12-21 Paolo Carlini <paolo.carlini@oracle.com>
1456 * include/tr1_impl/functional (function<>::target,
1457 function<>::target_type): Provide only when __GXX_RTTI is defined.
1458 (_Function_base::_M_manager, _Ref_manager<>::_M_manager,
1459 _Function_handler<void(_ArgTypes...), _Member _Class::*>::_M_manager):
1462 2008-12-19 Ben Elliston <bje@au.ibm.com>
1464 * acinclude.m4: Guard a variable test against an empty string.
1465 * configure: Regenerate.
1467 2008-12-18 Jack Howarth <howarth@bromo.med.uc.edu>
1469 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
1470 Add xfail on all targets except darwin.
1471 * libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/
1473 * libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc: Correct syntax
1474 for xfailing on all targets except linux.
1476 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1478 * configure: Regenerate.
1480 2008-12-17 Jack Howarth <howarth@bromo.med.uc.edu>
1482 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1483 Don't xfail test on darwin8 or later.
1485 2008-12-16 Jack Howarth <howarth@bromo.med.uc.edu>
1487 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1488 Don't xfail excessive errors on darwin8 or later.
1490 2008-12-15 Benjamin Kosnik <bkoz@redhat.com>
1492 * include/c_global/cstdatomic: Remove assert include.
1493 * include/debug/debug.h: Consolidate __replacement_assert...
1494 * include/parallel/base.h: Consolidate __replacement_assert...
1495 * include/bits/c++config: ...here.
1496 * include/bits/atomic_0.h: Use it.
1497 * include/bits/atomic_2.h: Same.
1498 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
1499 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
1501 2008-12-13 Benjamin Kosnik <bkoz@redhat.com>
1503 * src/atomic.cc: Revert last change.
1504 * include/bits/atomic_2.h: Move cassert include to...
1505 * include/c_global/cstdatomic: ...here.
1506 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
1507 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
1509 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
1511 * src/Makefile.am: Remove -x c++ for atomic build rules.
1512 * src/Makefile.in: Regenerate.
1513 * src/atomic.cc: Move mutex include before cstdatomic.
1515 2008-12-12 H.J. Lu <hongjiu.lu@intel.com>
1518 * testsuite/util/regression/trait/assoc/type_trait.hpp
1519 (regression_test_type_traits): Add const to pair_type_rebind.
1521 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
1523 * src/atomic.cc: Correct guards to match mutex.cc.
1525 2008-12-11 Benjamin Kosnik <bkoz@redhat.com>
1526 Richard Henderson <rth@redhat.com>
1528 * include/c_global/cstdatomic: Update to N2798.
1529 (atomic): Remove explicit constructors as per DR 845.
1530 * include/bits/atomic_0.h: New. Switchable implementation.
1531 * include/bits/atomic_2.h: New. Lock-free implementation.
1532 * include/c_compatibility/stdatomic.h: Use foward headers.
1533 * include/bits/atomicfwd_cxx.h: New.
1534 * include/bits/atomicfwd_c.h: New.
1535 * src/atomic.cc: Adjust.
1536 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove,
1537 unconditionally use default/deleted syntax.
1538 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for 2, 8.
1539 * include/Makefile.am (bits_headers): Add atomicfwd_c.h,
1540 atomicfwd_cxx.h, atomic_0.h, atomic_2.h.
1541 * include/Makefile.in: Regenerate.
1542 * configure: Regenerate.
1543 * config.h.in: Regenerate.
1544 * config/abi/pre/gnu.ver: Adjust exports.
1546 * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: Adjust.
1547 * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: Same.
1548 * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: Same.
1549 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
1550 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Move to..
1551 * testsuite/29_atomics/atomic_address/cons/single_value.cc: ...this.
1552 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc
1553 * testsuite/29_atomics/atomic_integral/cons/single_value.cc: New.
1554 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: New.
1555 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: New.
1556 * testsuite/29_atomics/atomic_integral/cons/default.cc: New.
1557 * testsuite/29_atomics/atomic_integral/cons/direct_list.cc: New.
1558 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
1559 * testsuite/29_atomics/atomic_integral/requirements/
1560 standard_layout.cc: New.
1561 * testsuite/29_atomics/atomic_integral/operators/
1562 integral_assignment.cc: New.
1563 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: New.
1564 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: New.
1565 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: New.
1566 * testsuite/29_atomics/atomic_integral/operators/increment.cc: New.
1567 * testsuite/29_atomics/atomic_integral/operators/decrement.cc: New.
1568 * testsuite/29_atomics/atomic_integral/operators/bitwise.cc: New.
1569 * testsuite/29_atomics/atomic_integral/operators/
1570 integral_conversion.cc: New.
1571 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Adjust.
1572 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
1573 * testsuite/29_atomics/atomic_flag/requirements/
1574 standard_layout.cc: Same.
1575 * testsuite/29_atomics/atomic_flag/
1576 atomic_global_fence_compatibility.cc: Kill.
1577 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Adjust.
1578 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
1579 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
1580 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
1581 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
1582 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
1583 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Move to...
1584 * testsuite/29_atomics/atomic/cons/single_value.cc: ...this.
1585 * testsuite/29_atomics/atomic/cons/copy_neg.cc
1586 * testsuite/29_atomics/atomic/cons/direct_list.cc: New.
1587 * testsuite/29_atomics/atomic/cons/copy_list.cc: New.
1588 * testsuite/29_atomics/atomic/requirements/standard_layout.cc: New.
1589 * testsuite/29_atomics/atomic/requirements/base_classes.cc: New.
1590 * testsuite/29_atomics/atomic/operators/integral_assignment.cc: New.
1591 * testsuite/29_atomics/atomic/operators/integral_conversion.cc: New.
1592 * testsuite/util/testsuite_hooks.h (bitmask_operators): Move...
1593 * testsuite/util/testsuite_common_types.h: ...here.
1594 (atomic_integrals_no_bool): New.
1595 (atomic_integrals): New.
1596 (has_increment_operators, has_decrement_operators)
1597 (direct_list_initializable, single_value_constructible)
1598 (standard_layout, has_bitwise_operators, integral_convertable)
1599 (integral_assignable): Add.
1601 2008-12-11 Jakub Jelinek <jakub@redhat.com>
1604 * testsuite/26_numerics/headers/cmath/37582.cc: New.
1606 2008-12-08 Paolo Carlini <paolo.carlini@oracle.com>
1608 * include/tr1_impl/cmath: Undef remquof / remquol too; add using
1610 * acinclude.m4 [GLIBCXX_CHECK_C99_TR1]: Check remquof / remquol too.
1611 * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Adjust.
1612 * configure: Regenerate.
1614 2008-12-08 Edward Smith-Rowland <3dw4rd@verizon.net>
1616 * include/bits/forward_list.h: Fixed spurious "forward_swap" in doxy.
1618 2008-12-06 Paolo Carlini <paolo.carlini@oracle.com>
1621 * include/tr1/ell_integral.tcc: Avoid __ea, future SPU badname.
1622 * doc/xml/manual/appendix_contributing.xml: Add __ea to the list
1625 2008-12-05 Tom Tromey <tromey@redhat.com>
1627 * include/tr1_impl/functional (_Mu): Fix typo.
1629 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
1632 * include/bits/locale_facets_nonio.tcc (money_get<>::
1633 _M_extract(iter_type, iter_type, ios_base&, ios_base::iostate&,
1634 string&)): Fix, reject decimal point when frac_digits <= 0.
1635 * testsuite/22_locale/money_get/get/char/38399.cc: New.
1636 * testsuite/22_locale/money_get/get/wchar_t/38399.cc: Likewise.
1637 * testsuite/22_locale/money_get/get/char/5.cc: Adjust.
1638 * testsuite/22_locale/money_get/get/wchar_t/5.cc: Likewise.
1640 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
1643 * testsuite/22_locale/numpunct/members/char/2.cc: Use is_IS instead
1645 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
1646 * testsuite/22_locale/locale/cons/7.cc: Likewise.
1648 2008-12-04 Paolo Carlini <paolo.carlini@oracle.com>
1651 * config/locale/gnu/numeric_members.cc (numpunct<char>::
1652 _M_initialize_numpunct, numpunct<wchar_t>::_M_initialize_numpunct):
1653 Fix for THOUSANDS_SEP == '\0' consistently with "C" locale.
1654 * config/locale/gnu/monetary_members.cc (moneypunct<char, true>::
1655 _M_initialize_moneypunct, moneypunct<char, false>::
1656 _M_initialize_moneypunct, moneypunct<wchar_t, true>::
1657 _M_initialize_moneypunct, moneypunct<wchar_t, false>::
1658 _M_initialize_moneypunct): Fix for __MON_DECIMAL_POINT == '\0' or
1659 __MON_THOUSANDS_SEP == '\0' consistently with "C" locale.
1660 * testsuite/22_locale/locale/cons/38368.cc: New.
1662 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
1664 PR libstdc++/38365 (cont)
1665 * src/localename.cc (locale::locale(const locale&, const locale&,
1666 category)): Revert last changes.
1667 (locale::_Impl::_M_replace_categories(const _Impl*, category)):
1668 Fix here instead; rework.
1670 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
1673 * src/localename.cc (locale::locale(const locale&, const locale&,
1675 * testsuite/22_locale/locale/cons/38365.cc: New.
1677 2008-12-01 Benjamin Kosnik <bkoz@redhat.com>
1680 * include/std/iostream: Correct URL.
1681 * include/std/streambuf: Same.
1682 * include/std/bitset: Same.
1683 * include/std/iosfwd: Same.
1684 * include/std/fstream: Same.
1685 * include/std/istream: Same.
1686 * include/std/ostream: Same.
1687 * include/std/sstream: Same.
1688 * include/bits/basic_ios.h: Same.
1689 * include/bits/stl_map.h: Same.
1690 * include/bits/stl_set.h: Same.
1691 * include/bits/stl_multimap.h: Same.
1692 * include/bits/ios_base.h: Same.
1693 * include/bits/stl_multiset.h: Same.
1694 * include/bits/char_traits.h: Same.
1695 * include/bits/stl_relops.h: Same.
1696 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
1697 * testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto.
1699 2008-11-26 Janis Johnson <janis187@us.ibm.com>
1702 * testsuite/lib/libstdc++.exp: Include new timeout library files.
1703 (libstdc++_init): Define tool_timeout.
1704 (dg-test): Override DejaGnu proc.
1705 (v3_target_compile): Set timeout value from new proc.
1706 (v3_target_compile_as_c): Ditto.
1708 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
1710 PR libstdc++/38244 (cont, debug bits)
1711 * include/debug/bitset (bitset<>::bitset(const char*, char, char)):
1712 Remove, do not implement DR 778.
1714 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
1717 * include/std/bitset (bitset<>::bitset(const char*, char, char)):
1718 Remove, do not implement DR 778.
1719 * doc/xml/manual/intro.xml: Remove entry for DR 778.
1720 * testsuite/23_containers/bitset/cons/2.cc: Remove.
1721 * testsuite/23_containers/bitset/cons/dr396.cc: Tweak.
1722 * testsuite/23_containers/bitset/cons/38244.cc: Add.
1724 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
1726 * testsuite/22_locale/num_put/put/char/38210.cc: Tweak.
1727 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
1729 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
1732 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
1733 ios_base&, char_type, const void*)): Fix.
1734 * testsuite/22_locale/num_put/put/char/38210.cc: New.
1735 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
1737 2008-11-20 Paolo Carlini <paolo.carlini@oracle.com>
1740 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
1741 ios_base&, char_type, bool)): Fix.
1742 * testsuite/22_locale/num_put/put/char/38196.cc: New.
1743 * testsuite/22_locale/num_put/put/wchar_t/38196.cc: Likewise.
1745 2008-11-18 Paolo Carlini <paolo.carlini@oracle.com>
1747 * include/tr1_impl/cinttypes: Remove redundant pragma system_header.
1748 * include/tr1_impl/cfenv: Likewise.
1749 * include/tr1_impl/cstdint: Likewise.
1751 2008-11-13 Paolo Carlini <paolo.carlini@oracle.com>
1754 * include/c_global/csignal: Do not use include_next.
1755 * include/c_global/cstdlib: Likewise.
1756 * include/c_global/cstdio: Likewise.
1757 * include/c_global/cstdarg: Likewise.
1758 * include/c_global/cctype: Likewise.
1759 * include/c_global/cerrno: Likewise.
1760 * include/c_global/cmath: Likewise.
1761 * include/c_global/clocale: Likewise.
1762 * include/c_global/climits: Likewise.
1763 * include/c_global/cassert: Likewise.
1764 * include/c_global/csetjmp: Likewise.
1765 * include/c_global/cwchar: Likewise.
1766 * include/c_global/cfloat: Likewise.
1767 * include/c_global/cstdbool: Likewise.
1768 * include/c_global/cstring: Likewise.
1769 * include/c_global/cstddef: Likewise.
1770 * include/c_global/cwctype: Likewise.
1771 * include/tr1/cstdbool: Likewise.
1772 * include/tr1_impl/cinttypes: Do not include <inttypes.h>.
1773 * include/c_global/cinttypes: Do it here.
1774 * include/tr1/cinttypes: Likewise.
1775 * include/tr1_impl/cfenv: Do not include <fenv.h>.
1776 * include/c_global/cfenv: Do it here.
1777 * include/tr1/cfenv: Likewise.
1778 * include/tr1_impl/cstdint: Do not include <stdint.h>.
1779 * include/c_global/cstdint: Do it here.
1780 * include/tr1/cstdint: Likewise.
1781 * include/c_compatibility/fenv.h: Include <tr1_impl/cfenv>.
1782 * include/c_compatibility/stdint.h: Include <tr1_impl/cstdint>.
1783 * include/c_compatibility/inttypes.h: Include <tr1_impl/cinttypes>.
1785 * include/c_compatibility/math.h: Minor tweak, add comment.
1787 2008-11-12 Steve Ellcey <sje@cup.hp.com>
1789 * configure.ac: Move call to GCC_CHECK_UNWIND_GETIPINFO.
1790 * configure: Regenerate to get new GCC_CHECK_UNWIND_GETIPINFO.
1792 2008-11-12 Paolo Carlini <paolo.carlini@oracle.com>
1794 PR libstdc++/37986 (cont)
1795 * include/tr1_impl/random (struct _Adaptor): Use only remove_reference
1797 (struct _Adaptor<_Engine*, _Distribution>): Add.
1798 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
1801 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1804 * include/tr1_impl/random (struct _Adaptor): Use remove_pointer
1805 and remove_reference on _Engine.
1806 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
1809 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1811 * testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers.
1813 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1815 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc: Fix.
1816 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
1819 2008-11-11 Bob Walters <bob.s.walters@gmail.com>
1821 * include/bits/forward_list.h: Support non-standard pointer types
1822 (_Fwd_list_node_base): Add _Alloc template parameter.
1823 (_Fwd_list_node<>): Likewise.
1824 (_Fwd_list_iterator<>): Likewise.
1825 (_Fwd_list_const_iterator<>): Likewise.
1826 (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
1827 Use _Alloc<_Tp>::pointer.
1828 (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
1829 (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
1830 _M_insert_after, _M_put_node, _M_erase_after): Likewise.
1831 (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
1832 (forward_list<>): Use __static_pointer_cast in place of static_cast,
1833 and __const_pointer_cast in place of const_cast.
1834 * include/bits/forward_list.tcc
1835 (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
1836 of standard pointers, __static_pointer_cast in place of static_cast.
1837 (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
1839 (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
1840 splice_after, remove, remove_if, merge): Likewise.
1841 * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
1842 * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
1844 * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
1846 * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
1848 * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
1850 * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
1852 * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
1854 * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
1856 * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
1858 * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
1860 * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
1862 * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
1864 * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
1866 * testsuite/23_containers/forward_list/ext_pointer/requirements/
1867 explicit_instantiation/1.cc: Likewise.
1868 * testsuite/23_containers/forward_list/ext_pointer/requirements/
1869 explicit_instantiation/3.cc: Likewise.
1870 * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
1872 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1874 * include/ext/extptr_allocator.h: Minor tweaks.
1875 * include/ext/pointer.h: Likewise.
1876 * include/ext/cast.h: Likewise.
1878 2008-11-10 Paolo Carlini <paolo.carlini@oracle.com>
1881 * config/locale/gnu/monetary_members.cc (moneypunct<>::
1882 _M_initialize_moneypunct(__c_locale, const char*)): Use correct vector
1883 delete for __wcs_ps and __wcs_ns.
1885 2008-11-07 Bob Walters <bob.s.walters@gmail.com>
1887 * include/ext/pointer.h: New, add experimental support for non-standard
1888 pointer types in containers via the allocator::pointer typedef.
1889 (Currently only supported/working with std::vector)
1890 * include/ext/cast.h: New, add overload-able pointer casting functions
1891 for use in containers supporting non-standard pointer types.
1892 * include/ext/extptr_allocator.h: New, add _ExtPtr_allocator.
1893 * include/Makefile.am: Update.
1894 * include/precompiled/extc++.h: Likewise.
1895 * include/Makefile.in: Regenerate.
1896 * testsuite/ext/ext_pointer/1.cc: New.
1897 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
1898 * testsuite/23_containers/vector/ext_pointer/citerators.cc: New.
1899 * testsuite/23_containers/vector/ext_pointer/data_access.cc: Likewise.
1900 * testsuite/23_containers/vector/ext_pointer/resize.cc: Likewise.
1901 * testsuite/23_containers/vector/ext_pointer/types/1.cc: Likewise.
1902 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
1904 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc:
1906 * testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc:
1908 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1910 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1913 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1917 * include/tr1_impl/functional (result_of,reference_wrapper): Update
1918 to use C++0x features.
1919 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
1920 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
1922 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
1924 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
1926 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1930 * include/tr1_impl/functional (result_of,reference_wrapper): Update
1931 to use C++0x features.
1932 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
1933 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
1935 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
1937 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
1939 2008-11-03 Paolo Carlini <paolo.carlini@oracle.com>
1941 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1942 iter_type, ios_base&, ios_base::iostate&, bool&): Tidy.
1943 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
1944 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1946 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1948 PR libstdc++/37958 (cont again)
1949 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1950 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
1951 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
1952 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1954 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1956 * include/bits/locale_facets.tcc (num_get<>::do_get(, long&),
1957 num_get<>::do_get(, unsigned short&),
1958 num_get<>::do_get(, unsigned int&),
1959 num_get<>::do_get(, unsigned long&),
1960 num_get<>::do_get(, long long&),
1961 num_get<>::do_get(, unsigned long long&),
1962 num_put<>::do_put(, long), num_put<>::do_put(, unsigned long),
1963 num_put<>::do_put(, long long),
1964 num_put<>::do_put(, unsigned long long)): Move inline...
1965 * include/bits/locale_facets.h: ... here.
1967 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1969 PR libstdc++/37958 (cont)
1970 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1971 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
1973 2008-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
1975 * include/bits/shared_ptr.h: Update comparisons to match WP.
1976 (_Sp_counted_ptr): Make copy and assignment members deleted.
1977 (_Sp_counted_deleter): Remove private copy and assignment members.
1978 (__shared_count::_M_less,__weak_count::_M_less,operator<): Replace
1979 friend operator< with overloaded _M_less member functions to allow
1980 comparison with either shared_count or weak_count.
1981 (__shared_ptr::_M_less,__weak_ptr::_M_less): Replace with...
1982 (__shared_ptr::owner_before,__weak_ptr::owner_before): New overloads
1983 for ownership-based ordering.
1984 (operator<(__shared_ptr,__shared_ptr)): Compare stored pointers,
1986 (operator==(__shared_ptr,__shared_ptr)): Make non-friend.
1987 (operator!=(__shared_ptr,__shared_ptr)): Likewise.
1988 (less<__shared_ptr<>>,less<shared_ptr<>>,_Sp_less): Explicitly call
1989 pointer specialization.
1990 (__weak_ptr::operator<,weak_ptr::operator<=,weak_ptr::operator>,
1991 weak_ptr::operator>=): Remove operator< and delete all comparisons.
1992 (_Sp_owner_less,owner_less): Predicate for ownership-based ordering.
1993 (operator<(shared_ptr,shared_ptr): Overload for derived shared_ptr.
1994 (operator==(shared_ptr,shared_ptr): Likewise.
1995 (operator!=(shared_ptr,shared_ptr): Likewise.
1996 (swap(shared_ptr,shared_ptr)): Fix parameter types.
1997 (swap(weak_ptr,weak_ptr)): Add missing overload.
1998 * testsuite/20_util/owner_less/cmp.cc: New.
1999 * testsuite/20_util/shared_ptr/comparison/cmp.cc: Test other ops.
2000 * testsuite/20_util/shared_ptr/comparison/less.cc: New.
2001 * testsuite/20_util/shared_ptr/observers/owner_before.cc: New.
2002 * testsuite/20_util/weak_ptr/observers/owner_before.cc: New.
2003 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: New.
2005 2008-10-31 Paolo Carlini <paolo.carlini@oracle.com>
2008 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
2009 iter_type, ios_base&, ios_base::iostate&, bool&): Fix.
2010 * testsuite/22_locale/num_get/get/char/37958.cc: New.
2011 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
2013 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
2017 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
2019 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
2020 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
2021 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
2022 Remove the old variadic constructor, and instead provide several
2023 variadic constructors that avoid failing when attempting to
2024 initialize a pointer from a null pointer constant.
2025 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
2026 initialization of pointers from the null pointer constant.
2028 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
2031 * config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF
2032 * include/bits/basic_string.h: Guard string conversions with
2033 !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF) too.
2034 * testsuite/lib/libstdc++.exp (check_v3_target_string_conversions):
2036 * testsuite/lib/dg-options.exp (dg-require-string-conversions): New.
2037 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2039 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
2041 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
2043 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
2045 * testsuite/21_strings/basic_string/numeric_conversions/char/
2046 stoull.cc: Likewise.
2047 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
2049 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
2051 * testsuite/21_strings/basic_string/numeric_conversions/char/
2052 to_string.cc: Likewise.
2053 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2056 2008-10-24 Paolo Carlini <paolo.carlini@oracle.com>
2058 * config/os/generic/error_constants.h (enum errc): Remove
2059 no_posix_equivalent.
2060 * config/os/mingw32/error_constants.h (enum errc): Likewise.
2061 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
2064 2008-10-24 Jakub Jelinek <jakub@redhat.com>
2066 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
2067 (RUNTESTDEFAULTFLAGS, EXPECT, check_DEJAGNU_normal_targets): New
2069 (%/site.exp, check-DEJAGNU%): New targets.
2070 (check-am): Run $(MAKE) check-DEJAGNU.
2071 * testsuite/Makefile.in: Regenerated.
2073 2008-10-23 Chris Fairles <cfairles@gcc.gnu.org>
2075 * config/os/generic/error_constants.h (errc): Use long type.
2076 * config/os/mingw32/error_constants.h (errc): Likewise.
2078 2008-10-22 Chris Fairles <cfairles@gcc.gnu.org>
2080 * include/std/system_error (is_error_code_enum): Specialize for errc.
2081 (error_category::error_category): Defaulted and protected.
2082 (error_category::~error_category): New, virtual.
2083 (error_category::error_category(const error_category&),
2084 error_category::operator=(const error_category&)): Deleted.
2085 (get_system_category, get_posix_category): Remove (DR 890).
2086 (system_category): External linkage (DR 890).
2087 (posix_category): Remove.
2088 (generic_category): Add. External linkage (DR 890).
2089 (error_code::error_code<>(_ErrorCodeEnum)): Use generic_category.
2090 (error_code::clear, error_code::operator=<>(_ErrorCodeEnum)): Forward to
2091 error_code::assign, use generic_category.
2092 (error_condition::error_condition,
2093 error_condition::error_condition<>(_ErrorConditionEnum)): Use
2095 (error_condition::clear,
2096 error_condition::operator=<>(_ErrorConditionEnum)): Forward to
2097 error_code::assign, use generic_category.
2098 (make_error_code, make_error_condition): Define in namespace std.
2099 * include/std/mutex (unique_lock<>::lock, unique_lock<>::try_lock,
2100 unique_lock<>::try_lock_until<>(duration),
2101 unique_lock<>::try_lock_for<>(duration)): Replace posix_error with errc.
2102 * src/system_error.cc (system_error_category, generic_error_category):
2104 (gnu_error_category): Remove.
2105 (get_system_category, get_posix_category): Remove (DR 890).
2106 (system_category, generic_category): Define.
2107 * src/functexcept.cc (__throw_system_error): Use generic_category.
2108 * config/abi/pre/gnu.ver: Export system_category and generic_category,
2109 remove get_system_category and get_generic_category (DR 890).
2110 * config/os/generic/error_constants.h (posix_errno): Rename to errc, use
2111 enum class type. Fix spelling.
2112 * config/os/mingw32/error_constants.h (posix_errno): Likewise.
2113 * testsuite/19_diagnostics/error_code/cons/1.cc: Use errc and
2115 * testsuite/19_diagnostics/error_code/operators/bool.cc: Use errc.
2116 * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
2117 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Likewise.
2118 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Update
2119 dg-error line numbers.
2120 * testsuite/19_diagnostics/error_condition/cons/1.cc: Use
2122 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Use errc.
2123 * testsuite/19_diagnostics/error_condition/operators/equal.cc: Likewise.
2124 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
2126 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc: New.
2127 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
2128 Remove using tests since errc is not a namespace.
2129 * testsuite/19_diagnostics/system_error/cons-1.cc: Use errc.
2130 * testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
2131 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
2133 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
2135 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
2137 2008-10-20 Paolo Carlini <paolo.carlini@oracle.com>
2139 * include/tr1_impl/hashtable_policy.h (_Hash_node<>::_Hash_node<>
2140 (_Args&&...)): Add in C++0x mode.
2141 * include/tr1_impl/hashtable (_Hashtable<>::_M_allocate_node,
2142 _Hashtable<>::_M_deallocate_node): Use _M_get_Node_allocator in
2145 * include/tr1_impl/hashtable (_Hashtable<>::max_size): Use
2146 Node_allocator for improved accuracy.
2147 * testsuite/tr1/6_containers/unordered_multimap/capacity/
2148 29134-multimap.cc: Adjust.
2149 * testsuite/tr1/6_containers/unordered_multimap/capacity/
2150 29134-map.cc: Likewise.
2151 * testsuite/tr1/6_containers/unordered_multimap/capacity/
2152 29134-multiset.cc: Adjust.
2153 * testsuite/tr1/6_containers/unordered_multimap/capacity/
2154 29134-set.cc: Likewise.
2156 2008-10-19 Paolo Carlini <paolo.carlini@oracle.com>
2158 * include/bits/stl_tree.h (_Rb_tree_node<>::_Rb_tree_node<>
2159 (_Args&&...)): Add in C++0x mode.
2160 (_Rb_tree<>::_M_create_node<>(_Args&&...)): Add in C++0x mode,
2161 use _M_get_Node_allocator.
2162 (_Rb_tree<>::_M_destroy_node(_Link_type): Use _M_get_Node_allocator
2164 * testsuite/23_containers/set/operators/1_neg.cc: Adjust dg-error
2166 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
2168 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
2170 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
2171 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
2172 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
2173 Remove the old variadic constructor, and instead provide several
2174 variadic constructors that avoid failing when attempting to
2175 initialize a pointer from a null pointer constant.
2176 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
2177 initialization of pointers from the null pointer constant.
2179 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
2181 * include/bits/forward_list.tcc (forward_list<>::
2182 _M_initialize_dispatch(_InputIterator, _InputIterator, __false_type)):
2185 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
2187 * include/bits/forward_list.h (forward_list<>::
2188 forward_list(size_type)): Tweak, use _Base default constructor.
2190 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
2192 * include/bits/forward_list.h (forward_list<>::insert_after): Minor
2195 2008-10-16 Edward Smith-Rowland <3dw4rd@verizon.net>
2197 * include/bits/forward_list.h: Factor list construction to dispatch
2199 * include/bits/forward_list.tcc: Likewise.
2200 * testsuite/23_containers/forward_list/modifiers/2.cc:
2202 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
2204 * include/bits/forward_list.tcc (operator==): Use auto.
2206 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
2208 * include/bits/forward_list.h (_Fwd_list_base<>::_M_insert_after):
2209 Move out of line, tweak to return _Fwd_list_node_base*.
2210 (forward_list<>::insert_after(const_iterator, const _Tp&),
2211 forward_list<>::insert_after(const_iterator, _Tp&&)): Use it.
2212 * include/bits/forward_list.tcc (_Fwd_list_base<>::_M_insert_after):
2215 * include/bits/forward_list.h (forward_list<>): Consistently qualify
2216 calls of base class functions with this->.
2217 * include/bits/forward_list.tcc (forward_list<>): Likewise.
2219 * include/bits/forward_list.h: Move some functions out of line...
2220 * include/bits/forward_list.tcc: ... here.
2222 * include/bits/forward_list.h (forward_list<>::resize(size_type)): Fix.
2224 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
2226 * include/bits/forward_list.h: Remove pointless const qualifiers in
2228 * include/bits/forward_list.tcc: Likewise.
2230 * include/bits/forward_list.h (forward_list<>::pointer,
2231 const_pointer, reference, const_reference): Fix, use _Tp_alloc_type.
2232 * testsuite/23_containers/forward_list/requirements/
2233 explicit_instantiation/1.cc: New.
2234 * testsuite/23_containers/forward_list/requirements/
2235 explicit_instantiation/1.cc: Likewise.
2237 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
2239 * include/bits/forward_list.h (forward_list<>::max_size): Use
2240 Node_allocator; minor cosmetic changes.
2241 * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
2243 2008-10-15 Edward Smith-Rowland <3dw4rd@verizon.net>
2245 * include/std/forward_list: New.
2246 * include/bits/forward_list.h: Likewise.
2247 * include/bits/forward_list.tcc: Likewise.
2248 * include/precompiled/stdc++.h: Modified to include forward_list.
2249 * include/Makefile.am: Add forward_list, forward_list.h, and
2251 * include/Makefile.in: Regenerate.
2252 * testsuite/23_containers/forward_list/modifiers/1.cc: New.
2253 * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
2254 * testsuite/23_containers/forward_list/modifiers/3.cc: Likewise.
2255 * testsuite/23_containers/forward_list/modifiers/4.cc: Likewise.
2256 * testsuite/23_containers/forward_list/modifiers/5.cc: Likewise.
2257 * testsuite/23_containers/forward_list/cons/1.cc: Likewise.
2258 * testsuite/23_containers/forward_list/cons/2.cc: Likewise.
2259 * testsuite/23_containers/forward_list/cons/3.cc: Likewise.
2260 * testsuite/23_containers/forward_list/cons/4.cc: Likewise.
2261 * testsuite/23_containers/forward_list/cons/5.cc: Likewise.
2262 * testsuite/23_containers/forward_list/cons/6.cc: Likewise.
2263 * testsuite/23_containers/forward_list/cons/7.cc: Likewise.
2264 * testsuite/23_containers/forward_list/cons/8.cc: Likewise.
2265 * testsuite/23_containers/forward_list/cons/9.cc: Likewise.
2266 * testsuite/23_containers/forward_list/requirements/1.cc: Likewise.
2267 * testsuite/23_containers/forward_list/operations/1.cc: Likewise.
2268 * testsuite/23_containers/forward_list/operations/2.cc: Likewise.
2269 * testsuite/23_containers/forward_list/operations/3.cc: Likewise.
2270 * testsuite/23_containers/forward_list/operations/4.cc: Likewise.
2271 * testsuite/23_containers/forward_list/operations/5.cc: Likewise.
2272 * testsuite/23_containers/forward_list/operations/6.cc: Likewise.
2273 * testsuite/23_containers/forward_list/operations/7.cc: Likewise.
2274 * testsuite/23_containers/forward_list/capacity/1.cc: Likewise.
2275 * testsuite/23_containers/forward_list/comparable.cc: Likewise.
2276 * testsuite/23_containers/forward_list/moveable.cc: Likewise.
2277 * testsuite/23_containers/headers/forward_list/synopsis.cc: Likewise.
2278 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Update.
2279 * testsuite/17_intro/headers/c++200x/all: Likewise.
2281 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
2283 * include/bits/stl_list.h (_List_node<>::_List_node<>(_Args&&...)):
2285 (list<>::_M_create_node<>(_Args&&...)): Use _M_get_Node_allocator.
2286 (list<>::_M_erase(iterator): Likewise, in C++0x mode.
2287 * include/bits/list.tcc (_List_base<>::_M_clear): Likewise.
2288 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2289 Adjust dg-error line number.
2290 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2292 * testsuite/23_containers/list/requirements/dr438/
2293 constructor_1_neg.cc: Likewise.
2294 * testsuite/23_containers/list/requirements/dr438/
2295 constructor_2_neg.cc: Likewise.
2297 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
2299 * include/bits/stl_tree.h (_Rb_tree<>::max_size): Use Node_allocator
2300 for improved accuracy.
2301 * include/bits/stl_list.h (list<>::max_size): Likewise.
2302 * testsuite/23_containers/multimap/capacity/29134.cc: Adjust.
2303 * testsuite/23_containers/set/capacity/29134.cc: Likewise.
2304 * testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
2305 * testsuite/23_containers/list/capacity/29134.cc: Likewise.
2306 * testsuite/23_containers/map/capacity/29134.cc: Likewise.
2308 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
2310 * testsuite/20_util/reference_wrapper/24803.cc: Avoid uninitialized
2313 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
2315 * include/std/system_error (native_category): Remove.
2316 (posix_category): Add.
2317 (error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
2318 Fix _M_cat initialization.
2319 (error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
2320 (error_condition::_M_cat, error_condtion::operator=
2321 (_ErrorConditionEnum)): Implement resolution of DR 804.
2322 (error_condition::error_condition(_ErrorConditionEnum, typename
2323 enable_if<>:type*): Fix.
2324 (error_condition::clear, error_condition::assign): Implement.
2325 (operator==, operator!=): Fix uglification of parameters.
2326 (make_error_code, make_error_condition): Define in namespace
2328 (operator<<(basic_ostream<>&, const error_code&)): Define here.
2329 * include/std/ostream (operator<<(basic_ostream<>&,
2330 const error_code&)): Do not define here.
2331 * testsuite/19_diagnostics/error_condition/cons/1.cc: New.
2332 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
2333 * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
2335 * testsuite/19_diagnostics/error_condition/operators/equal.cc:
2337 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
2339 * testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
2340 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
2341 dg-error line numbers.
2342 * testsuite/30_threads/unique_lock/locking/2.cc: Tweak.
2344 * testsuite/util/testsuite_error.h: Minor tweaks.
2345 * testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.
2347 2008-10-10 Chris Fairles <cfairles@gcc.gnu.org>
2349 * testsuite/20_util/duration/cons/1.cc: Remove invalid check of
2350 uninitialized duration.
2352 2008-10-08 Bob Walters <bob.s.walters@gmail.com>
2354 * include/bits/stl_vector.h (_Vector_base<>::_Vector_impl::_M_start,
2355 _M_finish, _M_end_of_storage, _Vector_base<>::_M_allocate,
2356 _M_deallocate): Use _Tp_alloc_type::pointer.
2358 2008-10-07 Jason Merrill <jason@redhat.com>
2361 * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing.
2362 * testsuite/abi/demangle/abi_text/02.cc: Likewise.
2363 * testsuite/abi/demangle/regression/cw-16.cc: Likewise.
2365 2008-10-07 Paolo Carlini <paolo.carlini@oracle.com>
2367 * include/bits/stl_iterator.h (operator-(const reverse_iterator<>&,
2368 const reverse_iterator<>&), operator-(const __normal_iterator<>&,
2369 const __normal_iterator<>&), operator-(const move_iterator<>&,
2370 const move_iterator<>&)): Use the auto -> return type syntax,
2373 2008-10-06 Jason Merrill <jason@redhat.com>
2375 * config/abi/pre/gnu.ver: Update char16/32_t manglings.
2377 2008-10-05 Paolo Carlini <paolo.carlini@oracle.com>
2379 * testsuite/20_util/reference_wrapper/invoke.cc: New.
2380 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
2381 * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
2383 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
2385 * config/locale/generic/c_locale.cc (__convert_to_v): Fix
2386 !__FLT_HAS_INFINITY__ case.
2388 2008-09-30 Chris Fairles <cfairles@gcc.gnu.org>
2390 * include/std/tuple (tuple<>::swap): Implement swap for tuple as per
2392 * testsuite/20_util/tuple/swap.cc: New.
2394 2008-09-30 Paolo Carlini <paolo.carlini@oracle.com>
2396 PR libstdc++/30085 (again)
2397 * include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
2398 Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
2399 unordered_map / unordered_multimap; add missing member functions.
2400 * include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
2401 Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
2402 * include/debug/safe_association.h: Remove.
2403 * include/Makefile.am: Adjust.
2404 * include/Makefile.in: Regenerate.
2405 * testsuite/23_containers/unordered_multimap/init-list.cc: Remove
2408 2008-09-28 Paolo Carlini <paolo.carlini@oracle.com>
2410 * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
2411 void reset(U)): Add as deleted function, per DR 821 [Ready].
2412 * include/bits/unique_ptr.h: Prefer everywhere deleted to private
2413 member function declarations; minor formatting tweaks.
2414 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
2415 * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
2418 2008-09-28 Chris Fairles <cfairles@gcc.gnu.org>
2420 * include/std/mutex (try_lock): Implement generic try_lock.
2421 * testsuite/30_threads/try_lock/1.cc: New.
2422 * testsuite/30_threads/try_lock/2.cc: Likewise.
2423 * testsuite/30_threads/try_lock/3.cc: Likewise.
2424 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
2425 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2426 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
2427 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
2428 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2429 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2430 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
2432 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
2434 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
2435 Steve Ellcey <sje@cup.hp.com>
2437 * configure: Regenerate for new libtool.
2438 * aclocal.m4: Ditto.
2439 * Makefile.in: Ditto.
2440 * src/Makefile.in: Ditto.
2441 * doc/Makefile.in: Ditto.
2442 * po/Makefile.in: Ditto.
2443 * libmath/Makefile.in: Ditto.
2444 * include/Makefile.in: Ditto.
2445 * libsupc++/Makefile.in: Ditto.
2446 * testsuite/Makefile.in: Ditto.
2448 2008-09-24 Paolo Carlini <paolo.carlini@oracle.com>
2450 * include/std/bitset: Adjust comment to reflect DR 853.
2451 * include/debug/bitset: Likewise.
2452 * doc/xml/manual/intro.xml: Add an entry for DR 853.
2454 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
2456 Implement DR 396 [Ready].
2457 * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
2458 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
2459 char, char), bitset<>::to_string(_CharT, _CharT),
2460 bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
2461 size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
2462 (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
2463 const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
2464 (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
2465 std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
2466 * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
2467 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
2468 char, char), bitset<>::to_string(_CharT, _CharT)): Add.
2469 * doc/xml/manual/intro.xml: Add an entry for DR 396.
2470 * testsuite/23_containers/bitset/cons/dr396.cc: Add.
2471 * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
2473 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
2475 * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
2476 * testsuite/25_algorithms/max/37547.cc: Likewise.
2477 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
2479 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
2481 * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
2482 typedef monotonic_clock to system_clock and instead declare new class.
2483 * src/chrono.cc: Conditionally define monotonic_clock::now().
2484 * include/std/condition_variable (wait_until): Throw exception if
2485 __gthread_cond_timedwait returns with error other than timed_out. Use
2486 system_clock as known clock type (__clock_t) and add overloads for known
2487 and unknown clocks. In the unknown case, sync to the known clock.
2488 Implement overload taking a predicate.
2489 (wait_for): Implement overload taking a predicate.
2490 * config/abi/pre/gnu.ver: Add exports for monotonic_clock.
2491 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
2493 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
2495 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
2496 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
2497 * testsuite/30_threads/condition_variable/member/1.cc: New.
2498 * testsuite/30_threads/condition_variable/member/2.cc: Likewise.
2500 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
2503 * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case
2504 when strtold is not available.
2505 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
2507 2008-09-23 Benjamin Kosnik <bkoz@redhat.com>
2509 PR libstdc++/37391 continued.
2510 * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag,
2511 specify full path for source file links.
2512 * doc/html/ext/pb_ds/pq_examples.html: Same.
2514 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
2516 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const
2517 by value parameters.
2518 * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise.
2520 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
2522 PR libstdc++/32422, DR 23 [Ready in R60]
2523 * config/locale/gnu/c_locale.cc (__convert_to_v(const char*, float&,
2524 ios_base::iostate&, const __c_locale&), __convert_to_v(const char*,
2525 double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
2526 char*, long double&, ios_base::iostate&, const __c_locale&)): Implement
2527 DR 23 and deal correctly with broken exponents.
2528 * config/locale/generic/c_locale.cc (__convert_to_v(const char*,
2529 float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
2530 char*, double&, ios_base::iostate&, const __c_locale&),
2531 __convert_to_v(const char*, long double&, ios_base::iostate&, const
2532 __c_locale&)): Likewise.
2533 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
2534 _InIter, ios_base&, ios_base::iostate&, _ValueT&)): Likewise.
2535 (num_get<>::_M_extract_float(_InIter, _InIter, ios_base&,
2536 ios_base::iostate&, string&): Change grouping check to set instead of
2537 OR failbit; do not check for eofbit here...
2538 (num_get<>::do_get(iter_type, iter_type, ios_base&,
2539 ios_base::iostate&, float&), num_get<>::do_get(iter_type, iter_type,
2540 ios_base&, ios_base::iostate&, double&), num_get<>::do_get(iter_type,
2541 iter_type, ios_base&, ios_base::iostate&, long double&),
2542 num_get<>::__do_get(iter_type, iter_type, ios_base&,
2543 ios_base::iostate&, double&)): ... do it here instead.
2544 (num_get<>::do_get(iter_type, iter_type, ios_base&,
2545 ios_base::iostate&, bool&)): Implement DR 23.
2546 (num_get<>::do_get(iter_type, iter_type, ios_base&,
2547 ios_base::iostate&, void*&)): Adjust.
2548 * doc/xml/manual/intro.xml: Add and entry for DR 23.
2549 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
2551 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
2553 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
2554 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
2555 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
2556 * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
2557 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
2558 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
2559 * testsuite/22_locale/num_get/get/char/10.cc: Likewise.
2560 * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
2561 * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
2562 * testsuite/22_locale/num_get/get/char/16.cc: Likewise.
2564 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
2567 * doc/html/ext/pb_ds/*.html: Fix external links.
2569 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
2571 * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex,
2572 condition_variable, and thread output.
2574 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
2576 * doc/html/ext/lwg-closed.html: Update to Revision R59.
2577 * doc/html/ext/lwg-active.html: Likewise.
2578 * doc/html/ext/lwg-defects.html: Likewise.
2579 * doc/xml/manual/intro.xml: Adjust.
2581 2008-09-21 Paolo Carlini <paolo.carlini@oracle.com>
2583 * include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair,
2584 consistently with the other overload for initializer_list.
2586 2008-09-19 Johannes Singler <singler@ira.uka.de>
2589 * include/parallel/base.h: Rename log2 to __log2.
2590 (__log2) Avoid infinite loop for n <= 0, return 0.
2591 * include/parallel/losertree.h: Rename log2 to __log2.
2592 * include/parallel/multiseq_selection.h: Likewise.
2593 * include/parallel/random_shuffle.h: Likewise.
2595 2008-09-18 Paolo Carlini <paolo.carlini@oracle.com>
2597 * include/bits/shared_ptr.h (__shared_count<>::
2598 __shared_count(_Ptr, _Deleter), __shared_count<>::
2599 __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>::
2600 __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)):
2601 Qualify new with ::.
2603 2008-09-17 Paolo Carlini <paolo.carlini@oracle.com>
2606 * include/bits/stl_algo.h (min(initializer_list<>),
2607 min(initializer_list<>, Compare), max(initializer_list<>),
2608 max(initializer_list<>, Compare), minmax(initializer_list<>),
2609 minmax(initializer_list<>, Compare)): Fix return type.
2610 * include/bits/algorithmfwd.h: Adjust.
2611 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2612 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
2614 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
2616 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
2618 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
2620 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2622 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2624 * testsuite/25_algorithms/max/37547.cc: New.
2625 * testsuite/25_algorithms/min/37547.cc: Likewise.
2626 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
2628 2008-09-16 Chris Fairles <chris.fairles@gmail.com>
2630 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
2632 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
2634 * testsuite/25_algorithms/min/3.cc: Likewise.
2635 * testsuite/25_algorithms/min/4.cc: Likewise.
2636 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
2638 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
2640 * testsuite/25_algorithms/max/3.cc: Likewise.
2641 * testsuite/25_algorithms/max/4.cc: Likewise.
2642 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2644 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2646 * testsuite/25_algorithms/minmax/2.cc: Likewise.
2647 * testsuite/25_algorithms/minmax/3.cc: Likewise.
2649 2008-09-16 Paolo Carlini <paolo.carlini@oracle.com>
2651 * include/bits/stl_algo.h (min(initializer_list<>),
2652 min(initializer_list<>, Compare), max(initializer_list<>),
2653 max(initializer_list<>, Compare), minmax(initializer_list<>),
2654 minmax(initializer_list<>, Compare)): Add in C++0x mode.
2655 * include/bits/algorithmfwd.h: Add.
2656 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2658 2008-09-13 Chris Fairles <chris.fairles@gmail.com>
2660 * testsuite/30_threads/thread/algorithm/1.cc: Join thread before
2662 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
2663 * testsuite/30_threads/thread/this_thread/3.cc: Define test variable.
2664 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
2666 2008-09-12 Chris Fairles <chris.fairles@gmail.com>
2667 Benjamin Kosnik <bkoz@redhat.com>
2669 * include/std/thread: New.
2670 * include/Makefile.am: Update.
2671 * include/Makefile.in: Regenerate.
2672 * src/thread.cc: New.
2673 * src/Makefile.am: Update.
2674 * src/Makefile.in: Regenerate.
2675 * acinclude.m4: Add check for nanosleep.
2676 * configure.ac: Call it.
2677 * configure: Regenerate.
2678 * config.h.in: Likewise.
2679 * config/abi/pre/gnu.ver: Add exports.
2680 * doc/doxygen/user.cfg.in: Add thread header.
2681 * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add.
2682 * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add.
2683 * testsuite/30_threads/thread/cons/1.cc: New.
2684 * testsuite/30_threads/thread/cons/2.cc: Likewise.
2685 * testsuite/30_threads/thread/cons/3.cc: Likewise.
2686 * testsuite/30_threads/thread/cons/4.cc: Likewise.
2687 * testsuite/30_threads/thread/algorithm/1.cc: Likewise.
2688 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
2689 * testsuite/30_threads/thread/member/1.cc: Likewise.
2690 * testsuite/30_threads/thread/member/2.cc: Likewise.
2691 * testsuite/30_threads/thread/member/3.cc: Likewise.
2692 * testsuite/30_threads/thread/this_thread/1.cc: Likewise.
2693 * testsuite/30_threads/thread/this_thread/2.cc: Likewise.
2694 * testsuite/30_threads/thread/this_thread/3.cc: Likewise.
2695 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
2696 * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise.
2697 * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
2698 * testsuite/17_intro/headers/c++200x/all.cc: Add thread.
2699 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
2700 Add thread, condition_variable and mutex.
2702 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
2704 * src/ctype.cc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>):
2705 Remove specializations.
2706 * src/locale-inst.cc (use_facet<ctype<C> >): Instantiate.
2707 * include/bits/locale_facets.tcc (use_facet<ctype<char> >,
2708 use_facet<ctype<wchar_t>): Declare as extern template.
2709 * include/bits/locale_facets.h (use_facet<ctype<char> >,
2710 use_facet<ctype<wchar_t>): Do not declare as specializations.
2712 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
2714 * config/locale/darwin/ctype_members.cc (ctype<char>::_M_narrow_init,
2715 ctype<char>::_M_widen_init): Don't define here.
2716 * config/locale/gnu/ctype_members.cc: Likewise.
2717 * config/locale/generic/ctype_members.cc: Likewise.
2718 * src/ctype.cc: Define here.
2720 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
2723 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init,
2724 ctype<char>::_M_widen_init): Don't define inline.
2725 * config/locale/darwin/ctype_members.cc: ... define here.
2726 * config/locale/gnu/ctype_members.cc: ... likewise.
2727 * config/locale/generic/ctype_members.cc: ... likewise.
2728 * config/abi/pre/gnu.ver: Export.
2730 2008-09-09 Benjamin Kosnik <bkoz@redhat.com>
2732 * doc/xml/manual/abi.xml: Update for new releases.
2733 * doc/doxygen/user.cfg.in: Include C compatibility headers.
2734 * doc/html/*: Regenerate.
2736 2008-09-09 Paolo Carlini <paolo.carlini@oracle.com>
2738 * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACROS after
2739 inclusion of <inttypes.h>.
2740 * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and
2741 __STDC_CONSTANT_MACROS after <stdint.h>.
2742 * include/bits/postypes.h: Likewise.
2744 2008-09-09 Andreas Schwab <schwab@suse.de>
2746 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Fix compile check
2747 not to redefine main.
2749 2008-09-07 Paolo Carlini <paolo.carlini@oracle.com>
2751 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and
2752 wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
2753 * include/tr1_impl/cinttypes: Use the latter.
2754 * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
2755 * configure: Regenerate.
2756 * config.h.in: Likewise.
2758 2008-09-05 Peter Dimov <pdimov@mmltd.net>
2760 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New.
2762 2008-09-05 Paolo Carlini <paolo.carlini@oracle.com>
2764 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename
2766 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ...
2769 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
2772 * include/Makefile.am: Update headers.
2773 * include/Makefile.in: Regenerate.
2774 * include/std/memory: Update headers.
2775 * include/tr1/memory: Likewise.
2776 * include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
2777 separate implementations for std and tr1.
2778 * include/bits/boost_sp_shared_count.h: Remove.
2779 * include/tr1/boost_sp_shared_count.h: Remove.
2780 * include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
2781 and boost_shared_ptr.h into one file.
2782 (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
2783 and rvalue-reference support as per current WP.
2784 * include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
2785 and boost_shared_ptr.h into one file.
2786 * testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
2787 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
2788 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
2789 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
2790 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
2791 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
2792 * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
2793 * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
2794 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.
2796 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
2798 * doc/xml/manual/locale.xml: Fix typo.
2800 2008-09-04 Paolo Carlini <paolo.carlini@oracle.com>
2802 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Tidy checks in case of
2804 * configure: Regenerate.
2806 2008-09-04 Chris Fairles <chris.fairles@gmail.com>
2808 * include/std/mutex (once_flag): Construct __gthread_once_t in a
2809 temporary variable before assigning to _M_once to avoid initialization
2812 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
2814 * config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten
2815 GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS).
2817 * Makefile.in: Regenerate.
2818 * src/Makefile.in: Likewise.
2819 * doc/Makefile.in: Likewise.
2820 * po/Makefile.in: Likewise.
2821 * libmath/Makefile.in: Likewise.
2822 * include/Makefile.in: Likewise.
2823 * libsupc++/Makefile.in: Likewise.
2824 * testsuite/Makefile.in: Likewise.
2826 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
2828 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
2829 check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
2830 * configure: Regenerate.
2832 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
2834 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
2835 * configure: Regenerate.
2837 2008-09-03 Chris Fairles <chris.fairles@gmail.com>
2839 * include/std/condition_variable: Use new deleted ctors.
2840 * include/std/mutex: Likewise plus implement timed_mutex,
2841 recursive_timed_mutex and call_once.
2842 * src/condition_variable.cc: Implement wait(). Use gthread types.
2843 Remove _GTHREADS_HAS_COND checks in favor of global
2844 _GLIBCXX_HAS_GTHREADS.
2845 * src/mutex.cc (call_once): Implementation using TLS with mutex
2847 * config/abi/pre/gnu.ver: Add exported symbols.
2848 * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New.
2849 * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise.
2850 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use
2851 dg-require-gthreads and dg-require-cstdint.
2852 * testsuite/30_threads/lock_guard/requirements/
2853 explicit_instantiation.cc: Likewise.
2854 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
2855 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
2856 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
2857 * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise.
2858 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
2859 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
2860 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
2861 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
2862 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
2864 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
2865 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
2866 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc:
2868 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
2869 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
2870 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
2871 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
2872 * testsuite/30_threads/unique_lock/requirements/
2873 explicit_instantiation.cc: Likewise.
2874 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise.
2875 * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error
2876 lines for deleted members.
2877 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2878 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2879 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2880 * testsuite/30_threads/call_once/once_flag.cc: New.
2881 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
2882 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
2883 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise
2884 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
2885 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
2886 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
2888 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
2890 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
2891 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
2892 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
2893 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
2894 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
2895 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
2896 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
2897 * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise.
2898 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
2899 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
2900 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
2901 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
2902 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
2903 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
2904 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
2905 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
2907 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
2909 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
2911 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
2913 * testsuite/30_threads/recursive_timed_mutex/cons: Likewise.
2914 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
2916 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
2917 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
2919 * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc:
2921 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
2922 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
2923 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
2924 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
2925 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
2926 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
2928 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
2930 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
2932 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
2933 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
2934 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
2935 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
2936 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
2937 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
2938 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
2939 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
2940 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
2941 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
2942 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
2943 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
2945 2008-09-01 Mark Mitchell <mark@codesourcery.com>
2947 * include/std/type_traits (__make_unsigned_selector<>): Consider
2948 enums of size smaller than short.
2949 (__make_signed_selector<>): Likewise.
2950 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2951 Adjust line numbers.
2952 * testsuite/20_util/make_usigned/requirements/typedefs_neg.cc:
2953 Adjust line numbers.
2954 * testsuite/20_util/make_signed/requirements/typedefs-2.cc:
2955 Ensure test_enum is the same size as short.
2956 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
2957 Ensure test_enum is the same size as short.
2959 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
2961 * acinclude.m4 <enable_symvers>: Don't use symvers on Windows.
2962 * configure: Regenerated.
2963 * Makefile.in: Regenerated.
2964 * src/Makefile.in: Regenerated.
2965 * doc/Makefile.in: Regenerated.
2966 * po/Makefile.in: Regenerated.
2967 * libmath/Makefile.in: Regenerated.
2968 * include/Makefile.in: Regenerated.
2969 * libsupc++/Makefile.in: Regenerated.
2970 * testsuite/Makefile.in: Regenerated.
2972 2008-08-29 Mark Mitchell <mark@codesourcery.com>
2974 * testsuite/25_algorithms/nth_element/2.cc: Constrain iterations
2975 when testing on a simultor.
2977 2008-08-28 Paolo Carlini <paolo.carlini@oracle.com>
2979 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
2980 Rename to .../typedefs.cc.
2981 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
2983 * testsuite/tr1/6_containers/unordered_multiset/requirements/
2984 typedef.cc: Likewise.
2985 * testsuite/tr1/6_containers/unordered_multimap/requirements/
2986 typedef.cc: Likewise.
2987 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
2989 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
2991 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
2993 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
2996 2008-08-28 Chris Fairles <chris.fairles@gmail.com>
2998 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): New. Checks for gthread
2999 support used by c++0x thread library.
3000 * configure.ac: Test unconditionally.
3001 * configure: Regenerate.
3002 * config.h.in: Regenerate.
3004 2008-08-27 Benjamin Kosnik <bkoz@redhat.com>
3006 * doc/Makefile.am: Edit xml file list.
3007 * doc/Makefile.in: Regenerate.
3008 * configure: Regenerate.
3009 * doc/xml/manual/intro.xml: Edit, correct links, structure.
3010 * doc/xml/manual/configure.xml: Same.
3011 * doc/xml/manual/debug.xml: Same.
3012 * doc/xml/manual/test.xml: Same.
3013 * doc/xml/manual/build.xml: Remove.
3014 * doc/xml/manual/prerequisites.xml: Add.
3015 * doc/html/*: Regenerate.
3017 2008-08-27 Paolo Carlini <paolo.carlini@oracle.com>
3019 * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and
3020 const_pointer typedefs.
3021 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
3023 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
3025 * testsuite/tr1/6_containers/unordered_multiset/requirements/
3026 typedef.cc: Likewise.
3027 * testsuite/tr1/6_containers/unordered_multimap/requirements/
3028 typedef.cc: Likewise.
3029 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
3031 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
3033 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
3035 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
3038 2008-08-27 Paul Brook <paul@codesourcery.com>
3040 * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
3041 __get_object_from_ambiguous_exception.
3043 2008-08-26 Ben Elliston <bje@au.ibm.com>
3045 * src/mt_allocator.cc (__pool): Fix error in comment.
3047 2008-08-25 Paolo Carlini <paolo.carlini@oracle.com>
3049 * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1],
3050 [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove
3051 * configure.ac: Do not call the latter.
3052 * crossconfig.m4: Likewise.
3053 * libmath/mathconf.h: Adjust.
3054 * configure: Regenerate.
3055 * config.h.in: Likewise.
3057 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
3059 * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use
3060 two test -r instead of an AC_TRY_RUN.
3061 * configure: Regenerate.
3062 * config.h.in: Likewise.
3064 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
3066 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation.
3067 * doc/xml/manual/configure.xml: Likewise.
3069 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
3071 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in
3073 * configure: Regenerate.
3075 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
3077 * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use
3078 GCC_TRY_COMPILE_OR_LINK.
3079 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to
3080 [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option,
3081 [no] by default, since it includes TRY_LINK checks. librt is also
3082 searched, if requested.
3083 * doc/xml/manual/configure.xml: Document the latter.
3084 * configure.ac: Move the above checks outside native-only.
3085 * configure: Regenerate.
3087 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
3089 * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
3090 * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
3091 * testsuite/18_support/exception_ptr/current_exception.cc: Use it.
3092 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
3093 * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
3095 2008-08-23 Sebastian Redl <sebastian.redl@getdesigned.at>
3097 Add (again) exception propagation support as per N2179. Feature is
3098 available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
3099 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
3100 copy_exception, rethrow_exception): New file, implement exception
3102 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
3103 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
3104 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
3105 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
3106 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
3107 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
3108 __gxx_dependent_exception_class, __get_object_from_ue,
3109 __get_object_from_ambiguous_exception): Add.
3110 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
3111 (__is_gxx_exception_class): Handle dependent exceptions.
3112 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
3113 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
3114 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
3115 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
3116 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
3117 __cxa_free_dependent_exception): Add.
3118 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
3120 * libsupc++/exception: Conditionally include exception_ptr.h.
3121 * libsupc++/Makefile.am: Register new files.
3122 * libsupc++/Makefile.in: Regenerate.
3123 * config/abi/pre/gnu.ver: Add new symbols.
3124 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
3125 core functionality of current_exception().
3126 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
3127 core functionality of rethrow_exception().
3128 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
3129 exception objects during exception propagation.
3131 2008-08-22 Paolo Carlini <paolo.carlini@oracle.com>
3133 Revert again the N2179 patch.
3135 2008-08-21 Sebastian Redl <sebastian.redl@getdesigned.at>
3137 * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
3138 __cxa_free_dependent_exception.
3140 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
3142 * include/bits/char_traits.h (char_traits<char16_t>::
3143 assign(char_type*, size_t, char_type), char_traits<char32_t>::
3144 assign(char_type*, size_t, char_type)): For now, just open-code.
3146 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
3148 PR c++/33979 (partial)
3149 * include/bits/postypes.h (u16streampos, u32streampos): Add.
3150 * include/bits/char_traits.h (char_traits<char16_t>,
3151 char_traits<char32_t>): Add.
3152 * include/bits/stringfwd.h (u16string, u32string): Add.
3153 * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t.
3154 * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc:
3156 * testsuite/21_strings/char_traits/requirements/
3157 explicit_instantiation/short/1.cc: Likewise.
3158 * testsuite/21_strings/char_traits/requirements/
3159 explicit_instantiation/char32_t/1.cc: Likewise.
3160 * testsuite/21_strings/char_traits/requirements/
3161 explicit_instantiation/wchar_t/1.cc: Likewise.
3162 * testsuite/21_strings/char_traits/requirements/
3163 explicit_instantiation/char16_t/1.cc: Likewise.
3164 * testsuite/21_strings/char_traits/requirements/
3165 explicit_instantiation/char/1.cc: Likewise.
3166 * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc:
3168 * testsuite/21_strings/basic_string/requirements/
3169 explicit_instantiation/char32_t/1.cc: Likewise.
3170 * testsuite/21_strings/basic_string/requirements/
3171 explicit_instantiation/wchar_t/1.cc: Likewise.
3172 * testsuite/21_strings/basic_string/requirements/
3173 explicit_instantiation/char16_t/1.cc: Likewise.
3174 * testsuite/21_strings/basic_string/requirements/
3175 explicit_instantiation/char/1.cc: Likewise.
3176 * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise.
3177 * testsuite/ext/vstring/requirements/explicit_instantiation/
3178 char32_t/1.cc: Likewise.
3179 * testsuite/ext/vstring/requirements/explicit_instantiation/
3180 char16_t/1.cc: Likewise.
3182 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
3185 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
3187 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
3189 * testsuite/27_io/objects/char/12048-1.cc: Likewise.
3190 * testsuite/27_io/objects/char/12048-3.cc: Likewise.
3191 * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
3192 * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
3193 * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
3194 * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
3195 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
3196 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
3197 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
3198 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
3199 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
3200 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
3201 * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
3202 * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
3203 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
3204 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
3205 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
3206 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
3207 * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
3208 * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
3209 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
3210 * include/std/regex: Include <sstream>.
3211 * include/tr1/regex: Likewise.
3213 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
3215 * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
3217 * configure: Regenerate.
3219 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
3222 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h,
3223 check the macros too.
3224 * configure: Regenerate.
3226 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
3228 * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of
3230 * configure.ac: Run unconditionally AC_LC_MESSAGES.
3231 * crossconfig.m4: Adjust.
3232 * configure: Regenerate.
3234 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
3236 * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL],
3237 [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]):
3238 Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++,
3239 with -fno-exceptions as flags.
3240 * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS,
3241 GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG,
3242 GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS.
3243 * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized
3245 * configure: Regenerate.
3247 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
3249 Re-instate last patch, amended to use __exchange_and_add_dispatch
3250 and __atomic_add_dispatch in eh_ptr.cc and eh_throw.cc.
3252 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
3254 Revert the last patch.
3256 2008-08-13 Sebastian Redl <sebastian.redl@getdesigned.at>
3258 Add exception propagation support as per N2179.
3259 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
3260 copy_exception, rethrow_exception): New file, implement exception
3262 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
3263 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
3264 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
3265 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
3266 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
3267 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
3268 __gxx_dependent_exception_class, __get_object_from_ue,
3269 __get_object_from_ambiguous_exception): Add.
3270 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
3271 (__is_gxx_exception_class): Handle dependent exceptions.
3272 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
3273 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
3274 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
3275 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
3276 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
3277 __cxa_free_dependent_exception): Add.
3278 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
3280 * libsupc++/exception: Conditionally include exception_ptr.h.
3281 * libsupc++/Makefile.am: Register new files.
3282 * libsupc++/Makefile.in: Regenerate.
3283 * config/abi/pre/gnu.ver: Add new symbols.
3284 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
3285 core functionality of current_exception().
3286 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
3287 core functionality of rethrow_exception().
3288 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
3289 exception objects during exception propagation.
3291 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
3294 * include/bits/stl_pair.h: Fix documentation URL in comment.
3296 2008-08-12 Johannes Singler <singler@ira.uka.de>
3298 * include/paralle/losertree.h
3299 (LoserTreePointerBase<>::~LoserTreePointerBase):
3300 Replace delete by appropriate delete[].
3302 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
3304 * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and
3305 GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused).
3306 * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused).
3307 * configure: Regenerate.
3308 * config.h.in: Likewise.
3310 * acinclude.m4: Minor formatting fixes.
3312 2008-08-11 Stephen M. Webb <stephenw@xandros.com>
3314 * include/tr1_impl/regex: Formatting fixes.
3315 * testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
3317 * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
3320 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
3322 * config/locale/generic/c_locale.cc: Include <cstdio>.
3324 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
3326 * configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
3327 * configure: Regenerate.
3329 2008-08-10 Paolo Carlini <paolo.carlini@oracle.com>
3331 * include/tr1_impl/type_traits (_DEFINE_SPEC*): Simplify.
3332 (_DEFINE_SPEC_BODY): Remove.
3333 (__is_void_helper, __is_integral_helper, __is_floating_point_helper,
3334 __is_member_object_pointer_helper, __is_member_function_pointer_helper,
3335 __remove_pointer_helper): Add.
3336 (is_void, is_integral, is_floating_point, is_member_object_pointer,
3337 is_member_function_pointer, remove_pointer): Use the latter.
3338 * include/tr1/type_traits (_DEFINE_SPEC): Simplify.
3339 (_DEFINE_SPEC_HELPER): Remove.
3340 (__is_signed_helper, __is_unsigned_helper): Add.
3341 (is_signed, is_unsigned): Use the latter.
3343 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
3345 Revert fix for libstdc++/35637, thanks to other/36901.
3346 * include/tr1_impl/type_traits (__is_function_helper): New, uses
3348 (is_function): Forward to the latter.
3349 (__in_array): Remove.
3351 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
3353 * config/locale/darwin/ctype_members.cc: Include <cstdio>.
3355 2008-08-08 Paolo Carlini <paolo.carlini@oracle.com>
3357 * include/bits/ios_base.h: Undef _IOS_BASE_SEEK_CUR and
3358 _IOS_BASE_SEEK_END at the end of the file.
3359 * include/bits/char_traits.h: Likewise for _CHAR_TRAITS_EOF.
3361 2008-08-07 Stephen M. Webb <stephenw@xandros.com>
3363 * include/tr1_impl/regex (match_results<>::cbegin, cend): Add, per
3366 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
3368 * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): New, checks for
3369 common values of EOF, SEEK_CUR, SEEK_END.
3370 * configure.ac: Use it.
3371 * include/bits/ios_base.h: Likewise.
3372 * include/bits/char_traits.h: Likewise.
3373 * config/locale/gnu/ctype_members.cc: Include <cstdio>.
3374 * config/locale/generic/ctype_members.cc: Likewise.
3375 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error lines.
3376 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
3377 * configure: Regenerate.
3378 * config.h.in: Likewise.
3380 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
3382 * acinclude.m4 ([GLIBCXX_CHECK_INT64_T]): Also check whether int64_t
3383 is actually a typedef to long or long long.
3384 * include/bits/postypes.h: If int64_t is actually a typedef for
3385 long or long long don't include <stdint.h> unnecessarily.
3386 * configure: Regenerate.
3387 * config.h.in: Likewise.
3389 2008-08-05 Paolo Carlini <paolo.carlini@oracle.com>
3391 * testsuite/util/testsuite_api.h (diamond_derivation<>::test):
3392 Expect ambiguity together with the standard exception classes.
3393 * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: Remove
3395 * testsuite/19_diagnostics/logic_error/cons_virtual_derivation.cc:
3397 * testsuite/19_diagnostics/runtime_error/cons_virtual_derivation.cc:
3399 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
3401 * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Likewise.
3402 * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Likewise.
3403 * testsuite/18_support/bad_exception/cons_virtual_derivation.cc:
3405 * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc:
3407 * testsuite/ext/concurrence_lock_error/cons_virtual_derivation.cc:
3409 * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc:
3411 * testsuite/ext/concurrence_unlock_error/cons_virtual_derivation.cc:
3413 * testsuite/20_util/bad_function_call/cons_virtual_derivation.cc:
3416 2008-08-04 Paolo Carlini <paolo.carlini@oracle.com>
3418 * include/bits/postypes.h: Reinstate inclusion of <stdint.h>;
3419 also define the __STDC_* macros.
3420 (streamoff): Adjust.
3422 * include/tr1_impl/cstdint: Check that the __STDC_* macros are
3423 not defined before defining.
3425 2008-08-01 Paolo Bonzini <bonzini@gnu.org>
3426 Chris Fairles <chris.fairles@gmail.com>
3428 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Reinstate clock_gettime
3429 search, but only in libposix4, never link librt.
3430 * src/Makefile.am: Reinstate previous change to add GLIBCXX_LIBS.
3431 * configure: Regenerate.
3432 * configure.in: Likewise.
3433 * Makefile.in: Likewise.
3434 * src/Makefile.in: Likewise.
3435 * libsup++/Makefile.in: Likewise.
3436 * po/Makefile.in: Likewise.
3437 * doc/Makefile.in: Likewise.
3439 2008-07-31 Chris Fairles <chris.fairles@gmail.com>
3441 * include/std/chrono (duration): Use explicitly defaulted ctor, cctor,
3442 dtor and assignment. Add diagnostics as per 20.8.3 paragraphs 2, 3
3443 and 4 in WD. Other minor tweaks.
3444 * testsuite/20_util/duration/cons/1_neg.cc: Adjust line numbers.
3445 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: New.
3446 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
3447 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
3449 2008-07-31 Paolo Carlini <paolo.carlini@oracle.com>
3451 * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp.
3452 (check_v3_target_parallel_mode): Robustify, just follow the
3453 structure of testsuite/Makefile.am.
3455 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
3457 * include/debug/set.h: Minor formatting fixes.
3458 * include/debug/multiset.h: Likewise.
3459 * include/debug/safe_association.h: Likewise.
3460 * include/debug/vector: Likewise.
3461 * include/debug/map.h: Likewise.
3462 * include/debug/string: Likewise.
3463 * include/debug/multimap.h: Likewise.
3464 * include/bits/stl_list.h: Likewise.
3465 * include/bits/stl_map.h: Likewise.
3466 * include/bits/stl_set.h: Likewise.
3467 * include/bits/stl_multimap.h: Likewise.
3468 * include/bits/stl_vector.h: Likewise.
3469 * include/bits/stl_multiset.h: Likewise.
3470 * include/bits/stl_bvector.h: Likewise.
3472 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
3474 * include/std/utility: Include <initializer_list>, per the current WP.
3476 * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak,
3477 don't use -std=gnu++0x unnecessarily.
3478 * testsuite/18_support/numeric_limits/char16_32_t.cc: Use
3480 * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise.
3481 * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise.
3483 2008-07-28 Paolo Carlini <paolo.carlini@oracle.com>
3486 * include/tr1_impl/boost_shared_ptr.h
3487 (__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
3488 __enable_shared_from_this_helper.
3489 * testsuite/20_util/shared_ptr/creation/36949.cc: New.
3491 2008-07-24 Paolo Carlini <paolo.carlini@oracle.com>
3495 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
3497 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
3498 Holds the lib that defines clock_gettime (-lrt or -lposix4).
3499 * src/Makefile.am: Use it.
3500 * configure: Regenerate.
3501 * configure.in: Likewise.
3502 * Makefile.in: Likewise.
3503 * src/Makefile.in: Likewise.
3504 * libsup++/Makefile.in: Likewise.
3505 * po/Makefile.in: Likewise.
3506 * doc/Makefile.in: Likewise.
3508 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
3510 * include/std/condition_variable: Update to N2691 WD.
3511 * include/std/mutex: Likewise.
3512 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
3513 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
3514 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
3515 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
3517 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
3519 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
3520 Holds the lib that defines clock_gettime (-lrt or -lposix4).
3521 * src/Makefile.am: Use it.
3522 * configure: Regenerate.
3523 * configure.in: Likewise.
3524 * Makefile.in: Likewise.
3525 * src/Makefile.in: Likewise.
3526 * libsup++/Makefile.in: Likewise.
3527 * po/Makefile.in: Likewise.
3528 * doc/Makefile.in: Likewise.
3530 2008-07-22 Paolo Carlini <paolo.carlini@oracle.com>
3532 * include/ext/sso_string_base.h
3533 (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
3534 const _Alloc&)): Remove.
3535 * include/ext/rc_string_base.h
3536 (__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
3537 const _Alloc&)): Likewise.
3538 * include/ext/vstring.h
3539 (__versa_string<>::__versa_string(std::initializer_list<_CharT>,
3540 const _Alloc&)): Adjust.
3542 2008-07-21 Jason Merrill <jason@redhat.com>
3544 Add initializer_list support as per N2679.
3545 * include/debug/unordered_map: Add initializer_list support.
3546 * include/debug/safe_association.h: Likewise.
3547 * include/debug/unordered_set: Likewise.
3548 * include/debug/vector: Likewise.
3549 * include/debug/deque: Likewise.
3550 * include/debug/map.h: Likewise.
3551 * include/debug/set.h: Likewise.
3552 * include/debug/string: Likewise.
3553 * include/debug/list: Likewise.
3554 * include/debug/multimap.h: Likewise.
3555 * include/tr1_impl/unordered_map: Likewise.
3556 * include/tr1_impl/hashtable: Likewise.
3557 * include/tr1_impl/unordered_set: Likewise.
3558 * include/tr1_impl/regex: Likewise.
3559 * include/std/valarray: Likewise.
3560 * include/std/unordered_map: Likewise.
3561 * include/std/unordered_set: Likewise.
3562 * include/bits/stl_list.h: Likewise.
3563 * include/bits/stl_map.h: Likewise.
3564 * include/bits/stl_set.h: Likewise.
3565 * include/bits/basic_string.h: Likewise.
3566 * include/bits/basic_string.tcc: Likewise.
3567 * include/bits/stl_multimap.h: Likewise.
3568 * include/bits/stl_vector.h: Likewise.
3569 * include/bits/stl_deque.h: Likewise.
3570 * include/bits/stl_multiset.h: Likewise.
3571 * include/bits/stl_bvector.h: Likewise.
3572 * include/ext/vstring.h: Likewise.
3573 * include/ext/rc_string_base.h: Likewise.
3574 * include/ext/sso_string_base.h: Likewise.
3575 * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
3576 * src/Makefile.in: Likewise.
3577 * config/abi/pre/gnu.ver: Add new w?string exports.
3578 * testsuite/21_strings/basic_string/init-list.cc: New test.
3579 * testsuite/23_containers/vector/init-list.cc: New test.
3580 * testsuite/23_containers/deque/init-list.cc: New test.
3581 * testsuite/23_containers/list/init-list.cc: New test.
3582 * testsuite/23_containers/map/init-list.cc: New test.
3583 * testsuite/23_containers/multimap/init-list.cc: New test.
3584 * testsuite/23_containers/set/init-list.cc: New test.
3585 * testsuite/23_containers/multiset/init-list.cc: New test.
3586 * testsuite/23_containers/unordered_map/init-list.cc: New test.
3587 * testsuite/23_containers/unordered_multimap/init-list.cc: New test.
3588 * testsuite/23_containers/unordered_set/init-list.cc: New test.
3589 * testsuite/23_containers/unordered_multiset/init-list.cc: New test.
3590 * testsuite/26_numerics/valarray/init-list.cc: New test.
3591 * testsuite/28_regex/init-list.cc: New test.
3592 * testsuite/ext/vstring/init-list.cc: New test.
3593 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3594 Update error lineno.
3595 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3596 Update error lineno.
3597 * testsuite/23_containers/vector/requirements/dr438/
3598 constructor_1_neg.cc: Update error lineno.
3599 * testsuite/23_containers/vector/requirements/dr438/
3600 constructor_2_neg.cc: Update error lineno.
3601 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
3602 Update error lineno.
3603 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3604 Update error lineno.
3605 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
3606 Update error lineno.
3607 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
3608 Update error lineno.
3609 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3610 Update error lineno.
3611 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
3612 Update error lineno.
3613 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
3614 Update error lineno.
3615 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
3616 Update error lineno.
3618 2008-07-21 Mark Mitchell <mark@codesourcery.com>
3620 * config/os/gnu-linux/arm-eabi-extra.ver: New file.
3621 * configure.host: Use it for arm*-*-linux-*eabi.
3623 2008-07-19 Paolo Carlini <paolo.carlini@oracle.com>
3625 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp
3626 (assert_node_consistent): Avoid ambiguous else warning.
3628 * include/ext/pb_ds/detail/debug_map_base.hpp: Include <iostream>.
3630 * include/bits/c++config: In debug-mode (and parallel-mode) set
3631 _GLIBCXX_EXTERN_TEMPLATE to -1, not 0, thus disabling extern
3632 templates only for basic_string (per libstdc++/21674).
3633 * include/bits/basic_string.tcc: Use extern templates when
3634 _GLIBCXX_EXTERN_TEMPLATE > 0.
3636 2008-07-18 Kris Van Hees <kris.van.hees@oracle.com>
3637 Holger Hopp <holger.hopp@sap.com>
3639 * config/abi/pre/gnu.ver: Support char16_t and char32_t.
3640 * testsuite/util/testsuite_abi.cc (check_version): Add
3641 CXXABI_1.3.3 to known_versions.
3643 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
3645 * include/debug/vector (insert(iterator, _Tp&&), push_back(_Tp&&)):
3646 Enable only when _Tp != bool.
3648 * testsuite/25_algorithms/heap/1.cc: Avoid unused variable warnings.
3650 2008-07-18 Paolo Carlini <paolo.carlini@oracle.com>
3652 * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
3653 variable warnings leading to spurious fails of the test.
3655 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
3657 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
3659 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
3660 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
3662 * include/tr1_impl/type_traits: Fix comment typo.
3664 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
3666 * include/bits/unique_ptr.h: Remove stray character.
3668 2008-07-15 Benjamin Kosnik <bkoz@redhat.com>
3670 * doc/doxygen/user.cfg.in: Add complex, ratio,
3672 (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
3673 * doc/doxygen/doxygroups.cc: Add std::chrono.
3674 * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
3675 * libsupc++/initializer_list (initializer_list): Same.
3676 * include/std/ratio: Same.
3677 * include/std/chrono: Same.
3678 * include/std/complex: Disambiguate file markup.
3680 2008-07-15 Chris Fairles <chris.fairles@gmail.com>
3682 * include/std/chrono: New, as per N2661.
3683 * src/chrono.cc: New.
3684 * include/Makefile.am: Update.
3685 * src/Makefile.am: Likewise.
3686 * include/Makefile.in: Regenerate.
3687 * src/Makefile.in: Likewise.
3688 * acinclude.m4: Add tests for clock_gettime and gettimeofday that
3689 define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
3690 * configure.ac: Use them.
3691 * configure: Regenerate.
3692 * config.h.in: Likewise.
3693 * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
3694 system_clock::is_monotonic.
3695 * testsuite/20_util/duration/cons/1.cc: New.
3696 * testsuite/20_util/duration/cons/2.cc: Likewise.
3697 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
3698 * testsuite/20_util/duration/requirements/explicit_instantiation/
3699 explicit_instantiation.cc: Likewise.
3700 * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
3701 * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
3702 * testsuite/20_util/duration/comparisons/1.cc: Likewise.
3703 * testsuite/20_util/time_point/requirements/explicit_instantiation/
3704 explicit_instantiation.cc: Likewise.
3705 * testsuite/20_util/time_point/1.cc: Likewise.
3706 * testsuite/20_util/time_point/2.cc: Likewise.
3707 * testsuite/20_util/time_point/3.cc: Likewise.
3708 * testsuite/20_util/clocks/1.cc: Likewise.
3709 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
3711 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
3712 * include/precompiled/stdc++.h: Likewise and remove <date_time>.
3713 * doc/doxygen/user.cfg.in: Likewise.
3715 2008-07-15 Paolo Carlini <paolo.carlini@oracle.com>
3718 * include/ext/rope (_Destroy_const): Add.
3719 (rope<>::copy): Call it.
3720 * testsuite/ext/rope/36832.cc: New.
3722 2008-07-15 Johannes Singler <singler@ira.uka.de>
3724 * include/parallel/find_selectors.h:
3725 Correct name for include guard #ifndef.
3726 * include/parallel/balanced_quicksort.h: Likewise.
3727 * include/parallel/unique_copy.h: Likewise.
3728 * include/parallel/multiway_mergesort.h: Likewise.
3729 * include/parallel/checkers.h: Likewise.
3730 * include/parallel/[various files]:
3731 Add/correct comment for #endif of include guard (at end of file)
3733 2008-07-12 Paolo Carlini <paolo.carlini@oracle.com>
3735 * include/std/date_time: Remove, per N2549, in WP.
3736 * src/date_time.cc: Likewise.
3737 * config/abi/pre/gnu.ver: Remove <date_time> symbols.
3738 * include/Makefile.am: Remove date_time in std headers.
3739 * src/Makefile.am: Remove date_time.cc to source files.
3740 * include/Makefile.in: Regenerate.
3741 * src/Makefile.in: Likewise.
3742 * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
3743 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
3744 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
3745 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
3746 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
3747 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
3748 * testsuite/31_date_time/system_time/requirements: Likewise.
3749 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
3750 * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
3751 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
3753 2008-07-10 Johannes Singler <singler@ira.uka.de>
3755 * include/parallel/balanced_quicksort.h:
3756 (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
3758 2008-07-09 Benjamin Kosnik <bkoz@redhat.com>
3761 * doc/xml/manual/allocator.xml: Fix links.
3762 * doc/html/*: Regenerate.
3764 2008-07-09 Joseph Myers <joseph@codesourcery.com>
3766 * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
3767 __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
3768 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
3769 __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
3771 * libsupc++/eh_arm.cc (__cxa_type_match): Use
3772 __is_gxx_forced_unwind_class to check for forced unwind.
3774 2008-07-09 Andreas Beckmann <gcc@abeckmann.de>
3777 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3778 null_metadata.hpp: Remove self-include.
3780 2008-07-09 Joseph Myers <joseph@codesourcery.com>
3782 * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
3783 testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
3784 -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
3786 2008-07-09 Johannes Singler <singler@ira.uka.de>
3789 * include/parallel/random_shuffle.h:
3790 (sequential_random_shuffle) Copy data back.
3791 * testsuite/25_algorithms/random_shuffle/1.cc:
3792 New. Generic random_shuffle functionality test.
3794 2008-07-08 Chris Fairles <chris.fairles@gmail.com>
3796 * include/std/type_traits: Add common_type.
3797 * testsuite/20_util/common_type/requirements/
3798 explicit_instantiation.cc: New.
3799 * testsuite/20_util/common_type/requirements/
3800 typedefs-1.cc: Likewise.
3802 2008-07-07 Paolo Carlini <paolo.carlini@oracle.com>
3804 * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
3805 * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
3806 * testsuite/20_util/ratio/cons/cons1.cc: Use it.
3807 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
3808 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
3809 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
3810 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
3811 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
3812 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
3813 * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
3815 * include/std/type_traits: Fix comment typo.
3817 2008-07-06 Roger Sayle <roger@eyesopen.com>
3819 * include/std/system_error (is_error_code_enum): Use identifier
3820 _Tp instead of _T to avoid conflict with system macro on Darwin.
3821 (is_error_condition_enum): Likewise.
3823 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
3825 * include/bits/postypes.h: Do not include <stdint.h>.
3827 * include/Makefile.am: Reorder.
3829 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
3831 * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
3833 2008-07-05 Chris Fairles <chris.fairles@gmail.com>
3835 * include/std/ratio: Documentation for std::ratio class. Add conditions
3836 to ratio_less to prevent overflow.
3837 * testsuite/20_util/ratio/comparisons/comp2.cc: New.
3838 * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
3841 2008-07-04 Chris Fairles <chris.fairles@gmail.com>
3843 * include/std/ratio: New, per N2661.
3844 * include/Makefile.am: Update.
3845 * include/Makefile.in: Regenerate.
3846 * testsuite/20_util/ratio/cons/cons1.cc: New.
3847 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
3848 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
3849 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
3850 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
3851 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
3852 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
3854 2008-07-04 Paolo Carlini <paolo.carlini@oracle.com>
3857 * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
3858 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
3860 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
3862 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
3863 Improve check on long double limits.
3864 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
3866 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3868 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3871 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
3873 * libsupc++/Makefile.am: Add initializer_list to the headers.
3874 * libsupc++/Makefile.in: Regenerate.
3876 * libsupc++/initializer_list: Minor cosmetic changes.
3878 2008-07-02 Jason Merrill <jason@redhat.com>
3880 * libsupc++/initializer_list: Uglify and wrap in
3881 __GXX_EXPERIMENTAL_CXX0X__.
3882 * include/bits/stl_map.h (insert(initializer_list)): Wrap.
3884 2008-07-02 Jason Merrill <jason@redhat.com>
3886 * libsupc++/initializer_list: New file.
3887 * include/bits/stl_map.h (insert(initializer_list)): New method.
3889 2008-06-30 Alfred E. Heggestad <aeh@db.org>
3891 * include/backward/backward_warning.h: Fix typo.
3893 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
3895 * src/string_conversions.cc: Remove.
3896 * config/abi/pre/gnu.ver: Delete exports.
3897 * src/Makefile.am: Update.
3898 * include/ext/string_conversions.h: Add.
3899 * include/Makefile.am: Update.
3900 * include/bits/basic_string.h: Include string_conversions.h,
3901 define numeric conversion functions.
3902 * include/ext/vstring.h: Likewise.
3903 * src/Makefile.in: Regenerate.
3904 * include/Makefile.in: Regenerate.
3906 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
3908 * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
3909 * include/bits/algorithmfwd.h: Add.
3910 * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
3912 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
3913 move_iterators/1.cc: New
3914 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3915 * testsuite/25_algorithms/copy_n/1.cc: New.
3916 * testsuite/25_algorithms/copy_n/2.cc: Likewise.
3917 * testsuite/25_algorithms/copy_n/3.cc: Likewise.
3918 * testsuite/25_algorithms/copy_n/4.cc: Likewise.
3919 * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
3920 * testsuite/25_algorithms/copy_n/requirements/
3921 explicit_instantiation/2.cc: Likewise.
3922 * testsuite/25_algorithms/partition_point/requirements/
3923 explicit_instantiation/pod.cc: Likewise.
3925 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
3927 * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
3928 * include/bits/algorithmfwd.h: Add.
3929 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3930 * testsuite/25_algorithms/partition_point/1.cc: New.
3931 * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
3932 * testsuite/25_algorithms/partition_point/requirements/
3933 explicit_instantiation/2.cc: Likewise.
3934 * testsuite/25_algorithms/partition_point/requirements/
3935 explicit_instantiation/pod.cc: Likewise.
3937 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
3940 * include/ext/pb_ds/detail/resize_policy/
3941 sample_resize_trigger.hpp: Remove spurious namespace end.
3943 2008-06-27 Mark Mitchell <mark@codesourcery.com>
3945 * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
3947 (__aeabi_vec_delete): Likewise.
3948 (__aeabi_vec_delete3): Likewise.
3949 (__aeabi_vec_delete3_nodtor): Likewise.
3951 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
3953 * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
3954 * include/bits/algorithmfwd.h: Add.
3955 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3956 * testsuite/25_algorithms/is_partitioned/1.cc: New.
3957 * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
3958 * testsuite/25_algorithms/is_partitioned/requirements/
3959 explicit_instantiation/2.cc: Likewise.
3960 * testsuite/25_algorithms/is_partitioned/requirements/
3961 explicit_instantiation/pod.cc: Likewise.
3963 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
3965 * include/bits/stl_numeric.h (iota): Add in C++0x mode.
3966 * testsuite/util/testsuite_character.h (pod_int): Add operator++
3968 * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
3969 * testsuite/26_numerics/iota/1.cc: New.
3970 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
3972 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
3975 * include/ext/algorithm: Do not fiddle with the legacy headers.
3977 * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
3979 * testsuite/26_numerics/accumulate/1.cc: Likewise.
3980 * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
3981 * testsuite/26_numerics/inner_product/1.cc: Likewise.
3983 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
3985 * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
3986 * include/bits/algorithmfwd.h: Add.
3987 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3988 * testsuite/25_algorithms/partition_copy/1.cc: New.
3989 * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
3990 * testsuite/25_algorithms/partition_copy/requirements/
3991 explicit_instantiation/2.cc: Likewise.
3992 * testsuite/25_algorithms/partition_copy/requirements/
3993 explicit_instantiation/pod.cc: Likewise.
3995 2008-06-26 Chris Fairles <chris.fairles@gmail.com>
3997 * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
3998 * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
3999 * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
4001 * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
4002 * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
4003 * testsuite/20_util/unique_ptr/specialized_algorithms/
4004 comparisons_array.cc: Likewise.
4005 * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
4007 * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
4010 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
4012 * include/parallel/base.h (plus, multiplies): Use __typeof__,
4015 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
4017 * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
4019 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
4020 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
4022 * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
4023 * testsuite/util/testsuite_common_types.h (struct assignable,
4024 struct default_constructible, struct copy_constructible,
4025 struct explicit_value_constructible): Use a tad of simulated
4026 concept checking techniques to avoid spurious warnings.
4027 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
4029 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
4031 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
4033 * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
4034 any_of, none_of): Add in C++0x, per N2666.
4035 * include/bits/algorithmfwd.h: Update.
4036 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
4037 * testsuite/25_algorithms/all_of/check_type.cc: New.
4038 * testsuite/25_algorithms/all_of/1.cc: Likewise.
4039 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
4041 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
4043 * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
4044 * testsuite/25_algorithms/any_of/1.cc: Likewise.
4045 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
4047 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
4049 * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
4050 * testsuite/25_algorithms/none_of/1.cc: Likewise.
4051 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
4053 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
4055 * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
4056 * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
4057 * testsuite/25_algorithms/find_if_not/requirements/
4058 explicit_instantiation/2.cc: Likewise.
4059 * testsuite/25_algorithms/find_if_not/requirements/
4060 explicit_instantiation/pod.cc: Likewise.
4061 * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
4062 * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
4063 * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
4065 2008-06-24 Benjamin Kosnik <bkoz@redhat.com>
4067 * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
4068 parallel algorithms.
4069 * doc/xml/manual/using.xml: Markup fixes caught by validation check.
4070 * doc/xml/manual/test.xml: Remove empty para tags.
4072 * doc/html/*: Regenerate.
4074 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
4076 * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
4077 (copy_if): Add, per N2666.
4078 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
4080 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
4082 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
4084 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
4085 Chalathip Thumkanon <chalathip@gmail.com>
4088 * include/ext/pb_ds/exception.hpp (__throw_container_error,
4089 __throw_insert_error, __throw_join_error, __throw_resize_error):
4092 2008-06-22 Paolo Carlini <paolo.carlini@oracle.com>
4094 * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
4096 * include/bits/algorithmfwd.h: Add.
4097 * doc/xml/manual/intro.xml: Add an entry for DR 809.
4098 * testsuite/25_algorithms/swap/dr809.cc: New.
4100 * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
4101 2.cc: Remove stray empty line.
4103 2008-06-21 Paolo Carlini <paolo.carlini@oracle.com>
4105 * include/bits/stl_move.h: Rename to move.h.
4106 * include/std/utility: Adjust.
4107 * include/ext/vstring_util.h: Likewise.
4108 * include/ext/throw_allocator.h: Likewise.
4109 * include/ext/pool_allocator.h: Likewise.
4110 * include/ext/bitmap_allocator.h: Likewise.
4111 * include/ext/new_allocator.h: Likewise.
4112 * include/ext/malloc_allocator.h: Likewise.
4113 * include/ext/array_allocator.h: Likewise.
4114 * include/ext/mt_allocator.h: Likewise.
4115 * include/bits/stl_algobase.h: Likewise.
4116 * include/bits/stl_heap.h: Likewise.
4117 * include/bits/stl_pair.h: Likewise.
4118 * include/bits/stl_iterator.h: Likewise.
4119 * testsuite/util/testsuite_allocator.h: Likewise.
4120 * testsuite/util/testsuite_iterators.h: Likewise.
4121 * include/Makefile.am: Likewise.
4122 * include/Makefile.in: Regenerate.
4124 2008-06-21 Chris Fairles <chris.fairles@gmail.com>
4126 * include/bits/unique_ptr.h: New.
4127 * include/std/memory: Adjust.
4128 * include/Makefile.am: Add.
4129 * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
4130 explicit_instantiation.cc: New.
4131 * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
4132 * include/Makefile.in: Regenerate.
4134 2008-06-21 Jonathan Wakely <jwakely.gcc@gmail.com>
4136 * include/c_global/climits, include/tr1/climits: Add parentheses.
4138 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4140 * configure: Regenerate.
4142 2008-06-17 Chris Fairles <chris.fairles@gmail.com>
4144 * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
4146 * testsuite/24_iterators/operations/next.cc: New.
4147 * testsuite/24_iterators/operations/prev.cc: Likewise.
4149 2008-06-17 Paolo Carlini <paolo.carlini@oracle.com>
4151 * src/string_conversions.cc (__to_xstring<>): New.
4152 (to_string, to_wstring): Use it.
4154 2008-06-16 Paolo Carlini <paolo.carlini@oracle.com>
4156 * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
4157 stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
4158 * src/string_conversions.cc: Add.
4159 * src/Makefile.am: Update.
4160 * config/abi/pre/gnu.ver: Adjust exports.
4161 * src/Makefile.in: Regenerate.
4162 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
4164 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
4166 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
4168 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
4170 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
4172 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
4174 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
4176 * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
4178 * testsuite/21_strings/basic_string/numeric_conversions/char/
4179 to_string.cc: Likewise.
4180 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4182 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4184 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4186 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4188 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4190 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4192 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4194 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4195 stoull.cc: Likewise.
4196 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4197 to_wstring.cc: Likewise.
4199 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4201 * include/Makefile.am: Remove trailing white space, fix typo.
4202 (parallel_headers): Remove duplicate file, sort entries.
4203 * include/Makefile.in: Regenerate.
4205 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4207 * src/condition_variable.cc (~condition_variable): Drop unused
4210 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
4212 * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
4213 deque<>::push_front(_Args&&...)): Remove.
4214 (deque<>::push_back(value_type&&),
4215 deque<>::push_front(value_type&&)): Add.
4216 (deque<>::push_back(const value_type&),
4217 deque<>::push_front(const value_type&)): Add back.
4218 (deque<>::emplace_back(_Args&&...),
4219 deque<>::emplace_front(_Args&&...)): Declare...
4220 * include/bits/deque.tcc: ... and define.
4221 * include/bits/stl_list.h (list<>::push_back(_Args&&...),
4222 list<>::push_front(_Args&&...)): Remove.
4223 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
4224 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
4226 (list<>::push_back(const value_type&),
4227 list<>::push_front(const value_type&)): Add back.
4228 * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
4229 (vector<>::push_back(value_type&&)): Add.
4230 (vector<>::push_back(const value_type&)): Add back.
4231 (vector<>::emplace_back(_Args&&...)): Declare...
4232 * include/bits/vector.tcc: ... and define.
4233 * include/bits/stl_queue.h (queue<>::push(_Args&&...),
4234 priority_queue<>::push(_Args&&...)): Remove.
4235 (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
4236 priority_queue<>::push(value_type&&),
4237 priority_queue<>::emplace(_Args&&...)): Add.
4238 (queue<>::push(const value_type&),
4239 priority_queue<>::push(const value_type&)): Add back.
4240 * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
4241 (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
4242 (stack<>::push(const value_type&)): Add back.
4243 * include/debug/deque (deque<>::push_back(_Args&&...),
4244 deque<>::push_front(_Args&&...)): Remove.
4245 (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
4246 deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
4248 (deque<>::push_back(const value_type&),
4249 deque<>::push_front(const value_type&)): Add back.
4250 * include/debug/list (list<>::push_back(_Args&&...),
4251 list<>::push_front(_Args&&...)): Remove.
4252 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
4253 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
4255 (list<>::push_back(const value_type&),
4256 list<>::push_front(const value_type&)): Add back.
4257 * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
4258 (vector<>::push_back(value_type&&),
4259 vector<>::emplace_back(_Args&&...)): Add.
4260 (vector<>::push_back(const value_type&)): Add back.
4261 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
4262 Adjust dg-error line numbers.
4263 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
4265 * testsuite/23_containers/deque/requirements/dr438/
4266 constructor_1_neg.cc: Likewise.
4267 * testsuite/23_containers/deque/requirements/dr438/
4268 constructor_2_neg.cc: Likewise.
4269 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
4270 Adjust dg-error line numbers.
4271 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
4273 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
4275 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
4277 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
4278 Adjust dg-error line numbers.
4279 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
4281 * testsuite/23_containers/vector/requirements/dr438/
4282 constructor_1_neg.cc: Likewise.
4283 * testsuite/23_containers/vector/requirements/dr438/
4284 constructor_2_neg.cc: Likewise.
4286 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
4288 * include/tr1_impl/array (array<>::assign): Do not define in
4289 C++0x mode, per DR 776...
4290 (array<>::fill): ... define instead.
4291 * doc/xml/manual/intro.xml: Add an entry for DR 776.
4292 * testsuite/23_containers/array/requirements/fill.cc: New.
4294 2008-06-12 Paolo Carlini <paolo.carlini@oracle.com>
4296 * include/std/complex (pow(const complex<>&, int)): Do not define in
4297 C++0x mode, per DR 844.
4298 * include/tr1/complex (pow(const complex<>&, int)): Remove.
4299 * doc/xml/manual/intro.xml: Add an entry for DR 844.
4300 * testsuite/26_numerics/complex/dr844.cc: New.
4301 * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
4303 2008-06-11 Paolo Carlini <paolo.carlini@oracle.com>
4305 * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
4306 cend(size_type)): Add per DR 691.
4307 * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
4309 * testsuite/23_containers/unordered_multimap/requirements/
4310 cliterators.cc: Likewise.
4311 * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
4313 * testsuite/23_containers/unordered_multiset/requirements/
4314 cliterators.cc: Likewise.
4315 * doc/xml/manual/intro.xml: Add an entry for DR 691.
4317 2008-06-11 Matthias Klose <doko@ubuntu.com>
4319 * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
4320 Remove empty directories.
4322 2008-06-07 Joseph Myers <joseph@codesourcery.com>
4324 * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
4325 solaris2.5.[0-9], solaris2.6, windiss*): Remove.
4326 * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
4327 * configure: Regenerate.
4328 * config/os/solaris/solaris2.5: Remove directory.
4329 * config/os/solaris/solaris2.6: Remove directory.
4330 * config/os/windiss: Remove directory.
4332 2008-06-06 Benjamin Kosnik <bkoz@redhat.com>
4334 * doc/xml/manual/using.xml: Outline exception topics.
4336 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
4337 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
4338 policy_access_fn_imps.hpp: Same.
4339 * include/ext/pb_ds/priority_queue.hpp: Same.
4340 * include/ext/throw_allocator.h: Same.
4342 * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
4343 (sequence_tag): New tag. Doxygen markup fixes.
4345 * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
4347 * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
4348 comment typo, include paths, format.
4349 * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
4350 * testsuite/performance/ext/pb_ds/
4351 hash_random_int_erase_mem_usage.cc: Same.
4352 * testsuite/performance/ext/pb_ds/
4353 random_int_subscript_find_timing.cc: Same.
4354 * testsuite/performance/ext/pb_ds/
4355 priority_queue_text_push_timing.cc: Same.
4356 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
4357 * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
4358 * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
4359 * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
4360 * testsuite/performance/ext/pb_ds/
4361 priority_queue_random_int_push_timing.cc: Same.
4362 * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
4363 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
4364 * testsuite/performance/ext/pb_ds/
4365 priority_queue_text_push_pop_timing.cc: Same.
4366 * testsuite/performance/ext/pb_ds/
4367 priority_queue_text_join_timing.cc: Same.
4368 * testsuite/performance/ext/pb_ds/
4369 priority_queue_random_int_push_pop_timing.cc: Same.
4370 * testsuite/performance/ext/pb_ds/
4371 random_int_subscript_insert_timing.cc: Same.
4372 * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
4373 * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
4374 * testsuite/performance/ext/pb_ds/
4375 priority_queue_text_pop_mem_usage.cc: Same.
4376 * testsuite/performance/ext/pb_ds/
4377 hash_zlob_random_int_find_timing.cc: Same.
4378 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
4379 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
4380 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
4381 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
4382 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
4383 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
4384 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
4385 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
4386 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
4387 * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
4388 * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
4389 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
4390 * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
4391 * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
4392 * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
4393 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
4394 * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
4395 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
4396 * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
4397 * testsuite/util/regression/basic_type.hpp: Same.
4398 * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
4399 * testsuite/util/common_type/priority_queue/detail/
4400 ds_string_form.hpp: Same.
4401 * testsuite/util/common_type/assoc/string_form.hpp: Same.
4402 * testsuite/util/common_type/assoc/detail/
4403 resize_policy_string_form.hpp: Same.
4404 * testsuite/util/common_type/assoc/detail/
4405 trigger_policy_string_form.hpp: Same.
4406 * testsuite/util/common_type/assoc/detail/
4407 comb_hash_fn_string_form.hpp: Same.
4408 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
4409 * testsuite/util/common_type/assoc/detail/
4410 size_policy_string_form.hpp: Same.
4411 * testsuite/util/common_type/assoc/detail/
4412 probe_fn_string_form.hpp: Same.
4413 * testsuite/util/common_type/assoc/detail/
4414 list_update_policy_string_form.hpp: Same.
4415 * testsuite/util/common_type/assoc/detail/
4416 store_hash_string_form.hpp: Same.
4417 * testsuite/util/common_type/assoc/native_set.hpp: Same.
4418 * testsuite/util/io/prog_bar.cc: Same.
4420 * testsuite/util/regression/rand/io: Remove.
4421 * testsuite/util/regression/rand/io/priority_queue: Same.
4422 * testsuite/util/regression/rand/io/assoc: Same.
4423 * testsuite/util/regression/rand/io/priority_queue/
4424 xml_formatter.hpp: Consolidate this...
4425 * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
4426 * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
4427 * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
4429 * testsuite/util/regression/rand/priority_queue/
4430 container_rand_regression_test.hpp:To ...
4431 container_rand_regression_test.h: ... this.
4432 * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
4433 * testsuite/util/regression/rand/priority_queue/
4434 container_rand_regression_test.tcc: ... this.
4435 PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
4436 PB_DS_SET_DESTRUCT_PRINT: Fold inline.
4437 PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
4438 * testsuite/util/regression/rand/priority_queue/
4439 rand_regression_test.hpp: Adjust includes.
4441 * testsuite/util/regression/rand/assoc/
4442 container_rand_regression_test.hpp: To ...
4443 * testsuite/util/regression/rand/assoc/
4444 container_rand_regression_test.h: ... this.
4445 * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
4446 * testsuite/util/regression/rand/assoc/
4447 container_rand_regression_test.tcc: ...this.
4448 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
4451 * testsuite/util/regression/priority_queue: Remove.
4452 * testsuite/util/regression/assoc: Remove.
4453 * testsuite/util/regression/priority_queue/
4454 common_type.hpp: Consolidate this...
4455 * testsuite/util/regression/assoc/common_type.hpp: ... and this
4456 * testsuite/util/regression/common_type.hpp: ...here.
4458 * testsuite/util/rng: Remove.
4459 * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
4460 * testsuite/util/rng/twister_rand_gen.hpp: ... and this
4461 * testsuite/util/testsuite_rng.h: ...here.
4463 * testsuite/util/native_type/priority_queue: Remove.
4464 * testsuite/util/native_type/priority_queue/
4465 native_priority_queue.hpp: To...
4466 * testsuite/util/native_type/native_priority_queue.hpp: ...here.
4468 * testsuite/util/native_type/assoc: Remove.
4469 * testsuite/util/native_type/assoc/native_multimap.hpp: To...
4470 * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
4471 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
4472 * testsuite/util/native_type/assoc/native_set.hpp: To...
4473 * testsuite/util/native_type/assoc/native_map.hpp: To...
4474 * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
4475 * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
4476 * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
4477 * testsuite/util/native_type/native_multimap.hpp: ...here.
4478 * testsuite/util/native_type/native_tree_tag.hpp: ...here.
4479 * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
4480 * testsuite/util/native_type/native_set.hpp: ...here.
4481 * testsuite/util/native_type/native_map.hpp: ...here.
4482 * testsuite/util/native_type/native_hash_set.hpp: ...here.
4483 * testsuite/util/native_type/native_hash_tag.hpp: ...here.
4484 * testsuite/util/native_type/native_hash_map.hpp: ...here.
4486 * testsuite/util/common_type/priority_queue/common_type.hpp:
4487 Make include guard distinct.
4488 * testsuite/util/common_type/assoc/common_type.hpp: Same.
4490 2008-06-06 Joseph Myers <joseph@codesourcery.com>
4492 * configure.ac: Do not check for gconv.h.
4493 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
4494 gconf.h. For glibc and uClibc systems, define
4495 _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
4497 * configure, config.h.in: Regenerate.
4499 2008-06-06 Joseph Myers <joseph@codesourcery.com>
4501 * testsuite/17_intro/headers/all.cc,
4502 testsuite/17_intro/headers/all_c++200x_compatibility.cc,
4503 testsuite/17_intro/headers/all_pedantic_errors.cc,
4504 testsuite/ext/headers.cc: Only include
4505 <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
4506 _GLIBCXX_HAVE_ICONV.
4508 2008-06-05 Johannes Singler <singler@ira.uka.de>
4510 * include/parallel/random_shuffle.h:
4511 (parallel_random_shuffle_drs) Get the actual number of
4512 threads after entering the parallel region. Indentation.
4513 * include/parallel/algo.h: (random_shuffle(begin, end))
4514 Add namespace qualification to avoid ambiguity.
4516 2008-06-04 Benjamin Kosnik <bkoz@redhat.com>
4518 * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
4519 to allocator_type, as per existing conventions.
4520 * include/ext/pb_ds/detail/binomial_heap_base_/
4521 binomial_heap_base_.hpp: Same.
4522 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
4523 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
4524 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
4525 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
4526 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
4527 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
4528 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
4529 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
4530 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
4531 left_child_next_sibling_heap_.hpp: Same.
4532 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
4533 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
4534 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
4535 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
4536 * include/ext/pb_ds/detail/rc_binomial_heap_/
4537 rc_binomial_heap_.hpp: Same.
4538 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
4539 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
4540 * include/ext/pb_ds/list_update_policy.hpp: Same.
4541 * include/ext/pb_ds/exception.hpp: Same.
4542 * include/ext/pb_ds/tree_policy.hpp: Same.
4543 * include/ext/pb_ds/trie_policy.hpp: Same.
4544 * include/ext/pb_ds/priority_queue.hpp: Same.
4545 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
4546 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
4547 * testsuite/util/regression/rand/priority_queue/detail/
4548 defs_fn_imps.hpp: Same.
4549 * testsuite/util/regression/rand/priority_queue/detail/
4550 operator_fn_imps.hpp: Same.
4551 * testsuite/util/regression/rand/priority_queue/
4552 container_rand_regression_test.hpp: Same.
4553 * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
4554 * testsuite/util/regression/rand/assoc/detail/
4555 operator_fn_imps.hpp: Same.
4556 * testsuite/util/regression/rand/assoc/
4557 container_rand_regression_test.hpp: Same.
4558 * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
4559 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
4560 * testsuite/util/common_type/assoc/detail/
4561 tree_supports_order_statistics.hpp: Same.
4562 * testsuite/util/common_type/assoc/detail/
4563 trie_supports_prefix_search.hpp: Same.
4564 * testsuite/util/common_type/assoc/detail/
4565 trie_supports_order_statistics.hpp: Same.
4567 2008-06-02 Sandra Loosemore <sandra@codesourcery.com>
4568 Daniel Jacobowitz <dan@codesourcery.com>
4570 * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
4572 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
4573 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
4575 2008-06-02 Paolo Carlini <paolo.carlini@oracle.com>
4577 * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
4578 avoid a memory leak if the first __uninitialized_move_a throws.
4579 (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
4581 * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
4582 * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
4584 2008-05-31 Paolo Carlini <paolo.carlini@oracle.com>
4585 Chris Jefferson <chris@bubblescope.net>
4588 * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
4589 (pop_heap): Slightly tweak.
4591 2008-05-29 Paolo Carlini <paolo.carlini@oracle.com>
4593 * include/debug/bitset (bitset(const char*)): Implement DR 778
4596 * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
4597 deal with char16_t and char32_t.
4599 2008-05-26 Paolo Carlini <paolo.carlini@oracle.com>
4601 * include/c_global/cmath (pow(float, int), pow(double, int),
4602 pow(long double, int)): Do not define in C++0x mode, per DR 550.
4603 * include/tr1_impl/cmath (pow): Do not bring in unconditionally
4605 * include/tr1/cmath (pow(double, double), pow(float, float),
4606 pow(long double, long double), pow(_Tp, _Up)): Define.
4607 * include/tr1/complex (pow): Do not bring in from namespace std.
4608 (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
4609 const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
4610 pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
4611 * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
4612 const _Up&), pow(const _Tp&, const std::complex<_Up>&),
4613 pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
4615 * doc/xml/manual/intro.xml: Add an entry for DR 550.
4616 * testsuite/26_numerics/headers/cmath/dr550.cc: New.
4617 * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
4619 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
4621 * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
4622 * include/std/date_time: Likewise.
4623 * include/std/system_error: Likewise.
4624 * include/std/type_traits: Likewise; fix typo in macro name.
4625 * include/std/regex: Likewise.
4626 * include/std/random: Likewise.
4627 * include/std/unordered_map: Likewise.
4628 * include/std/condition_variable: Likewise.
4629 * include/std/unordered_set: Likewise.
4630 * include/std/mutex: Likewise.
4631 * include/std/array: Likewise.
4633 * include/c_std/cmath: Fix obsolete comment.
4634 * include/c_global/cmath: Likewise.
4636 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
4638 * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
4639 complex<float>::real(float), complex<float>::imag(float),
4640 complex<double>::real(double), complex<double>::imag(double),
4641 complex<long double>::real(long double),
4642 complex<long double>::imag(long double)): Add per DR 387.
4643 (complex<>::real(), complex<>::imag(), complex<float>::real(),
4644 complex<float>::imag(), complex<double>::real(),
4645 complex<double>::imag(), complex<long double>::real(),
4646 complex<long double>::imag(long double)): Adjust in C++0x mode.
4647 (real(complex<>&), imag(complex<>&), real(const complex<>&),
4648 imag(const complex<>&)): Likewise.
4649 * testsuite/26_numerics/complex/dr387.cc: New.
4650 * doc/xml/manual/intro.xml: Add an entry for DR 387.
4652 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
4654 * include/std/complex: Trivial stylistic changes, define inline
4655 members inline, consistently with the rest of the library.
4656 (pow(const _Tp&, const complex<>&)): Minor tweak.
4658 2008-05-24 Paolo Carlini <paolo.carlini@oracle.com>
4660 * src/atomic.cc (atomic_flag_test_and_set_explicit,
4661 atomic_flag_clear_explicit): Suppress unused parameter warnings.
4663 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
4665 * include/std/tuple: Replace int -> size_t throughout per DR 775.
4666 * include/tr1_impl/array: Likewise.
4667 * include/tr1_impl/utility: Likewise.
4668 * doc/xml/manual/intro.xml: Add an entry for DR 775.
4670 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
4672 * doc/xml/manual/intro.xml: Adjust links to ISO documents.
4674 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
4676 * include/c_std/cmath (fpclassify): Use __builtin_fpclassify.
4677 * include/c_global/cmath (fpclassify): Likewise.
4679 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
4681 * include/tr1_impl/hashtable_policy.h (_Map_base<,,
4682 std::_Select1st<_Pair>, true,>::at): Add per DR 761.
4683 * testsuite/23_containers/unordered_map/dr761.cc: New.
4684 * doc/xml/manual/intro.xml: Add an entry for DR 761.
4686 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
4688 * testsuite/26_numerics/complex/dr781.cc: Add test variable.
4690 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
4692 * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
4694 * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to...
4695 * include/tr1/complex: ... here.
4696 * doc/xml/manual/intro.xml: Add an entry for DR 781.
4697 * testsuite/26_numerics/complex/dr781.cc: Add.
4698 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update.
4699 * configure: Regenerate.
4701 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
4703 * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778.
4704 (bitset<>::_M_copy_from_ptr): Add.
4705 (bitset<>::_M_copy_from_string): Forward to the latter.
4706 * doc/xml/manual/intro.xml: Add an entry for DR 778.
4707 * testsuite/23_containers/bitset/cons/2.cc: Add.
4709 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
4711 * doc/html/ext/lwg-active.html: Update to Revision R56.
4712 * doc/html/ext/lwg-closed.html: Likewise.
4713 * doc/html/ext/lwg-defects.html: Likewise.
4715 2008-05-20 Paolo Carlini <paolo.carlini@oracle.com>
4717 PR c++/33979 (partial)
4718 * include/tr1_impl/functional_hash.h (hash<char16_t>,
4719 hash<char32_t>): Add specializations.
4720 * include/tr1_impl/type_traits (is_integral<char16_t>,
4721 is_integral<char32_t>): Likewise.
4722 * include/std/limits (numeric_limits<char16_t>,
4723 numeric_limits<char32_t>): Likewise.
4724 * src/limits_c++0x.cc: Add.
4725 * src/Makefile.am: Update.
4726 * testsuite/20_util/hash/requirements/explicit_instantiation.cc:
4728 * testsuite/20_util/is_integral/value.cc: New.
4729 * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise.
4730 * testsuite/20_util/is_integral/requirements/
4731 explicit_instantiation.cc: Likewise.
4732 * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise.
4733 * config/abi/pre/gnu.ver: Export new numeric_limits symbols at
4735 * configure: Regenerate.
4736 * src/Makefile.in: Likewise.
4737 * config.h.in: Likewise.
4739 2008-05-16 Benjamin Kosnik <bkoz@redhat.com>
4741 * include/std/system_error: Align to current draft specifications.
4742 * src/system_error.cc: Same.
4743 * src/functexcept.cc: Adjust for corrected system_error construction.
4744 * include/std/ostream: Adjust error_code inserter.
4745 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
4746 * config/abi/pre/gnu.ver: Add new exports.
4748 * testsuite/util/testsuite_error.h: Consolidate error testing
4750 * testsuite/19_diagnostics/error_code/cons/1.cc: Use
4751 testsuite_error, adjust line numbers and constructor calls.
4752 * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
4753 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
4754 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
4755 * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
4756 * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
4757 * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
4758 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
4760 * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
4761 * testsuite/19_diagnostics/system_error/what-1.cc: Same.
4762 * testsuite/19_diagnostics/system_error/what-2.cc: Same.
4763 * testsuite/19_diagnostics/system_error/what-big.cc: Same.
4764 * testsuite/19_diagnostics/system_error/what-3.cc: Same.
4765 * testsuite/19_diagnostics/system_error/what-4.cc: Same.
4767 2008-05-15 Bernd Schmidt <bernd.schmidt@analog.com>
4769 * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
4770 * configure: Regenerate.
4772 2008-05-15 Johannes Singler <singler@ira.uka.de>
4774 * xml/manual/parallel_mode.xml:
4775 General revision and documentation of new compile-time
4776 options for sorting.
4778 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
4780 * include/std/mutex (mutex::try_lock): Eat errors.
4781 (mutex::unlock): Same.
4782 (recursive_mutex::try_lock): Eat errors.
4783 (recursive_mutex::unlock): Same.
4784 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add
4785 -pthreads, adjust line numbers.
4786 * testsuite/30_threads/mutex/native_handle/1.cc: Same.
4787 * testsuite/30_threads/mutex/cons/1.cc: Same.
4788 * testsuite/30_threads/mutex/try_lock/1.cc: Same.
4789 * testsuite/30_threads/mutex/try_lock/2.cc: Same.
4790 * testsuite/30_threads/mutex/lock/1.cc: Same.
4791 * testsuite/30_threads/mutex/unlock/1.cc: Same.
4792 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same.
4793 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same.
4794 * testsuite/30_threads/recursive_mutex/cons/1.cc: Same.
4796 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
4798 * include/std/sstream: Adjust braces.
4799 * include/bits/fstream.tcc: Same.
4800 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add
4802 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
4804 * doc/doxygen/user.cfg.in: Remove thread include.
4806 2008-05-13 David Daney <ddaney@avtrex.com>
4808 * config/cpu/mips/atomicity.h: Remove file.
4809 * config/cpu/mips: Remove directory.
4810 * configure.host: Remove host specific handling for mips*-*-*.
4812 2008-05-12 Stefano Soffia <soffia@cs.unipr.it>
4813 Paolo Carlini <paolo.carlini@oracle.com>
4815 * include/debug/vector (vector<>::_M_requires_reallocation): Just
4816 use this->capacity().
4817 (vector<>::capacity): Move non-pedantic / pedantic logic here.
4818 * testsuite/23_containers/vector/
4819 debug_mode_requires_reallocation-2.cc: New.
4821 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
4822 Rename to debug_mode_requires_reallocation-1.cc
4824 2008-05-10 Roberto Bagnara <bagnara@cs.unipr.it>
4825 Paolo Carlini <paolo.carlini@oracle.com>
4827 * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
4828 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
4831 2008-05-07 Johannes Singler <singler@ira.uka.de>
4833 * include/parallel/quicksort.h:
4834 (parallel_sort_qs_conquer) Explicitly request number of threads
4835 in the parallel clause.
4836 (parallel_sort_qs) Remove setting the number of threads globally.
4838 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
4840 * include/std/mutex (mutex::mutex): Fix usage of initializing macro.
4841 (recursive_mutex::recursive_mutex): Same.
4842 (once_flag::once_flag): Same.
4843 * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers.
4844 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
4845 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
4846 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
4848 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
4850 * include/std/condition_variable: New.
4851 * include/std/mutex: New.
4852 * src/condition_variable.cc: New.
4853 * src/mutex.cc: New.
4854 * include/bits/functexcept.h: Add __throw_system_error varients.
4855 * src/functexcept.cc: Same.
4856 * config/abi/pre/gnu.ver: Add exports.
4858 * doc/xml/manual/using.xml: Add new includes.
4859 * doc/doxygen/user.cfg.in: Doxygen support.
4860 * doc/doxygen/doxygroups.cc: Same.
4862 * include/Makefile.am: Add mutex, condition_variable.
4863 * include/Makefile.in: Regenerated.
4864 * src/Makefile.am: Add mutex.cc, condition_variable.cc.
4865 * src/Makefile.in: Regenerated.
4867 * testsuite/30_threads: New.
4868 * testsuite/30_threads/lock_error: New.
4869 * testsuite/30_threads/mutex: New.
4870 * testsuite/30_threads/mutex/dest: New.
4871 * testsuite/30_threads/mutex/dest/destructor_locked.cc: New.
4872 * testsuite/30_threads/mutex/native_handle: New.
4873 * testsuite/30_threads/mutex/native_handle/1.cc: New.
4874 * testsuite/30_threads/mutex/cons: New.
4875 * testsuite/30_threads/mutex/cons/assign_neg.cc: New.
4876 * testsuite/30_threads/mutex/cons/1.cc: New.
4877 * testsuite/30_threads/mutex/cons/copy_neg.cc: New.
4878 * testsuite/30_threads/mutex/requirements: New.
4879 * testsuite/30_threads/mutex/requirements/typedefs.cc: New.
4880 * testsuite/30_threads/mutex/try_lock: New.
4881 * testsuite/30_threads/mutex/try_lock/1.cc: New.
4882 * testsuite/30_threads/mutex/try_lock/2.cc: New.
4883 * testsuite/30_threads/mutex/lock: New.
4884 * testsuite/30_threads/mutex/lock/1.cc: New.
4885 * testsuite/30_threads/mutex/unlock: New.
4886 * testsuite/30_threads/mutex/unlock/1.cc: New.
4887 * testsuite/30_threads/recursive_mutex: New.
4888 * testsuite/30_threads/recursive_mutex/dest: New.
4889 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New.
4890 * testsuite/30_threads/recursive_mutex/native_handle: New.
4891 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New.
4892 * testsuite/30_threads/recursive_mutex/cons: New.
4893 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New.
4894 * testsuite/30_threads/recursive_mutex/cons/1.cc: New.
4895 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New.
4896 * testsuite/30_threads/recursive_mutex/requirements: New.
4897 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New.
4898 * testsuite/30_threads/lock_guard: New.
4899 * testsuite/30_threads/lock_guard/requirements: New.
4900 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New.
4901 * testsuite/30_threads/lock_guard/requirements/
4902 explicit_instantiation.cc: New.
4903 * testsuite/30_threads/headers: New.
4904 * testsuite/30_threads/headers/mutex: New.
4905 * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New.
4906 * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New.
4907 * testsuite/30_threads/headers/condition_variable: New.
4908 * testsuite/30_threads/headers/condition_variable/
4909 types_std_c++0x.cc: New.
4910 * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New.
4911 * testsuite/30_threads/once_flag: New.
4912 * testsuite/30_threads/unique_lock: New.
4913 * testsuite/30_threads/unique_lock/requirements: New.
4914 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New.
4915 * testsuite/30_threads/unique_lock/requirements/
4916 explicit_instantiation.cc: New.
4917 * testsuite/17_intro/headers/c++200x/all.cc: Add new includes.
4919 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
4922 * include/bits/c++config: Namespace macros and setup only in C++.
4923 * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.
4925 2008-05-06 Johannes Singler <singler@ira.uka.de>
4927 * include/parallel/multiway_merge.h:
4928 (multiway_merge_*_unguarded):
4929 Pass sentinel directly, to allow correct determination.
4930 (multiway_merge_loser_tree_unguarded):
4931 Remove over-cautious assertion.
4932 (calls to multiway_merge_*_splitting):
4933 Parametrize with type that is correct in all cases.
4934 * include/parallel/losertree.h:
4935 (delete_min_insert (in many classes)):
4936 Correct and standardize assertions.
4938 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
4940 * testsuite/util/testsuite_visualization.h: Move contents into...
4941 * testsuite/util/testsuite_performance.h: ...here.
4942 * testsuite/util/testsuite_common_types.h: Move
4943 performance-related test infrastructure into
4944 testsuite_performance.
4945 * testsuite/performance/25_algorithms/search_n.cc: Fix includes.
4946 * testsuite/performance/23_containers/find/map.cc: Same.
4947 * testsuite/performance/23_containers/create/map.cc: Same.
4948 * testsuite/performance/23_containers/insert_erase/associative.cc: Same.
4949 * testsuite/performance/23_containers/insert/sequence.cc: Same.
4950 * testsuite/performance/23_containers/insert/associative.cc: Same.
4951 * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
4952 * testsuite/performance/23_containers/index/map.cc: Same.
4953 * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
4954 * testsuite/performance/23_containers/create_sort/list.cc: Same.
4955 * testsuite/performance/23_containers/sort_search/list.cc: Same.
4956 * testsuite/performance/23_containers/producer_consumer/sequence.cc:
4958 * testsuite/performance/23_containers/producer_consumer/associative.cc:
4961 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
4962 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
4964 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
4966 * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements.
4967 * 20_util/make_unsigned/requirements/typedefs-1.cc: Same.
4969 2008-05-01 Benjamin Kosnik <bkoz@redhat.com>
4971 * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
4973 2008-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4975 * include/Makefile.am (install-headers): Cope with empty
4977 * include/Makefile.in: Regenerate.
4979 2008-04-29 Benjamin Kosnik <bkoz@redhat.com>
4981 * include/bits/c++config: Remove space between '#' and 'undef' for
4982 _GLIBCXX_LONG_DOUBLE_COMPAT.
4984 2008-04-29 Joseph Myers <joseph@codesourcery.com>
4986 * Makefile.am (install-html, install-pdf): Add dummy targets.
4987 * Makefile.in: Regenerate.
4988 * doc/Makefile.am (install-html, install-pdf): Remove.
4989 * doc/Makefile.in: Regenerate.
4991 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
4993 * include/bits/c++config: Move os_defines and cpu_defines after
4994 namespace definitions and base macros.
4996 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
4999 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just
5001 * configure: Regenerate.
5003 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
5006 * include/std/unordered_map: Include debug/unordered_map if
5008 * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
5009 * testsuite/23_containers/unordered_map/requirements/
5010 debug_container.cc: ...here.
5011 * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New.
5012 * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
5013 * testsuite/23_containers/unordered_set/requirements/
5014 debug_container.cc: ...here.
5015 * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New.
5017 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
5020 * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support.
5021 * configure.ac: Re-order compiler macros.
5022 * configure: Regenerated.
5024 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
5027 * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL.
5028 Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS.
5029 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp.
5030 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information.
5031 * configure: Regenerate.
5032 * include/Makefile.am (parallel_headers): Make conditional on
5034 * include/Makefile.in: Regenerate.
5036 2008-04-24 Paolo Carlini <pcarlini@suse.de>
5039 * include/debug/list (merge): Use _M_transfer_iter, consistently
5040 with the splice members.
5041 * testsuite/23_containers/list/operations/35969.cc: New.
5043 * testsuite/23_containers/list/operators: Rename to
5044 testsuite/23_containers/list/operations.
5046 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
5048 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of
5049 all used __sync builtins, in two sizes.
5050 * config.h.in: Regenerate.
5051 * configure: Regenerate.
5052 * src/atomic.cc: Use _GLIBCXX_ATOMIC_BUILTINS_1.
5053 * include/ext/atomicity.h: Use _GLIBCXX_ATOMIC_BUILTINS_4.
5054 * libsupc++/guard.cc: Use _GLIBCXX_ATOMIC_BUILTINS_4.
5055 * doc/xml/manual/concurrency.xm: Update docs.
5057 2008-04-23 Benjamin Kosnik <bkoz@redhat.com>
5059 * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
5060 _GLIBCXX_BEGIN_EXTERN_C, etc.
5062 2008-04-23 Johannes Singler <singler@ira.uka.de>
5064 * include/parallel/quicksort.h: Reformat,
5065 (parallel_sort_qs): Do not pass number of elements.
5066 * include/parallel/balanced_quicksort.h: Reformat,
5067 (parallel_sort_qsb): Do not pass number of elements.
5068 * include/parallel/tags.h:
5069 Introduce new tags for compile-time choice.
5070 * include/parallel/merge.h:
5071 (parallel_merge_advance):Beautified.
5072 * include/parallel/algo.h: Reformatting (spaces for tabs)
5073 New sort and stable_sort variants, corresponding to the tags.
5074 * include/parallel/sort.h:
5075 New sort and stable_sort variants, corresponding to the tags.
5076 Changed determining the desired number of threads.
5078 2008-04-23 Johannes Singler <singler@ira.uka.de>
5080 * include/parallel/multiway_merge.h
5081 (multiway_merge_loser_tree):
5082 Leave checks to callers, add precondition instead.
5083 (multiway_merge_loser_tree_unguarded): Likewise.
5084 (multiway_merge_loser_tree_sentinel): Likewise.
5085 (sequential_multiway_merge): Added checks for total length 0.
5086 (parallel_multiway_merge): Skip empty sequences.
5087 (multiway_merge, all variants):
5088 Remove temporary variable, return directly.
5089 (stable_multiway_merge, all variants): Likewise.
5090 (multiway_merge_sentinels, all variants): Likewise.
5091 (stable_multiway_merge_sentinels, all variants): Likewise.
5092 * include/parallel/multiseq_selection.h
5093 (multiseq_partition): More detailed assertions.
5095 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5097 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
5098 (GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
5099 (GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
5100 (GLIBCXX_CHECK_SYSTEM_ERROR): Likewise. Factorize.
5101 * configure: Regenerate.
5103 2008-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5106 * include/Makefile.am (pch*_output): Do not touch pch*_output_anchor.
5107 Call 'mkdir -p' unconditionally, but ignore its return value.
5108 * include/Makefile.in: Regenerate.
5110 * include/Makefile.am: Fix most stamp rules to regenerate
5111 the links for all sources newer than the stamp file.
5112 * include/Makefile.in: Regenerate.
5113 * Makefile.in: Likewise.
5114 * src/Makefile.in: Likewise.
5115 * doc/Makefile.in: Likewise.
5116 * po/Makefile.in: Likewise.
5117 * libmath/Makefile.in: Likewise.
5118 * libsupc++/Makefile.in: Likewise.
5119 * testsuite/Makefile.in: Likewise.
5121 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
5124 * aclocal.m4: Regenerate.
5125 * configure: Regenerate.
5127 2008-04-16 Andreas Tobler <a.tobler@schweiz.org>
5130 * configure.ac: Use GCC_HEADER_STDINT.
5131 * src/atomic.cc: Include gstdint.h
5132 * configure: Regenerate.
5133 * Makefile.in: Likewise.
5134 * doc/Makefile.in: Likewise.
5135 * include/Makefile.in: Likewise.
5136 * libmath/Makefile.in: Likewise.
5137 * libsupc++/Makefile.in: Likewise.
5138 * po/Makefile.in: Likewise.
5139 * src/Makefile.in: Likewise.
5140 * testsuite/Makefile.in: Likewise.
5141 * aclocal.m4: Likewise.
5143 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
5146 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Set CXXFLAGS to
5147 -O0 when checking for atomic builtins.
5148 * configure: Regenerate.
5150 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
5152 * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
5154 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
5156 * doc/html/*: Regenerate.
5158 2008-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5160 * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
5161 * doc/xml/authors.xml: Fix typos.
5162 * doc/xml/faq.xml: Likewise.
5163 * doc/xml/manual/abi.xml: Likewise.
5164 * doc/xml/manual/allocator.xml: Likewise.
5165 * doc/xml/manual/appendix_contributing.xml: Likewise.
5166 * doc/xml/manual/backwards_compatibility.xml: Likewise.
5167 * doc/xml/manual/build_hacking.xml: Likewise.
5168 * doc/xml/manual/codecvt.xml: Likewise.
5169 * doc/xml/manual/concurrency.xml: Likewise.
5170 * doc/xml/manual/ctype.xml: Likewise.
5171 * doc/xml/manual/debug_mode.xml: Likewise.
5172 * doc/xml/manual/diagnostics.xml: Likewise.
5173 * doc/xml/manual/evolution.xml: Likewise.
5174 * doc/xml/manual/extensions.xml: Likewise.
5175 * doc/xml/manual/locale.xml: Likewise.
5176 * doc/xml/manual/messages.xml: Likewise.
5177 * doc/xml/manual/parallel_mode.xml: Likewise.
5178 * doc/xml/manual/status_cxx200x.xml: Likewise.
5179 * doc/xml/manual/strings.xml: Likewise.
5180 * doc/xml/manual/support.xml: Likewise.
5181 * doc/xml/manual/test.xml: Likewise.
5182 * doc/xml/manual/using.xml: Likewise.
5184 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
5185 Johannes Singler <singler@ira.uka.de>
5187 * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
5188 insertors. Correct omp_set_num_threads example.
5190 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
5192 * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
5193 * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
5194 * src/atomic.c: Format, doxygen markup, edits.
5196 * include/Makefile.am (cstdatomic, stdatomic.h): Add.
5197 * src/Makefile.am (atomic.c): Add.
5198 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
5199 * configure.ac: Call it.
5200 * include/Makefile.in: Regenerate.
5201 * src/Makefile.in: Same.
5202 * Makefile.in: Same.
5203 * doc/Makefile.in: Same.
5204 * po/Makefile.in: Same.
5205 * libmath/Makefile.in: Same.
5206 * include/Makefile.in: Same.
5207 * testsuite/Makefile.in: Same.
5208 * libsupc++/Makefile.in: Same.
5209 * config.h.in: Same.
5212 * config/abi/pre/gnu.ver: Add atomics exports.
5214 * include/ext/typelist.h (apply_generator): New.
5215 * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
5216 (_GLIBCXX_END_EXTERN_C): New.
5217 Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
5219 * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
5221 * testsuite/util/testsuite_common_types.h (integral_types): New
5223 (atomics, atomics_tl): Same.
5224 (assignable, default_constructible, copy_constructible,
5225 explicit_value_constructible): New.
5226 * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
5227 * testsuite/29_atomics: New.
5228 * testsuite/29_atomics/atomic_address: Same.
5229 * testsuite/29_atomics/atomic_address/cons: Same.
5230 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
5231 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
5232 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
5233 * testsuite/29_atomics/atomic_address/cons/default.cc: Same.
5234 * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
5235 * testsuite/29_atomics/atomic_flag: Same.
5236 * testsuite/29_atomics/atomic_flag/cons: Same.
5237 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
5238 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
5239 * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
5240 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
5241 * testsuite/29_atomics/atomic_flag/requirements: Same.
5242 * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
5244 * testsuite/29_atomics/atomic_flag/
5245 atomic_global_fence_compatibility.cc: Same.
5246 * testsuite/29_atomics/atomic_flag/test_and_set: Same.
5247 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
5248 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
5249 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
5250 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
5251 * testsuite/29_atomics/headers: Same.
5252 * testsuite/29_atomics/headers/cstdatomic: Same.
5253 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
5254 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
5255 * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
5256 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
5257 * testsuite/29_atomics/headers/stdatomic.h: Same.
5258 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
5259 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
5260 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
5261 * testsuite/29_atomics/atomic: Same.
5262 * testsuite/29_atomics/atomic/cons: Same.
5263 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
5264 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
5265 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
5266 * testsuite/29_atomics/atomic/cons/default.cc: Same.
5267 * testsuite/29_atomics/atomic/requirements: Same.
5268 * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
5269 * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
5272 2008-04-10 Lawrence Crowl <crowl@google.com>
5274 * include/c_global/cstdatomic: New.
5275 * include/c_compatibility/stdatomic.h: New.
5276 * src/atomic.c: New.
5278 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
5280 * include/std/tuple: Consistency check for include guard, doxygen
5282 * include/std/date_time: Same.
5283 * include/std/type_traits: Same.
5284 * include/std/regex: Same.
5285 * include/std/array: Same.
5286 * include/std/system_error: Same, add error_code ctor.
5288 2008-04-07 Johannes Singler <singler@ira.uka.de>
5290 * include/parallel/multiway_merge.h: Moved decisions to
5291 compile-time instead of run-time.
5292 * include/parallel/losertree.h: Removed obsolete variants, added
5293 variant that uses pointers in the loser tree.
5294 * include/parallel/types.h: Remove obsolete settings options from enum.
5295 * include/parallel/features.h: Remove obsolete compile-time switches.
5296 * include/parallel/compiletime_settings.h: Remove obsolete variant
5297 that copies back *after* sorting.
5298 * include/parallel/tags.h: Add one new tag for compile-time switch.
5299 * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
5300 * include/parallel/multiway_mergesort.h: Adapt to changes in
5301 multiway_merge.h. Factor out splitting variants. Remove obsolete
5302 variant that copies back *after* sorting.
5303 * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
5304 * testsuite/25_algorithms/sort/35588.cc: Added test case from /
5307 2008-03-29 Paolo Carlini <pcarlini@suse.de>
5310 * include/bits/stl_algobase.h (__fill_a(_ForwardIterator,
5311 _ForwardIterator, _Tp), __fill_a(_Tp*, _Tp*, _Tp),
5312 __fill_n_a(_OutputIterator, _Size, _Tp), __fill_n_a(_Tp*, _Size,
5313 _Tp)): Fix signatures.
5314 * testsuite/25_algorithms/fill/35725.cc: New.
5315 * testsuite/25_algorithms/fill_n/35725.cc: Likewise.
5317 2008-03-29 Matthias Klose <doko@ubuntu.com>
5319 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
5320 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise.
5321 * config/abi/post/mips-linux-gnu/baseline_symbols.txt: Likewise.
5322 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Likewise.
5324 2008-03-27 Ian Lance Taylor <iant@google.com>
5326 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
5327 glibcxx_ld_is_gold. Check for gold in --gc-sections test.
5328 (GLIBCXX_ENABLE_SYMVERS): Check for gold.
5329 * aclocal.m4, configure: Rebuild.
5331 2008-03-26 Benjamin Kosnik <bkoz@redhat.com>
5333 * testsuite/util/testsuite_abi.h: Remove symbol_objects,
5334 symbol_names typedefs.
5335 * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check
5336 for long double compatiblity symbols, simplify data structures used.
5338 2008-03-25 Benjamin Kosnik <bkoz@redhat.com>
5340 * scripts/run_doxygen: Remove html_output_dir. Downgrade to
5342 * doc/doxygen/style.css: Delete.
5343 * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1.
5345 (PREDEFINED): Update.
5346 (HTML_OUTPUT): Remove html_output_dir, use html.
5347 (HTML_STYLESHEET): Remove style.css.
5348 * doc/doxygen/tables.html: Remove style.css use.
5349 * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes.
5350 * doc/doxygen/doxygroups.cc: Namespace edits.
5351 * doc/doxygen/Intro.3: Correct typo.
5353 * doc/xml/api.xml: Add gcc-4.3 links.
5354 * doc/html/api.html: Regenerate.
5356 * include/debug/debug.h: Document namepaces here.
5357 * include/parallel/base.h: Same.
5358 * include/ext/typelist.h: Same.
5359 * include/ext/pb_ds/tag_and_trait.hpp: Same.
5361 * include/tr1_impl/random: Adjust line break.
5362 * include/tr1_impl/unordered_map: Correct and or add markup.
5363 * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup.
5364 * include/tr1_impl/functional_hash.h: Same.
5365 * include/tr1_impl/cmath: Same.
5366 * include/tr1_impl/functional: Same.
5367 * include/tr1_impl/unordered_set: Same.
5368 * include/tr1_impl/complex: Same.
5369 * include/tr1_impl/type_traits: Same.
5370 * include/tr1_impl/regex: Same.
5371 * include/tr1_impl/array: Same.
5372 * include/std/tuple: Same.
5373 * include/std/date_time: Same.
5374 * include/std/system_error: Same.
5375 * include/std/type_traits: Same.
5376 * include/ext/enc_filebuf.h: Same.
5377 * include/ext/throw_allocator.h: Same.
5378 * include/ext/pool_allocator.h: Same.
5379 * include/ext/bitmap_allocator.h: Same.
5380 * include/ext/concurrence.h: Same.
5381 * include/ext/codecvt_specializations.h: Same.
5382 * include/ext/stdio_sync_filebuf.h: Same.
5383 * include/ext/array_allocator.h: Same.
5384 * include/ext/mt_allocator.h: Same.
5385 * include/bits/locale_classes.h: Same.
5386 * include/bits/locale_facets.h: Same.
5387 * include/bits/codecvt.h: Same.
5388 * include/bits/char_traits.h: Same.
5389 * include/bits/allocator.h: Same.
5390 * include/bits/locale_facets_nonio.h: Same.
5391 * include/tr1/poly_laguerre.tcc: Same.
5392 * include/tr1/riemann_zeta.tcc: Same.
5393 * include/tr1/beta_function.tcc: Same.
5394 * include/tr1/tuple: Same.
5395 * include/tr1/exp_integral.tcc: Same.
5396 * include/tr1/gamma.tcc: Same.
5397 * include/tr1/hypergeometric.tcc: Same.
5398 * include/tr1/modified_bessel_func.tcc: Same.
5399 * include/tr1/legendre_function.tcc: Same.
5400 * include/tr1/type_traits: Same.
5401 * include/tr1/special_function_util.h: Same.
5402 * include/tr1/bessel_function.tcc: Same.
5403 * include/tr1/cmath: Same.
5404 * include/tr1/poly_hermite.tcc: Same.
5405 * include/tr1/ell_integral.tcc: Same.
5406 * config/abi/compatibility.h: Adjust file name.
5408 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
5410 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
5411 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
5413 2008-03-23 Paolo Carlini <pcarlini@suse.de>
5415 * doc/xml/faq.xml: Fix various links.
5416 * doc/xml/api.xml: Likewise.
5417 * doc/xml/manual/parallel_mode.xml: Likewise.
5418 * doc/html/faq.html: Regenerate.
5419 * doc/html/api.html: Likewise.
5420 * doc/html/manual/bk01pt12ch31s03.html: Likewise.
5422 2008-03-20 Benjamin Kosnik <bkoz@redhat.com>
5424 * testsuite/util/testsuite_abi.cc: Add support for not counting
5425 GLIBCXX_LDBL_* compat symbols missing if no long double compat
5428 2008-03-20 Paolo Carlini <pcarlini@suse.de>
5431 * include/tr1_impl/type_traits (struct __in_array): Add back.
5432 (is_function): Use it.
5433 * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New.
5435 2008-03-20 Johannes Singler <singler@ira.uka.de>
5437 * include/parallel/set_operations.h (set_intersection): Remove.
5439 2008-03-19 Benjamin Kosnik <bkoz@redhat.com>
5442 * doc/xml/manual/parallel_mode.xml: Correct configuration documentation.
5443 * doc/html/manual/bk01pt12ch31s04.html: Regenerate.
5445 2008-03-18 Benjamin Kosnik <bkoz@redhat.com>
5447 * configure.ac (libtool_VERSION): To 6:11:0.
5448 * configure: Regenerate.
5449 * aclocal.m4: Regenerate.
5451 2008-03-16 Paolo Carlini <pcarlini@suse.de>
5453 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
5455 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
5456 * include/precompiled/stdc++.h: Likewise.
5458 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
5460 * include/std/date_time: New file.
5461 * src/date_time.cc: New file.
5462 * config/abi/pre/gnu.ver: Added <date_time> symbols in version
5463 GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4
5464 that matched new symbols.
5465 * include/Makefile.am: Add date_time in std headers.
5466 * src/Makefile.am: Add date_time.cc to source files.
5467 * include/Makefile.in: Regenerate.
5468 * src/Makefile.in: Likewise.
5470 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
5472 * testsuite/31_date_time/headers/date_time/types_std.cc: New.
5473 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
5474 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
5475 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
5476 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
5477 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
5478 * testsuite/31_date_time/system_time/requirements: Likewise.
5479 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
5481 2008-03-16 Paolo Carlini <pcarlini@suse.de>
5483 * config.h.in: Regenerate.
5485 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5487 * aclocal.m4: Regenerate.
5488 * configure: Likewise.
5489 * Makefile.in: Likewise.
5490 * doc/Makefile.in: Likewise.
5491 * include/Makefile.in: Likewise.
5492 * libmath/Makefile.in: Likewise.
5493 * libsupc++/Makefile.in: Likewise.
5494 * po/Makefile.in: Likewise.
5495 * src/Makefile.in: Likewise.
5496 * testsuite/Makefile.in: Likewise.
5498 2008-03-13 Dennis Czeremin <dennis.czeremin@smiths-heimann.com>
5501 * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
5502 _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
5504 2008-03-13 Paolo Carlini <pcarlini@suse.de>
5507 * include/debug/functions.h (__check_sorted_set_aux): Fix signature.
5508 * testsuite/25_algorithms/set_difference/35541.cc: New.
5510 2008-03-07 Jakub Jelinek <jakub@redhat.com>
5512 * config/abi/pre/gnu.ver: Move <system_error> related
5513 symbols to GLIBCXX_3.4.11 symbol version.
5514 * testsuite/util/testsuite_abi.cc (check_version): Allow
5517 2008-03-06 Chris Jefferson <chris@bubblescope.net>
5518 Paolo Carlini <pcarlini@suse.de>
5521 * include/tr1/tuple (operator==, operator<): Fix.
5522 * include/std/tuple (operator==, operator<): Likewise.
5523 * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New.
5524 * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise.
5526 2008-03-04 Joseph Myers <joseph@codesourcery.com>
5528 * crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
5530 * configure: Regenerate.
5532 2008-03-02 Hans-Peter Nilsson <hp@axis.com>
5534 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
5535 testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
5536 Mark changed error message prelude, adding "in file included from",
5537 using dg-excess-errors.
5539 2008-03-01 Jakub Jelinek <jakub@redhat.com>
5541 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
5542 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
5543 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
5544 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
5545 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
5547 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
5548 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
5550 2008-02-29 Jakub Jelinek <jakub@redhat.com>
5552 * config/abi/pre/gnu.ver: Remove
5553 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_3.4.10 and
5554 _ZNKSt4hashIgEclEg@@GLIBCXX_3.4.10 export.
5555 * config/os/gnu-linux/ldbl-extra.ver: Export
5556 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_LDBL_3.4.10
5557 and _ZNKSt4hashIgEclEg@@GLIBCXX_LDBL_3.4.10.
5558 * src/hash.cc: Only define long double hash specialization if
5559 _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL is defined.
5560 * src/compatibility-ldbl.cc: Include "hash.cc".
5561 (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define.
5562 (_ZNKSt4hashIeEclEe): New alias.
5563 * testsuite/util/testsuite_abi.cc (check_version): Support
5564 GLIBCXX_LDBL_3.4.10.
5566 2008-02-25 Jan Beulich <jbeulich@novell.com>
5568 * acinclude.m4: Also check for EIDRM and ETXTBSY.
5569 * configure: Re-generate.
5570 * config/os/generic/error_constants.h (namespace posix_error):
5571 Also wrap uses of EIDRM and ETXTBSY in conditionals.
5572 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
5575 2008-02-20 Jason Merrill <jason@redhat.com>
5577 * include/bits/c++config: Use 'inline namespace' instead of
5580 2008-02-18 Pedro Lamarao <pedro.lamarao@mndfck.org>
5582 * include/std/tuple: Fixes for moveable, non-copyable types.
5583 * testsuite/20_util/tuple/moveable2.cc: New.
5585 2008-02-18 Paolo Carlini <pcarlini@suse.de>
5587 * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.
5589 2008-02-17 Ed Smith-Rowland <3dw4rd@verizon.net>
5591 * include/tr1/poly_laguerre.tcc: Doxygen fixes.
5592 * include/tr1/exp_integral.tcc: Same.
5593 * include/tr1/gamma.tcc: Same.
5594 * include/tr1/hypergeometric.tcc: Same.
5596 2008-02-17 Benjamin Kosnik <bkoz@redhat.com>
5599 * include/parallel/settings.h (_Settings): Reconstruct Settings class
5600 here, uglify, remove anonymous namespace and static
5601 members. Convert to datum.
5602 * include/parallel/types.h: Move Settings:: enumerations here, uglify.
5603 * src/parallel_settings.cc: New, definition for _Settings member
5605 * include/parallel/multiway_merge.h: Same.
5606 * include/parallel/for_each.h: Same.
5607 * include/parallel/workstealing.h: Same.
5608 * include/parallel/base.h: Same.
5609 * include/parallel/numeric
5610 * include/parallel/features.h: Same.
5611 * include/parallel/quicksort.h: Same.
5612 * include/parallel/equally_split.h: Same.
5613 * include/parallel/algorithmfwd.h: Same.
5614 * include/parallel/omp_loop_static.h: Same.
5615 * include/parallel/random_shuffle.h: Same.
5616 * include/parallel/balanced_quicksort.h: Same.
5617 * include/parallel/tags.h: Same.
5618 * include/parallel/multiway_mergesort.h: Same.
5619 * include/parallel/numericfwd.h: Same.
5620 * include/parallel/partition.h: Same.
5621 * include/parallel/partial_sum.h: Same.
5622 * include/parallel/find.h: Same.
5623 * include/parallel/algo.h: Same.
5624 * include/parallel/omp_loop.h: Same.
5625 * include/parallel/sort.h: Same.
5627 * src/Makefile.am (parallel_sources): Add parallel_settings.cc.
5628 * src/Makefile.in: Regenerate.
5630 * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.
5632 2008-02-17 Paolo Carlini <pcarlini@suse.de>
5635 * include/parallel/types.h: Reinstate integer types typedefs.
5636 * include/parallel/multiseq_selection.h: Adjust.
5637 * include/parallel/compatibility.h: Likewise.
5638 * include/parallel/random_shuffle.h: Likewise.
5639 * include/parallel/random_number.h: Likewise.
5640 * include/parallel/base.h: Likewise.
5642 2008-02-17 Paolo Carlini <pcarlini@suse.de>
5645 * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
5646 * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
5647 * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
5649 2008-02-16 Benjamin Kosnik <bkoz@redhat.com>
5651 * include/parallel/random_number.h: Use TR1's mersenne_twister.
5652 (random_number::genrand_bits()): Remove.
5653 (random_number::set_seed): Remove.
5655 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
5657 * include/parallel/types.h: Remove enum parallelism.
5659 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
5661 * include/parallel/types.h: Move enum parallelism here. Use
5662 tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
5664 * include/parallel/multiseq_selection.h: Adjust for cstdint.
5665 * include/parallel/compatibility.h: Same.
5666 * include/parallel/tags.h: Just compile-time tags.
5667 * include/parallel/base.h: Put namespace bits here.
5669 * src/Makefile.am (PARALLEL_FLAGS): Use it.
5670 * src/Makefile.in: Regenerate.
5672 * testsuite/25_algorithms/nth_element/1.cc: Add test variable.
5674 2008-02-15 Hans-Peter Nilsson <hp@axis.com>
5676 * testsuite/config/default.exp: Load gcc dejapatches.exp.
5678 2008-02-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5680 * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
5683 2008-02-14 Benjamin Kosnik <bkoz@redhat.com>
5685 * config/os/generic/error_constants.h (posix_errno): Guard
5686 not_supported use of ENOTSUP.
5687 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
5689 * aclocal.m4: Regenerate.
5690 * configure: Rengerate.
5691 * config.h.in: Same.
5693 2008-02-13 Benjamin Kosnik <bkoz@redhat.com>
5695 * doc/doxygen/mainpage.html: Correct links.
5697 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
5699 * doc/html/*: Populate with regenerated files.
5701 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
5703 * doc/html/*: Remove all but contents of ext/pb_ds.
5704 * doc/html/index.html: New.
5705 * doc/html/README: New.
5707 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
5709 * doc/doxygen/mainpage.html: Add in corrected links.
5710 * README: Edit, move most into...
5711 * doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
5712 (Documentation Style): Revise.
5713 * doc/xml/spine.xml: Edit file names.
5714 * doc/Makefile.am: Edit xml_sources.
5715 * doc/Makefile.in: Regenerate.
5717 2008-02-11 Paolo Carlini <pcarlini@suse.de>
5719 * configure: Regenerate with documented autoconf and automake
5720 versions (i.e., 2.59 and 1.9.6).
5721 * Makefile.in: Likewise.
5722 * src/Makefile.in: Likewise.
5723 * doc/Makefile.in: Likewise.
5724 * po/Makefile.in: Likewise.
5725 * libmath/Makefile.in: Likewise.
5726 * include/Makefile.in: Likewise.
5727 * libsupc++/Makefile.in: Likewise.
5728 * testsuite/Makefile.in: Likewise.
5729 * aclocal.m4: Likewise.
5731 2008-02-10 Benjamin Kosnik <bkoz@redhat.com>
5733 Convert documentation to DocBook.
5734 * doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
5735 (doc-doxygen-man): Changed to doc-man-doxygen.
5736 (doc-performance): Changed to doc-html-performance.
5737 (doc-xml-doxygen): New.
5738 (doc-xml-single): New.
5739 (doc-xml-validate): New.
5741 (doc-html-single): New.
5744 (doc-pdf-fop-xml): New.
5745 (doc-pdf-fop-fo): New.
5746 (doc-pdf-xmlto): New.
5747 (doc-pdf-xmlroff): New.
5748 (doc-pdf-prince): New.
5749 * doc/xml: New directory.
5750 * doc/xml/authors.xml: New.
5751 * doc/xml/images: New directory.
5752 * doc/xml/images/confdeps.png: Add.
5753 * doc/xml/images/confdeps.dot: Add.
5754 * doc/xml/faq.xml: New.
5755 * doc/xml/api.xml: New.
5756 * doc/xml/gnu: New directory.
5757 * doc/xml/gnu/gpl-3.0.xml: New.
5758 * doc/xml/gnu/fdl-1.2.xml: New.
5759 * doc/xml/gnu/gpl-2.0.xml: New.
5760 * doc/xml/manual: New directory.
5761 * doc/xml/manual/mt_allocator.xml: New.
5762 * doc/xml/manual/allocator.xml: New.
5763 * doc/xml/manual/ctype.xml: New.
5764 * doc/xml/manual/numerics.xml: New.
5765 * doc/xml/manual/codecvt.xml: New.
5766 * doc/xml/manual/concurrency.xml: New.
5767 * doc/xml/manual/backwards_compatibility.xml: New.
5768 * doc/xml/manual/intro.xml: New.
5769 * doc/xml/manual/shared_ptr.xml: New.
5770 * doc/xml/manual/abi.xml: New.
5771 * doc/xml/manual/status_cxxtr1.xml: New.
5772 * doc/xml/manual/auto_ptr.xml: New.
5773 * doc/xml/manual/build.xml: New.
5774 * doc/xml/manual/internals.xml: New.
5775 * doc/xml/manual/parallel_mode.xml: New.
5776 * doc/xml/manual/status_cxx1998.xml: New.
5777 * doc/xml/manual/containers.xml: New.
5778 * doc/xml/manual/io.xml: New.
5779 * doc/xml/manual/appendix_porting.xml: New.
5780 * doc/xml/manual/utilities.xml: New.
5781 * doc/xml/manual/bitmap_allocator.xml: New.
5782 * doc/xml/manual/support.xml: New.
5783 * doc/xml/manual/configure.xml: New.
5784 * doc/xml/manual/build_hacking.xml: New.
5785 * doc/xml/manual/evolution.xml: New.
5786 * doc/xml/manual/using.xml: New.
5787 * doc/xml/manual/debug.xml: New.
5788 * doc/xml/manual/localization.xml: New.
5789 * doc/xml/manual/strings.xml: New.
5790 * doc/xml/manual/debug_mode.xml: New.
5791 * doc/xml/manual/locale.xml: New.
5792 * doc/xml/manual/extensions.xml: New.
5793 * doc/xml/manual/appendix_contributing.xml: New.
5794 * doc/xml/manual/messages.xml: New.
5795 * doc/xml/manual/diagnostics.xml: New.
5796 * doc/xml/manual/appendix_free.xml: New.
5797 * doc/xml/manual/algorithms.xml: New.
5798 * doc/xml/manual/iterators.xml: New.
5799 * doc/xml/manual/spine.xml: New.
5800 * doc/xml/manual/test.xml: New.
5801 * doc/xml/manual/status_cxx200x.xml: New.
5802 * doc/xml/spine.xml: New.
5804 * doc/xml/book.txml: New. Template file.
5805 * doc/xml/chapter.txml: Same.
5806 * doc/xml/class.txml: Same.
5808 * doc/doxygen/guide.html: Removed, integrated into other docs.
5809 * doc/doxygen/user.cfg.in: Clean up XML generation.
5810 * doc/doxygen/run_doxygen: Move to..
5811 * scripts/run_doxygen: ...here.
5813 * configure: Regenerate.
5814 * Makefile.in: Regenerate.
5815 * src/Makefile.in: Regenerate.
5816 * doc/Makefile.in: Regenerate.
5817 * po/Makefile.in: Regenerate.
5818 * libmath/Makefile.in: Regenerate.
5819 * include/Makefile.in: Regenerate.
5820 * libsupc++/Makefile.in: Regenerate.
5821 * testsuite/Makefile.in: Regenerate.
5822 * aclocal.m4: Regenerate.
5824 2008-02-10 Paolo Carlini <pcarlini@suse.de>
5827 * include/std/istream (basic_istream<>::basic_istream()): Call
5829 (basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
5830 do it here, per 27.6.1.5.1/1.
5831 * include/std/ostream (basic_ostream<>::basic_ostream()): Call
5833 * testsuite/27_io/basic_iostream/cons/16251.C: New.
5835 * testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
5837 2008-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5839 * include/backward/auto_ptr.h: Fix comment typos.
5840 * include/bits/algorithmfwd.h: Likewise.
5841 * include/bits/basic_ios.h: Likewise.
5842 * include/bits/c++config: Likewise.
5843 * include/bits/char_traits.h: Likewise.
5844 * include/bits/codecvt.h: Likewise.
5845 * include/bits/gslice.h: Likewise.
5846 * include/bits/ios_base.h: Likewise.
5847 * include/bits/locale_facets.h: Likewise.
5848 * include/bits/locale_facets_nonio.tcc: Likewise.
5849 * include/bits/postypes.h: Likewise.
5850 * include/bits/sstream.tcc: Likewise.
5851 * include/bits/stl_algo.h: Likewise.
5852 * include/bits/stl_deque.h: Likewise.
5853 * include/bits/stl_iterator.h: Likewise.
5854 * include/bits/stl_iterator_base_types.h Likewise.
5855 * include/bits/stl_list.h: Likewise.
5856 * include/bits/stl_map.h: Likewise.
5857 * include/bits/stl_multimap.h: Likewise.
5858 * include/bits/stl_multiset.h: Likewise.
5859 * include/bits/stl_set.h: Likewise.
5860 * include/bits/stl_vector.h: Likewise.
5861 * include/bits/valarray_array.h: Likewise.
5862 * include/debug/safe_base.h: Likewise.
5863 * include/ext/bitmap_allocator.h: Likewise.
5864 * include/ext/codecvt_specializations.h Likewise.
5865 * include/ext/mt_allocator.h: Likewise.
5866 * include/ext/rc_string_base.h: Likewise.
5867 * include/ext/rope: Likewise.
5868 * include/parallel/checkers.h: Likewise.
5869 * include/parallel/find.h: Likewise.
5870 * include/parallel/multiseq_selection.h: Likewise.
5871 * include/parallel/partition.h: Likewise.
5872 * include/parallel/settings.h: Likewise.
5873 * include/std/bitset: Likewise.
5874 * include/std/complex: Likewise.
5875 * include/std/fstream: Likewise.
5876 * include/std/istream: Likewise.
5877 * include/std/limits: Likewise.
5878 * include/std/ostream: Likewise.
5879 * include/std/stdexcept: Likewise.
5880 * include/std/streambuf: Likewise.
5881 * include/tr1/bessel_function.tcc: Likewise.
5882 * include/tr1/cmath: Likewise.
5883 * include/tr1/ell_integral.tcc: Likewise.
5884 * include/tr1/hypergeometric.tcc: Likewise.
5885 * include/tr1/legendre_function.tcc: Likewise.
5886 * include/tr1_impl/random: Likewise.
5887 * include/tr1_impl/regex: Likewise.
5889 2008-01-31 Paolo Carlini <pcarlini@suse.de>
5891 * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
5892 Avoid -Wall warnings.
5893 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
5895 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
5897 * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
5898 * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
5899 * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
5900 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
5902 * testsuite/tr1/6_containers/array/requirements/contiguous.cc:
5904 * testsuite/tr1/6_containers/array/requirements/member_swap.cc:
5906 * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
5907 * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
5909 * testsuite/tr1/6_containers/array/comparison_operators/
5910 less_or_equal.cc: Likewise.
5911 * testsuite/tr1/6_containers/array/comparison_operators/
5912 greater_or_equal.cc: Likewise.
5913 * testsuite/tr1/6_containers/array/comparison_operators/less.cc:
5915 * testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
5917 * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
5919 * testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
5921 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
5922 * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
5924 * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
5925 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
5926 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
5927 * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
5929 * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
5930 * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
5931 * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
5932 * testsuite/thread/guard.cc: Likewise.
5933 * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
5934 * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
5935 * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
5936 * testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
5937 * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
5938 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
5939 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
5942 2008-01-26 David Edelsohn <edelsohn@gnu.org>
5945 * config/os/aix/os_defines.h: Define __COMPATMATH__.
5947 2008-01-24 David Edelsohn <edelsohn@gnu.org>
5949 * configure: Regenerate.
5951 2008-01-21 Matthias Klose <doko@ubuntu.com>
5953 * doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
5955 2008-01-19 Paolo Carlini <pcarlini@suse.de>
5957 * configure: Regenerate.
5958 * Makefile.in: Likewise.
5959 * src/Makefile.in: Likewise.
5960 * doc/Makefile.in: Likewise.
5961 * po/Makefile.in: Likewise.
5962 * libmath/Makefile.in: Likewise.
5963 * include/Makefile.in: Likewise.
5964 * libsupc++/Makefile.in: Likewise.
5965 * testsuite/Makefile.in: Likewise.
5966 * aclocal.m4: Likewise.
5968 2008-01-18 Benjamin Kosnik <bkoz@redhat.com>
5972 * testsuite/Makefile.am: Move doc-performance to...
5973 * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
5974 * doc/Makefile.am: Consolidate documentation creation here.
5975 (doc-doxygen-html): New.
5976 (doc-doxygen-man): New.
5977 (doc-performance): New.
5978 * doc/Makefile.in: New.
5979 * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
5980 * doc/doxygen/guide.html: Edit for unified html configuration.
5981 * doc/doxygen/mainpage.html: Same.
5982 * doc/doxygen/run_doxygen: Same, more namespace fixups for man
5984 * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.
5986 * include/tr1_impl/random: Remove maint from doxygen markup.
5987 * include/tr1_impl/functional: Same.
5988 * include/std/tuple: Same.
5989 * include/std/streambuf: Same.
5990 * include/std/bitset: Same.
5991 * include/std/limits: Same.
5992 * include/std/fstream: Same.
5993 * include/std/istream: Same.
5994 * include/std/sstream: Same.
5995 * include/ext/pool_allocator.h: Same.
5996 * include/ext/rc_string_base.h: Same.
5997 * include/bits/basic_ios.h: Same.
5998 * include/bits/stl_list.h: Same.
5999 * include/bits/stl_map.h: Same.
6000 * include/bits/locale_classes.h: Same.
6001 * include/bits/stl_set.h: Same.
6002 * include/bits/stl_iterator_base_types.h: Same.
6003 * include/bits/basic_string.h: Same.
6004 * include/bits/stl_multimap.h: Same.
6005 * include/bits/stl_vector.h: Same.
6006 * include/bits/ios_base.h: Same.
6007 * include/bits/stl_deque.h: Same.
6008 * include/bits/postypes.h: Same.
6009 * include/bits/stl_multiset.h: Same.
6010 * include/bits/stl_algo.h: Same.
6011 * include/bits/stl_iterator.h: Same.
6012 * include/bits/stl_tempbuf.h: Same.
6013 * include/bits/stl_construct.h: Same.
6014 * include/bits/stl_relops.h: Same.
6015 * include/tr1/tuple: Same.
6016 * include/backward/auto_ptr.h: Same.
6018 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
6019 Fixups for line number changes.
6020 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
6021 * testsuite/23_containers/vector/requirements/dr438/
6022 constructor_1_neg.cc: Same.
6023 * testsuite/23_containers/vector/requirements/dr438/
6024 constructor_2_neg.cc: Same.
6025 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
6026 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
6027 * testsuite/23_containers/deque/requirements/dr438/
6028 constructor_1_neg.cc: Same.
6029 * testsuite/23_containers/deque/requirements/dr438/
6030 constructor_2_neg.cc: Same.
6031 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
6032 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
6033 * testsuite/23_containers/list/requirements/dr438/
6034 constructor_1_neg.cc: Same.
6035 * testsuite/23_containers/list/requirements/dr438/
6036 constructor_2_neg.cc: Same.
6037 * testsuite/20_util/auto_ptr/assign_neg.cc: Same.
6039 * aclocal.m4: Regenerate.
6040 * config.h.in: Regenerate.
6041 * configure: Regenerate.
6042 * Makefile.in: Regenerate.
6043 * src/Makefile.in: Regenerate.
6044 * po/Makefile.in: Regenerate.
6045 * libmath/Makefile.in: Regenerate.
6046 * include/Makefile.in: Regenerate.
6047 * libsupc++/Makefile.in: Regenerate.
6048 * testsuite/Makefile.in: Regenerate.
6050 * scripts/make_graphs.py: Correct paths for new layout.
6052 2008-01-17 Benjamin Kosnik <bkoz@redhat.com>
6054 * acinclude.m4 (AC_LC_MESSAGES): Remove serial.
6055 * linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
6056 * configure: Regenerate.
6057 * aclocal.m4: Regenerate.
6059 2008-01-14 Paolo Carlini <pcarlini@suse.de>
6061 * include/parallel/list_partition.h: Formatting fixes, inline tweaks.
6062 * include/parallel/numeric: Likewise.
6063 * include/parallel/balanced_quicksort.h: Likewise.
6064 * include/parallel/unique_copy.h: Likewise.
6065 * include/parallel/algobase.h: Likewise.
6066 * include/parallel/algo.h: Likewise.
6068 2008-01-14 Seongbae Park <seongbae.park@gmail.com>
6070 * crossconfig.m4: Add missing header checks, C99 TR1 check,
6071 and sigsetjmp check.
6073 2008-01-14 Paolo Carlini <pcarlini@suse.de>
6075 * include/parallel/tree.h: Remove.
6076 * include/Makefile.am: Update.
6077 * include/Makefile.in: Rebuild.
6079 * src/Makefile.am: Remove spurious trailing backslash.
6080 * src/Makefile.in: Rebuild.
6081 * po/Makefile.in: Likewise.
6082 * libmath/Makefile.in: Likewise.
6083 * testsuite/Makefile.in: Likewise.
6084 * libsupc++/Makefile.in: Likewise.
6085 * aclocal.m4: Likewise.
6086 * Makefile.in: Likewise.
6087 * configure: Likewise.
6089 2008-01-12 Paolo Carlini <pcarlini@suse.de>
6092 * include/debug/functions.h (__check_sorted_set,
6093 __check_sorted_set_aux): Add.
6094 (__check_sorted): Check StrictWeakOrdering.
6095 * include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
6096 __glibcxx_check_strict_weak_ordering_pred): Remove.
6097 (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
6098 (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
6099 * include/debug/debug.h (__glibcxx_requires_sorted_set,
6100 __glibcxx_requires_sorted_set_pred): Add.
6101 * include/bits/stl_algo.h (merge, includes, set_union,
6102 set_intersection, set_difference, set_symmetric_difference):
6103 Adjust, use __glibcxx_requires_sorted_set* instead.
6104 * testsuite/25_algorithms/set_intersection/34730.cc: New.
6106 2008-01-09 Paolo Carlini <pcarlini@suse.de>
6108 * include/parallel/multiway_merge.h: Reformat to 80 columns;
6109 adjust some inline specifiers; other minor style fixes.
6110 * include/parallel/losertree.h: Likewise.
6111 * include/parallel/list_partition.h: Likewise.
6112 * include/parallel/multiseq_selection.h: Likewise.
6113 * include/parallel/workstealing.h: Likewise.
6114 * include/parallel/base.h: Likewise.
6115 * include/parallel/par_loop.h: Likewise.
6116 * include/parallel/numeric: Likewise.
6117 * include/parallel/quicksort.h: Likewise.
6118 * include/parallel/algorithmfwd.h: Likewise.
6119 * include/parallel/for_each_selectors.h: Likewise.
6120 * include/parallel/omp_loop_static.h: Likewise.
6121 * include/parallel/random_shuffle.h: Likewise.
6122 * include/parallel/balanced_quicksort.h: Likewise.
6123 * include/parallel/set_operations.h: Likewise.
6124 * include/parallel/tree.h: Likewise.
6125 * include/parallel/merge.h: Likewise.
6126 * include/parallel/unique_copy.h: Likewise.
6127 * include/parallel/settings.h: Likewise.
6128 * include/parallel/multiway_mergesort.h: Likewise.
6129 * include/parallel/numericfwd.h: Likewise.
6130 * include/parallel/search.h: Likewise.
6131 * include/parallel/partition.h: Likewise.
6132 * include/parallel/compatibility.h: Likewise.
6133 * include/parallel/partial_sum.h: Likewise.
6134 * include/parallel/find.h: Likewise.
6135 * include/parallel/algo.h: Likewise.
6136 * include/parallel/queue.h: Likewise.
6137 * include/parallel/omp_loop.h: Likewise.
6138 * include/parallel/sort.h: Likewise.
6139 * include/parallel/random_number.h: Likewise.
6141 2008-01-09 Benjamin Kosnik <bkoz@redhat.com>
6143 * docs/html/17_intro/api.html: Fix markup for rope.h.
6145 2008-01-09 Paolo Carlini <pcarlini@suse.de>
6147 * include/parallel/iterator.h: Reformat to 80 columns; adjust some
6149 * include/parallel/find_selectors.h: Likewise.
6150 * include/parallel/losertree.h: Likewise.
6151 * include/parallel/list_partition.h: Likewise.
6152 * include/parallel/for_each.h: Likewise.
6153 * include/parallel/multiseq_selection.h: Likewise.
6154 * include/parallel/algorithmfwd.h: Likewise.
6155 * include/parallel/for_each_selectors.h: Likewise.
6156 * include/parallel/balanced_quicksort.h: Likewise.
6157 * include/parallel/merge.h: Likewise.
6158 * include/parallel/algobase.h: Likewise.
6159 * include/parallel/find.h: Likewise.
6160 * include/parallel/algo.h: Likewise.
6161 * include/parallel/checkers.h: Likewise.
6163 2008-01-09 Francesco Biscani <bluescarni@gmail.com>
6165 * include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
6166 of __detail::_Map_base<>.
6168 2008-01-08 Paolo Carlini <pcarlini@suse.de>
6170 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
6171 not include <cassert>.
6172 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
6174 * testsuite/util/testsuite_common_types.h: Include <algorithm>.
6176 2008-01-08 Jakub Jelinek <jakub@redhat.com>
6178 * configure.ac (--enable-linux-futex): Add new configure option.
6179 (HAVE_LINUX_FUTEX): New AC_DEFINE.
6180 * Makefile.in: Rebuilt.
6181 * aclocal.m4: Rebuilt.
6182 * configure: Rebuilt.
6183 * config.h.in: Rebuilt.
6184 * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
6185 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
6186 * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
6187 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
6188 * libsupc++/guard.cc: Include climits and syscall.h.
6189 (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
6191 (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
6192 (__guard_test_bit): New static inline.
6193 (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
6194 atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
6196 2008-01-07 Paolo Carlini <pcarlini@suse.de>
6199 * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
6200 use dynamic_cast when run-time type identification is disabled; do
6201 not mark inline; only declare, define...
6202 * include/bits/locale_classes.tcc: ... here.
6204 2008-01-06 Ted Phelps <phelps@gnusto.com>
6207 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
6208 _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
6210 2008-01-01 Paolo Carlini <pcarlini@suse.de>
6213 * include/parallel/multiway_merge.h (multiway_merge_bubble,
6214 parallel_multiway_merge): Together with ::operator new use
6216 * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise.
6217 * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise.
6218 * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu,
6219 sequential_random_shuffle): Likewise.
6220 * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction):
6222 * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu,
6223 parallel_sort_mwms): Likewise.
6224 * include/parallel/partial_sum.h (parallel_partial_sum_linear):
6226 * testsuite/25_algorithms/sort/34095.cc: New.
6228 2008-01-01 Paolo Carlini <pcarlini@suse.de>
6230 * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year.
6232 2008-01-01 Paolo Carlini <pcarlini@suse.de>
6235 * include/parallel/algobase.h (lexicographical_compare_switch(...,
6236 random_access_iterator_tag, random_access_iterator_tag)): Careful
6237 with undereferenceable iterators.
6238 * testsuite/25_algorithms/sort/34636.cc: New.