1 2009-04-06 Paolo Carlini <paolo.carlini@oracle.com>
3 * include/bits/random.h (operator==): Mark all inline.
4 (mersenne_twister_engine): Enable #if 0 checks.
6 * include/bits/random.h: Formatting tweaks.
8 2009-04-05 Paolo Carlini <paolo.carlini@oracle.com>
10 * include/bits/random.tcc (piecewise_linear_distribution<>::
11 operator()(_UniformRandomNumberGenerator&, const param_type&)):
12 Remove spurious closed parenthesis.
14 2009-04-05 Paolo Carlini <paolo.carlini@oracle.com>
16 PR libstdc++/39644 (partial)
17 * include/bits/random.tcc (linear_congruential_engine<>::
18 seed(seed_seq&), independent_bits_engine<>::operator(),
19 generate_canonical(_UniformRandomNumberGenerator&)): Avoid log2l.
21 2009-04-04 Edward Smith-Rowland <3dw4rd@verizon.net>
23 * include/bits/random.h (struct _ShiftMin1): Fix small typo and
25 * testsuite/26_numerics/random/mersenne_twister_engine/cons/
28 2009-04-04 Paolo Carlini <paolo.carlini@oracle.com>
30 PR libstdc++/39629 (partial)
31 * testsuite/26_numerics/random/independent_bits_engine/cons/
32 base_move.cc: Use uint_fast64_t instead of unsigned long.
33 * testsuite/26_numerics/random/independent_bits_engine/cons/
35 * testsuite/26_numerics/random/independent_bits_engine/cons/
37 * testsuite/26_numerics/random/independent_bits_engine/cons/
38 base_copy.cc: Likewise.
39 * testsuite/26_numerics/random/independent_bits_engine/cons/
41 * testsuite/26_numerics/random/independent_bits_engine/cons/
42 seed_seq.cc: Likewise.
43 * testsuite/26_numerics/random/independent_bits_engine/
44 requirements/typedefs.cc: Likewise.
45 * testsuite/26_numerics/random/independent_bits_engine/
46 operators/equal.cc: Likewise.
47 * testsuite/26_numerics/random/independent_bits_engine/
48 operators/serialize.cc: Likewise.
49 * testsuite/26_numerics/random/mt19937_64.cc: Use ull.
51 2009-04-03 Paolo Carlini <paolo.carlini@oracle.com>
53 * include/tr1_impl/random: Remove, empty.
54 * include/tr1_impl/random.tcc: Likewise.
56 * include/std/random: Minor clean-ups, formatting fixes, adjust
58 * include/bits/random.tcc: Likewise.
59 * include/bits/random.h: Likewise.
60 * include/tr1/random: Likewise.
61 * include/tr1/random.tcc: Likewise.
62 * include/tr1/random.h: Likewise.
64 2009-04-02 Benjamin Kosnik <bkoz@redhat.com>
66 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
67 Change to mersenne_twister_engine, add same defaults as
68 mersenne_twister_engine/cons/default.cc.
69 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Same.
71 * include/bits/random.tcc (seed_seq::seed_seq): Uglify parameter
73 * include/bits/random.h (mersenne_twister_engine): Qualify
74 _ShiftMin1 with namespace __detail.
75 (__detail::_ShiftMin1): Use __gnu_cxx::__numeric_traits::max until
76 constexpr std::numeric_limits::max() can be used.
77 (mersenne_twister_engine): Split apart static asserts into one
78 assert per message. Temporarily disable the last three.
80 2009-04-02 Edward Smith-Rowland <3dw4rd@verizon.net>
82 * include/Makefile.am: Update to N2836. Modified for new random headers.
83 * include/Makefile.in: Ditto.
84 * include/tr1_impl/random: Moved to tr1/random.h
85 * include/tr1_impl/random.tcc: Moved to tr1
86 * include/tr1/random: Just point to moved tr1 random headers.
87 * include/tr1/random.tcc: Moved from tr1_impl.
88 * include/tr1/random.h: Moved from tr1_impl/random.
89 * include/std/random: Modified to point to std random headers.
90 * include/bits/random.tcc: New implementation of std random facilities.
91 * include/bits/random.h: Ditto.
92 * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Changed.
93 * testsuite/26_numerics/random/linear_congruential_engine/cons/
95 * testsuite/26_numerics/random/linear_congruential_engine/cons/
97 * testsuite/26_numerics/random/linear_congruential_engine/cons/
99 * testsuite/26_numerics/random/linear_congruential_engine/requirements/
100 non_uint_neg.cc: New.
101 * testsuite/26_numerics/random/linear_congruential_engine/requirements/
103 * testsuite/26_numerics/random/linear_congruential_engine/operators/
105 * testsuite/26_numerics/random/linear_congruential_engine/operators/
107 * testsuite/26_numerics/random/mersenne_twister_engine/cons/
109 * testsuite/26_numerics/random/mersenne_twister_engine/cons/
111 * testsuite/26_numerics/random/mersenne_twister_engine/cons/
113 * testsuite/26_numerics/random/mersenne_twister_engine/requirements/
115 * testsuite/26_numerics/random/mersenne_twister_engine/operators/
117 * testsuite/26_numerics/random/mersenne_twister_engine/operators/
119 * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
121 * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
123 * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
125 * testsuite/26_numerics/random/subtract_with_carry_engine/requirements/
127 * testsuite/26_numerics/random/subtract_with_carry_engine/operators/
129 * testsuite/26_numerics/random/subtract_with_carry_engine/operators/
131 * testsuite/26_numerics/random/discard_block_engine/cons/
133 * testsuite/26_numerics/random/discard_block_engine/cons/
135 * testsuite/26_numerics/random/discard_block_engine/cons/
137 * testsuite/26_numerics/random/discard_block_engine/cons/
139 * testsuite/26_numerics/random/discard_block_engine/cons/
141 * testsuite/26_numerics/random/discard_block_engine/cons/
143 * testsuite/26_numerics/random/discard_block_engine/requirements/
145 * testsuite/26_numerics/random/discard_block_engine/operators/
147 * testsuite/26_numerics/random/discard_block_engine/operators/
149 * testsuite/26_numerics/random/independent_bits_engine/cons/
151 * testsuite/26_numerics/random/independent_bits_engine/cons/
153 * testsuite/26_numerics/random/independent_bits_engine/cons/
155 * testsuite/26_numerics/random/independent_bits_engine/cons/
157 * testsuite/26_numerics/random/independent_bits_engine/cons/
159 * testsuite/26_numerics/random/independent_bits_engine/cons/
161 * testsuite/26_numerics/random/independent_bits_engine/requirements/
163 * testsuite/26_numerics/random/independent_bits_engine/operators/
165 * testsuite/26_numerics/random/independent_bits_engine/operators/
167 * testsuite/26_numerics/random/shuffle_order_engine/cons/
169 * testsuite/26_numerics/random/shuffle_order_engine/cons/
171 * testsuite/26_numerics/random/shuffle_order_engine/cons/
173 * testsuite/26_numerics/random/shuffle_order_engine/cons/
175 * testsuite/26_numerics/random/shuffle_order_engine/cons/
177 * testsuite/26_numerics/random/shuffle_order_engine/cons/
179 * testsuite/26_numerics/random/shuffle_order_engine/requirements/
181 * testsuite/26_numerics/random/shuffle_order_engine/operators/
183 * testsuite/26_numerics/random/shuffle_order_engine/operators/
185 * testsuite/26_numerics/random/mt19937.cc: New.
186 * testsuite/26_numerics/random/mt19937_64.cc: New.
187 * testsuite/26_numerics/random/minstd_rand.cc: New.
188 * testsuite/26_numerics/random/minstd_rand0.cc: New.
189 * testsuite/26_numerics/random/ranlux24_base.cc: New.
190 * testsuite/26_numerics/random/ranlux48_base.cc: New.
191 * testsuite/26_numerics/random/ranlux24.cc: New.
192 * testsuite/26_numerics/random/ranlux48.cc: New.
193 * testsuite/26_numerics/random/knuth_b.cc: New.
194 * testsuite/26_numerics/random/default_random_engine.cc: New.
195 * testsuite/26_numerics/random/chi_squared_distribution/cons/
197 * testsuite/26_numerics/random/chi_squared_distribution/cons/
199 * testsuite/26_numerics/random/chi_squared_distribution/requirements/
201 * testsuite/26_numerics/random/chi_squared_distribution/operators/
203 * testsuite/26_numerics/random/normal_distribution/cons/
205 * testsuite/26_numerics/random/normal_distribution/cons/
207 * testsuite/26_numerics/random/normal_distribution/requirements/
209 * testsuite/26_numerics/random/normal_distribution/operators/
211 * testsuite/26_numerics/random/seed_seq/cons/range.cc: New.
212 * testsuite/26_numerics/random/seed_seq/cons/default.cc: New.
213 * testsuite/26_numerics/random/seed_seq/requirements/typedefs.cc: New.
214 * testsuite/26_numerics/random/uniform_int_distribution/cons/
216 * testsuite/26_numerics/random/uniform_int_distribution/cons/
218 * testsuite/26_numerics/random/uniform_int_distribution/cons/
220 * testsuite/26_numerics/random/uniform_int_distribution/requirements/
222 * testsuite/26_numerics/random/uniform_int_distribution/operators/
224 * testsuite/26_numerics/random/uniform_real_distribution/cons/
226 * testsuite/26_numerics/random/uniform_real_distribution/cons/
228 * testsuite/26_numerics/random/uniform_real_distribution/cons/
230 * testsuite/26_numerics/random/uniform_real_distribution/requirements/
232 * testsuite/26_numerics/random/uniform_real_distribution/operators/
234 * testsuite/26_numerics/random/poisson_distribution/cons/
236 * testsuite/26_numerics/random/poisson_distribution/cons/
238 * testsuite/26_numerics/random/poisson_distribution/requirements/
240 * testsuite/26_numerics/random/poisson_distribution/operators/
242 * testsuite/26_numerics/random/bernoulli_distribution/cons/
244 * testsuite/26_numerics/random/bernoulli_distribution/cons/
246 * testsuite/26_numerics/random/bernoulli_distribution/requirements/
248 * testsuite/26_numerics/random/bernoulli_distribution/operators/
250 * testsuite/26_numerics/random/discrete_distribution/cons/
252 * testsuite/26_numerics/random/discrete_distribution/cons/
254 * testsuite/26_numerics/random/discrete_distribution/cons/
256 * testsuite/26_numerics/random/discrete_distribution/cons/
257 num_xbound_fun.cc: New.
258 * testsuite/26_numerics/random/discrete_distribution/requirements/
260 * testsuite/26_numerics/random/discrete_distribution/operators/
262 * testsuite/26_numerics/random/weibull_distribution/cons/
264 * testsuite/26_numerics/random/weibull_distribution/cons/
266 * testsuite/26_numerics/random/weibull_distribution/requirements/
268 * testsuite/26_numerics/random/weibull_distribution/operators/
270 * testsuite/26_numerics/random/negative_binomial_distribution/cons/
272 * testsuite/26_numerics/random/negative_binomial_distribution/cons/
274 * testsuite/26_numerics/random/negative_binomial_distribution/
275 requirements/typedefs.cc: New.
276 * testsuite/26_numerics/random/negative_binomial_distribution/
277 operators/serialize.cc: New.
278 * testsuite/26_numerics/random/cauchy_distribution/cons/
280 * testsuite/26_numerics/random/cauchy_distribution/cons/
282 * testsuite/26_numerics/random/cauchy_distribution/requirements/
284 * testsuite/26_numerics/random/cauchy_distribution/operators/
286 * testsuite/26_numerics/random/gamma_distribution/cons/
288 * testsuite/26_numerics/random/gamma_distribution/cons/
290 * testsuite/26_numerics/random/gamma_distribution/requirements/
292 * testsuite/26_numerics/random/gamma_distribution/operators/
294 * testsuite/26_numerics/random/fisher_f_distribution/cons/
296 * testsuite/26_numerics/random/fisher_f_distribution/cons/
298 * testsuite/26_numerics/random/fisher_f_distribution/requirements/
300 * testsuite/26_numerics/random/fisher_f_distribution/operators/
303 * testsuite/26_numerics/random/exponential_distribution/cons/
305 * testsuite/26_numerics/random/exponential_distribution/cons/
307 * testsuite/26_numerics/random/exponential_distribution/requirements/
309 * testsuite/26_numerics/random/exponential_distribution/operators/
311 * testsuite/26_numerics/random/lognormal_distribution/cons/
313 * testsuite/26_numerics/random/lognormal_distribution/cons/
315 * testsuite/26_numerics/random/lognormal_distribution/requirements/
317 * testsuite/26_numerics/random/lognormal_distribution/operators/
319 * testsuite/26_numerics/random/binomial_distribution/cons/
321 * testsuite/26_numerics/random/binomial_distribution/cons/
323 * testsuite/26_numerics/random/binomial_distribution/requirements/
325 * testsuite/26_numerics/random/binomial_distribution/operators/
327 * testsuite/26_numerics/random/random_device/cons/
329 * testsuite/26_numerics/random/random_device/cons/
331 * testsuite/26_numerics/random/random_device/requirements/
333 * testsuite/26_numerics/random/extreme_value_distribution/cons/
335 * testsuite/26_numerics/random/extreme_value_distribution/cons/
337 * testsuite/26_numerics/random/extreme_value_distribution/requirements/
339 * testsuite/26_numerics/random/extreme_value_distribution/operators/
341 * testsuite/26_numerics/random/piecewise_linear_distribution/cons/
343 * testsuite/26_numerics/random/piecewise_linear_distribution/cons/
345 * testsuite/26_numerics/random/piecewise_linear_distribution/cons/
346 num_xbound_fun.cc: New.
347 * testsuite/26_numerics/random/piecewise_linear_distribution/cons/
348 initlist_fun.cc: New.
349 * testsuite/26_numerics/random/piecewise_linear_distribution/
350 requirements/typedefs.cc: New.
351 * testsuite/26_numerics/random/piecewise_linear_distribution/operators/
353 * testsuite/26_numerics/random/student_t_distribution/cons/
355 * testsuite/26_numerics/random/student_t_distribution/cons/
357 * testsuite/26_numerics/random/student_t_distribution/requirements/
359 * testsuite/26_numerics/random/student_t_distribution/operators/
361 * testsuite/26_numerics/random/geometric_distribution/cons/
363 * testsuite/26_numerics/random/geometric_distribution/cons/
365 * testsuite/26_numerics/random/geometric_distribution/requirements/
367 * testsuite/26_numerics/random/geometric_distribution/operators/
369 * testsuite/26_numerics/random/piecewise_constant_distribution/cons/
371 * testsuite/26_numerics/random/piecewise_constant_distribution/cons/
373 * testsuite/26_numerics/random/piecewise_constant_distribution/cons/
374 num_xbound_fun.cc: New.
375 * testsuite/26_numerics/random/piecewise_constant_distribution/cons/
376 initlist_fun.cc: New.
377 * testsuite/26_numerics/random/piecewise_constant_distribution/
378 requirements/typedefs.cc: New.
379 * testsuite/26_numerics/random/piecewise_constant_distribution/
380 operators/serialize.cc: New.
382 2009-04-02 Dodji Seketeli <dodji@redhat.com>
384 * include/ext/bitmap_allocator.h: The typedefs should be made public
385 if we want them to be accessible. This has been revealed by the patch
386 that fixes PR c++/26693 in g++.
388 2009-04-02 Jakub Jelinek <jakub@redhat.com>
390 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
392 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
394 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
395 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
396 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
397 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
398 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Regenerated.
399 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
400 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
402 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
404 2009-03-31 Jason Merrill <jason@redhat.com>
406 * libsupc++/unwind-cxx.h: Correct __cxa_call_terminate prototype.
409 * include/tr1_impl/type_traits (is_function): Add partial
410 specializations with function cv-quals.
411 (__is_function_helper): Remove.
412 (is_member_pointer): Don't define in terms of is_member_*_pointer.
414 2009-03-30 Ian Lance Taylor <iant@google.com>
416 * include/backward/hashtable.h (clear): Return quickly if the
419 2009-03-27 Ian Lance Taylor <iant@google.com>
421 * include/backward/hashtable.h (_S_num_primes): Change to 29.
422 (__stl_prime_list): Add 5 at the start of the list.
424 2009-03-25 Edward Smith-Rowland <3dw4rd@verizon.net>
426 * include/std/fstream (basic_filebuf<>::open(const std::string&,
427 ios_base::openmode), basic_ifstream<>::basic_ifstream(const
428 std::string&, ios_base::openmode), basic_ifstream<>::
429 open(const std::string&, ios_base::openmode), basic_ofstream<>::
430 basic_ofstream(const std::string&, ios_base::openmode),
431 basic_ofstream<>::open(const std::string&, ios_base::openmode),
432 basic_fstream<>::basic_fstream(const std::string&, ios_base::openmode),
433 basic_fstream<>::open(const std::string&, ios_base::openmode)):
435 * testsuite/27_io/basic_ofstream/open/char/2.cc: New.
436 * testsuite/27_io/basic_ofstream/cons/char/2.cc: Likewise.
437 * testsuite/27_io/basic_fstream/open/char/1.cc: Likewise.
438 * testsuite/27_io/basic_fstream/cons/char/1.cc: Likewise.
439 * testsuite/27_io/basic_ifstream/open/char/2.cc: Likewise.
440 * testsuite/27_io/basic_ifstream/cons/char/2.cc: Likewise.
441 * testsuite/27_io/basic_filebuf/open/char/5.cc: Likewise.
443 2009-03-25 Paolo Carlini <paolo.carlini@oracle.com>
445 * testsuite/27_io/basic_ofstream/cons/char/2.cc: Rename to...
446 * testsuite/27_io/basic_ofstream/cons/char/1.cc: ... this.
447 * testsuite/27_io/basic_fstream/cons/3.cc: Rename to...
448 * testsuite/27_io/basic_fstream/cons/1.cc: ... this.
450 2009-03-25 Paolo Carlini <paolo.carlini@oracle.com>
452 * include/bits/forward_list.h (_Fwd_list_node_base<>::
453 _M_transfer_after, _M_reverse_after): Move out of line...
454 * include/bits/forward_list.tcc: ... here.
455 (forward_list<>::reverse): Move inline...
456 * include/bits/forward_list.h: ... here; minor cosmetic changes.
458 2009-03-22 Mark Mitchell <mark@codesourcery.com>
460 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/
462 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-3.cc:
464 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-4.cc:
466 * testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc:
469 2009-03-22 Mark Mitchell <mark@codesourcery.com>
471 * testsuite/25_algorithms/search_n/iterator.cc: Update copyright
473 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
474 * testsuite/21_strings/basic_string/inserters_extractors/char/28277.cc
476 * testsuite/27_io/basic_ostream/inserters_character/char/28277-3.cc:
478 * testsuite/27_io/basic_ostream/inserters_character/char/28277-4.cc:
480 * testsuite/ext/vstring/inserters_extractors/char/28277.cc: Likewise.
482 2009-03-22 Mark Mitchell <mark@codesourcery.com>
484 * testsuite/25_algorithms/search_n/iterator.cc: Condition
485 iterations for simulators.
486 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
487 * testsuite/21_strings/basic_string/inserters_extractors/char/28277.cc
488 Condition stream width for simulators.
489 * testsuite/27_io/basic_ostream/inserters_character/char/28277-3.cc:
491 * testsuite/27_io/basic_ostream/inserters_character/char/28277-4.cc:
493 * testsuite/ext/vstring/inserters_extractors/char/28277.cc: Likewise.
495 2009-03-17 Benjamin Kosnik <bkoz@redhat.com>
497 * doc/xml/manual/appendix_contributing.xml: Add docbook style
498 sheet version information. Table-ize docbook element examples.
499 * doc/xml/manual/using.xml: Human-readable header
500 markup. Alphabetized. Add new headers.
501 * doc/html: Regenerate.
503 2009-03-15 Paolo Carlini <paolo.carlini@oracle.com>
505 * doc/xml/faq.xml: Fix link to setup documentation.
507 2009-03-14 Paolo Carlini <paolo.carlini@oracle.com>
509 * include/std/type_traits (__add_lvalue_reference_helper,
510 __add_rvalue_reference_helper): As an optimization, rewrite
511 condition (avoid is_function).
513 2009-03-13 Paolo Carlini <paolo.carlini@oracle.com>
516 * testsuite/20_util/shared_ptr/cons/39405.cc: New.
517 * testsuite/tr1/2_general_utilities/shared_ptr/cons/39405.cc: Likewise.
519 2009-03-12 Benjamin Kosnik <bkoz@redhat.com>
521 * testsuite/30_threads/condition_variable_any/native_handle/
522 typesizes.cc: Include tweaks.
523 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
524 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
525 * testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
526 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
527 * testsuite/30_threads/condition_variable/native_handle/
530 2009-03-11 Jonathan Wakely <jwakely.gcc@gmail.com>
532 * include/bits/shared_ptr.h: Add include guards.
533 * include/tr1/shared_ptr.h: Likewise.
535 2009-03-11 Jonathan Wakely <jwakely.gcc@gmail.com>
537 * include/std/iostream: Fix doxygen link.
538 * include/bits/forward_list.h: Fix doxygen markup.
539 * include/ext/vstring.h: Escape backslash in doxygen comment.
540 * include/bits/basic_string.h: Likewise.
542 2009-03-10 Paolo Carlini <paolo.carlini@oracle.com>
544 * doc/xml/faq.xml: Fix links to implementation status pages.
546 2009-03-10 Paolo Carlini <paolo.carlini@oracle.com>
548 * include/std/complex (operator+(const complex<>&, const _Tp&),
549 operator+(const _Tp&, const complex<>&),
550 operator-(const complex<>&, const _Tp&),
551 operator-(const _Tp&, const complex<>&)): Do not assume real()
552 returns a reference (against DR 387).
553 * testsuite/26_numerics/complex/dr387_2.cc: New.
555 2009-03-02 Benjamin Kosnik <bkoz@redhat.com>
557 * testsuite/thread/pthread4.cc: Move...
558 * testsuite/21_strings/basic_string/pthread4.cc: ...here.
559 * testsuite/thread/pthread5.cc: Move...
560 * testsuite/23_containers/list/pthread5.cc: ...here.
561 * testsuite/thread/pthread6.cc: Move...
562 * testsuite/23_containers/map/pthread6.cc: ...here.
563 * testsuite/thread/pthread7-rope.cc: Move...
564 * testsuite/ext/rope/pthread7-rope.cc: ...here.
565 * testsuite/thread/guard.cc: Move...
566 * testsuite/18_support/pthread_guard.cc: ...here.
567 * testsuite/thread/18185.cc: Move...
568 * testsuite/21_strings/basic_string/pthread18185.cc: ...here.
569 * testsuite/thread/pthread1.cc: Move...
570 * testsuite/23_containers/list/pthread1.cc: ...here.
571 * testsuite/thread/pthread2.cc: Move...
572 * testsuite/27_io/basic_ofstream/pthread2.cc: ...here.
573 * testsuite/thread/pthread3.cc: Move...
574 * testsuite/27_io/basic_ostringstream/pthread3.cc: ...here.
576 * testsuite/libstdc++-dg/conformance.exp: Remove thread directory.
577 * testsuite/thread: Remove.
579 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
581 * configure: Regenerate.
583 2009-02-23 Adam Nemet <anemet@caviumnetworks.com>
585 * testsuite/libstdc++-abi/abi.exp: Add multilib support.
586 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove MULTISUBDIR
588 * configure: Regenerate.
589 * testsuite/Makefile.am (baseline_file): Remove variable.
590 (site.exp): Set baseline_dir rather than baseline_file.
591 (check-abi): Pass AM_RUNTESTFLAGS and RUNTESTFLAGS to runtest.
592 * testsuite/Makefile.in: Regenerate.
594 2009-02-20 Benjamin Kosnik <bkoz@redhat.com>
596 * testsuite/30_threads/thread/this_thread: Move...
597 * testsuite/30_threads/this_thread: ...here.
598 * testsuite/20_util/unique_ptr/assign/assign.cc: Move...
599 * testsuite/20_util/unique_ptr/assign/assign_neg.cc: ...here.
600 * testsuite/20_util/ratio/cons/cons_overflow.cc: Move...
601 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: ...here.
602 * testsuite/20_util/ratio/operations/ops_overflow.cc: Move...
603 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: ...here.
605 2009-02-20 Benjamin Kosnik <bkoz@redhat.com>
607 * doc/doxygen/user.cfg.in: Tweaks.
608 * doc/doxygen/doxygroups.cc: Prefer markup that can be elsewhere,
611 * include/tr1_impl/unordered_map: Just use most specialized
613 * include/tr1_impl/unordered_set: Same.
614 * include/tr1_impl/array: Same.
615 * include/bits/stl_list.h: Same.
616 * include/bits/stl_map.h: Same.
617 * include/bits/stl_queue.h: Same.
618 * include/bits/stl_set.h: Same.
619 * include/bits/stl_stack.h: Same.
620 * include/bits/forward_list.h: Same.
621 * include/bits/basic_string.h: Same.
622 * include/bits/stl_multimap.h: Same.
623 * include/bits/stl_vector.h: Same.
624 * include/bits/stl_deque.h: Same.
625 * include/bits/stl_multiset.h: Same.
626 * include/bits/stl_bvector.h: Same.
628 * include/backward/binders.h: Change binder module to binders.
630 * include/std/complex: Add complex_numers module.
631 * include/tr1_impl/complex: Same.
633 * include/std/valarray: Add numeric_arrays module.
634 * include/bits/gslice_array.h: Same.
635 * include/bits/gslice.h: Same.
636 * include/bits/mask_array.h: Same.
637 * include/bits/slice_array.h: Same.
638 * include/bits/indirect_array.h: Same.
640 * include/bits/allocator.h: Add allocators module.
641 * include/ext/throw_allocator.h
642 * include/ext/pool_allocator.h
643 * include/ext/bitmap_allocator.h
644 * include/ext/new_allocator.h
645 * include/ext/malloc_allocator.h
646 * include/ext/array_allocator.h
647 * include/ext/mt_allocator.h
648 * include/ext/debug_allocator.h
649 * include/ext/extptr_allocator.h
651 * include/tr1_impl/functional: Move namespace markup here.
652 * include/tr1_impl/regex: Same.
654 * include/tr1_impl/type_traits: Add metaprogramming module.
655 * include/std/type_traits: Same.
657 * include/std/memory: Add memory module.
659 * include/std/ratio: Add ratio module.
661 * include/std/chrono: Move namespace markup here, add time module.
663 * include/std/thread: Move namespace markup here, add concurrency
665 * include/std/mutex: Use concurrency module.
666 * include/std/condition_variable: Same.
669 * include/bits/ios_base.h: Refine io module.
670 * include/bits/basic_ios.h: Same.
671 * include/std/fstream: Same.
672 * include/std/istream: Same.
673 * include/std/ostream: Same.
674 * include/std/sstream: Same.
676 * include/ext/vstring.h: Correct parameter markup.
678 * include/bits/shared_ptr.h: Add pointer_abstractions module.
679 * include/bits/unique_ptr.h: Same.
681 * include/bits/algorithmfwd.h: Add mutating_algorithms,
682 non_mutating_algorithms, sorting_algorithms. Adjust nesting.
683 * include/bits/stl_heap.h: Add markup for new groupings.
684 * include/bits/stl_algobase.h: Same.
685 * include/bits/stl_algo.h: Same.
687 * include/c_compatibility/stdatomic.h: Add atomics module.
688 * include/c_global/cstdatomic: Same.
690 * libsupc++/exception: Add exceptions module.
691 * libsupc++/typeinfo: Same.
692 * libsupc++/new: Same.
693 * libsupc++/exception_ptr.h: Same.
694 * include/std/system_error: Same.
695 * include/std/stdexcept: Same.
697 * libsupc++/cxxabi.h: Move doxygroups.cc markup here.
698 * libsupc++/cxxabi-forced.h: Same.
700 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix up line numbers.
701 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
702 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Same.
703 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Same.
704 * testsuite/30_threads/mutex/cons/assign_neg.cc: Same.
705 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
706 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Same.
707 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Same.
708 * testsuite/30_threads/thread/cons/assign_neg.cc: Same.
709 * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
710 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
711 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
712 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Same.
713 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Same.
714 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Same.
715 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Same.
716 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
717 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
718 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
719 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
720 * testsuite/23_containers/vector/requirements/dr438/
721 constructor_1_neg.cc: Same.
722 * testsuite/23_containers/vector/requirements/dr438/
723 constructor_2_neg.cc: Same.
724 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
725 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
726 * testsuite/23_containers/deque/requirements/dr438/
727 constructor_1_neg.cc: Same.
728 * testsuite/23_containers/deque/requirements/dr438/
729 constructor_2_neg.cc: Same.
730 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
731 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
732 * testsuite/23_containers/list/requirements/dr438/
733 constructor_1_neg.cc: Same.
734 * testsuite/23_containers/list/requirements/dr438/
735 constructor_2_neg.cc: Same.
736 * testsuite/20_util/duration/cons/1_neg.cc: Same.
737 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
738 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
739 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
740 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
741 * testsuite/20_util/unique_ptr/assign/assign.cc: Same.
742 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
743 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
744 * testsuite/20_util/ratio/cons/cons_overflow.cc: Same.
745 * testsuite/20_util/ratio/operations/ops_overflow.cc: Same.
747 2009-02-18 Benjamin Kosnik <bkoz@redhat.com>
749 * doc/doxygen/doxygroups.cc: Move algorithm groups into algorithmfwd.h.
750 * doc/doxygen/user.cfg.in: Update.
751 * scripts/run_doxygen: Adjust for new group names.
753 * include/tr1_impl/random: Update doxygen group markup.
754 * include/tr1_impl/unordered_map: Same.
755 * include/tr1_impl/unordered_set: Same.
756 * include/tr1_impl/array: Same.
757 * include/std/numeric: Same.
758 * include/std/utility: Same.
759 * include/std/bitset: Same.
760 * include/std/iosfwd: Same.
761 * include/bits/stl_list.h: Same.
762 * include/bits/stl_map.h: Same.
763 * include/bits/stl_algobase.h: Same.
764 * include/bits/stl_queue.h: Same.
765 * include/bits/stl_set.h: Same.
766 * include/bits/stl_stack.h: Same.
767 * include/bits/stl_iterator_base_types.h: Same.
768 * include/bits/forward_list.h: Same.
769 * include/bits/basic_string.h: Same.
770 * include/bits/stl_multimap.h: Same.
771 * include/bits/stl_vector.h: Same.
772 * include/bits/stl_deque.h: Same.
773 * include/bits/stl_multiset.h: Same.
774 * include/bits/stl_algo.h: Same.
775 * include/bits/stl_bvector.h: Same.
776 * include/bits/algorithmfwd.h: Same.
777 * include/bits/stl_function.h: Same.
778 * include/tr1/cmath: Same.
779 * include/backward/binders.h: Same.
781 2009-02-17 Benjamin Kosnik <bkoz@redhat.com>
783 * include/std/system_error (system_category): To system_category().
784 (generic_category): To generic_category. DR 890.
785 * src/system_error.cc: Define.
786 * include/bits/functexcept.h: Only one __throw_system_error.
787 * src/functexcept.cc: Same.
788 * include/std/mutex: Fixup for changes above.
789 * testsuite/19_diagnostics/error_condition/cons/1.cc: Same.
790 * testsuite/19_diagnostics/error_code/cons/1.cc: Same.
791 * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
792 * config/abi/pre/gnu.ver: Clean up exports.
794 2009-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
796 * include/std/thread: Fix typo.
797 * src/thread.cc (thread::join): Use NULL.
799 2009-02-15 Paolo Carlini <paolo.carlini@oracle.com>
802 * src/locale_facets.cc (__verify_grouping(const char*, size_t,
803 const string&)): Also check that the value != CHAR_MAX.
804 * include/bits/locale_facets.tcc (__numpunct_cache<>::
805 _M_cache(const locale&), __add_grouping(_CharT*, _CharT,
806 const char*, size_t, const _CharT*, const _CharT*)): Likewise.
807 * include/bits/locale_facets_nonio.tcc (__moneypunct_cache<>::
808 _M_cache(const locale&)): Likewise.
809 * testsuite/22_locale/money_put/put/wchar_t/39168.cc: New.
810 * testsuite/22_locale/money_put/put/char/39168.cc: Likewise.
811 * testsuite/22_locale/money_get/get/wchar_t/39168.cc: Likewise.
812 * testsuite/22_locale/money_get/get/char/39168.cc: Likewise.
813 * testsuite/22_locale/num_get/get/wchar_t/39168.cc: Likewise.
814 * testsuite/22_locale/num_get/get/char/39168.cc: Likewise.
816 2009-02-13 Chris Fairles <cfairles@gcc.gnu.org>
817 Benjamin Kosnik <bkoz@redhat.com>
819 * include/std/thread (_Impl_base): Move _M_id out and into ...
820 (thread): ...here. Call _M_make_routine in body of constructors.
821 Adjust data member usage to reflect changes.
822 (_M_make_routine): From _M_make_shared_data.
823 (_M_start_thread): Add __shared_base_type argument.
824 * src/thread.cc: Fixups for above.
825 * config/abi/pre/gnu.ver: Adjust exports.
826 * testsuite/30_threads/thread/native_handle/typesizes.cc: Enable.
827 * testsuite/30_threads/thread/cons/assign_neg.cc: Adjust line numbers.
828 * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
830 2009-02-12 Benjamin Kosnik <bkoz@redhat.com>
832 * testsuite/util/thread/all.h (compare_type_to_native_type_sizes): To...
833 (compare_type_to_native_type): ...this, add alignment check.
834 * testsuite/30_threads/condition_variable_any/native_handle/
835 typesizes.cc: Modify as above.
836 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
837 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
838 * testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
839 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
840 * testsuite/30_threads/condition_variable/native_handle/
842 * testsuite/30_threads/recursive_timed_mutex/native_handle/
845 * testsuite/30_threads/thread/cons/1.cc: Add comments.
846 * testsuite/30_threads/thread/cons/2.cc: Same.
847 * testsuite/30_threads/thread/cons/3.cc: Same.
848 * testsuite/30_threads/thread/cons/4.cc: Same.
849 * testsuite/30_threads/thread/cons/5.cc: Same.
850 * testsuite/30_threads/thread/cons/6.cc: Same.
851 * testsuite/30_threads/thread/cons/7.cc: Same.
852 * testsuite/30_threads/thread/cons/8.cc: Same.
854 * testsuite/30_threads/thread/cons/9.cc: New.
855 * testsuite/30_threads/thread/cons/moveable.cc: New.
857 * src/condition_variable.cc: Clean up whitespace.
858 * include/std/condition_variable: Same.
860 2009-02-09 Benjamin Kosnik <bkoz@redhat.com>
862 * include/std/condition_variable (condition_variable): Remove
863 _M_internal_mutex. Add private __native_type typedef.
864 * src/condition_variable.cc (condition_variable::notify_one):
865 Remove _M_internal_mutex use. Use typedef.
866 (condition_variable::notify_all): Same.
867 * include/std/mutex (mutex): Add private __native_type typedef. Use it.
868 (recursive_mutex): Same.
870 (recursive_timed_mutex): Same.
871 (once_flag): Make __native_type typedef private.
873 * include/std/thread (this_thread): Add minimal markup.
875 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
877 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Same.
878 * testsuite/30_threads/mutex/cons/assign_neg.cc: Same.
879 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
880 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Same.
881 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Same.
882 * testsuite/30_threads/thread/cons/assign_neg.cc: Same.
883 * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
884 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
885 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
886 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Same.
887 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Same.
888 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Same.
889 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Same.
891 * testsuite/util/thread/all.h: Testsuite utilities for testing thread.
892 * testsuite/30_threads/condition_variable_any/native_handle/
894 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
895 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
896 * testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
897 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
898 * testsuite/30_threads/condition_variable/native_handle/
900 * testsuite/30_threads/recursive_timed_mutex/native_handle/
903 2009-02-09 Jack Howarth <howarth@bromo.med.uc.edu>
906 * libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc: Skip
909 2009-02-09 Adam Nemet <anemet@caviumnetworks.com>
911 * configure.host: Set abi_baseline_pair for mips64*-linux.
912 * config/abi/post/mips64-linux-gnu/baseline_symbols.txt: New file.
914 2009-02-08 Chris Fairles <cfairles@gcc.gnu.org>
916 * include/std/thread (this_thread::get_id): Inline.
918 2009-02-08 Chris Fairles <cfairles@gcc.gnu.org>
920 * include/std/thread (thread<>::thread(_Callable)): Explicitly use
921 _Callable as template argument for _M_make_shared_data.
922 * testsuite/30_threads/thread/cons/6.cc: New.
923 * testsuite/30_threads/thread/cons/7.cc: New.
924 * testsuite/30_threads/thread/cons/8.cc: New.
926 2009-02-07 Benjamin Kosnik <bkoz@redhat.com>
928 * testsuite/30_threads/thread/member: To..
929 * testsuite/30_threads/thread/members: ...this.
930 * testsuite/30_threads/condition_variable/member: To...
931 * testsuite/30_threads/condition_variable/members: ...this.
933 2009-02-06 Benjamin Kosnik <bkoz@redhat.com>
935 * include/std/thread (thread::id): Move definition inside thread.
936 Use native_handle_type. Remove this_thread::get_id friend.
937 Change __thread_data_ptr to __shared_base_ptr.
938 (thread::id::id(native_handle_type): Make public. Still explicit.
939 Use native_handle_type. Change _M_thread_id to _M_thread.
940 (thread::__thread_data_base): Rename to _Impl_base. Use id, change
941 _M_thread_handle to _M_id.
942 (thread::__thread_data): Rename to _Impl.
944 (thread::_M_make_thread_data): Return derived type.
945 (thread::hardware_concurrency): Add definition for default case.
946 (thread::get_id): Now can define inline.
947 (thread): Change _M_thread_data to _M_data.
948 (this_thread::get_id): Now can define inline.
949 * src/thread.cc (__thread_proxy): Rename to
950 execute_native_thread_routine.
951 Fixup for other renames.
952 * testsuite/30_threads/thread/cons/assign_neg.cc: New.
953 * testsuite/30_threads/thread/cons/copy_neg.cc: New.
954 * testsuite/30_threads/thread/algorithm: Move to..
955 * testsuite/30_threads/thread/swap: ...this.
956 * testsuite/30_threads/thread/member/hardware_concurrency.cc: Add.
957 * testsuite/30_threads/thread/id/operators.cc: New.
959 2009-02-05 Chris Fairles <cfairles@gcc.gnu.org>
961 * include/std/tuple (_Head_base<>::_Head_base(_UHead&&)): Formatting.
962 (_Head_base<>::__swap_impl): Rename to _M_swap_impl.
963 (_Tuple_impl<>::__swap_impl): Likewise and make protected to avoid
964 exposing it in public std::tuple interface.
966 2009-02-05 Chris Fairles <cfairles@gcc.gnu.org>
967 Benjamin Kosnik <bkoz@redhat.com>
969 * include/std/thread (__thread_data_base): Nest class in std::thread.
970 (__thread_data): Likewise.
971 (__thread_data_ptr): Nest typedef in std::thread.
972 * src/thread.cc (__thread_proxy): Qualify the above names.
973 * config/abi/pre/gnu.ver: Remove unused exports.
975 2009-02-04 Benjamin Kosnik <bkoz@redhat.com>
977 * include/bits/unique_ptr.h: Remove private __this_type typedef.
978 * include/bits/stl_vector.h: Remove private vector_type typedef.
979 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
981 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
982 * testsuite/23_containers/vector/requirements/dr438/
983 constructor_1_neg.cc: Same.
984 * testsuite/23_containers/vector/requirements/dr438/
985 constructor_2_neg.cc: Same.
986 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
987 * testsuite/20_util/unique_ptr/assign/assign.cc: Same.
989 2009-02-03 Paolo Carlini <paolo.carlini@oracle.com>
992 * libsupc++/exception_defines.h: Depending on __EXCEPTIONS,
993 deal consistently with __try and __catch too.
994 * src/localename.cc: Replace try -> __try, catch -> __catch.
995 * src/ios.cc: Likewise.
996 * src/locale.cc: Likewise.
997 * src/istream.cc: Likewise.
998 * src/thread.cc: Likewise.
999 * src/compatibility.cc: Likewise.
1000 * src/bitmap_allocator.cc: Likewise.
1001 * src/ios_init.cc: Likewise.
1002 * include/debug/deque: Likewise.
1003 * include/debug/list: Likewise.
1004 * include/tr1_impl/hashtable: Likewise.
1005 * include/std/bitset: Likewise.
1006 * include/ext/pb_ds/detail/resize_policy/
1007 hash_load_check_resize_trigger_imp.hpp: Likewise.
1008 * include/ext/pb_ds/detail/resize_policy/
1009 hash_standard_resize_policy_imp.hpp: Likewise.
1010 * include/ext/pb_ds/detail/cc_hash_table_map_/
1011 resize_fn_imps.hpp: Likewise.
1012 * include/ext/pb_ds/detail/cc_hash_table_map_/
1013 constructor_destructor_fn_imps.hpp: Likewise.
1014 * include/ext/pb_ds/detail/pat_trie_/
1015 split_join_branch_bag.hpp: Likewise.
1016 * include/ext/pb_ds/detail/pat_trie_/
1017 constructors_destructor_fn_imps.hpp: Likewise.
1018 * include/ext/pb_ds/detail/bin_search_tree_/
1019 constructors_destructor_fn_imps.hpp: Likewise.
1020 * include/ext/pb_ds/detail/gp_hash_table_map_/
1021 resize_fn_imps.hpp: Likewise.
1022 * include/ext/pb_ds/detail/gp_hash_table_map_/
1023 constructor_destructor_fn_imps.hpp: Likewise.
1024 * include/ext/pb_ds/detail/binary_heap_/
1025 constructors_destructor_fn_imps.hpp: Likewise.
1026 * include/ext/pb_ds/detail/binary_heap_/
1027 erase_fn_imps.hpp: Likewise.
1028 * include/ext/pb_ds/detail/binary_heap_/
1029 split_join_fn_imps.hpp: Likewise.
1030 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1031 constructors_destructor_fn_imps.hpp: Likewise.
1032 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
1033 * include/ext/pb_ds/detail/list_update_map_/
1034 constructor_destructor_fn_imps.hpp: Likewise.
1035 * include/ext/slist: Likewise.
1036 * include/ext/memory: Likewise.
1037 * include/ext/rc_string_base.h: Likewise.
1038 * include/ext/ropeimpl.h: Likewise.
1039 * include/ext/vstring.tcc: Likewise.
1040 * include/ext/rope: Likewise.
1041 * include/ext/sso_string_base.h: Likewise.
1042 * include/bits/shared_ptr.h: Likewise.
1043 * include/bits/stl_list.h: Likewise.
1044 * include/bits/locale_classes.tcc: Likewise.
1045 * include/bits/locale_facets.tcc: Likewise.
1046 * include/bits/locale_classes.h: Likewise.
1047 * include/bits/forward_list.h: Likewise.
1048 * include/bits/stl_vector.h: Likewise.
1049 * include/bits/stl_deque.h: Likewise.
1050 * include/bits/istream.tcc: Likewise.
1051 * include/bits/stl_uninitialized.h: Likewise.
1052 * include/bits/ostream.tcc: Likewise.
1053 * include/bits/vector.tcc: Likewise.
1054 * include/bits/stl_tempbuf.h: Likewise.
1055 * include/bits/deque.tcc: Likewise.
1056 * include/bits/basic_string.tcc: Likewise.
1057 * include/bits/ostream_insert.h: Likewise.
1058 * include/bits/locale_facets_nonio.tcc: Likewise.
1059 * include/bits/stl_tree.h: Likewise.
1060 * include/bits/fstream.tcc: Likewise.
1061 * include/tr1/shared_ptr.h: Likewise.
1062 * include/tr1/hypergeometric.tcc: Likewise.
1063 * include/backward/hashtable.h: Likewise.
1064 * libsupc++/exception_ptr.h: Likewise.
1065 * libsupc++/eh_personality.cc: Likewise.
1066 * libsupc++/eh_call.cc: Likewise.
1067 * config/locale/gnu/monetary_members.cc: Likewise.
1068 * config/locale/gnu/time_members.h: Likewise.
1069 * config/locale/generic/time_members.h: Likewise.
1071 2009-02-03 Johannes Singler <singler@ira.uka.de>
1073 * include/parallel/algorithmfwd.h:
1074 Add parallelism default for many declarations.
1075 * include/parallel/numericfwd.h: Likewise.
1076 * include/parallel/iterator.h: Use iterator_traits as usual.
1077 * include/parallel/par_loop.h:
1078 Include equally_split.h.
1079 (for_each_template_random_access_ed):
1080 Avoid calling the Result default constructor.
1081 * include/parallel/numeric: Replace
1082 for_each_template_random_access by
1083 for_each_template_random_access_ed in numeric functions.
1085 2009-02-02 Benjamin Kosnik <bkoz@redhat.com>
1087 * config/os/gnu-linux/os_defines.h: Remove superfluous
1088 __NO_STRING_INLINES.
1090 2009-02-02 Jakub Jelinek <jakub@redhat.com>
1092 * testsuite/21_strings/c_strings/char/3.cc: New test.
1093 * testsuite/21_strings/c_strings/wchar_t/3.cc: New test.
1095 2009-01-30 Ulrich Drepper <drepper@redhat.com>
1096 Jakub Jelinek <jakub@redhat.com>
1098 PR libstdc++/30928 (partial, works together with recent glibcs)
1099 * include/c_std/cstring (memchr, strchr, strpbrk, strrchr, strstr):
1100 Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
1102 * include/c_std/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
1103 Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
1105 * include/c_global/cstring (memchr, strchr, strpbrk, strrchr, strstr):
1106 Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
1108 * include/c_global/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
1109 Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
1111 * testsuite/21_strings/c_strings/char_t/2.cc (test02): If first
1112 argument is const char *, assign result to const char * var, not
1114 * testsuite/21_strings/c_strings/wchar_t/2.cc (test02): If first
1115 argument is const wchar_t *, assign result to const wchar_t * var, not
1118 2009-01-29 Jonathan Wakely <jwakely.gcc@gmail.com>
1120 * include/std/thread: Remove unused headers.
1121 (__thread_data_base): Remove unused mutex and base.
1122 (thread::~thread): Only detach if joinable.
1123 (thread::joinable): Test if thread data ptr is empty.
1124 (thread::_M_thread_data_mutex): Remove.
1125 (thread::_M_get_thread_data): Remove.
1126 (thread::_M_make_thread_data): Remove overload, use make_shared.
1127 (thread::id::id): Make constructor explicit.
1128 * src/thread.cc (thread::join,thread::detach): Throw if not joinable.
1129 (thread::_M_start_thread): Break shared_ptr cycle on error.
1130 (__thread_proxy): Use shared_ptr swap instead of copy and reset.
1131 * testsuite/30_threads/thread/member/4.cc: New.
1132 * testsuite/30_threads/thread/member/5.cc: New.
1134 2009-01-28 Benjamin Kosnik <bkoz@redhat.com>
1136 * testsuite/util/testsuite_common_types.h (has_trivial_cons_dtor): New.
1137 (standard_layout): Just use !has_virtual_destructor for now.
1138 * testsuite/30_threads/mutex/requirements/standard_layout.cc: New.
1139 * testsuite/30_threads/timed_mutex/requirements/standard_layout.cc: New.
1140 * testsuite/30_threads/recursive_mutex/requirements/
1141 standard_layout.cc: New.
1142 * testsuite/30_threads/condition_variable/requirements/
1143 standard_layout.cc: New.
1144 * testsuite/29_atomics/atomic_address/requirements/
1145 standard_layout.cc: Adjust.
1146 * testsuite/29_atomics/atomic_flag/requirements/
1147 standard_layout.cc: Same.
1148 * testsuite/29_atomics/atomic_address/requirements/trivial.cc: New.
1149 * testsuite/29_atomics/atomic_integral/requirements/trivial.cc: Same.
1150 * testsuite/29_atomics/atomic_flag/requirements/trivial.cc: Same.
1151 * testsuite/30_threads/condition_variable/requirements/typedefs.cc: New.
1152 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust
1154 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
1155 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
1156 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
1157 * testsuite/29_atomics/atomic/requirements/standard_layout.cc:
1158 Remove, not required.
1160 2009-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
1162 * include/std/thread (__thread_data_base, thread): Rename member
1163 functions to match coding style.
1164 (thread::thread,thread::operator=): Define move operations.
1165 * src/thread.cc (__thread_data_base, thread): Rename member functions.
1166 * config/abi/pre/gnu.ver: Adjust.
1168 2009-01-22 Benjamin Kosnik <bkoz@redhat.com>
1171 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Disable symbol versioning
1173 * configure: Regenerate.
1175 2009-01-21 Benjamin Kosnik <bkoz@redhat.com>
1177 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Remove
1180 2009-01-21 Dodji Seketeli <dodji@redhat.com>
1182 2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
1183 Uros Bizjak <ubizjak@gmail.com>
1186 * config/abi/pre/gnu.ver: Correct char16_t and char32_t exports.
1187 * config/os/gnu-linux/ldbl-extra.ver: Tweak.
1189 2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
1190 Rainer Emrich <r.emrich@de.tecosim.com>
1193 * crossconfig.m4: Use GLIBCXX_CHECK_MATH_SUPPORT and
1194 GLIBCXX_CHECK_STDLIB_SUPPORT for mingw crosses.
1195 * configure: Regenerate.
1197 2009-01-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1199 * include/std/thread (__thread_data_base::__run): Make non-const.
1200 * testsuite/30_threads/thread/cons/5.cc: New.
1202 2009-01-16 Benjamin Kosnik <bkoz@redhat.com>
1204 * src/Makefile.am (sources): Add math_stubs_float.cc.
1205 * src/Makefile.in: Regenerate.
1206 * src/math_stubs_float.cc: New, from libmath/stubs.c.
1208 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
1210 * src/Makefile.am (sources): Add math_stubs_long_double.cc.
1211 * src/Makefile.in: Regenerate.
1212 * src/math_stubs_long_double.cc: New, from libmath/stubs.c.
1214 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
1217 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
1219 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
1222 * Makefile.am (hosted_source): Remove libmath directory.
1223 * Makefile.in: Regenerate.
1224 * linkage.m4 (GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT): Remove.
1225 (AC_REPLACE_MATHFUNCS): Remove.
1226 (GLIBCXX_CHECK_MATH_SUPPORT): Remove copysign, copysignl checks as done
1227 in GLIBCXX_CHECK_C99_TR1.
1228 * acinclude.m4: Remove libmath, need_math.
1229 * crossconfig.m4: Remove use of HAVE_COPYSIGN, HAVE_COPYSIGNL,
1230 HAVE_COPYSIGNF, GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT, need_libmath.
1231 * configure.ac: Same.
1232 * configure: Regenerate.
1233 * fragment.am: Fix comment.
1234 * config.h.in: Regenerate.
1235 * src/Makefile.in: Regenerate.
1236 * src/Makefile.am: Remove libmath references.
1237 * doc/Makefile.in: Regenerate.
1238 * po/Makefile.in: Regenerate.
1239 * include/Makefile.in: Regenerate.
1240 * libsupc++/Makefile.in: Regenerate.
1241 * testsuite/Makefile.in: Regenerate.
1243 * src/compatibility.cc: Also export long double versions of "C" math
1244 library if hppa-linux.
1245 * config/abi/pre/gnu.ver: Remove unused __signbit exports.
1246 * doc/xml/manual/appendix_contributing.xml: Remove libmath reference.
1249 * libmath/signbit.c: Same.
1250 * libmath/stubs.c: Same.
1251 * libmath/Makefile.in: Same.
1252 * libmath/copysignf.c: Same.
1253 * libmath/mathconf.h: Same.
1254 * libmath/signbitf.c: Same.
1255 * libmath/Makefile.am: Same.
1256 * libmath/signbitl.c: Same.
1258 2009-01-15 Chris Fairles <cfairles@gcc.gnu.org>
1259 Paolo Carlini <paolo.carlini@oracle.com>
1261 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME],
1262 [GLIBCXX_CHECK_NANOSLEEP]): Remove.
1263 ([GLIBCXX_ENABLE_LIBSTDCXX_TIME]): Add.
1264 * configure.ac: Adjust.
1265 * doc/xml/manual/configure.xml: Update.
1266 * testsuite/lib/libstdc++.exp (check_v3_target_sched_yield): Add.
1267 * testsuite/lib/dg-options.exp (dg-require-sched-yield): Add.
1268 * testsuite/30_threads/thread/this_thread/2.cc: Use the latter.
1269 * configure: Regenerate.
1270 * config.h.in: Likewise.
1272 * src/thread.cc (thread::thread(), thread::~thread, thread::get_id,
1273 thread::joinable, thread::swap, this_thread::get_id,
1274 this_thread::yield): Define inline...
1275 * include/std/thread: ... here.
1276 * config/abi/pre/gnu.ver: Adjust.
1278 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
1280 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc:
1281 Add dg-timeout-factor 2.0.
1282 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
1283 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
1284 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
1285 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
1286 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Ditto.
1287 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
1289 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
1291 * scripts/extract_symvers: Add sed script to remove ' [<other>: xx] '
1292 field from readelf output.
1294 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
1297 * crossconfig.m4 (hpux): Update for 10.20, 11, 11.20.
1298 * configure: Regenerate.
1300 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
1302 * crossconfig.m4 (linux): Add GCC_CHECK_TLS to define
1304 Use GLIBCXX_CHECK_COMPILER_FEATURES to compute SECTION_FLAGS.
1306 2009-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
1308 * include/tr1_impl/regex (basic_regex::basic_regex): Use range
1309 constructor for _M_pattern.
1310 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
1311 string.cc: Test construction from different basic_string type.
1312 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
1313 string.cc: Likewise.
1315 2009-01-07 Benjamin Kosnik <bkoz@redhat.com>
1316 Jonathan Larmour <jifl@eCosCentric.com>
1319 * config/cpu/generic/atomicity_mutex/atomicity.h (get_atomic_mutex):
1321 (__gnu_cxx::__exchange_and_add): Use it.
1322 * src/atomic.cc (get_atomic_mutex): New.
1323 * src/debug.cc (get_safe_base_mutex): New.
1324 * src/locale.cc (get_locale_cache_mutex): New.
1325 * src/mt_allocator.cc (get_freelist): New.
1326 (get_freelist_mutex): New.
1327 * src/pool_allocator.cc (get_palloc_mutex): New.
1328 * include/std/mutex (__once_functor_lock): To
1329 (__get_once_functor_lock): ...this.
1330 * src/mutex.cc (__once_mutex): Don't export, use
1331 (get_once_mutex): ...this.
1332 * config/abi/pre/gnu.ver: Adjust exports.
1334 2009-01-07 Jakub Jelinek <jakub@redhat.com>
1337 * libsupc++/unwind-cxx.h (__cxxabiv1::__cxa_exception): Remove
1338 referenceCount field again.
1339 (__cxxabiv1::__cxa_refcounted_exception): New struct.
1340 (__cxxabiv1::__get_refcounted_exception_header_from_obj,
1341 __cxxabiv1::__get_refcounted_exception_header_from_ue): New static
1343 * libsupc++/eh_alloc.cc (__cxxabiv1::__cxa_allocate_exception,
1344 __cxxabiv1::__cxa_free_exception): Use __cxa_refcounted_exception
1345 instead of __cxa_exception.
1346 * libsupc++/eh_throw.cc (__gxx_exception_cleanup,
1347 __cxxabiv1::__cxa_throw): Likewise.
1348 * libsupc++/eh_ptr.cc (std::rethrow_exception,
1349 std::__exception_ptr::exception_ptr::_M_addref,
1350 std::__exception_ptr::exception_ptr::_M_release,
1351 __gxx_dependent_exception_cleanup): Likewise.
1352 * testsuite/18_support/exception/38732.cc: New test.
1355 * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New test.
1356 * src/compatibility.cc: Don't use .symver directives if
1357 _GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE is not defined.
1358 * config.h.in: Regenerated.
1359 * configure: Likewise.
1361 2009-01-07 Paolo Carlini <paolo.carlini@oracle.com>
1364 * include/bits/stl_pair.h: Document C++03 pair vs swap.
1366 2009-01-06 Benjamin Kosnik <bkoz@redhat.com>
1368 * src/locale_init.cc (locale::_S_initialize_once): Move construction
1369 of classic locale...
1370 (locale::classic): Here.
1372 2009-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
1374 * include/tr1_impl/regex: Fix bad return statements and typos.
1376 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
1378 * include/tr1_impl/regex: Remove unimplemented function definitions.
1379 * testsuite/28_regex/init-list.cc: Compile only.
1380 * testsuite/tr1/7_regular_expressions/regex/cons/char/
1381 c_string_extended.cc: Same.
1382 * testsuite/tr1/7_regular_expressions/basic_regex/assign/*: Same.
1383 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/*: Same.
1385 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
1388 * crossconfig.m4: Define HAVE_FABSF for hpux crosses.
1389 * configure: Regenerate.
1391 2009-01-05 Ben Elliston <bje@au.ibm.com>
1393 * configure.ac (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove invocation.
1394 * configure: Regenerate.
1396 2009-01-05 Ben Elliston <bje@au.ibm.com>
1398 * configure.ac: Exchange the order of GLIBCXX_ENABLE_THREADS and
1399 GLIBCXX_ENABLE_ATOMIC_BUILTINS macro invocations.
1400 * configure: Regenerate.
1402 2009-01-04 Richard Guenther <rguenther@suse.de>
1405 * include/ext/pointer.h (_Relative_pointer_impl): Use an unsigned
1406 integer type for storage, arithmetic and comparisons.
1407 * testsuite/ext/ext_pointer/1_neg.cc: Adjust line numbers.
1409 2009-01-04 Paolo Carlini <paolo.carlini@oracle.com>
1412 * include/bits/forward_list.h (_Fwd_list_iterator<>::_M_next,
1413 _Fwd_list_const_iterator::_M_next): Fix return type.
1415 2009-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1417 * Revert last commit, reopen and suspend libstdc++/38678.
1419 2009-01-01 Paolo Carlini <paolo.carlini@oracle.com>
1422 * include/std/istream (basic_istream<>::_M_read): New.
1423 * include/bits/istream.tcc (basic_istream<>::_M_read): Define.
1424 (basic_istream<>::read, basic_istream<>::readsome): Use it.
1425 * include/std/ostream (basic_ostream<>::_M_write_): New.
1426 (basic_ostream<>::_M_write): Adjust.
1427 * include/bits/ostream.tcc (basic_ostream<>::_M_write_): Define.
1428 * testsuite/27_io/basic_istream/read/char/38678.cc: New.
1429 * testsuite/27_io/basic_istream/read/wchar_t/38678.cc: Likewise.
1430 * testsuite/27_io/basic_ostream/write/char/38678.cc: Likewise.
1431 * testsuite/27_io/basic_ostream/write/wchar_t/38678.cc: Likewise.
1433 2008-12-22 Jonathan Larmour <jifl@eCosCentric.com>
1435 * include/ext/concurrence.h: Fix __gthread_cond_t initialisation
1436 function macro name.
1438 2008-12-22 Benjamin Kosnik <bkoz@redhat.com>
1440 * doc/doxygen/stdheader.cc: Add cstdlib.
1441 * doc/doxygen/user.cfg.in: Regenerate for doxygen 1.5.7.
1443 2008-12-21 Andrew Pinski <pinskia@gmail.com>
1446 * configure: Regenerate.
1448 2008-12-21 Paolo Carlini <paolo.carlini@oracle.com>
1451 * include/tr1_impl/functional (function<>::target,
1452 function<>::target_type): Provide only when __GXX_RTTI is defined.
1453 (_Function_base::_M_manager, _Ref_manager<>::_M_manager,
1454 _Function_handler<void(_ArgTypes...), _Member _Class::*>::_M_manager):
1457 2008-12-19 Ben Elliston <bje@au.ibm.com>
1459 * acinclude.m4: Guard a variable test against an empty string.
1460 * configure: Regenerate.
1462 2008-12-18 Jack Howarth <howarth@bromo.med.uc.edu>
1464 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
1465 Add xfail on all targets except darwin.
1466 * libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/
1468 * libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc: Correct syntax
1469 for xfailing on all targets except linux.
1471 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1473 * configure: Regenerate.
1475 2008-12-17 Jack Howarth <howarth@bromo.med.uc.edu>
1477 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1478 Don't xfail test on darwin8 or later.
1480 2008-12-16 Jack Howarth <howarth@bromo.med.uc.edu>
1482 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1483 Don't xfail excessive errors on darwin8 or later.
1485 2008-12-15 Benjamin Kosnik <bkoz@redhat.com>
1487 * include/c_global/cstdatomic: Remove assert include.
1488 * include/debug/debug.h: Consolidate __replacement_assert...
1489 * include/parallel/base.h: Consolidate __replacement_assert...
1490 * include/bits/c++config: ...here.
1491 * include/bits/atomic_0.h: Use it.
1492 * include/bits/atomic_2.h: Same.
1493 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
1494 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
1496 2008-12-13 Benjamin Kosnik <bkoz@redhat.com>
1498 * src/atomic.cc: Revert last change.
1499 * include/bits/atomic_2.h: Move cassert include to...
1500 * include/c_global/cstdatomic: ...here.
1501 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
1502 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
1504 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
1506 * src/Makefile.am: Remove -x c++ for atomic build rules.
1507 * src/Makefile.in: Regenerate.
1508 * src/atomic.cc: Move mutex include before cstdatomic.
1510 2008-12-12 H.J. Lu <hongjiu.lu@intel.com>
1513 * testsuite/util/regression/trait/assoc/type_trait.hpp
1514 (regression_test_type_traits): Add const to pair_type_rebind.
1516 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
1518 * src/atomic.cc: Correct guards to match mutex.cc.
1520 2008-12-11 Benjamin Kosnik <bkoz@redhat.com>
1521 Richard Henderson <rth@redhat.com>
1523 * include/c_global/cstdatomic: Update to N2798.
1524 (atomic): Remove explicit constructors as per DR 845.
1525 * include/bits/atomic_0.h: New. Switchable implementation.
1526 * include/bits/atomic_2.h: New. Lock-free implementation.
1527 * include/c_compatibility/stdatomic.h: Use foward headers.
1528 * include/bits/atomicfwd_cxx.h: New.
1529 * include/bits/atomicfwd_c.h: New.
1530 * src/atomic.cc: Adjust.
1531 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove,
1532 unconditionally use default/deleted syntax.
1533 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for 2, 8.
1534 * include/Makefile.am (bits_headers): Add atomicfwd_c.h,
1535 atomicfwd_cxx.h, atomic_0.h, atomic_2.h.
1536 * include/Makefile.in: Regenerate.
1537 * configure: Regenerate.
1538 * config.h.in: Regenerate.
1539 * config/abi/pre/gnu.ver: Adjust exports.
1541 * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: Adjust.
1542 * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: Same.
1543 * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: Same.
1544 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
1545 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Move to..
1546 * testsuite/29_atomics/atomic_address/cons/single_value.cc: ...this.
1547 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc
1548 * testsuite/29_atomics/atomic_integral/cons/single_value.cc: New.
1549 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: New.
1550 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: New.
1551 * testsuite/29_atomics/atomic_integral/cons/default.cc: New.
1552 * testsuite/29_atomics/atomic_integral/cons/direct_list.cc: New.
1553 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
1554 * testsuite/29_atomics/atomic_integral/requirements/
1555 standard_layout.cc: New.
1556 * testsuite/29_atomics/atomic_integral/operators/
1557 integral_assignment.cc: New.
1558 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: New.
1559 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: New.
1560 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: New.
1561 * testsuite/29_atomics/atomic_integral/operators/increment.cc: New.
1562 * testsuite/29_atomics/atomic_integral/operators/decrement.cc: New.
1563 * testsuite/29_atomics/atomic_integral/operators/bitwise.cc: New.
1564 * testsuite/29_atomics/atomic_integral/operators/
1565 integral_conversion.cc: New.
1566 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Adjust.
1567 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
1568 * testsuite/29_atomics/atomic_flag/requirements/
1569 standard_layout.cc: Same.
1570 * testsuite/29_atomics/atomic_flag/
1571 atomic_global_fence_compatibility.cc: Kill.
1572 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Adjust.
1573 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
1574 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
1575 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
1576 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
1577 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
1578 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Move to...
1579 * testsuite/29_atomics/atomic/cons/single_value.cc: ...this.
1580 * testsuite/29_atomics/atomic/cons/copy_neg.cc
1581 * testsuite/29_atomics/atomic/cons/direct_list.cc: New.
1582 * testsuite/29_atomics/atomic/cons/copy_list.cc: New.
1583 * testsuite/29_atomics/atomic/requirements/standard_layout.cc: New.
1584 * testsuite/29_atomics/atomic/requirements/base_classes.cc: New.
1585 * testsuite/29_atomics/atomic/operators/integral_assignment.cc: New.
1586 * testsuite/29_atomics/atomic/operators/integral_conversion.cc: New.
1587 * testsuite/util/testsuite_hooks.h (bitmask_operators): Move...
1588 * testsuite/util/testsuite_common_types.h: ...here.
1589 (atomic_integrals_no_bool): New.
1590 (atomic_integrals): New.
1591 (has_increment_operators, has_decrement_operators)
1592 (direct_list_initializable, single_value_constructible)
1593 (standard_layout, has_bitwise_operators, integral_convertable)
1594 (integral_assignable): Add.
1596 2008-12-11 Jakub Jelinek <jakub@redhat.com>
1599 * testsuite/26_numerics/headers/cmath/37582.cc: New.
1601 2008-12-08 Paolo Carlini <paolo.carlini@oracle.com>
1603 * include/tr1_impl/cmath: Undef remquof / remquol too; add using
1605 * acinclude.m4 [GLIBCXX_CHECK_C99_TR1]: Check remquof / remquol too.
1606 * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Adjust.
1607 * configure: Regenerate.
1609 2008-12-08 Edward Smith-Rowland <3dw4rd@verizon.net>
1611 * include/bits/forward_list.h: Fixed spurious "forward_swap" in doxy.
1613 2008-12-06 Paolo Carlini <paolo.carlini@oracle.com>
1616 * include/tr1/ell_integral.tcc: Avoid __ea, future SPU badname.
1617 * doc/xml/manual/appendix_contributing.xml: Add __ea to the list
1620 2008-12-05 Tom Tromey <tromey@redhat.com>
1622 * include/tr1_impl/functional (_Mu): Fix typo.
1624 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
1627 * include/bits/locale_facets_nonio.tcc (money_get<>::
1628 _M_extract(iter_type, iter_type, ios_base&, ios_base::iostate&,
1629 string&)): Fix, reject decimal point when frac_digits <= 0.
1630 * testsuite/22_locale/money_get/get/char/38399.cc: New.
1631 * testsuite/22_locale/money_get/get/wchar_t/38399.cc: Likewise.
1632 * testsuite/22_locale/money_get/get/char/5.cc: Adjust.
1633 * testsuite/22_locale/money_get/get/wchar_t/5.cc: Likewise.
1635 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
1638 * testsuite/22_locale/numpunct/members/char/2.cc: Use is_IS instead
1640 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
1641 * testsuite/22_locale/locale/cons/7.cc: Likewise.
1643 2008-12-04 Paolo Carlini <paolo.carlini@oracle.com>
1646 * config/locale/gnu/numeric_members.cc (numpunct<char>::
1647 _M_initialize_numpunct, numpunct<wchar_t>::_M_initialize_numpunct):
1648 Fix for THOUSANDS_SEP == '\0' consistently with "C" locale.
1649 * config/locale/gnu/monetary_members.cc (moneypunct<char, true>::
1650 _M_initialize_moneypunct, moneypunct<char, false>::
1651 _M_initialize_moneypunct, moneypunct<wchar_t, true>::
1652 _M_initialize_moneypunct, moneypunct<wchar_t, false>::
1653 _M_initialize_moneypunct): Fix for __MON_DECIMAL_POINT == '\0' or
1654 __MON_THOUSANDS_SEP == '\0' consistently with "C" locale.
1655 * testsuite/22_locale/locale/cons/38368.cc: New.
1657 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
1659 PR libstdc++/38365 (cont)
1660 * src/localename.cc (locale::locale(const locale&, const locale&,
1661 category)): Revert last changes.
1662 (locale::_Impl::_M_replace_categories(const _Impl*, category)):
1663 Fix here instead; rework.
1665 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
1668 * src/localename.cc (locale::locale(const locale&, const locale&,
1670 * testsuite/22_locale/locale/cons/38365.cc: New.
1672 2008-12-01 Benjamin Kosnik <bkoz@redhat.com>
1675 * include/std/iostream: Correct URL.
1676 * include/std/streambuf: Same.
1677 * include/std/bitset: Same.
1678 * include/std/iosfwd: Same.
1679 * include/std/fstream: Same.
1680 * include/std/istream: Same.
1681 * include/std/ostream: Same.
1682 * include/std/sstream: Same.
1683 * include/bits/basic_ios.h: Same.
1684 * include/bits/stl_map.h: Same.
1685 * include/bits/stl_set.h: Same.
1686 * include/bits/stl_multimap.h: Same.
1687 * include/bits/ios_base.h: Same.
1688 * include/bits/stl_multiset.h: Same.
1689 * include/bits/char_traits.h: Same.
1690 * include/bits/stl_relops.h: Same.
1691 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
1692 * testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto.
1694 2008-11-26 Janis Johnson <janis187@us.ibm.com>
1697 * testsuite/lib/libstdc++.exp: Include new timeout library files.
1698 (libstdc++_init): Define tool_timeout.
1699 (dg-test): Override DejaGnu proc.
1700 (v3_target_compile): Set timeout value from new proc.
1701 (v3_target_compile_as_c): Ditto.
1703 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
1705 PR libstdc++/38244 (cont, debug bits)
1706 * include/debug/bitset (bitset<>::bitset(const char*, char, char)):
1707 Remove, do not implement DR 778.
1709 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
1712 * include/std/bitset (bitset<>::bitset(const char*, char, char)):
1713 Remove, do not implement DR 778.
1714 * doc/xml/manual/intro.xml: Remove entry for DR 778.
1715 * testsuite/23_containers/bitset/cons/2.cc: Remove.
1716 * testsuite/23_containers/bitset/cons/dr396.cc: Tweak.
1717 * testsuite/23_containers/bitset/cons/38244.cc: Add.
1719 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
1721 * testsuite/22_locale/num_put/put/char/38210.cc: Tweak.
1722 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
1724 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
1727 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
1728 ios_base&, char_type, const void*)): Fix.
1729 * testsuite/22_locale/num_put/put/char/38210.cc: New.
1730 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
1732 2008-11-20 Paolo Carlini <paolo.carlini@oracle.com>
1735 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
1736 ios_base&, char_type, bool)): Fix.
1737 * testsuite/22_locale/num_put/put/char/38196.cc: New.
1738 * testsuite/22_locale/num_put/put/wchar_t/38196.cc: Likewise.
1740 2008-11-18 Paolo Carlini <paolo.carlini@oracle.com>
1742 * include/tr1_impl/cinttypes: Remove redundant pragma system_header.
1743 * include/tr1_impl/cfenv: Likewise.
1744 * include/tr1_impl/cstdint: Likewise.
1746 2008-11-13 Paolo Carlini <paolo.carlini@oracle.com>
1749 * include/c_global/csignal: Do not use include_next.
1750 * include/c_global/cstdlib: Likewise.
1751 * include/c_global/cstdio: Likewise.
1752 * include/c_global/cstdarg: Likewise.
1753 * include/c_global/cctype: Likewise.
1754 * include/c_global/cerrno: Likewise.
1755 * include/c_global/cmath: Likewise.
1756 * include/c_global/clocale: Likewise.
1757 * include/c_global/climits: Likewise.
1758 * include/c_global/cassert: Likewise.
1759 * include/c_global/csetjmp: Likewise.
1760 * include/c_global/cwchar: Likewise.
1761 * include/c_global/cfloat: Likewise.
1762 * include/c_global/cstdbool: Likewise.
1763 * include/c_global/cstring: Likewise.
1764 * include/c_global/cstddef: Likewise.
1765 * include/c_global/cwctype: Likewise.
1766 * include/tr1/cstdbool: Likewise.
1767 * include/tr1_impl/cinttypes: Do not include <inttypes.h>.
1768 * include/c_global/cinttypes: Do it here.
1769 * include/tr1/cinttypes: Likewise.
1770 * include/tr1_impl/cfenv: Do not include <fenv.h>.
1771 * include/c_global/cfenv: Do it here.
1772 * include/tr1/cfenv: Likewise.
1773 * include/tr1_impl/cstdint: Do not include <stdint.h>.
1774 * include/c_global/cstdint: Do it here.
1775 * include/tr1/cstdint: Likewise.
1776 * include/c_compatibility/fenv.h: Include <tr1_impl/cfenv>.
1777 * include/c_compatibility/stdint.h: Include <tr1_impl/cstdint>.
1778 * include/c_compatibility/inttypes.h: Include <tr1_impl/cinttypes>.
1780 * include/c_compatibility/math.h: Minor tweak, add comment.
1782 2008-11-12 Steve Ellcey <sje@cup.hp.com>
1784 * configure.ac: Move call to GCC_CHECK_UNWIND_GETIPINFO.
1785 * configure: Regenerate to get new GCC_CHECK_UNWIND_GETIPINFO.
1787 2008-11-12 Paolo Carlini <paolo.carlini@oracle.com>
1789 PR libstdc++/37986 (cont)
1790 * include/tr1_impl/random (struct _Adaptor): Use only remove_reference
1792 (struct _Adaptor<_Engine*, _Distribution>): Add.
1793 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
1796 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1799 * include/tr1_impl/random (struct _Adaptor): Use remove_pointer
1800 and remove_reference on _Engine.
1801 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
1804 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1806 * testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers.
1808 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1810 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc: Fix.
1811 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
1814 2008-11-11 Bob Walters <bob.s.walters@gmail.com>
1816 * include/bits/forward_list.h: Support non-standard pointer types
1817 (_Fwd_list_node_base): Add _Alloc template parameter.
1818 (_Fwd_list_node<>): Likewise.
1819 (_Fwd_list_iterator<>): Likewise.
1820 (_Fwd_list_const_iterator<>): Likewise.
1821 (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
1822 Use _Alloc<_Tp>::pointer.
1823 (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
1824 (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
1825 _M_insert_after, _M_put_node, _M_erase_after): Likewise.
1826 (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
1827 (forward_list<>): Use __static_pointer_cast in place of static_cast,
1828 and __const_pointer_cast in place of const_cast.
1829 * include/bits/forward_list.tcc
1830 (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
1831 of standard pointers, __static_pointer_cast in place of static_cast.
1832 (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
1834 (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
1835 splice_after, remove, remove_if, merge): Likewise.
1836 * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
1837 * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
1839 * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
1841 * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
1843 * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
1845 * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
1847 * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
1849 * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
1851 * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
1853 * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
1855 * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
1857 * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
1859 * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
1861 * testsuite/23_containers/forward_list/ext_pointer/requirements/
1862 explicit_instantiation/1.cc: Likewise.
1863 * testsuite/23_containers/forward_list/ext_pointer/requirements/
1864 explicit_instantiation/3.cc: Likewise.
1865 * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
1867 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1869 * include/ext/extptr_allocator.h: Minor tweaks.
1870 * include/ext/pointer.h: Likewise.
1871 * include/ext/cast.h: Likewise.
1873 2008-11-10 Paolo Carlini <paolo.carlini@oracle.com>
1876 * config/locale/gnu/monetary_members.cc (moneypunct<>::
1877 _M_initialize_moneypunct(__c_locale, const char*)): Use correct vector
1878 delete for __wcs_ps and __wcs_ns.
1880 2008-11-07 Bob Walters <bob.s.walters@gmail.com>
1882 * include/ext/pointer.h: New, add experimental support for non-standard
1883 pointer types in containers via the allocator::pointer typedef.
1884 (Currently only supported/working with std::vector)
1885 * include/ext/cast.h: New, add overload-able pointer casting functions
1886 for use in containers supporting non-standard pointer types.
1887 * include/ext/extptr_allocator.h: New, add _ExtPtr_allocator.
1888 * include/Makefile.am: Update.
1889 * include/precompiled/extc++.h: Likewise.
1890 * include/Makefile.in: Regenerate.
1891 * testsuite/ext/ext_pointer/1.cc: New.
1892 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
1893 * testsuite/23_containers/vector/ext_pointer/citerators.cc: New.
1894 * testsuite/23_containers/vector/ext_pointer/data_access.cc: Likewise.
1895 * testsuite/23_containers/vector/ext_pointer/resize.cc: Likewise.
1896 * testsuite/23_containers/vector/ext_pointer/types/1.cc: Likewise.
1897 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
1899 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc:
1901 * testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc:
1903 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1905 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1908 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1912 * include/tr1_impl/functional (result_of,reference_wrapper): Update
1913 to use C++0x features.
1914 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
1915 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
1917 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
1919 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
1921 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1925 * include/tr1_impl/functional (result_of,reference_wrapper): Update
1926 to use C++0x features.
1927 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
1928 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
1930 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
1932 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
1934 2008-11-03 Paolo Carlini <paolo.carlini@oracle.com>
1936 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1937 iter_type, ios_base&, ios_base::iostate&, bool&): Tidy.
1938 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
1939 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1941 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1943 PR libstdc++/37958 (cont again)
1944 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1945 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
1946 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
1947 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1949 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1951 * include/bits/locale_facets.tcc (num_get<>::do_get(, long&),
1952 num_get<>::do_get(, unsigned short&),
1953 num_get<>::do_get(, unsigned int&),
1954 num_get<>::do_get(, unsigned long&),
1955 num_get<>::do_get(, long long&),
1956 num_get<>::do_get(, unsigned long long&),
1957 num_put<>::do_put(, long), num_put<>::do_put(, unsigned long),
1958 num_put<>::do_put(, long long),
1959 num_put<>::do_put(, unsigned long long)): Move inline...
1960 * include/bits/locale_facets.h: ... here.
1962 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1964 PR libstdc++/37958 (cont)
1965 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1966 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
1968 2008-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
1970 * include/bits/shared_ptr.h: Update comparisons to match WP.
1971 (_Sp_counted_ptr): Make copy and assignment members deleted.
1972 (_Sp_counted_deleter): Remove private copy and assignment members.
1973 (__shared_count::_M_less,__weak_count::_M_less,operator<): Replace
1974 friend operator< with overloaded _M_less member functions to allow
1975 comparison with either shared_count or weak_count.
1976 (__shared_ptr::_M_less,__weak_ptr::_M_less): Replace with...
1977 (__shared_ptr::owner_before,__weak_ptr::owner_before): New overloads
1978 for ownership-based ordering.
1979 (operator<(__shared_ptr,__shared_ptr)): Compare stored pointers,
1981 (operator==(__shared_ptr,__shared_ptr)): Make non-friend.
1982 (operator!=(__shared_ptr,__shared_ptr)): Likewise.
1983 (less<__shared_ptr<>>,less<shared_ptr<>>,_Sp_less): Explicitly call
1984 pointer specialization.
1985 (__weak_ptr::operator<,weak_ptr::operator<=,weak_ptr::operator>,
1986 weak_ptr::operator>=): Remove operator< and delete all comparisons.
1987 (_Sp_owner_less,owner_less): Predicate for ownership-based ordering.
1988 (operator<(shared_ptr,shared_ptr): Overload for derived shared_ptr.
1989 (operator==(shared_ptr,shared_ptr): Likewise.
1990 (operator!=(shared_ptr,shared_ptr): Likewise.
1991 (swap(shared_ptr,shared_ptr)): Fix parameter types.
1992 (swap(weak_ptr,weak_ptr)): Add missing overload.
1993 * testsuite/20_util/owner_less/cmp.cc: New.
1994 * testsuite/20_util/shared_ptr/comparison/cmp.cc: Test other ops.
1995 * testsuite/20_util/shared_ptr/comparison/less.cc: New.
1996 * testsuite/20_util/shared_ptr/observers/owner_before.cc: New.
1997 * testsuite/20_util/weak_ptr/observers/owner_before.cc: New.
1998 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: New.
2000 2008-10-31 Paolo Carlini <paolo.carlini@oracle.com>
2003 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
2004 iter_type, ios_base&, ios_base::iostate&, bool&): Fix.
2005 * testsuite/22_locale/num_get/get/char/37958.cc: New.
2006 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
2008 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
2012 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
2014 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
2015 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
2016 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
2017 Remove the old variadic constructor, and instead provide several
2018 variadic constructors that avoid failing when attempting to
2019 initialize a pointer from a null pointer constant.
2020 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
2021 initialization of pointers from the null pointer constant.
2023 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
2026 * config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF
2027 * include/bits/basic_string.h: Guard string conversions with
2028 !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF) too.
2029 * testsuite/lib/libstdc++.exp (check_v3_target_string_conversions):
2031 * testsuite/lib/dg-options.exp (dg-require-string-conversions): New.
2032 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2034 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
2036 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
2038 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
2040 * testsuite/21_strings/basic_string/numeric_conversions/char/
2041 stoull.cc: Likewise.
2042 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
2044 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
2046 * testsuite/21_strings/basic_string/numeric_conversions/char/
2047 to_string.cc: Likewise.
2048 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2051 2008-10-24 Paolo Carlini <paolo.carlini@oracle.com>
2053 * config/os/generic/error_constants.h (enum errc): Remove
2054 no_posix_equivalent.
2055 * config/os/mingw32/error_constants.h (enum errc): Likewise.
2056 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
2059 2008-10-24 Jakub Jelinek <jakub@redhat.com>
2061 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
2062 (RUNTESTDEFAULTFLAGS, EXPECT, check_DEJAGNU_normal_targets): New
2064 (%/site.exp, check-DEJAGNU%): New targets.
2065 (check-am): Run $(MAKE) check-DEJAGNU.
2066 * testsuite/Makefile.in: Regenerated.
2068 2008-10-23 Chris Fairles <cfairles@gcc.gnu.org>
2070 * config/os/generic/error_constants.h (errc): Use long type.
2071 * config/os/mingw32/error_constants.h (errc): Likewise.
2073 2008-10-22 Chris Fairles <cfairles@gcc.gnu.org>
2075 * include/std/system_error (is_error_code_enum): Specialize for errc.
2076 (error_category::error_category): Defaulted and protected.
2077 (error_category::~error_category): New, virtual.
2078 (error_category::error_category(const error_category&),
2079 error_category::operator=(const error_category&)): Deleted.
2080 (get_system_category, get_posix_category): Remove (DR 890).
2081 (system_category): External linkage (DR 890).
2082 (posix_category): Remove.
2083 (generic_category): Add. External linkage (DR 890).
2084 (error_code::error_code<>(_ErrorCodeEnum)): Use generic_category.
2085 (error_code::clear, error_code::operator=<>(_ErrorCodeEnum)): Forward to
2086 error_code::assign, use generic_category.
2087 (error_condition::error_condition,
2088 error_condition::error_condition<>(_ErrorConditionEnum)): Use
2090 (error_condition::clear,
2091 error_condition::operator=<>(_ErrorConditionEnum)): Forward to
2092 error_code::assign, use generic_category.
2093 (make_error_code, make_error_condition): Define in namespace std.
2094 * include/std/mutex (unique_lock<>::lock, unique_lock<>::try_lock,
2095 unique_lock<>::try_lock_until<>(duration),
2096 unique_lock<>::try_lock_for<>(duration)): Replace posix_error with errc.
2097 * src/system_error.cc (system_error_category, generic_error_category):
2099 (gnu_error_category): Remove.
2100 (get_system_category, get_posix_category): Remove (DR 890).
2101 (system_category, generic_category): Define.
2102 * src/functexcept.cc (__throw_system_error): Use generic_category.
2103 * config/abi/pre/gnu.ver: Export system_category and generic_category,
2104 remove get_system_category and get_generic_category (DR 890).
2105 * config/os/generic/error_constants.h (posix_errno): Rename to errc, use
2106 enum class type. Fix spelling.
2107 * config/os/mingw32/error_constants.h (posix_errno): Likewise.
2108 * testsuite/19_diagnostics/error_code/cons/1.cc: Use errc and
2110 * testsuite/19_diagnostics/error_code/operators/bool.cc: Use errc.
2111 * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
2112 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Likewise.
2113 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Update
2114 dg-error line numbers.
2115 * testsuite/19_diagnostics/error_condition/cons/1.cc: Use
2117 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Use errc.
2118 * testsuite/19_diagnostics/error_condition/operators/equal.cc: Likewise.
2119 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
2121 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc: New.
2122 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
2123 Remove using tests since errc is not a namespace.
2124 * testsuite/19_diagnostics/system_error/cons-1.cc: Use errc.
2125 * testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
2126 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
2128 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
2130 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
2132 2008-10-20 Paolo Carlini <paolo.carlini@oracle.com>
2134 * include/tr1_impl/hashtable_policy.h (_Hash_node<>::_Hash_node<>
2135 (_Args&&...)): Add in C++0x mode.
2136 * include/tr1_impl/hashtable (_Hashtable<>::_M_allocate_node,
2137 _Hashtable<>::_M_deallocate_node): Use _M_get_Node_allocator in
2140 * include/tr1_impl/hashtable (_Hashtable<>::max_size): Use
2141 Node_allocator for improved accuracy.
2142 * testsuite/tr1/6_containers/unordered_multimap/capacity/
2143 29134-multimap.cc: Adjust.
2144 * testsuite/tr1/6_containers/unordered_multimap/capacity/
2145 29134-map.cc: Likewise.
2146 * testsuite/tr1/6_containers/unordered_multimap/capacity/
2147 29134-multiset.cc: Adjust.
2148 * testsuite/tr1/6_containers/unordered_multimap/capacity/
2149 29134-set.cc: Likewise.
2151 2008-10-19 Paolo Carlini <paolo.carlini@oracle.com>
2153 * include/bits/stl_tree.h (_Rb_tree_node<>::_Rb_tree_node<>
2154 (_Args&&...)): Add in C++0x mode.
2155 (_Rb_tree<>::_M_create_node<>(_Args&&...)): Add in C++0x mode,
2156 use _M_get_Node_allocator.
2157 (_Rb_tree<>::_M_destroy_node(_Link_type): Use _M_get_Node_allocator
2159 * testsuite/23_containers/set/operators/1_neg.cc: Adjust dg-error
2161 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
2163 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
2165 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
2166 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
2167 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
2168 Remove the old variadic constructor, and instead provide several
2169 variadic constructors that avoid failing when attempting to
2170 initialize a pointer from a null pointer constant.
2171 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
2172 initialization of pointers from the null pointer constant.
2174 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
2176 * include/bits/forward_list.tcc (forward_list<>::
2177 _M_initialize_dispatch(_InputIterator, _InputIterator, __false_type)):
2180 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
2182 * include/bits/forward_list.h (forward_list<>::
2183 forward_list(size_type)): Tweak, use _Base default constructor.
2185 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
2187 * include/bits/forward_list.h (forward_list<>::insert_after): Minor
2190 2008-10-16 Edward Smith-Rowland <3dw4rd@verizon.net>
2192 * include/bits/forward_list.h: Factor list construction to dispatch
2194 * include/bits/forward_list.tcc: Likewise.
2195 * testsuite/23_containers/forward_list/modifiers/2.cc:
2197 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
2199 * include/bits/forward_list.tcc (operator==): Use auto.
2201 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
2203 * include/bits/forward_list.h (_Fwd_list_base<>::_M_insert_after):
2204 Move out of line, tweak to return _Fwd_list_node_base*.
2205 (forward_list<>::insert_after(const_iterator, const _Tp&),
2206 forward_list<>::insert_after(const_iterator, _Tp&&)): Use it.
2207 * include/bits/forward_list.tcc (_Fwd_list_base<>::_M_insert_after):
2210 * include/bits/forward_list.h (forward_list<>): Consistently qualify
2211 calls of base class functions with this->.
2212 * include/bits/forward_list.tcc (forward_list<>): Likewise.
2214 * include/bits/forward_list.h: Move some functions out of line...
2215 * include/bits/forward_list.tcc: ... here.
2217 * include/bits/forward_list.h (forward_list<>::resize(size_type)): Fix.
2219 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
2221 * include/bits/forward_list.h: Remove pointless const qualifiers in
2223 * include/bits/forward_list.tcc: Likewise.
2225 * include/bits/forward_list.h (forward_list<>::pointer,
2226 const_pointer, reference, const_reference): Fix, use _Tp_alloc_type.
2227 * testsuite/23_containers/forward_list/requirements/
2228 explicit_instantiation/1.cc: New.
2229 * testsuite/23_containers/forward_list/requirements/
2230 explicit_instantiation/1.cc: Likewise.
2232 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
2234 * include/bits/forward_list.h (forward_list<>::max_size): Use
2235 Node_allocator; minor cosmetic changes.
2236 * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
2238 2008-10-15 Edward Smith-Rowland <3dw4rd@verizon.net>
2240 * include/std/forward_list: New.
2241 * include/bits/forward_list.h: Likewise.
2242 * include/bits/forward_list.tcc: Likewise.
2243 * include/precompiled/stdc++.h: Modified to include forward_list.
2244 * include/Makefile.am: Add forward_list, forward_list.h, and
2246 * include/Makefile.in: Regenerate.
2247 * testsuite/23_containers/forward_list/modifiers/1.cc: New.
2248 * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
2249 * testsuite/23_containers/forward_list/modifiers/3.cc: Likewise.
2250 * testsuite/23_containers/forward_list/modifiers/4.cc: Likewise.
2251 * testsuite/23_containers/forward_list/modifiers/5.cc: Likewise.
2252 * testsuite/23_containers/forward_list/cons/1.cc: Likewise.
2253 * testsuite/23_containers/forward_list/cons/2.cc: Likewise.
2254 * testsuite/23_containers/forward_list/cons/3.cc: Likewise.
2255 * testsuite/23_containers/forward_list/cons/4.cc: Likewise.
2256 * testsuite/23_containers/forward_list/cons/5.cc: Likewise.
2257 * testsuite/23_containers/forward_list/cons/6.cc: Likewise.
2258 * testsuite/23_containers/forward_list/cons/7.cc: Likewise.
2259 * testsuite/23_containers/forward_list/cons/8.cc: Likewise.
2260 * testsuite/23_containers/forward_list/cons/9.cc: Likewise.
2261 * testsuite/23_containers/forward_list/requirements/1.cc: Likewise.
2262 * testsuite/23_containers/forward_list/operations/1.cc: Likewise.
2263 * testsuite/23_containers/forward_list/operations/2.cc: Likewise.
2264 * testsuite/23_containers/forward_list/operations/3.cc: Likewise.
2265 * testsuite/23_containers/forward_list/operations/4.cc: Likewise.
2266 * testsuite/23_containers/forward_list/operations/5.cc: Likewise.
2267 * testsuite/23_containers/forward_list/operations/6.cc: Likewise.
2268 * testsuite/23_containers/forward_list/operations/7.cc: Likewise.
2269 * testsuite/23_containers/forward_list/capacity/1.cc: Likewise.
2270 * testsuite/23_containers/forward_list/comparable.cc: Likewise.
2271 * testsuite/23_containers/forward_list/moveable.cc: Likewise.
2272 * testsuite/23_containers/headers/forward_list/synopsis.cc: Likewise.
2273 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Update.
2274 * testsuite/17_intro/headers/c++200x/all: Likewise.
2276 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
2278 * include/bits/stl_list.h (_List_node<>::_List_node<>(_Args&&...)):
2280 (list<>::_M_create_node<>(_Args&&...)): Use _M_get_Node_allocator.
2281 (list<>::_M_erase(iterator): Likewise, in C++0x mode.
2282 * include/bits/list.tcc (_List_base<>::_M_clear): Likewise.
2283 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2284 Adjust dg-error line number.
2285 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2287 * testsuite/23_containers/list/requirements/dr438/
2288 constructor_1_neg.cc: Likewise.
2289 * testsuite/23_containers/list/requirements/dr438/
2290 constructor_2_neg.cc: Likewise.
2292 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
2294 * include/bits/stl_tree.h (_Rb_tree<>::max_size): Use Node_allocator
2295 for improved accuracy.
2296 * include/bits/stl_list.h (list<>::max_size): Likewise.
2297 * testsuite/23_containers/multimap/capacity/29134.cc: Adjust.
2298 * testsuite/23_containers/set/capacity/29134.cc: Likewise.
2299 * testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
2300 * testsuite/23_containers/list/capacity/29134.cc: Likewise.
2301 * testsuite/23_containers/map/capacity/29134.cc: Likewise.
2303 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
2305 * testsuite/20_util/reference_wrapper/24803.cc: Avoid uninitialized
2308 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
2310 * include/std/system_error (native_category): Remove.
2311 (posix_category): Add.
2312 (error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
2313 Fix _M_cat initialization.
2314 (error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
2315 (error_condition::_M_cat, error_condtion::operator=
2316 (_ErrorConditionEnum)): Implement resolution of DR 804.
2317 (error_condition::error_condition(_ErrorConditionEnum, typename
2318 enable_if<>:type*): Fix.
2319 (error_condition::clear, error_condition::assign): Implement.
2320 (operator==, operator!=): Fix uglification of parameters.
2321 (make_error_code, make_error_condition): Define in namespace
2323 (operator<<(basic_ostream<>&, const error_code&)): Define here.
2324 * include/std/ostream (operator<<(basic_ostream<>&,
2325 const error_code&)): Do not define here.
2326 * testsuite/19_diagnostics/error_condition/cons/1.cc: New.
2327 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
2328 * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
2330 * testsuite/19_diagnostics/error_condition/operators/equal.cc:
2332 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
2334 * testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
2335 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
2336 dg-error line numbers.
2337 * testsuite/30_threads/unique_lock/locking/2.cc: Tweak.
2339 * testsuite/util/testsuite_error.h: Minor tweaks.
2340 * testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.
2342 2008-10-10 Chris Fairles <cfairles@gcc.gnu.org>
2344 * testsuite/20_util/duration/cons/1.cc: Remove invalid check of
2345 uninitialized duration.
2347 2008-10-08 Bob Walters <bob.s.walters@gmail.com>
2349 * include/bits/stl_vector.h (_Vector_base<>::_Vector_impl::_M_start,
2350 _M_finish, _M_end_of_storage, _Vector_base<>::_M_allocate,
2351 _M_deallocate): Use _Tp_alloc_type::pointer.
2353 2008-10-07 Jason Merrill <jason@redhat.com>
2356 * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing.
2357 * testsuite/abi/demangle/abi_text/02.cc: Likewise.
2358 * testsuite/abi/demangle/regression/cw-16.cc: Likewise.
2360 2008-10-07 Paolo Carlini <paolo.carlini@oracle.com>
2362 * include/bits/stl_iterator.h (operator-(const reverse_iterator<>&,
2363 const reverse_iterator<>&), operator-(const __normal_iterator<>&,
2364 const __normal_iterator<>&), operator-(const move_iterator<>&,
2365 const move_iterator<>&)): Use the auto -> return type syntax,
2368 2008-10-06 Jason Merrill <jason@redhat.com>
2370 * config/abi/pre/gnu.ver: Update char16/32_t manglings.
2372 2008-10-05 Paolo Carlini <paolo.carlini@oracle.com>
2374 * testsuite/20_util/reference_wrapper/invoke.cc: New.
2375 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
2376 * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
2378 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
2380 * config/locale/generic/c_locale.cc (__convert_to_v): Fix
2381 !__FLT_HAS_INFINITY__ case.
2383 2008-09-30 Chris Fairles <cfairles@gcc.gnu.org>
2385 * include/std/tuple (tuple<>::swap): Implement swap for tuple as per
2387 * testsuite/20_util/tuple/swap.cc: New.
2389 2008-09-30 Paolo Carlini <paolo.carlini@oracle.com>
2391 PR libstdc++/30085 (again)
2392 * include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
2393 Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
2394 unordered_map / unordered_multimap; add missing member functions.
2395 * include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
2396 Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
2397 * include/debug/safe_association.h: Remove.
2398 * include/Makefile.am: Adjust.
2399 * include/Makefile.in: Regenerate.
2400 * testsuite/23_containers/unordered_multimap/init-list.cc: Remove
2403 2008-09-28 Paolo Carlini <paolo.carlini@oracle.com>
2405 * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
2406 void reset(U)): Add as deleted function, per DR 821 [Ready].
2407 * include/bits/unique_ptr.h: Prefer everywhere deleted to private
2408 member function declarations; minor formatting tweaks.
2409 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
2410 * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
2413 2008-09-28 Chris Fairles <cfairles@gcc.gnu.org>
2415 * include/std/mutex (try_lock): Implement generic try_lock.
2416 * testsuite/30_threads/try_lock/1.cc: New.
2417 * testsuite/30_threads/try_lock/2.cc: Likewise.
2418 * testsuite/30_threads/try_lock/3.cc: Likewise.
2419 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
2420 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2421 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
2422 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
2423 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2424 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2425 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
2427 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
2429 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
2430 Steve Ellcey <sje@cup.hp.com>
2432 * configure: Regenerate for new libtool.
2433 * aclocal.m4: Ditto.
2434 * Makefile.in: Ditto.
2435 * src/Makefile.in: Ditto.
2436 * doc/Makefile.in: Ditto.
2437 * po/Makefile.in: Ditto.
2438 * libmath/Makefile.in: Ditto.
2439 * include/Makefile.in: Ditto.
2440 * libsupc++/Makefile.in: Ditto.
2441 * testsuite/Makefile.in: Ditto.
2443 2008-09-24 Paolo Carlini <paolo.carlini@oracle.com>
2445 * include/std/bitset: Adjust comment to reflect DR 853.
2446 * include/debug/bitset: Likewise.
2447 * doc/xml/manual/intro.xml: Add an entry for DR 853.
2449 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
2451 Implement DR 396 [Ready].
2452 * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
2453 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
2454 char, char), bitset<>::to_string(_CharT, _CharT),
2455 bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
2456 size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
2457 (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
2458 const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
2459 (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
2460 std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
2461 * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
2462 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
2463 char, char), bitset<>::to_string(_CharT, _CharT)): Add.
2464 * doc/xml/manual/intro.xml: Add an entry for DR 396.
2465 * testsuite/23_containers/bitset/cons/dr396.cc: Add.
2466 * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
2468 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
2470 * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
2471 * testsuite/25_algorithms/max/37547.cc: Likewise.
2472 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
2474 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
2476 * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
2477 typedef monotonic_clock to system_clock and instead declare new class.
2478 * src/chrono.cc: Conditionally define monotonic_clock::now().
2479 * include/std/condition_variable (wait_until): Throw exception if
2480 __gthread_cond_timedwait returns with error other than timed_out. Use
2481 system_clock as known clock type (__clock_t) and add overloads for known
2482 and unknown clocks. In the unknown case, sync to the known clock.
2483 Implement overload taking a predicate.
2484 (wait_for): Implement overload taking a predicate.
2485 * config/abi/pre/gnu.ver: Add exports for monotonic_clock.
2486 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
2488 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
2490 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
2491 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
2492 * testsuite/30_threads/condition_variable/member/1.cc: New.
2493 * testsuite/30_threads/condition_variable/member/2.cc: Likewise.
2495 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
2498 * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case
2499 when strtold is not available.
2500 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
2502 2008-09-23 Benjamin Kosnik <bkoz@redhat.com>
2504 PR libstdc++/37391 continued.
2505 * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag,
2506 specify full path for source file links.
2507 * doc/html/ext/pb_ds/pq_examples.html: Same.
2509 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
2511 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const
2512 by value parameters.
2513 * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise.
2515 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
2517 PR libstdc++/32422, DR 23 [Ready in R60]
2518 * config/locale/gnu/c_locale.cc (__convert_to_v(const char*, float&,
2519 ios_base::iostate&, const __c_locale&), __convert_to_v(const char*,
2520 double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
2521 char*, long double&, ios_base::iostate&, const __c_locale&)): Implement
2522 DR 23 and deal correctly with broken exponents.
2523 * config/locale/generic/c_locale.cc (__convert_to_v(const char*,
2524 float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
2525 char*, double&, ios_base::iostate&, const __c_locale&),
2526 __convert_to_v(const char*, long double&, ios_base::iostate&, const
2527 __c_locale&)): Likewise.
2528 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
2529 _InIter, ios_base&, ios_base::iostate&, _ValueT&)): Likewise.
2530 (num_get<>::_M_extract_float(_InIter, _InIter, ios_base&,
2531 ios_base::iostate&, string&): Change grouping check to set instead of
2532 OR failbit; do not check for eofbit here...
2533 (num_get<>::do_get(iter_type, iter_type, ios_base&,
2534 ios_base::iostate&, float&), num_get<>::do_get(iter_type, iter_type,
2535 ios_base&, ios_base::iostate&, double&), num_get<>::do_get(iter_type,
2536 iter_type, ios_base&, ios_base::iostate&, long double&),
2537 num_get<>::__do_get(iter_type, iter_type, ios_base&,
2538 ios_base::iostate&, double&)): ... do it here instead.
2539 (num_get<>::do_get(iter_type, iter_type, ios_base&,
2540 ios_base::iostate&, bool&)): Implement DR 23.
2541 (num_get<>::do_get(iter_type, iter_type, ios_base&,
2542 ios_base::iostate&, void*&)): Adjust.
2543 * doc/xml/manual/intro.xml: Add and entry for DR 23.
2544 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
2546 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
2548 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
2549 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
2550 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
2551 * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
2552 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
2553 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
2554 * testsuite/22_locale/num_get/get/char/10.cc: Likewise.
2555 * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
2556 * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
2557 * testsuite/22_locale/num_get/get/char/16.cc: Likewise.
2559 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
2562 * doc/html/ext/pb_ds/*.html: Fix external links.
2564 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
2566 * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex,
2567 condition_variable, and thread output.
2569 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
2571 * doc/html/ext/lwg-closed.html: Update to Revision R59.
2572 * doc/html/ext/lwg-active.html: Likewise.
2573 * doc/html/ext/lwg-defects.html: Likewise.
2574 * doc/xml/manual/intro.xml: Adjust.
2576 2008-09-21 Paolo Carlini <paolo.carlini@oracle.com>
2578 * include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair,
2579 consistently with the other overload for initializer_list.
2581 2008-09-19 Johannes Singler <singler@ira.uka.de>
2584 * include/parallel/base.h: Rename log2 to __log2.
2585 (__log2) Avoid infinite loop for n <= 0, return 0.
2586 * include/parallel/losertree.h: Rename log2 to __log2.
2587 * include/parallel/multiseq_selection.h: Likewise.
2588 * include/parallel/random_shuffle.h: Likewise.
2590 2008-09-18 Paolo Carlini <paolo.carlini@oracle.com>
2592 * include/bits/shared_ptr.h (__shared_count<>::
2593 __shared_count(_Ptr, _Deleter), __shared_count<>::
2594 __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>::
2595 __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)):
2596 Qualify new with ::.
2598 2008-09-17 Paolo Carlini <paolo.carlini@oracle.com>
2601 * include/bits/stl_algo.h (min(initializer_list<>),
2602 min(initializer_list<>, Compare), max(initializer_list<>),
2603 max(initializer_list<>, Compare), minmax(initializer_list<>),
2604 minmax(initializer_list<>, Compare)): Fix return type.
2605 * include/bits/algorithmfwd.h: Adjust.
2606 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2607 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
2609 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
2611 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
2613 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
2615 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2617 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2619 * testsuite/25_algorithms/max/37547.cc: New.
2620 * testsuite/25_algorithms/min/37547.cc: Likewise.
2621 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
2623 2008-09-16 Chris Fairles <chris.fairles@gmail.com>
2625 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
2627 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
2629 * testsuite/25_algorithms/min/3.cc: Likewise.
2630 * testsuite/25_algorithms/min/4.cc: Likewise.
2631 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
2633 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
2635 * testsuite/25_algorithms/max/3.cc: Likewise.
2636 * testsuite/25_algorithms/max/4.cc: Likewise.
2637 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2639 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2641 * testsuite/25_algorithms/minmax/2.cc: Likewise.
2642 * testsuite/25_algorithms/minmax/3.cc: Likewise.
2644 2008-09-16 Paolo Carlini <paolo.carlini@oracle.com>
2646 * include/bits/stl_algo.h (min(initializer_list<>),
2647 min(initializer_list<>, Compare), max(initializer_list<>),
2648 max(initializer_list<>, Compare), minmax(initializer_list<>),
2649 minmax(initializer_list<>, Compare)): Add in C++0x mode.
2650 * include/bits/algorithmfwd.h: Add.
2651 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2653 2008-09-13 Chris Fairles <chris.fairles@gmail.com>
2655 * testsuite/30_threads/thread/algorithm/1.cc: Join thread before
2657 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
2658 * testsuite/30_threads/thread/this_thread/3.cc: Define test variable.
2659 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
2661 2008-09-12 Chris Fairles <chris.fairles@gmail.com>
2662 Benjamin Kosnik <bkoz@redhat.com>
2664 * include/std/thread: New.
2665 * include/Makefile.am: Update.
2666 * include/Makefile.in: Regenerate.
2667 * src/thread.cc: New.
2668 * src/Makefile.am: Update.
2669 * src/Makefile.in: Regenerate.
2670 * acinclude.m4: Add check for nanosleep.
2671 * configure.ac: Call it.
2672 * configure: Regenerate.
2673 * config.h.in: Likewise.
2674 * config/abi/pre/gnu.ver: Add exports.
2675 * doc/doxygen/user.cfg.in: Add thread header.
2676 * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add.
2677 * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add.
2678 * testsuite/30_threads/thread/cons/1.cc: New.
2679 * testsuite/30_threads/thread/cons/2.cc: Likewise.
2680 * testsuite/30_threads/thread/cons/3.cc: Likewise.
2681 * testsuite/30_threads/thread/cons/4.cc: Likewise.
2682 * testsuite/30_threads/thread/algorithm/1.cc: Likewise.
2683 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
2684 * testsuite/30_threads/thread/member/1.cc: Likewise.
2685 * testsuite/30_threads/thread/member/2.cc: Likewise.
2686 * testsuite/30_threads/thread/member/3.cc: Likewise.
2687 * testsuite/30_threads/thread/this_thread/1.cc: Likewise.
2688 * testsuite/30_threads/thread/this_thread/2.cc: Likewise.
2689 * testsuite/30_threads/thread/this_thread/3.cc: Likewise.
2690 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
2691 * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise.
2692 * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
2693 * testsuite/17_intro/headers/c++200x/all.cc: Add thread.
2694 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
2695 Add thread, condition_variable and mutex.
2697 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
2699 * src/ctype.cc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>):
2700 Remove specializations.
2701 * src/locale-inst.cc (use_facet<ctype<C> >): Instantiate.
2702 * include/bits/locale_facets.tcc (use_facet<ctype<char> >,
2703 use_facet<ctype<wchar_t>): Declare as extern template.
2704 * include/bits/locale_facets.h (use_facet<ctype<char> >,
2705 use_facet<ctype<wchar_t>): Do not declare as specializations.
2707 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
2709 * config/locale/darwin/ctype_members.cc (ctype<char>::_M_narrow_init,
2710 ctype<char>::_M_widen_init): Don't define here.
2711 * config/locale/gnu/ctype_members.cc: Likewise.
2712 * config/locale/generic/ctype_members.cc: Likewise.
2713 * src/ctype.cc: Define here.
2715 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
2718 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init,
2719 ctype<char>::_M_widen_init): Don't define inline.
2720 * config/locale/darwin/ctype_members.cc: ... define here.
2721 * config/locale/gnu/ctype_members.cc: ... likewise.
2722 * config/locale/generic/ctype_members.cc: ... likewise.
2723 * config/abi/pre/gnu.ver: Export.
2725 2008-09-09 Benjamin Kosnik <bkoz@redhat.com>
2727 * doc/xml/manual/abi.xml: Update for new releases.
2728 * doc/doxygen/user.cfg.in: Include C compatibility headers.
2729 * doc/html/*: Regenerate.
2731 2008-09-09 Paolo Carlini <paolo.carlini@oracle.com>
2733 * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACROS after
2734 inclusion of <inttypes.h>.
2735 * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and
2736 __STDC_CONSTANT_MACROS after <stdint.h>.
2737 * include/bits/postypes.h: Likewise.
2739 2008-09-09 Andreas Schwab <schwab@suse.de>
2741 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Fix compile check
2742 not to redefine main.
2744 2008-09-07 Paolo Carlini <paolo.carlini@oracle.com>
2746 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and
2747 wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
2748 * include/tr1_impl/cinttypes: Use the latter.
2749 * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
2750 * configure: Regenerate.
2751 * config.h.in: Likewise.
2753 2008-09-05 Peter Dimov <pdimov@mmltd.net>
2755 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New.
2757 2008-09-05 Paolo Carlini <paolo.carlini@oracle.com>
2759 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename
2761 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ...
2764 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
2767 * include/Makefile.am: Update headers.
2768 * include/Makefile.in: Regenerate.
2769 * include/std/memory: Update headers.
2770 * include/tr1/memory: Likewise.
2771 * include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
2772 separate implementations for std and tr1.
2773 * include/bits/boost_sp_shared_count.h: Remove.
2774 * include/tr1/boost_sp_shared_count.h: Remove.
2775 * include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
2776 and boost_shared_ptr.h into one file.
2777 (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
2778 and rvalue-reference support as per current WP.
2779 * include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
2780 and boost_shared_ptr.h into one file.
2781 * testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
2782 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
2783 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
2784 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
2785 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
2786 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
2787 * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
2788 * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
2789 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.
2791 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
2793 * doc/xml/manual/locale.xml: Fix typo.
2795 2008-09-04 Paolo Carlini <paolo.carlini@oracle.com>
2797 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Tidy checks in case of
2799 * configure: Regenerate.
2801 2008-09-04 Chris Fairles <chris.fairles@gmail.com>
2803 * include/std/mutex (once_flag): Construct __gthread_once_t in a
2804 temporary variable before assigning to _M_once to avoid initialization
2807 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
2809 * config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten
2810 GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS).
2812 * Makefile.in: Regenerate.
2813 * src/Makefile.in: Likewise.
2814 * doc/Makefile.in: Likewise.
2815 * po/Makefile.in: Likewise.
2816 * libmath/Makefile.in: Likewise.
2817 * include/Makefile.in: Likewise.
2818 * libsupc++/Makefile.in: Likewise.
2819 * testsuite/Makefile.in: Likewise.
2821 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
2823 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
2824 check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
2825 * configure: Regenerate.
2827 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
2829 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
2830 * configure: Regenerate.
2832 2008-09-03 Chris Fairles <chris.fairles@gmail.com>
2834 * include/std/condition_variable: Use new deleted ctors.
2835 * include/std/mutex: Likewise plus implement timed_mutex,
2836 recursive_timed_mutex and call_once.
2837 * src/condition_variable.cc: Implement wait(). Use gthread types.
2838 Remove _GTHREADS_HAS_COND checks in favor of global
2839 _GLIBCXX_HAS_GTHREADS.
2840 * src/mutex.cc (call_once): Implementation using TLS with mutex
2842 * config/abi/pre/gnu.ver: Add exported symbols.
2843 * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New.
2844 * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise.
2845 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use
2846 dg-require-gthreads and dg-require-cstdint.
2847 * testsuite/30_threads/lock_guard/requirements/
2848 explicit_instantiation.cc: Likewise.
2849 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
2850 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
2851 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
2852 * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise.
2853 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
2854 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
2855 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
2856 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
2857 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
2859 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
2860 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
2861 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc:
2863 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
2864 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
2865 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
2866 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
2867 * testsuite/30_threads/unique_lock/requirements/
2868 explicit_instantiation.cc: Likewise.
2869 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise.
2870 * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error
2871 lines for deleted members.
2872 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2873 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2874 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2875 * testsuite/30_threads/call_once/once_flag.cc: New.
2876 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
2877 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
2878 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise
2879 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
2880 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
2881 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
2883 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
2885 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
2886 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
2887 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
2888 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
2889 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
2890 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
2891 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
2892 * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise.
2893 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
2894 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
2895 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
2896 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
2897 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
2898 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
2899 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
2900 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
2902 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
2904 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
2906 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
2908 * testsuite/30_threads/recursive_timed_mutex/cons: Likewise.
2909 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
2911 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
2912 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
2914 * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc:
2916 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
2917 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
2918 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
2919 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
2920 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
2921 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
2923 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
2925 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
2927 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
2928 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
2929 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
2930 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
2931 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
2932 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
2933 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
2934 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
2935 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
2936 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
2937 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
2938 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
2940 2008-09-01 Mark Mitchell <mark@codesourcery.com>
2942 * include/std/type_traits (__make_unsigned_selector<>): Consider
2943 enums of size smaller than short.
2944 (__make_signed_selector<>): Likewise.
2945 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2946 Adjust line numbers.
2947 * testsuite/20_util/make_usigned/requirements/typedefs_neg.cc:
2948 Adjust line numbers.
2949 * testsuite/20_util/make_signed/requirements/typedefs-2.cc:
2950 Ensure test_enum is the same size as short.
2951 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
2952 Ensure test_enum is the same size as short.
2954 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
2956 * acinclude.m4 <enable_symvers>: Don't use symvers on Windows.
2957 * configure: Regenerated.
2958 * Makefile.in: Regenerated.
2959 * src/Makefile.in: Regenerated.
2960 * doc/Makefile.in: Regenerated.
2961 * po/Makefile.in: Regenerated.
2962 * libmath/Makefile.in: Regenerated.
2963 * include/Makefile.in: Regenerated.
2964 * libsupc++/Makefile.in: Regenerated.
2965 * testsuite/Makefile.in: Regenerated.
2967 2008-08-29 Mark Mitchell <mark@codesourcery.com>
2969 * testsuite/25_algorithms/nth_element/2.cc: Constrain iterations
2970 when testing on a simultor.
2972 2008-08-28 Paolo Carlini <paolo.carlini@oracle.com>
2974 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
2975 Rename to .../typedefs.cc.
2976 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
2978 * testsuite/tr1/6_containers/unordered_multiset/requirements/
2979 typedef.cc: Likewise.
2980 * testsuite/tr1/6_containers/unordered_multimap/requirements/
2981 typedef.cc: Likewise.
2982 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
2984 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
2986 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
2988 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
2991 2008-08-28 Chris Fairles <chris.fairles@gmail.com>
2993 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): New. Checks for gthread
2994 support used by c++0x thread library.
2995 * configure.ac: Test unconditionally.
2996 * configure: Regenerate.
2997 * config.h.in: Regenerate.
2999 2008-08-27 Benjamin Kosnik <bkoz@redhat.com>
3001 * doc/Makefile.am: Edit xml file list.
3002 * doc/Makefile.in: Regenerate.
3003 * configure: Regenerate.
3004 * doc/xml/manual/intro.xml: Edit, correct links, structure.
3005 * doc/xml/manual/configure.xml: Same.
3006 * doc/xml/manual/debug.xml: Same.
3007 * doc/xml/manual/test.xml: Same.
3008 * doc/xml/manual/build.xml: Remove.
3009 * doc/xml/manual/prerequisites.xml: Add.
3010 * doc/html/*: Regenerate.
3012 2008-08-27 Paolo Carlini <paolo.carlini@oracle.com>
3014 * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and
3015 const_pointer typedefs.
3016 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
3018 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
3020 * testsuite/tr1/6_containers/unordered_multiset/requirements/
3021 typedef.cc: Likewise.
3022 * testsuite/tr1/6_containers/unordered_multimap/requirements/
3023 typedef.cc: Likewise.
3024 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
3026 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
3028 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
3030 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
3033 2008-08-27 Paul Brook <paul@codesourcery.com>
3035 * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
3036 __get_object_from_ambiguous_exception.
3038 2008-08-26 Ben Elliston <bje@au.ibm.com>
3040 * src/mt_allocator.cc (__pool): Fix error in comment.
3042 2008-08-25 Paolo Carlini <paolo.carlini@oracle.com>
3044 * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1],
3045 [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove
3046 * configure.ac: Do not call the latter.
3047 * crossconfig.m4: Likewise.
3048 * libmath/mathconf.h: Adjust.
3049 * configure: Regenerate.
3050 * config.h.in: Likewise.
3052 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
3054 * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use
3055 two test -r instead of an AC_TRY_RUN.
3056 * configure: Regenerate.
3057 * config.h.in: Likewise.
3059 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
3061 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation.
3062 * doc/xml/manual/configure.xml: Likewise.
3064 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
3066 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in
3068 * configure: Regenerate.
3070 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
3072 * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use
3073 GCC_TRY_COMPILE_OR_LINK.
3074 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to
3075 [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option,
3076 [no] by default, since it includes TRY_LINK checks. librt is also
3077 searched, if requested.
3078 * doc/xml/manual/configure.xml: Document the latter.
3079 * configure.ac: Move the above checks outside native-only.
3080 * configure: Regenerate.
3082 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
3084 * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
3085 * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
3086 * testsuite/18_support/exception_ptr/current_exception.cc: Use it.
3087 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
3088 * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
3090 2008-08-23 Sebastian Redl <sebastian.redl@getdesigned.at>
3092 Add (again) exception propagation support as per N2179. Feature is
3093 available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
3094 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
3095 copy_exception, rethrow_exception): New file, implement exception
3097 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
3098 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
3099 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
3100 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
3101 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
3102 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
3103 __gxx_dependent_exception_class, __get_object_from_ue,
3104 __get_object_from_ambiguous_exception): Add.
3105 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
3106 (__is_gxx_exception_class): Handle dependent exceptions.
3107 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
3108 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
3109 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
3110 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
3111 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
3112 __cxa_free_dependent_exception): Add.
3113 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
3115 * libsupc++/exception: Conditionally include exception_ptr.h.
3116 * libsupc++/Makefile.am: Register new files.
3117 * libsupc++/Makefile.in: Regenerate.
3118 * config/abi/pre/gnu.ver: Add new symbols.
3119 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
3120 core functionality of current_exception().
3121 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
3122 core functionality of rethrow_exception().
3123 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
3124 exception objects during exception propagation.
3126 2008-08-22 Paolo Carlini <paolo.carlini@oracle.com>
3128 Revert again the N2179 patch.
3130 2008-08-21 Sebastian Redl <sebastian.redl@getdesigned.at>
3132 * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
3133 __cxa_free_dependent_exception.
3135 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
3137 * include/bits/char_traits.h (char_traits<char16_t>::
3138 assign(char_type*, size_t, char_type), char_traits<char32_t>::
3139 assign(char_type*, size_t, char_type)): For now, just open-code.
3141 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
3143 PR c++/33979 (partial)
3144 * include/bits/postypes.h (u16streampos, u32streampos): Add.
3145 * include/bits/char_traits.h (char_traits<char16_t>,
3146 char_traits<char32_t>): Add.
3147 * include/bits/stringfwd.h (u16string, u32string): Add.
3148 * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t.
3149 * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc:
3151 * testsuite/21_strings/char_traits/requirements/
3152 explicit_instantiation/short/1.cc: Likewise.
3153 * testsuite/21_strings/char_traits/requirements/
3154 explicit_instantiation/char32_t/1.cc: Likewise.
3155 * testsuite/21_strings/char_traits/requirements/
3156 explicit_instantiation/wchar_t/1.cc: Likewise.
3157 * testsuite/21_strings/char_traits/requirements/
3158 explicit_instantiation/char16_t/1.cc: Likewise.
3159 * testsuite/21_strings/char_traits/requirements/
3160 explicit_instantiation/char/1.cc: Likewise.
3161 * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc:
3163 * testsuite/21_strings/basic_string/requirements/
3164 explicit_instantiation/char32_t/1.cc: Likewise.
3165 * testsuite/21_strings/basic_string/requirements/
3166 explicit_instantiation/wchar_t/1.cc: Likewise.
3167 * testsuite/21_strings/basic_string/requirements/
3168 explicit_instantiation/char16_t/1.cc: Likewise.
3169 * testsuite/21_strings/basic_string/requirements/
3170 explicit_instantiation/char/1.cc: Likewise.
3171 * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise.
3172 * testsuite/ext/vstring/requirements/explicit_instantiation/
3173 char32_t/1.cc: Likewise.
3174 * testsuite/ext/vstring/requirements/explicit_instantiation/
3175 char16_t/1.cc: Likewise.
3177 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
3180 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
3182 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
3184 * testsuite/27_io/objects/char/12048-1.cc: Likewise.
3185 * testsuite/27_io/objects/char/12048-3.cc: Likewise.
3186 * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
3187 * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
3188 * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
3189 * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
3190 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
3191 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
3192 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
3193 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
3194 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
3195 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
3196 * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
3197 * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
3198 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
3199 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
3200 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
3201 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
3202 * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
3203 * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
3204 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
3205 * include/std/regex: Include <sstream>.
3206 * include/tr1/regex: Likewise.
3208 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
3210 * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
3212 * configure: Regenerate.
3214 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
3217 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h,
3218 check the macros too.
3219 * configure: Regenerate.
3221 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
3223 * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of
3225 * configure.ac: Run unconditionally AC_LC_MESSAGES.
3226 * crossconfig.m4: Adjust.
3227 * configure: Regenerate.
3229 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
3231 * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL],
3232 [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]):
3233 Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++,
3234 with -fno-exceptions as flags.
3235 * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS,
3236 GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG,
3237 GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS.
3238 * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized
3240 * configure: Regenerate.
3242 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
3244 Re-instate last patch, amended to use __exchange_and_add_dispatch
3245 and __atomic_add_dispatch in eh_ptr.cc and eh_throw.cc.
3247 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
3249 Revert the last patch.
3251 2008-08-13 Sebastian Redl <sebastian.redl@getdesigned.at>
3253 Add exception propagation support as per N2179.
3254 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
3255 copy_exception, rethrow_exception): New file, implement exception
3257 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
3258 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
3259 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
3260 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
3261 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
3262 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
3263 __gxx_dependent_exception_class, __get_object_from_ue,
3264 __get_object_from_ambiguous_exception): Add.
3265 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
3266 (__is_gxx_exception_class): Handle dependent exceptions.
3267 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
3268 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
3269 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
3270 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
3271 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
3272 __cxa_free_dependent_exception): Add.
3273 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
3275 * libsupc++/exception: Conditionally include exception_ptr.h.
3276 * libsupc++/Makefile.am: Register new files.
3277 * libsupc++/Makefile.in: Regenerate.
3278 * config/abi/pre/gnu.ver: Add new symbols.
3279 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
3280 core functionality of current_exception().
3281 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
3282 core functionality of rethrow_exception().
3283 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
3284 exception objects during exception propagation.
3286 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
3289 * include/bits/stl_pair.h: Fix documentation URL in comment.
3291 2008-08-12 Johannes Singler <singler@ira.uka.de>
3293 * include/paralle/losertree.h
3294 (LoserTreePointerBase<>::~LoserTreePointerBase):
3295 Replace delete by appropriate delete[].
3297 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
3299 * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and
3300 GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused).
3301 * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused).
3302 * configure: Regenerate.
3303 * config.h.in: Likewise.
3305 * acinclude.m4: Minor formatting fixes.
3307 2008-08-11 Stephen M. Webb <stephenw@xandros.com>
3309 * include/tr1_impl/regex: Formatting fixes.
3310 * testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
3312 * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
3315 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
3317 * config/locale/generic/c_locale.cc: Include <cstdio>.
3319 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
3321 * configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
3322 * configure: Regenerate.
3324 2008-08-10 Paolo Carlini <paolo.carlini@oracle.com>
3326 * include/tr1_impl/type_traits (_DEFINE_SPEC*): Simplify.
3327 (_DEFINE_SPEC_BODY): Remove.
3328 (__is_void_helper, __is_integral_helper, __is_floating_point_helper,
3329 __is_member_object_pointer_helper, __is_member_function_pointer_helper,
3330 __remove_pointer_helper): Add.
3331 (is_void, is_integral, is_floating_point, is_member_object_pointer,
3332 is_member_function_pointer, remove_pointer): Use the latter.
3333 * include/tr1/type_traits (_DEFINE_SPEC): Simplify.
3334 (_DEFINE_SPEC_HELPER): Remove.
3335 (__is_signed_helper, __is_unsigned_helper): Add.
3336 (is_signed, is_unsigned): Use the latter.
3338 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
3340 Revert fix for libstdc++/35637, thanks to other/36901.
3341 * include/tr1_impl/type_traits (__is_function_helper): New, uses
3343 (is_function): Forward to the latter.
3344 (__in_array): Remove.
3346 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
3348 * config/locale/darwin/ctype_members.cc: Include <cstdio>.
3350 2008-08-08 Paolo Carlini <paolo.carlini@oracle.com>
3352 * include/bits/ios_base.h: Undef _IOS_BASE_SEEK_CUR and
3353 _IOS_BASE_SEEK_END at the end of the file.
3354 * include/bits/char_traits.h: Likewise for _CHAR_TRAITS_EOF.
3356 2008-08-07 Stephen M. Webb <stephenw@xandros.com>
3358 * include/tr1_impl/regex (match_results<>::cbegin, cend): Add, per
3361 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
3363 * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): New, checks for
3364 common values of EOF, SEEK_CUR, SEEK_END.
3365 * configure.ac: Use it.
3366 * include/bits/ios_base.h: Likewise.
3367 * include/bits/char_traits.h: Likewise.
3368 * config/locale/gnu/ctype_members.cc: Include <cstdio>.
3369 * config/locale/generic/ctype_members.cc: Likewise.
3370 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error lines.
3371 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
3372 * configure: Regenerate.
3373 * config.h.in: Likewise.
3375 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
3377 * acinclude.m4 ([GLIBCXX_CHECK_INT64_T]): Also check whether int64_t
3378 is actually a typedef to long or long long.
3379 * include/bits/postypes.h: If int64_t is actually a typedef for
3380 long or long long don't include <stdint.h> unnecessarily.
3381 * configure: Regenerate.
3382 * config.h.in: Likewise.
3384 2008-08-05 Paolo Carlini <paolo.carlini@oracle.com>
3386 * testsuite/util/testsuite_api.h (diamond_derivation<>::test):
3387 Expect ambiguity together with the standard exception classes.
3388 * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: Remove
3390 * testsuite/19_diagnostics/logic_error/cons_virtual_derivation.cc:
3392 * testsuite/19_diagnostics/runtime_error/cons_virtual_derivation.cc:
3394 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
3396 * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Likewise.
3397 * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Likewise.
3398 * testsuite/18_support/bad_exception/cons_virtual_derivation.cc:
3400 * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc:
3402 * testsuite/ext/concurrence_lock_error/cons_virtual_derivation.cc:
3404 * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc:
3406 * testsuite/ext/concurrence_unlock_error/cons_virtual_derivation.cc:
3408 * testsuite/20_util/bad_function_call/cons_virtual_derivation.cc:
3411 2008-08-04 Paolo Carlini <paolo.carlini@oracle.com>
3413 * include/bits/postypes.h: Reinstate inclusion of <stdint.h>;
3414 also define the __STDC_* macros.
3415 (streamoff): Adjust.
3417 * include/tr1_impl/cstdint: Check that the __STDC_* macros are
3418 not defined before defining.
3420 2008-08-01 Paolo Bonzini <bonzini@gnu.org>
3421 Chris Fairles <chris.fairles@gmail.com>
3423 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Reinstate clock_gettime
3424 search, but only in libposix4, never link librt.
3425 * src/Makefile.am: Reinstate previous change to add GLIBCXX_LIBS.
3426 * configure: Regenerate.
3427 * configure.in: Likewise.
3428 * Makefile.in: Likewise.
3429 * src/Makefile.in: Likewise.
3430 * libsup++/Makefile.in: Likewise.
3431 * po/Makefile.in: Likewise.
3432 * doc/Makefile.in: Likewise.
3434 2008-07-31 Chris Fairles <chris.fairles@gmail.com>
3436 * include/std/chrono (duration): Use explicitly defaulted ctor, cctor,
3437 dtor and assignment. Add diagnostics as per 20.8.3 paragraphs 2, 3
3438 and 4 in WD. Other minor tweaks.
3439 * testsuite/20_util/duration/cons/1_neg.cc: Adjust line numbers.
3440 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: New.
3441 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
3442 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
3444 2008-07-31 Paolo Carlini <paolo.carlini@oracle.com>
3446 * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp.
3447 (check_v3_target_parallel_mode): Robustify, just follow the
3448 structure of testsuite/Makefile.am.
3450 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
3452 * include/debug/set.h: Minor formatting fixes.
3453 * include/debug/multiset.h: Likewise.
3454 * include/debug/safe_association.h: Likewise.
3455 * include/debug/vector: Likewise.
3456 * include/debug/map.h: Likewise.
3457 * include/debug/string: Likewise.
3458 * include/debug/multimap.h: Likewise.
3459 * include/bits/stl_list.h: Likewise.
3460 * include/bits/stl_map.h: Likewise.
3461 * include/bits/stl_set.h: Likewise.
3462 * include/bits/stl_multimap.h: Likewise.
3463 * include/bits/stl_vector.h: Likewise.
3464 * include/bits/stl_multiset.h: Likewise.
3465 * include/bits/stl_bvector.h: Likewise.
3467 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
3469 * include/std/utility: Include <initializer_list>, per the current WP.
3471 * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak,
3472 don't use -std=gnu++0x unnecessarily.
3473 * testsuite/18_support/numeric_limits/char16_32_t.cc: Use
3475 * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise.
3476 * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise.
3478 2008-07-28 Paolo Carlini <paolo.carlini@oracle.com>
3481 * include/tr1_impl/boost_shared_ptr.h
3482 (__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
3483 __enable_shared_from_this_helper.
3484 * testsuite/20_util/shared_ptr/creation/36949.cc: New.
3486 2008-07-24 Paolo Carlini <paolo.carlini@oracle.com>
3490 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
3492 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
3493 Holds the lib that defines clock_gettime (-lrt or -lposix4).
3494 * src/Makefile.am: Use it.
3495 * configure: Regenerate.
3496 * configure.in: Likewise.
3497 * Makefile.in: Likewise.
3498 * src/Makefile.in: Likewise.
3499 * libsup++/Makefile.in: Likewise.
3500 * po/Makefile.in: Likewise.
3501 * doc/Makefile.in: Likewise.
3503 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
3505 * include/std/condition_variable: Update to N2691 WD.
3506 * include/std/mutex: Likewise.
3507 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
3508 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
3509 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
3510 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
3512 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
3514 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
3515 Holds the lib that defines clock_gettime (-lrt or -lposix4).
3516 * src/Makefile.am: Use it.
3517 * configure: Regenerate.
3518 * configure.in: Likewise.
3519 * Makefile.in: Likewise.
3520 * src/Makefile.in: Likewise.
3521 * libsup++/Makefile.in: Likewise.
3522 * po/Makefile.in: Likewise.
3523 * doc/Makefile.in: Likewise.
3525 2008-07-22 Paolo Carlini <paolo.carlini@oracle.com>
3527 * include/ext/sso_string_base.h
3528 (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
3529 const _Alloc&)): Remove.
3530 * include/ext/rc_string_base.h
3531 (__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
3532 const _Alloc&)): Likewise.
3533 * include/ext/vstring.h
3534 (__versa_string<>::__versa_string(std::initializer_list<_CharT>,
3535 const _Alloc&)): Adjust.
3537 2008-07-21 Jason Merrill <jason@redhat.com>
3539 Add initializer_list support as per N2679.
3540 * include/debug/unordered_map: Add initializer_list support.
3541 * include/debug/safe_association.h: Likewise.
3542 * include/debug/unordered_set: Likewise.
3543 * include/debug/vector: Likewise.
3544 * include/debug/deque: Likewise.
3545 * include/debug/map.h: Likewise.
3546 * include/debug/set.h: Likewise.
3547 * include/debug/string: Likewise.
3548 * include/debug/list: Likewise.
3549 * include/debug/multimap.h: Likewise.
3550 * include/tr1_impl/unordered_map: Likewise.
3551 * include/tr1_impl/hashtable: Likewise.
3552 * include/tr1_impl/unordered_set: Likewise.
3553 * include/tr1_impl/regex: Likewise.
3554 * include/std/valarray: Likewise.
3555 * include/std/unordered_map: Likewise.
3556 * include/std/unordered_set: Likewise.
3557 * include/bits/stl_list.h: Likewise.
3558 * include/bits/stl_map.h: Likewise.
3559 * include/bits/stl_set.h: Likewise.
3560 * include/bits/basic_string.h: Likewise.
3561 * include/bits/basic_string.tcc: Likewise.
3562 * include/bits/stl_multimap.h: Likewise.
3563 * include/bits/stl_vector.h: Likewise.
3564 * include/bits/stl_deque.h: Likewise.
3565 * include/bits/stl_multiset.h: Likewise.
3566 * include/bits/stl_bvector.h: Likewise.
3567 * include/ext/vstring.h: Likewise.
3568 * include/ext/rc_string_base.h: Likewise.
3569 * include/ext/sso_string_base.h: Likewise.
3570 * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
3571 * src/Makefile.in: Likewise.
3572 * config/abi/pre/gnu.ver: Add new w?string exports.
3573 * testsuite/21_strings/basic_string/init-list.cc: New test.
3574 * testsuite/23_containers/vector/init-list.cc: New test.
3575 * testsuite/23_containers/deque/init-list.cc: New test.
3576 * testsuite/23_containers/list/init-list.cc: New test.
3577 * testsuite/23_containers/map/init-list.cc: New test.
3578 * testsuite/23_containers/multimap/init-list.cc: New test.
3579 * testsuite/23_containers/set/init-list.cc: New test.
3580 * testsuite/23_containers/multiset/init-list.cc: New test.
3581 * testsuite/23_containers/unordered_map/init-list.cc: New test.
3582 * testsuite/23_containers/unordered_multimap/init-list.cc: New test.
3583 * testsuite/23_containers/unordered_set/init-list.cc: New test.
3584 * testsuite/23_containers/unordered_multiset/init-list.cc: New test.
3585 * testsuite/26_numerics/valarray/init-list.cc: New test.
3586 * testsuite/28_regex/init-list.cc: New test.
3587 * testsuite/ext/vstring/init-list.cc: New test.
3588 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3589 Update error lineno.
3590 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3591 Update error lineno.
3592 * testsuite/23_containers/vector/requirements/dr438/
3593 constructor_1_neg.cc: Update error lineno.
3594 * testsuite/23_containers/vector/requirements/dr438/
3595 constructor_2_neg.cc: Update error lineno.
3596 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
3597 Update error lineno.
3598 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3599 Update error lineno.
3600 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
3601 Update error lineno.
3602 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
3603 Update error lineno.
3604 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3605 Update error lineno.
3606 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
3607 Update error lineno.
3608 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
3609 Update error lineno.
3610 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
3611 Update error lineno.
3613 2008-07-21 Mark Mitchell <mark@codesourcery.com>
3615 * config/os/gnu-linux/arm-eabi-extra.ver: New file.
3616 * configure.host: Use it for arm*-*-linux-*eabi.
3618 2008-07-19 Paolo Carlini <paolo.carlini@oracle.com>
3620 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp
3621 (assert_node_consistent): Avoid ambiguous else warning.
3623 * include/ext/pb_ds/detail/debug_map_base.hpp: Include <iostream>.
3625 * include/bits/c++config: In debug-mode (and parallel-mode) set
3626 _GLIBCXX_EXTERN_TEMPLATE to -1, not 0, thus disabling extern
3627 templates only for basic_string (per libstdc++/21674).
3628 * include/bits/basic_string.tcc: Use extern templates when
3629 _GLIBCXX_EXTERN_TEMPLATE > 0.
3631 2008-07-18 Kris Van Hees <kris.van.hees@oracle.com>
3632 Holger Hopp <holger.hopp@sap.com>
3634 * config/abi/pre/gnu.ver: Support char16_t and char32_t.
3635 * testsuite/util/testsuite_abi.cc (check_version): Add
3636 CXXABI_1.3.3 to known_versions.
3638 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
3640 * include/debug/vector (insert(iterator, _Tp&&), push_back(_Tp&&)):
3641 Enable only when _Tp != bool.
3643 * testsuite/25_algorithms/heap/1.cc: Avoid unused variable warnings.
3645 2008-07-18 Paolo Carlini <paolo.carlini@oracle.com>
3647 * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
3648 variable warnings leading to spurious fails of the test.
3650 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
3652 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
3654 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
3655 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
3657 * include/tr1_impl/type_traits: Fix comment typo.
3659 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
3661 * include/bits/unique_ptr.h: Remove stray character.
3663 2008-07-15 Benjamin Kosnik <bkoz@redhat.com>
3665 * doc/doxygen/user.cfg.in: Add complex, ratio,
3667 (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
3668 * doc/doxygen/doxygroups.cc: Add std::chrono.
3669 * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
3670 * libsupc++/initializer_list (initializer_list): Same.
3671 * include/std/ratio: Same.
3672 * include/std/chrono: Same.
3673 * include/std/complex: Disambiguate file markup.
3675 2008-07-15 Chris Fairles <chris.fairles@gmail.com>
3677 * include/std/chrono: New, as per N2661.
3678 * src/chrono.cc: New.
3679 * include/Makefile.am: Update.
3680 * src/Makefile.am: Likewise.
3681 * include/Makefile.in: Regenerate.
3682 * src/Makefile.in: Likewise.
3683 * acinclude.m4: Add tests for clock_gettime and gettimeofday that
3684 define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
3685 * configure.ac: Use them.
3686 * configure: Regenerate.
3687 * config.h.in: Likewise.
3688 * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
3689 system_clock::is_monotonic.
3690 * testsuite/20_util/duration/cons/1.cc: New.
3691 * testsuite/20_util/duration/cons/2.cc: Likewise.
3692 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
3693 * testsuite/20_util/duration/requirements/explicit_instantiation/
3694 explicit_instantiation.cc: Likewise.
3695 * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
3696 * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
3697 * testsuite/20_util/duration/comparisons/1.cc: Likewise.
3698 * testsuite/20_util/time_point/requirements/explicit_instantiation/
3699 explicit_instantiation.cc: Likewise.
3700 * testsuite/20_util/time_point/1.cc: Likewise.
3701 * testsuite/20_util/time_point/2.cc: Likewise.
3702 * testsuite/20_util/time_point/3.cc: Likewise.
3703 * testsuite/20_util/clocks/1.cc: Likewise.
3704 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
3706 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
3707 * include/precompiled/stdc++.h: Likewise and remove <date_time>.
3708 * doc/doxygen/user.cfg.in: Likewise.
3710 2008-07-15 Paolo Carlini <paolo.carlini@oracle.com>
3713 * include/ext/rope (_Destroy_const): Add.
3714 (rope<>::copy): Call it.
3715 * testsuite/ext/rope/36832.cc: New.
3717 2008-07-15 Johannes Singler <singler@ira.uka.de>
3719 * include/parallel/find_selectors.h:
3720 Correct name for include guard #ifndef.
3721 * include/parallel/balanced_quicksort.h: Likewise.
3722 * include/parallel/unique_copy.h: Likewise.
3723 * include/parallel/multiway_mergesort.h: Likewise.
3724 * include/parallel/checkers.h: Likewise.
3725 * include/parallel/[various files]:
3726 Add/correct comment for #endif of include guard (at end of file)
3728 2008-07-12 Paolo Carlini <paolo.carlini@oracle.com>
3730 * include/std/date_time: Remove, per N2549, in WP.
3731 * src/date_time.cc: Likewise.
3732 * config/abi/pre/gnu.ver: Remove <date_time> symbols.
3733 * include/Makefile.am: Remove date_time in std headers.
3734 * src/Makefile.am: Remove date_time.cc to source files.
3735 * include/Makefile.in: Regenerate.
3736 * src/Makefile.in: Likewise.
3737 * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
3738 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
3739 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
3740 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
3741 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
3742 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
3743 * testsuite/31_date_time/system_time/requirements: Likewise.
3744 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
3745 * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
3746 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
3748 2008-07-10 Johannes Singler <singler@ira.uka.de>
3750 * include/parallel/balanced_quicksort.h:
3751 (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
3753 2008-07-09 Benjamin Kosnik <bkoz@redhat.com>
3756 * doc/xml/manual/allocator.xml: Fix links.
3757 * doc/html/*: Regenerate.
3759 2008-07-09 Joseph Myers <joseph@codesourcery.com>
3761 * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
3762 __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
3763 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
3764 __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
3766 * libsupc++/eh_arm.cc (__cxa_type_match): Use
3767 __is_gxx_forced_unwind_class to check for forced unwind.
3769 2008-07-09 Andreas Beckmann <gcc@abeckmann.de>
3772 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3773 null_metadata.hpp: Remove self-include.
3775 2008-07-09 Joseph Myers <joseph@codesourcery.com>
3777 * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
3778 testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
3779 -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
3781 2008-07-09 Johannes Singler <singler@ira.uka.de>
3784 * include/parallel/random_shuffle.h:
3785 (sequential_random_shuffle) Copy data back.
3786 * testsuite/25_algorithms/random_shuffle/1.cc:
3787 New. Generic random_shuffle functionality test.
3789 2008-07-08 Chris Fairles <chris.fairles@gmail.com>
3791 * include/std/type_traits: Add common_type.
3792 * testsuite/20_util/common_type/requirements/
3793 explicit_instantiation.cc: New.
3794 * testsuite/20_util/common_type/requirements/
3795 typedefs-1.cc: Likewise.
3797 2008-07-07 Paolo Carlini <paolo.carlini@oracle.com>
3799 * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
3800 * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
3801 * testsuite/20_util/ratio/cons/cons1.cc: Use it.
3802 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
3803 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
3804 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
3805 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
3806 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
3807 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
3808 * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
3810 * include/std/type_traits: Fix comment typo.
3812 2008-07-06 Roger Sayle <roger@eyesopen.com>
3814 * include/std/system_error (is_error_code_enum): Use identifier
3815 _Tp instead of _T to avoid conflict with system macro on Darwin.
3816 (is_error_condition_enum): Likewise.
3818 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
3820 * include/bits/postypes.h: Do not include <stdint.h>.
3822 * include/Makefile.am: Reorder.
3824 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
3826 * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
3828 2008-07-05 Chris Fairles <chris.fairles@gmail.com>
3830 * include/std/ratio: Documentation for std::ratio class. Add conditions
3831 to ratio_less to prevent overflow.
3832 * testsuite/20_util/ratio/comparisons/comp2.cc: New.
3833 * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
3836 2008-07-04 Chris Fairles <chris.fairles@gmail.com>
3838 * include/std/ratio: New, per N2661.
3839 * include/Makefile.am: Update.
3840 * include/Makefile.in: Regenerate.
3841 * testsuite/20_util/ratio/cons/cons1.cc: New.
3842 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
3843 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
3844 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
3845 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
3846 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
3847 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
3849 2008-07-04 Paolo Carlini <paolo.carlini@oracle.com>
3852 * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
3853 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
3855 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
3857 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
3858 Improve check on long double limits.
3859 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
3861 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3863 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3866 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
3868 * libsupc++/Makefile.am: Add initializer_list to the headers.
3869 * libsupc++/Makefile.in: Regenerate.
3871 * libsupc++/initializer_list: Minor cosmetic changes.
3873 2008-07-02 Jason Merrill <jason@redhat.com>
3875 * libsupc++/initializer_list: Uglify and wrap in
3876 __GXX_EXPERIMENTAL_CXX0X__.
3877 * include/bits/stl_map.h (insert(initializer_list)): Wrap.
3879 2008-07-02 Jason Merrill <jason@redhat.com>
3881 * libsupc++/initializer_list: New file.
3882 * include/bits/stl_map.h (insert(initializer_list)): New method.
3884 2008-06-30 Alfred E. Heggestad <aeh@db.org>
3886 * include/backward/backward_warning.h: Fix typo.
3888 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
3890 * src/string_conversions.cc: Remove.
3891 * config/abi/pre/gnu.ver: Delete exports.
3892 * src/Makefile.am: Update.
3893 * include/ext/string_conversions.h: Add.
3894 * include/Makefile.am: Update.
3895 * include/bits/basic_string.h: Include string_conversions.h,
3896 define numeric conversion functions.
3897 * include/ext/vstring.h: Likewise.
3898 * src/Makefile.in: Regenerate.
3899 * include/Makefile.in: Regenerate.
3901 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
3903 * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
3904 * include/bits/algorithmfwd.h: Add.
3905 * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
3907 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
3908 move_iterators/1.cc: New
3909 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3910 * testsuite/25_algorithms/copy_n/1.cc: New.
3911 * testsuite/25_algorithms/copy_n/2.cc: Likewise.
3912 * testsuite/25_algorithms/copy_n/3.cc: Likewise.
3913 * testsuite/25_algorithms/copy_n/4.cc: Likewise.
3914 * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
3915 * testsuite/25_algorithms/copy_n/requirements/
3916 explicit_instantiation/2.cc: Likewise.
3917 * testsuite/25_algorithms/partition_point/requirements/
3918 explicit_instantiation/pod.cc: Likewise.
3920 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
3922 * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
3923 * include/bits/algorithmfwd.h: Add.
3924 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3925 * testsuite/25_algorithms/partition_point/1.cc: New.
3926 * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
3927 * testsuite/25_algorithms/partition_point/requirements/
3928 explicit_instantiation/2.cc: Likewise.
3929 * testsuite/25_algorithms/partition_point/requirements/
3930 explicit_instantiation/pod.cc: Likewise.
3932 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
3935 * include/ext/pb_ds/detail/resize_policy/
3936 sample_resize_trigger.hpp: Remove spurious namespace end.
3938 2008-06-27 Mark Mitchell <mark@codesourcery.com>
3940 * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
3942 (__aeabi_vec_delete): Likewise.
3943 (__aeabi_vec_delete3): Likewise.
3944 (__aeabi_vec_delete3_nodtor): Likewise.
3946 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
3948 * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
3949 * include/bits/algorithmfwd.h: Add.
3950 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3951 * testsuite/25_algorithms/is_partitioned/1.cc: New.
3952 * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
3953 * testsuite/25_algorithms/is_partitioned/requirements/
3954 explicit_instantiation/2.cc: Likewise.
3955 * testsuite/25_algorithms/is_partitioned/requirements/
3956 explicit_instantiation/pod.cc: Likewise.
3958 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
3960 * include/bits/stl_numeric.h (iota): Add in C++0x mode.
3961 * testsuite/util/testsuite_character.h (pod_int): Add operator++
3963 * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
3964 * testsuite/26_numerics/iota/1.cc: New.
3965 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
3967 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
3970 * include/ext/algorithm: Do not fiddle with the legacy headers.
3972 * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
3974 * testsuite/26_numerics/accumulate/1.cc: Likewise.
3975 * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
3976 * testsuite/26_numerics/inner_product/1.cc: Likewise.
3978 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
3980 * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
3981 * include/bits/algorithmfwd.h: Add.
3982 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3983 * testsuite/25_algorithms/partition_copy/1.cc: New.
3984 * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
3985 * testsuite/25_algorithms/partition_copy/requirements/
3986 explicit_instantiation/2.cc: Likewise.
3987 * testsuite/25_algorithms/partition_copy/requirements/
3988 explicit_instantiation/pod.cc: Likewise.
3990 2008-06-26 Chris Fairles <chris.fairles@gmail.com>
3992 * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
3993 * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
3994 * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
3996 * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
3997 * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
3998 * testsuite/20_util/unique_ptr/specialized_algorithms/
3999 comparisons_array.cc: Likewise.
4000 * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
4002 * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
4005 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
4007 * include/parallel/base.h (plus, multiplies): Use __typeof__,
4010 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
4012 * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
4014 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
4015 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
4017 * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
4018 * testsuite/util/testsuite_common_types.h (struct assignable,
4019 struct default_constructible, struct copy_constructible,
4020 struct explicit_value_constructible): Use a tad of simulated
4021 concept checking techniques to avoid spurious warnings.
4022 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
4024 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
4026 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
4028 * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
4029 any_of, none_of): Add in C++0x, per N2666.
4030 * include/bits/algorithmfwd.h: Update.
4031 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
4032 * testsuite/25_algorithms/all_of/check_type.cc: New.
4033 * testsuite/25_algorithms/all_of/1.cc: Likewise.
4034 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
4036 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
4038 * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
4039 * testsuite/25_algorithms/any_of/1.cc: Likewise.
4040 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
4042 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
4044 * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
4045 * testsuite/25_algorithms/none_of/1.cc: Likewise.
4046 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
4048 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
4050 * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
4051 * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
4052 * testsuite/25_algorithms/find_if_not/requirements/
4053 explicit_instantiation/2.cc: Likewise.
4054 * testsuite/25_algorithms/find_if_not/requirements/
4055 explicit_instantiation/pod.cc: Likewise.
4056 * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
4057 * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
4058 * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
4060 2008-06-24 Benjamin Kosnik <bkoz@redhat.com>
4062 * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
4063 parallel algorithms.
4064 * doc/xml/manual/using.xml: Markup fixes caught by validation check.
4065 * doc/xml/manual/test.xml: Remove empty para tags.
4067 * doc/html/*: Regenerate.
4069 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
4071 * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
4072 (copy_if): Add, per N2666.
4073 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
4075 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
4077 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
4079 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
4080 Chalathip Thumkanon <chalathip@gmail.com>
4083 * include/ext/pb_ds/exception.hpp (__throw_container_error,
4084 __throw_insert_error, __throw_join_error, __throw_resize_error):
4087 2008-06-22 Paolo Carlini <paolo.carlini@oracle.com>
4089 * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
4091 * include/bits/algorithmfwd.h: Add.
4092 * doc/xml/manual/intro.xml: Add an entry for DR 809.
4093 * testsuite/25_algorithms/swap/dr809.cc: New.
4095 * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
4096 2.cc: Remove stray empty line.
4098 2008-06-21 Paolo Carlini <paolo.carlini@oracle.com>
4100 * include/bits/stl_move.h: Rename to move.h.
4101 * include/std/utility: Adjust.
4102 * include/ext/vstring_util.h: Likewise.
4103 * include/ext/throw_allocator.h: Likewise.
4104 * include/ext/pool_allocator.h: Likewise.
4105 * include/ext/bitmap_allocator.h: Likewise.
4106 * include/ext/new_allocator.h: Likewise.
4107 * include/ext/malloc_allocator.h: Likewise.
4108 * include/ext/array_allocator.h: Likewise.
4109 * include/ext/mt_allocator.h: Likewise.
4110 * include/bits/stl_algobase.h: Likewise.
4111 * include/bits/stl_heap.h: Likewise.
4112 * include/bits/stl_pair.h: Likewise.
4113 * include/bits/stl_iterator.h: Likewise.
4114 * testsuite/util/testsuite_allocator.h: Likewise.
4115 * testsuite/util/testsuite_iterators.h: Likewise.
4116 * include/Makefile.am: Likewise.
4117 * include/Makefile.in: Regenerate.
4119 2008-06-21 Chris Fairles <chris.fairles@gmail.com>
4121 * include/bits/unique_ptr.h: New.
4122 * include/std/memory: Adjust.
4123 * include/Makefile.am: Add.
4124 * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
4125 explicit_instantiation.cc: New.
4126 * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
4127 * include/Makefile.in: Regenerate.
4129 2008-06-21 Jonathan Wakely <jwakely.gcc@gmail.com>
4131 * include/c_global/climits, include/tr1/climits: Add parentheses.
4133 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4135 * configure: Regenerate.
4137 2008-06-17 Chris Fairles <chris.fairles@gmail.com>
4139 * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
4141 * testsuite/24_iterators/operations/next.cc: New.
4142 * testsuite/24_iterators/operations/prev.cc: Likewise.
4144 2008-06-17 Paolo Carlini <paolo.carlini@oracle.com>
4146 * src/string_conversions.cc (__to_xstring<>): New.
4147 (to_string, to_wstring): Use it.
4149 2008-06-16 Paolo Carlini <paolo.carlini@oracle.com>
4151 * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
4152 stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
4153 * src/string_conversions.cc: Add.
4154 * src/Makefile.am: Update.
4155 * config/abi/pre/gnu.ver: Adjust exports.
4156 * src/Makefile.in: Regenerate.
4157 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
4159 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
4161 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
4163 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
4165 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
4167 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
4169 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
4171 * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
4173 * testsuite/21_strings/basic_string/numeric_conversions/char/
4174 to_string.cc: Likewise.
4175 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4177 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4179 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4181 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4183 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4185 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4187 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4189 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4190 stoull.cc: Likewise.
4191 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
4192 to_wstring.cc: Likewise.
4194 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4196 * include/Makefile.am: Remove trailing white space, fix typo.
4197 (parallel_headers): Remove duplicate file, sort entries.
4198 * include/Makefile.in: Regenerate.
4200 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4202 * src/condition_variable.cc (~condition_variable): Drop unused
4205 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
4207 * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
4208 deque<>::push_front(_Args&&...)): Remove.
4209 (deque<>::push_back(value_type&&),
4210 deque<>::push_front(value_type&&)): Add.
4211 (deque<>::push_back(const value_type&),
4212 deque<>::push_front(const value_type&)): Add back.
4213 (deque<>::emplace_back(_Args&&...),
4214 deque<>::emplace_front(_Args&&...)): Declare...
4215 * include/bits/deque.tcc: ... and define.
4216 * include/bits/stl_list.h (list<>::push_back(_Args&&...),
4217 list<>::push_front(_Args&&...)): Remove.
4218 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
4219 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
4221 (list<>::push_back(const value_type&),
4222 list<>::push_front(const value_type&)): Add back.
4223 * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
4224 (vector<>::push_back(value_type&&)): Add.
4225 (vector<>::push_back(const value_type&)): Add back.
4226 (vector<>::emplace_back(_Args&&...)): Declare...
4227 * include/bits/vector.tcc: ... and define.
4228 * include/bits/stl_queue.h (queue<>::push(_Args&&...),
4229 priority_queue<>::push(_Args&&...)): Remove.
4230 (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
4231 priority_queue<>::push(value_type&&),
4232 priority_queue<>::emplace(_Args&&...)): Add.
4233 (queue<>::push(const value_type&),
4234 priority_queue<>::push(const value_type&)): Add back.
4235 * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
4236 (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
4237 (stack<>::push(const value_type&)): Add back.
4238 * include/debug/deque (deque<>::push_back(_Args&&...),
4239 deque<>::push_front(_Args&&...)): Remove.
4240 (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
4241 deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
4243 (deque<>::push_back(const value_type&),
4244 deque<>::push_front(const value_type&)): Add back.
4245 * include/debug/list (list<>::push_back(_Args&&...),
4246 list<>::push_front(_Args&&...)): Remove.
4247 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
4248 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
4250 (list<>::push_back(const value_type&),
4251 list<>::push_front(const value_type&)): Add back.
4252 * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
4253 (vector<>::push_back(value_type&&),
4254 vector<>::emplace_back(_Args&&...)): Add.
4255 (vector<>::push_back(const value_type&)): Add back.
4256 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
4257 Adjust dg-error line numbers.
4258 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
4260 * testsuite/23_containers/deque/requirements/dr438/
4261 constructor_1_neg.cc: Likewise.
4262 * testsuite/23_containers/deque/requirements/dr438/
4263 constructor_2_neg.cc: Likewise.
4264 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
4265 Adjust dg-error line numbers.
4266 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
4268 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
4270 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
4272 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
4273 Adjust dg-error line numbers.
4274 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
4276 * testsuite/23_containers/vector/requirements/dr438/
4277 constructor_1_neg.cc: Likewise.
4278 * testsuite/23_containers/vector/requirements/dr438/
4279 constructor_2_neg.cc: Likewise.
4281 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
4283 * include/tr1_impl/array (array<>::assign): Do not define in
4284 C++0x mode, per DR 776...
4285 (array<>::fill): ... define instead.
4286 * doc/xml/manual/intro.xml: Add an entry for DR 776.
4287 * testsuite/23_containers/array/requirements/fill.cc: New.
4289 2008-06-12 Paolo Carlini <paolo.carlini@oracle.com>
4291 * include/std/complex (pow(const complex<>&, int)): Do not define in
4292 C++0x mode, per DR 844.
4293 * include/tr1/complex (pow(const complex<>&, int)): Remove.
4294 * doc/xml/manual/intro.xml: Add an entry for DR 844.
4295 * testsuite/26_numerics/complex/dr844.cc: New.
4296 * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
4298 2008-06-11 Paolo Carlini <paolo.carlini@oracle.com>
4300 * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
4301 cend(size_type)): Add per DR 691.
4302 * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
4304 * testsuite/23_containers/unordered_multimap/requirements/
4305 cliterators.cc: Likewise.
4306 * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
4308 * testsuite/23_containers/unordered_multiset/requirements/
4309 cliterators.cc: Likewise.
4310 * doc/xml/manual/intro.xml: Add an entry for DR 691.
4312 2008-06-11 Matthias Klose <doko@ubuntu.com>
4314 * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
4315 Remove empty directories.
4317 2008-06-07 Joseph Myers <joseph@codesourcery.com>
4319 * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
4320 solaris2.5.[0-9], solaris2.6, windiss*): Remove.
4321 * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
4322 * configure: Regenerate.
4323 * config/os/solaris/solaris2.5: Remove directory.
4324 * config/os/solaris/solaris2.6: Remove directory.
4325 * config/os/windiss: Remove directory.
4327 2008-06-06 Benjamin Kosnik <bkoz@redhat.com>
4329 * doc/xml/manual/using.xml: Outline exception topics.
4331 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
4332 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
4333 policy_access_fn_imps.hpp: Same.
4334 * include/ext/pb_ds/priority_queue.hpp: Same.
4335 * include/ext/throw_allocator.h: Same.
4337 * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
4338 (sequence_tag): New tag. Doxygen markup fixes.
4340 * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
4342 * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
4343 comment typo, include paths, format.
4344 * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
4345 * testsuite/performance/ext/pb_ds/
4346 hash_random_int_erase_mem_usage.cc: Same.
4347 * testsuite/performance/ext/pb_ds/
4348 random_int_subscript_find_timing.cc: Same.
4349 * testsuite/performance/ext/pb_ds/
4350 priority_queue_text_push_timing.cc: Same.
4351 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
4352 * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
4353 * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
4354 * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
4355 * testsuite/performance/ext/pb_ds/
4356 priority_queue_random_int_push_timing.cc: Same.
4357 * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
4358 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
4359 * testsuite/performance/ext/pb_ds/
4360 priority_queue_text_push_pop_timing.cc: Same.
4361 * testsuite/performance/ext/pb_ds/
4362 priority_queue_text_join_timing.cc: Same.
4363 * testsuite/performance/ext/pb_ds/
4364 priority_queue_random_int_push_pop_timing.cc: Same.
4365 * testsuite/performance/ext/pb_ds/
4366 random_int_subscript_insert_timing.cc: Same.
4367 * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
4368 * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
4369 * testsuite/performance/ext/pb_ds/
4370 priority_queue_text_pop_mem_usage.cc: Same.
4371 * testsuite/performance/ext/pb_ds/
4372 hash_zlob_random_int_find_timing.cc: Same.
4373 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
4374 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
4375 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
4376 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
4377 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
4378 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
4379 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
4380 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
4381 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
4382 * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
4383 * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
4384 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
4385 * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
4386 * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
4387 * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
4388 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
4389 * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
4390 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
4391 * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
4392 * testsuite/util/regression/basic_type.hpp: Same.
4393 * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
4394 * testsuite/util/common_type/priority_queue/detail/
4395 ds_string_form.hpp: Same.
4396 * testsuite/util/common_type/assoc/string_form.hpp: Same.
4397 * testsuite/util/common_type/assoc/detail/
4398 resize_policy_string_form.hpp: Same.
4399 * testsuite/util/common_type/assoc/detail/
4400 trigger_policy_string_form.hpp: Same.
4401 * testsuite/util/common_type/assoc/detail/
4402 comb_hash_fn_string_form.hpp: Same.
4403 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
4404 * testsuite/util/common_type/assoc/detail/
4405 size_policy_string_form.hpp: Same.
4406 * testsuite/util/common_type/assoc/detail/
4407 probe_fn_string_form.hpp: Same.
4408 * testsuite/util/common_type/assoc/detail/
4409 list_update_policy_string_form.hpp: Same.
4410 * testsuite/util/common_type/assoc/detail/
4411 store_hash_string_form.hpp: Same.
4412 * testsuite/util/common_type/assoc/native_set.hpp: Same.
4413 * testsuite/util/io/prog_bar.cc: Same.
4415 * testsuite/util/regression/rand/io: Remove.
4416 * testsuite/util/regression/rand/io/priority_queue: Same.
4417 * testsuite/util/regression/rand/io/assoc: Same.
4418 * testsuite/util/regression/rand/io/priority_queue/
4419 xml_formatter.hpp: Consolidate this...
4420 * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
4421 * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
4422 * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
4424 * testsuite/util/regression/rand/priority_queue/
4425 container_rand_regression_test.hpp:To ...
4426 container_rand_regression_test.h: ... this.
4427 * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
4428 * testsuite/util/regression/rand/priority_queue/
4429 container_rand_regression_test.tcc: ... this.
4430 PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
4431 PB_DS_SET_DESTRUCT_PRINT: Fold inline.
4432 PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
4433 * testsuite/util/regression/rand/priority_queue/
4434 rand_regression_test.hpp: Adjust includes.
4436 * testsuite/util/regression/rand/assoc/
4437 container_rand_regression_test.hpp: To ...
4438 * testsuite/util/regression/rand/assoc/
4439 container_rand_regression_test.h: ... this.
4440 * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
4441 * testsuite/util/regression/rand/assoc/
4442 container_rand_regression_test.tcc: ...this.
4443 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
4446 * testsuite/util/regression/priority_queue: Remove.
4447 * testsuite/util/regression/assoc: Remove.
4448 * testsuite/util/regression/priority_queue/
4449 common_type.hpp: Consolidate this...
4450 * testsuite/util/regression/assoc/common_type.hpp: ... and this
4451 * testsuite/util/regression/common_type.hpp: ...here.
4453 * testsuite/util/rng: Remove.
4454 * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
4455 * testsuite/util/rng/twister_rand_gen.hpp: ... and this
4456 * testsuite/util/testsuite_rng.h: ...here.
4458 * testsuite/util/native_type/priority_queue: Remove.
4459 * testsuite/util/native_type/priority_queue/
4460 native_priority_queue.hpp: To...
4461 * testsuite/util/native_type/native_priority_queue.hpp: ...here.
4463 * testsuite/util/native_type/assoc: Remove.
4464 * testsuite/util/native_type/assoc/native_multimap.hpp: To...
4465 * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
4466 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
4467 * testsuite/util/native_type/assoc/native_set.hpp: To...
4468 * testsuite/util/native_type/assoc/native_map.hpp: To...
4469 * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
4470 * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
4471 * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
4472 * testsuite/util/native_type/native_multimap.hpp: ...here.
4473 * testsuite/util/native_type/native_tree_tag.hpp: ...here.
4474 * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
4475 * testsuite/util/native_type/native_set.hpp: ...here.
4476 * testsuite/util/native_type/native_map.hpp: ...here.
4477 * testsuite/util/native_type/native_hash_set.hpp: ...here.
4478 * testsuite/util/native_type/native_hash_tag.hpp: ...here.
4479 * testsuite/util/native_type/native_hash_map.hpp: ...here.
4481 * testsuite/util/common_type/priority_queue/common_type.hpp:
4482 Make include guard distinct.
4483 * testsuite/util/common_type/assoc/common_type.hpp: Same.
4485 2008-06-06 Joseph Myers <joseph@codesourcery.com>
4487 * configure.ac: Do not check for gconv.h.
4488 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
4489 gconf.h. For glibc and uClibc systems, define
4490 _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
4492 * configure, config.h.in: Regenerate.
4494 2008-06-06 Joseph Myers <joseph@codesourcery.com>
4496 * testsuite/17_intro/headers/all.cc,
4497 testsuite/17_intro/headers/all_c++200x_compatibility.cc,
4498 testsuite/17_intro/headers/all_pedantic_errors.cc,
4499 testsuite/ext/headers.cc: Only include
4500 <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
4501 _GLIBCXX_HAVE_ICONV.
4503 2008-06-05 Johannes Singler <singler@ira.uka.de>
4505 * include/parallel/random_shuffle.h:
4506 (parallel_random_shuffle_drs) Get the actual number of
4507 threads after entering the parallel region. Indentation.
4508 * include/parallel/algo.h: (random_shuffle(begin, end))
4509 Add namespace qualification to avoid ambiguity.
4511 2008-06-04 Benjamin Kosnik <bkoz@redhat.com>
4513 * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
4514 to allocator_type, as per existing conventions.
4515 * include/ext/pb_ds/detail/binomial_heap_base_/
4516 binomial_heap_base_.hpp: Same.
4517 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
4518 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
4519 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
4520 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
4521 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
4522 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
4523 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
4524 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
4525 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
4526 left_child_next_sibling_heap_.hpp: Same.
4527 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
4528 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
4529 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
4530 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
4531 * include/ext/pb_ds/detail/rc_binomial_heap_/
4532 rc_binomial_heap_.hpp: Same.
4533 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
4534 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
4535 * include/ext/pb_ds/list_update_policy.hpp: Same.
4536 * include/ext/pb_ds/exception.hpp: Same.
4537 * include/ext/pb_ds/tree_policy.hpp: Same.
4538 * include/ext/pb_ds/trie_policy.hpp: Same.
4539 * include/ext/pb_ds/priority_queue.hpp: Same.
4540 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
4541 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
4542 * testsuite/util/regression/rand/priority_queue/detail/
4543 defs_fn_imps.hpp: Same.
4544 * testsuite/util/regression/rand/priority_queue/detail/
4545 operator_fn_imps.hpp: Same.
4546 * testsuite/util/regression/rand/priority_queue/
4547 container_rand_regression_test.hpp: Same.
4548 * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
4549 * testsuite/util/regression/rand/assoc/detail/
4550 operator_fn_imps.hpp: Same.
4551 * testsuite/util/regression/rand/assoc/
4552 container_rand_regression_test.hpp: Same.
4553 * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
4554 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
4555 * testsuite/util/common_type/assoc/detail/
4556 tree_supports_order_statistics.hpp: Same.
4557 * testsuite/util/common_type/assoc/detail/
4558 trie_supports_prefix_search.hpp: Same.
4559 * testsuite/util/common_type/assoc/detail/
4560 trie_supports_order_statistics.hpp: Same.
4562 2008-06-02 Sandra Loosemore <sandra@codesourcery.com>
4563 Daniel Jacobowitz <dan@codesourcery.com>
4565 * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
4567 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
4568 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
4570 2008-06-02 Paolo Carlini <paolo.carlini@oracle.com>
4572 * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
4573 avoid a memory leak if the first __uninitialized_move_a throws.
4574 (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
4576 * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
4577 * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
4579 2008-05-31 Paolo Carlini <paolo.carlini@oracle.com>
4580 Chris Jefferson <chris@bubblescope.net>
4583 * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
4584 (pop_heap): Slightly tweak.
4586 2008-05-29 Paolo Carlini <paolo.carlini@oracle.com>
4588 * include/debug/bitset (bitset(const char*)): Implement DR 778
4591 * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
4592 deal with char16_t and char32_t.
4594 2008-05-26 Paolo Carlini <paolo.carlini@oracle.com>
4596 * include/c_global/cmath (pow(float, int), pow(double, int),
4597 pow(long double, int)): Do not define in C++0x mode, per DR 550.
4598 * include/tr1_impl/cmath (pow): Do not bring in unconditionally
4600 * include/tr1/cmath (pow(double, double), pow(float, float),
4601 pow(long double, long double), pow(_Tp, _Up)): Define.
4602 * include/tr1/complex (pow): Do not bring in from namespace std.
4603 (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
4604 const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
4605 pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
4606 * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
4607 const _Up&), pow(const _Tp&, const std::complex<_Up>&),
4608 pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
4610 * doc/xml/manual/intro.xml: Add an entry for DR 550.
4611 * testsuite/26_numerics/headers/cmath/dr550.cc: New.
4612 * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
4614 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
4616 * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
4617 * include/std/date_time: Likewise.
4618 * include/std/system_error: Likewise.
4619 * include/std/type_traits: Likewise; fix typo in macro name.
4620 * include/std/regex: Likewise.
4621 * include/std/random: Likewise.
4622 * include/std/unordered_map: Likewise.
4623 * include/std/condition_variable: Likewise.
4624 * include/std/unordered_set: Likewise.
4625 * include/std/mutex: Likewise.
4626 * include/std/array: Likewise.
4628 * include/c_std/cmath: Fix obsolete comment.
4629 * include/c_global/cmath: Likewise.
4631 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
4633 * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
4634 complex<float>::real(float), complex<float>::imag(float),
4635 complex<double>::real(double), complex<double>::imag(double),
4636 complex<long double>::real(long double),
4637 complex<long double>::imag(long double)): Add per DR 387.
4638 (complex<>::real(), complex<>::imag(), complex<float>::real(),
4639 complex<float>::imag(), complex<double>::real(),
4640 complex<double>::imag(), complex<long double>::real(),
4641 complex<long double>::imag(long double)): Adjust in C++0x mode.
4642 (real(complex<>&), imag(complex<>&), real(const complex<>&),
4643 imag(const complex<>&)): Likewise.
4644 * testsuite/26_numerics/complex/dr387.cc: New.
4645 * doc/xml/manual/intro.xml: Add an entry for DR 387.
4647 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
4649 * include/std/complex: Trivial stylistic changes, define inline
4650 members inline, consistently with the rest of the library.
4651 (pow(const _Tp&, const complex<>&)): Minor tweak.
4653 2008-05-24 Paolo Carlini <paolo.carlini@oracle.com>
4655 * src/atomic.cc (atomic_flag_test_and_set_explicit,
4656 atomic_flag_clear_explicit): Suppress unused parameter warnings.
4658 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
4660 * include/std/tuple: Replace int -> size_t throughout per DR 775.
4661 * include/tr1_impl/array: Likewise.
4662 * include/tr1_impl/utility: Likewise.
4663 * doc/xml/manual/intro.xml: Add an entry for DR 775.
4665 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
4667 * doc/xml/manual/intro.xml: Adjust links to ISO documents.
4669 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
4671 * include/c_std/cmath (fpclassify): Use __builtin_fpclassify.
4672 * include/c_global/cmath (fpclassify): Likewise.
4674 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
4676 * include/tr1_impl/hashtable_policy.h (_Map_base<,,
4677 std::_Select1st<_Pair>, true,>::at): Add per DR 761.
4678 * testsuite/23_containers/unordered_map/dr761.cc: New.
4679 * doc/xml/manual/intro.xml: Add an entry for DR 761.
4681 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
4683 * testsuite/26_numerics/complex/dr781.cc: Add test variable.
4685 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
4687 * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
4689 * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to...
4690 * include/tr1/complex: ... here.
4691 * doc/xml/manual/intro.xml: Add an entry for DR 781.
4692 * testsuite/26_numerics/complex/dr781.cc: Add.
4693 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update.
4694 * configure: Regenerate.
4696 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
4698 * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778.
4699 (bitset<>::_M_copy_from_ptr): Add.
4700 (bitset<>::_M_copy_from_string): Forward to the latter.
4701 * doc/xml/manual/intro.xml: Add an entry for DR 778.
4702 * testsuite/23_containers/bitset/cons/2.cc: Add.
4704 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
4706 * doc/html/ext/lwg-active.html: Update to Revision R56.
4707 * doc/html/ext/lwg-closed.html: Likewise.
4708 * doc/html/ext/lwg-defects.html: Likewise.
4710 2008-05-20 Paolo Carlini <paolo.carlini@oracle.com>
4712 PR c++/33979 (partial)
4713 * include/tr1_impl/functional_hash.h (hash<char16_t>,
4714 hash<char32_t>): Add specializations.
4715 * include/tr1_impl/type_traits (is_integral<char16_t>,
4716 is_integral<char32_t>): Likewise.
4717 * include/std/limits (numeric_limits<char16_t>,
4718 numeric_limits<char32_t>): Likewise.
4719 * src/limits_c++0x.cc: Add.
4720 * src/Makefile.am: Update.
4721 * testsuite/20_util/hash/requirements/explicit_instantiation.cc:
4723 * testsuite/20_util/is_integral/value.cc: New.
4724 * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise.
4725 * testsuite/20_util/is_integral/requirements/
4726 explicit_instantiation.cc: Likewise.
4727 * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise.
4728 * config/abi/pre/gnu.ver: Export new numeric_limits symbols at
4730 * configure: Regenerate.
4731 * src/Makefile.in: Likewise.
4732 * config.h.in: Likewise.
4734 2008-05-16 Benjamin Kosnik <bkoz@redhat.com>
4736 * include/std/system_error: Align to current draft specifications.
4737 * src/system_error.cc: Same.
4738 * src/functexcept.cc: Adjust for corrected system_error construction.
4739 * include/std/ostream: Adjust error_code inserter.
4740 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
4741 * config/abi/pre/gnu.ver: Add new exports.
4743 * testsuite/util/testsuite_error.h: Consolidate error testing
4745 * testsuite/19_diagnostics/error_code/cons/1.cc: Use
4746 testsuite_error, adjust line numbers and constructor calls.
4747 * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
4748 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
4749 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
4750 * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
4751 * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
4752 * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
4753 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
4755 * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
4756 * testsuite/19_diagnostics/system_error/what-1.cc: Same.
4757 * testsuite/19_diagnostics/system_error/what-2.cc: Same.
4758 * testsuite/19_diagnostics/system_error/what-big.cc: Same.
4759 * testsuite/19_diagnostics/system_error/what-3.cc: Same.
4760 * testsuite/19_diagnostics/system_error/what-4.cc: Same.
4762 2008-05-15 Bernd Schmidt <bernd.schmidt@analog.com>
4764 * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
4765 * configure: Regenerate.
4767 2008-05-15 Johannes Singler <singler@ira.uka.de>
4769 * xml/manual/parallel_mode.xml:
4770 General revision and documentation of new compile-time
4771 options for sorting.
4773 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
4775 * include/std/mutex (mutex::try_lock): Eat errors.
4776 (mutex::unlock): Same.
4777 (recursive_mutex::try_lock): Eat errors.
4778 (recursive_mutex::unlock): Same.
4779 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add
4780 -pthreads, adjust line numbers.
4781 * testsuite/30_threads/mutex/native_handle/1.cc: Same.
4782 * testsuite/30_threads/mutex/cons/1.cc: Same.
4783 * testsuite/30_threads/mutex/try_lock/1.cc: Same.
4784 * testsuite/30_threads/mutex/try_lock/2.cc: Same.
4785 * testsuite/30_threads/mutex/lock/1.cc: Same.
4786 * testsuite/30_threads/mutex/unlock/1.cc: Same.
4787 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same.
4788 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same.
4789 * testsuite/30_threads/recursive_mutex/cons/1.cc: Same.
4791 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
4793 * include/std/sstream: Adjust braces.
4794 * include/bits/fstream.tcc: Same.
4795 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add
4797 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
4799 * doc/doxygen/user.cfg.in: Remove thread include.
4801 2008-05-13 David Daney <ddaney@avtrex.com>
4803 * config/cpu/mips/atomicity.h: Remove file.
4804 * config/cpu/mips: Remove directory.
4805 * configure.host: Remove host specific handling for mips*-*-*.
4807 2008-05-12 Stefano Soffia <soffia@cs.unipr.it>
4808 Paolo Carlini <paolo.carlini@oracle.com>
4810 * include/debug/vector (vector<>::_M_requires_reallocation): Just
4811 use this->capacity().
4812 (vector<>::capacity): Move non-pedantic / pedantic logic here.
4813 * testsuite/23_containers/vector/
4814 debug_mode_requires_reallocation-2.cc: New.
4816 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
4817 Rename to debug_mode_requires_reallocation-1.cc
4819 2008-05-10 Roberto Bagnara <bagnara@cs.unipr.it>
4820 Paolo Carlini <paolo.carlini@oracle.com>
4822 * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
4823 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
4826 2008-05-07 Johannes Singler <singler@ira.uka.de>
4828 * include/parallel/quicksort.h:
4829 (parallel_sort_qs_conquer) Explicitly request number of threads
4830 in the parallel clause.
4831 (parallel_sort_qs) Remove setting the number of threads globally.
4833 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
4835 * include/std/mutex (mutex::mutex): Fix usage of initializing macro.
4836 (recursive_mutex::recursive_mutex): Same.
4837 (once_flag::once_flag): Same.
4838 * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers.
4839 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
4840 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
4841 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
4843 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
4845 * include/std/condition_variable: New.
4846 * include/std/mutex: New.
4847 * src/condition_variable.cc: New.
4848 * src/mutex.cc: New.
4849 * include/bits/functexcept.h: Add __throw_system_error varients.
4850 * src/functexcept.cc: Same.
4851 * config/abi/pre/gnu.ver: Add exports.
4853 * doc/xml/manual/using.xml: Add new includes.
4854 * doc/doxygen/user.cfg.in: Doxygen support.
4855 * doc/doxygen/doxygroups.cc: Same.
4857 * include/Makefile.am: Add mutex, condition_variable.
4858 * include/Makefile.in: Regenerated.
4859 * src/Makefile.am: Add mutex.cc, condition_variable.cc.
4860 * src/Makefile.in: Regenerated.
4862 * testsuite/30_threads: New.
4863 * testsuite/30_threads/lock_error: New.
4864 * testsuite/30_threads/mutex: New.
4865 * testsuite/30_threads/mutex/dest: New.
4866 * testsuite/30_threads/mutex/dest/destructor_locked.cc: New.
4867 * testsuite/30_threads/mutex/native_handle: New.
4868 * testsuite/30_threads/mutex/native_handle/1.cc: New.
4869 * testsuite/30_threads/mutex/cons: New.
4870 * testsuite/30_threads/mutex/cons/assign_neg.cc: New.
4871 * testsuite/30_threads/mutex/cons/1.cc: New.
4872 * testsuite/30_threads/mutex/cons/copy_neg.cc: New.
4873 * testsuite/30_threads/mutex/requirements: New.
4874 * testsuite/30_threads/mutex/requirements/typedefs.cc: New.
4875 * testsuite/30_threads/mutex/try_lock: New.
4876 * testsuite/30_threads/mutex/try_lock/1.cc: New.
4877 * testsuite/30_threads/mutex/try_lock/2.cc: New.
4878 * testsuite/30_threads/mutex/lock: New.
4879 * testsuite/30_threads/mutex/lock/1.cc: New.
4880 * testsuite/30_threads/mutex/unlock: New.
4881 * testsuite/30_threads/mutex/unlock/1.cc: New.
4882 * testsuite/30_threads/recursive_mutex: New.
4883 * testsuite/30_threads/recursive_mutex/dest: New.
4884 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New.
4885 * testsuite/30_threads/recursive_mutex/native_handle: New.
4886 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New.
4887 * testsuite/30_threads/recursive_mutex/cons: New.
4888 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New.
4889 * testsuite/30_threads/recursive_mutex/cons/1.cc: New.
4890 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New.
4891 * testsuite/30_threads/recursive_mutex/requirements: New.
4892 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New.
4893 * testsuite/30_threads/lock_guard: New.
4894 * testsuite/30_threads/lock_guard/requirements: New.
4895 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New.
4896 * testsuite/30_threads/lock_guard/requirements/
4897 explicit_instantiation.cc: New.
4898 * testsuite/30_threads/headers: New.
4899 * testsuite/30_threads/headers/mutex: New.
4900 * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New.
4901 * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New.
4902 * testsuite/30_threads/headers/condition_variable: New.
4903 * testsuite/30_threads/headers/condition_variable/
4904 types_std_c++0x.cc: New.
4905 * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New.
4906 * testsuite/30_threads/once_flag: New.
4907 * testsuite/30_threads/unique_lock: New.
4908 * testsuite/30_threads/unique_lock/requirements: New.
4909 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New.
4910 * testsuite/30_threads/unique_lock/requirements/
4911 explicit_instantiation.cc: New.
4912 * testsuite/17_intro/headers/c++200x/all.cc: Add new includes.
4914 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
4917 * include/bits/c++config: Namespace macros and setup only in C++.
4918 * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.
4920 2008-05-06 Johannes Singler <singler@ira.uka.de>
4922 * include/parallel/multiway_merge.h:
4923 (multiway_merge_*_unguarded):
4924 Pass sentinel directly, to allow correct determination.
4925 (multiway_merge_loser_tree_unguarded):
4926 Remove over-cautious assertion.
4927 (calls to multiway_merge_*_splitting):
4928 Parametrize with type that is correct in all cases.
4929 * include/parallel/losertree.h:
4930 (delete_min_insert (in many classes)):
4931 Correct and standardize assertions.
4933 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
4935 * testsuite/util/testsuite_visualization.h: Move contents into...
4936 * testsuite/util/testsuite_performance.h: ...here.
4937 * testsuite/util/testsuite_common_types.h: Move
4938 performance-related test infrastructure into
4939 testsuite_performance.
4940 * testsuite/performance/25_algorithms/search_n.cc: Fix includes.
4941 * testsuite/performance/23_containers/find/map.cc: Same.
4942 * testsuite/performance/23_containers/create/map.cc: Same.
4943 * testsuite/performance/23_containers/insert_erase/associative.cc: Same.
4944 * testsuite/performance/23_containers/insert/sequence.cc: Same.
4945 * testsuite/performance/23_containers/insert/associative.cc: Same.
4946 * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
4947 * testsuite/performance/23_containers/index/map.cc: Same.
4948 * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
4949 * testsuite/performance/23_containers/create_sort/list.cc: Same.
4950 * testsuite/performance/23_containers/sort_search/list.cc: Same.
4951 * testsuite/performance/23_containers/producer_consumer/sequence.cc:
4953 * testsuite/performance/23_containers/producer_consumer/associative.cc:
4956 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
4957 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
4959 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
4961 * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements.
4962 * 20_util/make_unsigned/requirements/typedefs-1.cc: Same.
4964 2008-05-01 Benjamin Kosnik <bkoz@redhat.com>
4966 * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
4968 2008-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4970 * include/Makefile.am (install-headers): Cope with empty
4972 * include/Makefile.in: Regenerate.
4974 2008-04-29 Benjamin Kosnik <bkoz@redhat.com>
4976 * include/bits/c++config: Remove space between '#' and 'undef' for
4977 _GLIBCXX_LONG_DOUBLE_COMPAT.
4979 2008-04-29 Joseph Myers <joseph@codesourcery.com>
4981 * Makefile.am (install-html, install-pdf): Add dummy targets.
4982 * Makefile.in: Regenerate.
4983 * doc/Makefile.am (install-html, install-pdf): Remove.
4984 * doc/Makefile.in: Regenerate.
4986 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
4988 * include/bits/c++config: Move os_defines and cpu_defines after
4989 namespace definitions and base macros.
4991 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
4994 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just
4996 * configure: Regenerate.
4998 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
5001 * include/std/unordered_map: Include debug/unordered_map if
5003 * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
5004 * testsuite/23_containers/unordered_map/requirements/
5005 debug_container.cc: ...here.
5006 * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New.
5007 * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
5008 * testsuite/23_containers/unordered_set/requirements/
5009 debug_container.cc: ...here.
5010 * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New.
5012 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
5015 * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support.
5016 * configure.ac: Re-order compiler macros.
5017 * configure: Regenerated.
5019 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
5022 * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL.
5023 Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS.
5024 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp.
5025 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information.
5026 * configure: Regenerate.
5027 * include/Makefile.am (parallel_headers): Make conditional on
5029 * include/Makefile.in: Regenerate.
5031 2008-04-24 Paolo Carlini <pcarlini@suse.de>
5034 * include/debug/list (merge): Use _M_transfer_iter, consistently
5035 with the splice members.
5036 * testsuite/23_containers/list/operations/35969.cc: New.
5038 * testsuite/23_containers/list/operators: Rename to
5039 testsuite/23_containers/list/operations.
5041 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
5043 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of
5044 all used __sync builtins, in two sizes.
5045 * config.h.in: Regenerate.
5046 * configure: Regenerate.
5047 * src/atomic.cc: Use _GLIBCXX_ATOMIC_BUILTINS_1.
5048 * include/ext/atomicity.h: Use _GLIBCXX_ATOMIC_BUILTINS_4.
5049 * libsupc++/guard.cc: Use _GLIBCXX_ATOMIC_BUILTINS_4.
5050 * doc/xml/manual/concurrency.xm: Update docs.
5052 2008-04-23 Benjamin Kosnik <bkoz@redhat.com>
5054 * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
5055 _GLIBCXX_BEGIN_EXTERN_C, etc.
5057 2008-04-23 Johannes Singler <singler@ira.uka.de>
5059 * include/parallel/quicksort.h: Reformat,
5060 (parallel_sort_qs): Do not pass number of elements.
5061 * include/parallel/balanced_quicksort.h: Reformat,
5062 (parallel_sort_qsb): Do not pass number of elements.
5063 * include/parallel/tags.h:
5064 Introduce new tags for compile-time choice.
5065 * include/parallel/merge.h:
5066 (parallel_merge_advance):Beautified.
5067 * include/parallel/algo.h: Reformatting (spaces for tabs)
5068 New sort and stable_sort variants, corresponding to the tags.
5069 * include/parallel/sort.h:
5070 New sort and stable_sort variants, corresponding to the tags.
5071 Changed determining the desired number of threads.
5073 2008-04-23 Johannes Singler <singler@ira.uka.de>
5075 * include/parallel/multiway_merge.h
5076 (multiway_merge_loser_tree):
5077 Leave checks to callers, add precondition instead.
5078 (multiway_merge_loser_tree_unguarded): Likewise.
5079 (multiway_merge_loser_tree_sentinel): Likewise.
5080 (sequential_multiway_merge): Added checks for total length 0.
5081 (parallel_multiway_merge): Skip empty sequences.
5082 (multiway_merge, all variants):
5083 Remove temporary variable, return directly.
5084 (stable_multiway_merge, all variants): Likewise.
5085 (multiway_merge_sentinels, all variants): Likewise.
5086 (stable_multiway_merge_sentinels, all variants): Likewise.
5087 * include/parallel/multiseq_selection.h
5088 (multiseq_partition): More detailed assertions.
5090 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5092 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
5093 (GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
5094 (GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
5095 (GLIBCXX_CHECK_SYSTEM_ERROR): Likewise. Factorize.
5096 * configure: Regenerate.
5098 2008-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5101 * include/Makefile.am (pch*_output): Do not touch pch*_output_anchor.
5102 Call 'mkdir -p' unconditionally, but ignore its return value.
5103 * include/Makefile.in: Regenerate.
5105 * include/Makefile.am: Fix most stamp rules to regenerate
5106 the links for all sources newer than the stamp file.
5107 * include/Makefile.in: Regenerate.
5108 * Makefile.in: Likewise.
5109 * src/Makefile.in: Likewise.
5110 * doc/Makefile.in: Likewise.
5111 * po/Makefile.in: Likewise.
5112 * libmath/Makefile.in: Likewise.
5113 * libsupc++/Makefile.in: Likewise.
5114 * testsuite/Makefile.in: Likewise.
5116 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
5119 * aclocal.m4: Regenerate.
5120 * configure: Regenerate.
5122 2008-04-16 Andreas Tobler <a.tobler@schweiz.org>
5125 * configure.ac: Use GCC_HEADER_STDINT.
5126 * src/atomic.cc: Include gstdint.h
5127 * configure: Regenerate.
5128 * Makefile.in: Likewise.
5129 * doc/Makefile.in: Likewise.
5130 * include/Makefile.in: Likewise.
5131 * libmath/Makefile.in: Likewise.
5132 * libsupc++/Makefile.in: Likewise.
5133 * po/Makefile.in: Likewise.
5134 * src/Makefile.in: Likewise.
5135 * testsuite/Makefile.in: Likewise.
5136 * aclocal.m4: Likewise.
5138 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
5141 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Set CXXFLAGS to
5142 -O0 when checking for atomic builtins.
5143 * configure: Regenerate.
5145 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
5147 * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
5149 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
5151 * doc/html/*: Regenerate.
5153 2008-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5155 * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
5156 * doc/xml/authors.xml: Fix typos.
5157 * doc/xml/faq.xml: Likewise.
5158 * doc/xml/manual/abi.xml: Likewise.
5159 * doc/xml/manual/allocator.xml: Likewise.
5160 * doc/xml/manual/appendix_contributing.xml: Likewise.
5161 * doc/xml/manual/backwards_compatibility.xml: Likewise.
5162 * doc/xml/manual/build_hacking.xml: Likewise.
5163 * doc/xml/manual/codecvt.xml: Likewise.
5164 * doc/xml/manual/concurrency.xml: Likewise.
5165 * doc/xml/manual/ctype.xml: Likewise.
5166 * doc/xml/manual/debug_mode.xml: Likewise.
5167 * doc/xml/manual/diagnostics.xml: Likewise.
5168 * doc/xml/manual/evolution.xml: Likewise.
5169 * doc/xml/manual/extensions.xml: Likewise.
5170 * doc/xml/manual/locale.xml: Likewise.
5171 * doc/xml/manual/messages.xml: Likewise.
5172 * doc/xml/manual/parallel_mode.xml: Likewise.
5173 * doc/xml/manual/status_cxx200x.xml: Likewise.
5174 * doc/xml/manual/strings.xml: Likewise.
5175 * doc/xml/manual/support.xml: Likewise.
5176 * doc/xml/manual/test.xml: Likewise.
5177 * doc/xml/manual/using.xml: Likewise.
5179 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
5180 Johannes Singler <singler@ira.uka.de>
5182 * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
5183 insertors. Correct omp_set_num_threads example.
5185 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
5187 * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
5188 * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
5189 * src/atomic.c: Format, doxygen markup, edits.
5191 * include/Makefile.am (cstdatomic, stdatomic.h): Add.
5192 * src/Makefile.am (atomic.c): Add.
5193 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
5194 * configure.ac: Call it.
5195 * include/Makefile.in: Regenerate.
5196 * src/Makefile.in: Same.
5197 * Makefile.in: Same.
5198 * doc/Makefile.in: Same.
5199 * po/Makefile.in: Same.
5200 * libmath/Makefile.in: Same.
5201 * include/Makefile.in: Same.
5202 * testsuite/Makefile.in: Same.
5203 * libsupc++/Makefile.in: Same.
5204 * config.h.in: Same.
5207 * config/abi/pre/gnu.ver: Add atomics exports.
5209 * include/ext/typelist.h (apply_generator): New.
5210 * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
5211 (_GLIBCXX_END_EXTERN_C): New.
5212 Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
5214 * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
5216 * testsuite/util/testsuite_common_types.h (integral_types): New
5218 (atomics, atomics_tl): Same.
5219 (assignable, default_constructible, copy_constructible,
5220 explicit_value_constructible): New.
5221 * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
5222 * testsuite/29_atomics: New.
5223 * testsuite/29_atomics/atomic_address: Same.
5224 * testsuite/29_atomics/atomic_address/cons: Same.
5225 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
5226 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
5227 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
5228 * testsuite/29_atomics/atomic_address/cons/default.cc: Same.
5229 * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
5230 * testsuite/29_atomics/atomic_flag: Same.
5231 * testsuite/29_atomics/atomic_flag/cons: Same.
5232 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
5233 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
5234 * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
5235 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
5236 * testsuite/29_atomics/atomic_flag/requirements: Same.
5237 * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
5239 * testsuite/29_atomics/atomic_flag/
5240 atomic_global_fence_compatibility.cc: Same.
5241 * testsuite/29_atomics/atomic_flag/test_and_set: Same.
5242 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
5243 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
5244 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
5245 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
5246 * testsuite/29_atomics/headers: Same.
5247 * testsuite/29_atomics/headers/cstdatomic: Same.
5248 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
5249 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
5250 * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
5251 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
5252 * testsuite/29_atomics/headers/stdatomic.h: Same.
5253 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
5254 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
5255 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
5256 * testsuite/29_atomics/atomic: Same.
5257 * testsuite/29_atomics/atomic/cons: Same.
5258 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
5259 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
5260 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
5261 * testsuite/29_atomics/atomic/cons/default.cc: Same.
5262 * testsuite/29_atomics/atomic/requirements: Same.
5263 * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
5264 * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
5267 2008-04-10 Lawrence Crowl <crowl@google.com>
5269 * include/c_global/cstdatomic: New.
5270 * include/c_compatibility/stdatomic.h: New.
5271 * src/atomic.c: New.
5273 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
5275 * include/std/tuple: Consistency check for include guard, doxygen
5277 * include/std/date_time: Same.
5278 * include/std/type_traits: Same.
5279 * include/std/regex: Same.
5280 * include/std/array: Same.
5281 * include/std/system_error: Same, add error_code ctor.
5283 2008-04-07 Johannes Singler <singler@ira.uka.de>
5285 * include/parallel/multiway_merge.h: Moved decisions to
5286 compile-time instead of run-time.
5287 * include/parallel/losertree.h: Removed obsolete variants, added
5288 variant that uses pointers in the loser tree.
5289 * include/parallel/types.h: Remove obsolete settings options from enum.
5290 * include/parallel/features.h: Remove obsolete compile-time switches.
5291 * include/parallel/compiletime_settings.h: Remove obsolete variant
5292 that copies back *after* sorting.
5293 * include/parallel/tags.h: Add one new tag for compile-time switch.
5294 * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
5295 * include/parallel/multiway_mergesort.h: Adapt to changes in
5296 multiway_merge.h. Factor out splitting variants. Remove obsolete
5297 variant that copies back *after* sorting.
5298 * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
5299 * testsuite/25_algorithms/sort/35588.cc: Added test case from /
5302 2008-03-29 Paolo Carlini <pcarlini@suse.de>
5305 * include/bits/stl_algobase.h (__fill_a(_ForwardIterator,
5306 _ForwardIterator, _Tp), __fill_a(_Tp*, _Tp*, _Tp),
5307 __fill_n_a(_OutputIterator, _Size, _Tp), __fill_n_a(_Tp*, _Size,
5308 _Tp)): Fix signatures.
5309 * testsuite/25_algorithms/fill/35725.cc: New.
5310 * testsuite/25_algorithms/fill_n/35725.cc: Likewise.
5312 2008-03-29 Matthias Klose <doko@ubuntu.com>
5314 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
5315 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise.
5316 * config/abi/post/mips-linux-gnu/baseline_symbols.txt: Likewise.
5317 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Likewise.
5319 2008-03-27 Ian Lance Taylor <iant@google.com>
5321 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
5322 glibcxx_ld_is_gold. Check for gold in --gc-sections test.
5323 (GLIBCXX_ENABLE_SYMVERS): Check for gold.
5324 * aclocal.m4, configure: Rebuild.
5326 2008-03-26 Benjamin Kosnik <bkoz@redhat.com>
5328 * testsuite/util/testsuite_abi.h: Remove symbol_objects,
5329 symbol_names typedefs.
5330 * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check
5331 for long double compatiblity symbols, simplify data structures used.
5333 2008-03-25 Benjamin Kosnik <bkoz@redhat.com>
5335 * scripts/run_doxygen: Remove html_output_dir. Downgrade to
5337 * doc/doxygen/style.css: Delete.
5338 * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1.
5340 (PREDEFINED): Update.
5341 (HTML_OUTPUT): Remove html_output_dir, use html.
5342 (HTML_STYLESHEET): Remove style.css.
5343 * doc/doxygen/tables.html: Remove style.css use.
5344 * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes.
5345 * doc/doxygen/doxygroups.cc: Namespace edits.
5346 * doc/doxygen/Intro.3: Correct typo.
5348 * doc/xml/api.xml: Add gcc-4.3 links.
5349 * doc/html/api.html: Regenerate.
5351 * include/debug/debug.h: Document namepaces here.
5352 * include/parallel/base.h: Same.
5353 * include/ext/typelist.h: Same.
5354 * include/ext/pb_ds/tag_and_trait.hpp: Same.
5356 * include/tr1_impl/random: Adjust line break.
5357 * include/tr1_impl/unordered_map: Correct and or add markup.
5358 * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup.
5359 * include/tr1_impl/functional_hash.h: Same.
5360 * include/tr1_impl/cmath: Same.
5361 * include/tr1_impl/functional: Same.
5362 * include/tr1_impl/unordered_set: Same.
5363 * include/tr1_impl/complex: Same.
5364 * include/tr1_impl/type_traits: Same.
5365 * include/tr1_impl/regex: Same.
5366 * include/tr1_impl/array: Same.
5367 * include/std/tuple: Same.
5368 * include/std/date_time: Same.
5369 * include/std/system_error: Same.
5370 * include/std/type_traits: Same.
5371 * include/ext/enc_filebuf.h: Same.
5372 * include/ext/throw_allocator.h: Same.
5373 * include/ext/pool_allocator.h: Same.
5374 * include/ext/bitmap_allocator.h: Same.
5375 * include/ext/concurrence.h: Same.
5376 * include/ext/codecvt_specializations.h: Same.
5377 * include/ext/stdio_sync_filebuf.h: Same.
5378 * include/ext/array_allocator.h: Same.
5379 * include/ext/mt_allocator.h: Same.
5380 * include/bits/locale_classes.h: Same.
5381 * include/bits/locale_facets.h: Same.
5382 * include/bits/codecvt.h: Same.
5383 * include/bits/char_traits.h: Same.
5384 * include/bits/allocator.h: Same.
5385 * include/bits/locale_facets_nonio.h: Same.
5386 * include/tr1/poly_laguerre.tcc: Same.
5387 * include/tr1/riemann_zeta.tcc: Same.
5388 * include/tr1/beta_function.tcc: Same.
5389 * include/tr1/tuple: Same.
5390 * include/tr1/exp_integral.tcc: Same.
5391 * include/tr1/gamma.tcc: Same.
5392 * include/tr1/hypergeometric.tcc: Same.
5393 * include/tr1/modified_bessel_func.tcc: Same.
5394 * include/tr1/legendre_function.tcc: Same.
5395 * include/tr1/type_traits: Same.
5396 * include/tr1/special_function_util.h: Same.
5397 * include/tr1/bessel_function.tcc: Same.
5398 * include/tr1/cmath: Same.
5399 * include/tr1/poly_hermite.tcc: Same.
5400 * include/tr1/ell_integral.tcc: Same.
5401 * config/abi/compatibility.h: Adjust file name.
5403 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
5405 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
5406 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
5408 2008-03-23 Paolo Carlini <pcarlini@suse.de>
5410 * doc/xml/faq.xml: Fix various links.
5411 * doc/xml/api.xml: Likewise.
5412 * doc/xml/manual/parallel_mode.xml: Likewise.
5413 * doc/html/faq.html: Regenerate.
5414 * doc/html/api.html: Likewise.
5415 * doc/html/manual/bk01pt12ch31s03.html: Likewise.
5417 2008-03-20 Benjamin Kosnik <bkoz@redhat.com>
5419 * testsuite/util/testsuite_abi.cc: Add support for not counting
5420 GLIBCXX_LDBL_* compat symbols missing if no long double compat
5423 2008-03-20 Paolo Carlini <pcarlini@suse.de>
5426 * include/tr1_impl/type_traits (struct __in_array): Add back.
5427 (is_function): Use it.
5428 * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New.
5430 2008-03-20 Johannes Singler <singler@ira.uka.de>
5432 * include/parallel/set_operations.h (set_intersection): Remove.
5434 2008-03-19 Benjamin Kosnik <bkoz@redhat.com>
5437 * doc/xml/manual/parallel_mode.xml: Correct configuration documentation.
5438 * doc/html/manual/bk01pt12ch31s04.html: Regenerate.
5440 2008-03-18 Benjamin Kosnik <bkoz@redhat.com>
5442 * configure.ac (libtool_VERSION): To 6:11:0.
5443 * configure: Regenerate.
5444 * aclocal.m4: Regenerate.
5446 2008-03-16 Paolo Carlini <pcarlini@suse.de>
5448 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
5450 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
5451 * include/precompiled/stdc++.h: Likewise.
5453 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
5455 * include/std/date_time: New file.
5456 * src/date_time.cc: New file.
5457 * config/abi/pre/gnu.ver: Added <date_time> symbols in version
5458 GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4
5459 that matched new symbols.
5460 * include/Makefile.am: Add date_time in std headers.
5461 * src/Makefile.am: Add date_time.cc to source files.
5462 * include/Makefile.in: Regenerate.
5463 * src/Makefile.in: Likewise.
5465 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
5467 * testsuite/31_date_time/headers/date_time/types_std.cc: New.
5468 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
5469 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
5470 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
5471 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
5472 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
5473 * testsuite/31_date_time/system_time/requirements: Likewise.
5474 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
5476 2008-03-16 Paolo Carlini <pcarlini@suse.de>
5478 * config.h.in: Regenerate.
5480 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5482 * aclocal.m4: Regenerate.
5483 * configure: Likewise.
5484 * Makefile.in: Likewise.
5485 * doc/Makefile.in: Likewise.
5486 * include/Makefile.in: Likewise.
5487 * libmath/Makefile.in: Likewise.
5488 * libsupc++/Makefile.in: Likewise.
5489 * po/Makefile.in: Likewise.
5490 * src/Makefile.in: Likewise.
5491 * testsuite/Makefile.in: Likewise.
5493 2008-03-13 Dennis Czeremin <dennis.czeremin@smiths-heimann.com>
5496 * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
5497 _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
5499 2008-03-13 Paolo Carlini <pcarlini@suse.de>
5502 * include/debug/functions.h (__check_sorted_set_aux): Fix signature.
5503 * testsuite/25_algorithms/set_difference/35541.cc: New.
5505 2008-03-07 Jakub Jelinek <jakub@redhat.com>
5507 * config/abi/pre/gnu.ver: Move <system_error> related
5508 symbols to GLIBCXX_3.4.11 symbol version.
5509 * testsuite/util/testsuite_abi.cc (check_version): Allow
5512 2008-03-06 Chris Jefferson <chris@bubblescope.net>
5513 Paolo Carlini <pcarlini@suse.de>
5516 * include/tr1/tuple (operator==, operator<): Fix.
5517 * include/std/tuple (operator==, operator<): Likewise.
5518 * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New.
5519 * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise.
5521 2008-03-04 Joseph Myers <joseph@codesourcery.com>
5523 * crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
5525 * configure: Regenerate.
5527 2008-03-02 Hans-Peter Nilsson <hp@axis.com>
5529 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
5530 testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
5531 Mark changed error message prelude, adding "in file included from",
5532 using dg-excess-errors.
5534 2008-03-01 Jakub Jelinek <jakub@redhat.com>
5536 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
5537 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
5538 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
5539 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
5540 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
5542 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
5543 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
5545 2008-02-29 Jakub Jelinek <jakub@redhat.com>
5547 * config/abi/pre/gnu.ver: Remove
5548 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_3.4.10 and
5549 _ZNKSt4hashIgEclEg@@GLIBCXX_3.4.10 export.
5550 * config/os/gnu-linux/ldbl-extra.ver: Export
5551 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_LDBL_3.4.10
5552 and _ZNKSt4hashIgEclEg@@GLIBCXX_LDBL_3.4.10.
5553 * src/hash.cc: Only define long double hash specialization if
5554 _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL is defined.
5555 * src/compatibility-ldbl.cc: Include "hash.cc".
5556 (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define.
5557 (_ZNKSt4hashIeEclEe): New alias.
5558 * testsuite/util/testsuite_abi.cc (check_version): Support
5559 GLIBCXX_LDBL_3.4.10.
5561 2008-02-25 Jan Beulich <jbeulich@novell.com>
5563 * acinclude.m4: Also check for EIDRM and ETXTBSY.
5564 * configure: Re-generate.
5565 * config/os/generic/error_constants.h (namespace posix_error):
5566 Also wrap uses of EIDRM and ETXTBSY in conditionals.
5567 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
5570 2008-02-20 Jason Merrill <jason@redhat.com>
5572 * include/bits/c++config: Use 'inline namespace' instead of
5575 2008-02-18 Pedro Lamarao <pedro.lamarao@mndfck.org>
5577 * include/std/tuple: Fixes for moveable, non-copyable types.
5578 * testsuite/20_util/tuple/moveable2.cc: New.
5580 2008-02-18 Paolo Carlini <pcarlini@suse.de>
5582 * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.
5584 2008-02-17 Ed Smith-Rowland <3dw4rd@verizon.net>
5586 * include/tr1/poly_laguerre.tcc: Doxygen fixes.
5587 * include/tr1/exp_integral.tcc: Same.
5588 * include/tr1/gamma.tcc: Same.
5589 * include/tr1/hypergeometric.tcc: Same.
5591 2008-02-17 Benjamin Kosnik <bkoz@redhat.com>
5594 * include/parallel/settings.h (_Settings): Reconstruct Settings class
5595 here, uglify, remove anonymous namespace and static
5596 members. Convert to datum.
5597 * include/parallel/types.h: Move Settings:: enumerations here, uglify.
5598 * src/parallel_settings.cc: New, definition for _Settings member
5600 * include/parallel/multiway_merge.h: Same.
5601 * include/parallel/for_each.h: Same.
5602 * include/parallel/workstealing.h: Same.
5603 * include/parallel/base.h: Same.
5604 * include/parallel/numeric
5605 * include/parallel/features.h: Same.
5606 * include/parallel/quicksort.h: Same.
5607 * include/parallel/equally_split.h: Same.
5608 * include/parallel/algorithmfwd.h: Same.
5609 * include/parallel/omp_loop_static.h: Same.
5610 * include/parallel/random_shuffle.h: Same.
5611 * include/parallel/balanced_quicksort.h: Same.
5612 * include/parallel/tags.h: Same.
5613 * include/parallel/multiway_mergesort.h: Same.
5614 * include/parallel/numericfwd.h: Same.
5615 * include/parallel/partition.h: Same.
5616 * include/parallel/partial_sum.h: Same.
5617 * include/parallel/find.h: Same.
5618 * include/parallel/algo.h: Same.
5619 * include/parallel/omp_loop.h: Same.
5620 * include/parallel/sort.h: Same.
5622 * src/Makefile.am (parallel_sources): Add parallel_settings.cc.
5623 * src/Makefile.in: Regenerate.
5625 * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.
5627 2008-02-17 Paolo Carlini <pcarlini@suse.de>
5630 * include/parallel/types.h: Reinstate integer types typedefs.
5631 * include/parallel/multiseq_selection.h: Adjust.
5632 * include/parallel/compatibility.h: Likewise.
5633 * include/parallel/random_shuffle.h: Likewise.
5634 * include/parallel/random_number.h: Likewise.
5635 * include/parallel/base.h: Likewise.
5637 2008-02-17 Paolo Carlini <pcarlini@suse.de>
5640 * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
5641 * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
5642 * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
5644 2008-02-16 Benjamin Kosnik <bkoz@redhat.com>
5646 * include/parallel/random_number.h: Use TR1's mersenne_twister.
5647 (random_number::genrand_bits()): Remove.
5648 (random_number::set_seed): Remove.
5650 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
5652 * include/parallel/types.h: Remove enum parallelism.
5654 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
5656 * include/parallel/types.h: Move enum parallelism here. Use
5657 tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
5659 * include/parallel/multiseq_selection.h: Adjust for cstdint.
5660 * include/parallel/compatibility.h: Same.
5661 * include/parallel/tags.h: Just compile-time tags.
5662 * include/parallel/base.h: Put namespace bits here.
5664 * src/Makefile.am (PARALLEL_FLAGS): Use it.
5665 * src/Makefile.in: Regenerate.
5667 * testsuite/25_algorithms/nth_element/1.cc: Add test variable.
5669 2008-02-15 Hans-Peter Nilsson <hp@axis.com>
5671 * testsuite/config/default.exp: Load gcc dejapatches.exp.
5673 2008-02-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5675 * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
5678 2008-02-14 Benjamin Kosnik <bkoz@redhat.com>
5680 * config/os/generic/error_constants.h (posix_errno): Guard
5681 not_supported use of ENOTSUP.
5682 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
5684 * aclocal.m4: Regenerate.
5685 * configure: Rengerate.
5686 * config.h.in: Same.
5688 2008-02-13 Benjamin Kosnik <bkoz@redhat.com>
5690 * doc/doxygen/mainpage.html: Correct links.
5692 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
5694 * doc/html/*: Populate with regenerated files.
5696 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
5698 * doc/html/*: Remove all but contents of ext/pb_ds.
5699 * doc/html/index.html: New.
5700 * doc/html/README: New.
5702 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
5704 * doc/doxygen/mainpage.html: Add in corrected links.
5705 * README: Edit, move most into...
5706 * doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
5707 (Documentation Style): Revise.
5708 * doc/xml/spine.xml: Edit file names.
5709 * doc/Makefile.am: Edit xml_sources.
5710 * doc/Makefile.in: Regenerate.
5712 2008-02-11 Paolo Carlini <pcarlini@suse.de>
5714 * configure: Regenerate with documented autoconf and automake
5715 versions (i.e., 2.59 and 1.9.6).
5716 * Makefile.in: Likewise.
5717 * src/Makefile.in: Likewise.
5718 * doc/Makefile.in: Likewise.
5719 * po/Makefile.in: Likewise.
5720 * libmath/Makefile.in: Likewise.
5721 * include/Makefile.in: Likewise.
5722 * libsupc++/Makefile.in: Likewise.
5723 * testsuite/Makefile.in: Likewise.
5724 * aclocal.m4: Likewise.
5726 2008-02-10 Benjamin Kosnik <bkoz@redhat.com>
5728 Convert documentation to DocBook.
5729 * doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
5730 (doc-doxygen-man): Changed to doc-man-doxygen.
5731 (doc-performance): Changed to doc-html-performance.
5732 (doc-xml-doxygen): New.
5733 (doc-xml-single): New.
5734 (doc-xml-validate): New.
5736 (doc-html-single): New.
5739 (doc-pdf-fop-xml): New.
5740 (doc-pdf-fop-fo): New.
5741 (doc-pdf-xmlto): New.
5742 (doc-pdf-xmlroff): New.
5743 (doc-pdf-prince): New.
5744 * doc/xml: New directory.
5745 * doc/xml/authors.xml: New.
5746 * doc/xml/images: New directory.
5747 * doc/xml/images/confdeps.png: Add.
5748 * doc/xml/images/confdeps.dot: Add.
5749 * doc/xml/faq.xml: New.
5750 * doc/xml/api.xml: New.
5751 * doc/xml/gnu: New directory.
5752 * doc/xml/gnu/gpl-3.0.xml: New.
5753 * doc/xml/gnu/fdl-1.2.xml: New.
5754 * doc/xml/gnu/gpl-2.0.xml: New.
5755 * doc/xml/manual: New directory.
5756 * doc/xml/manual/mt_allocator.xml: New.
5757 * doc/xml/manual/allocator.xml: New.
5758 * doc/xml/manual/ctype.xml: New.
5759 * doc/xml/manual/numerics.xml: New.
5760 * doc/xml/manual/codecvt.xml: New.
5761 * doc/xml/manual/concurrency.xml: New.
5762 * doc/xml/manual/backwards_compatibility.xml: New.
5763 * doc/xml/manual/intro.xml: New.
5764 * doc/xml/manual/shared_ptr.xml: New.
5765 * doc/xml/manual/abi.xml: New.
5766 * doc/xml/manual/status_cxxtr1.xml: New.
5767 * doc/xml/manual/auto_ptr.xml: New.
5768 * doc/xml/manual/build.xml: New.
5769 * doc/xml/manual/internals.xml: New.
5770 * doc/xml/manual/parallel_mode.xml: New.
5771 * doc/xml/manual/status_cxx1998.xml: New.
5772 * doc/xml/manual/containers.xml: New.
5773 * doc/xml/manual/io.xml: New.
5774 * doc/xml/manual/appendix_porting.xml: New.
5775 * doc/xml/manual/utilities.xml: New.
5776 * doc/xml/manual/bitmap_allocator.xml: New.
5777 * doc/xml/manual/support.xml: New.
5778 * doc/xml/manual/configure.xml: New.
5779 * doc/xml/manual/build_hacking.xml: New.
5780 * doc/xml/manual/evolution.xml: New.
5781 * doc/xml/manual/using.xml: New.
5782 * doc/xml/manual/debug.xml: New.
5783 * doc/xml/manual/localization.xml: New.
5784 * doc/xml/manual/strings.xml: New.
5785 * doc/xml/manual/debug_mode.xml: New.
5786 * doc/xml/manual/locale.xml: New.
5787 * doc/xml/manual/extensions.xml: New.
5788 * doc/xml/manual/appendix_contributing.xml: New.
5789 * doc/xml/manual/messages.xml: New.
5790 * doc/xml/manual/diagnostics.xml: New.
5791 * doc/xml/manual/appendix_free.xml: New.
5792 * doc/xml/manual/algorithms.xml: New.
5793 * doc/xml/manual/iterators.xml: New.
5794 * doc/xml/manual/spine.xml: New.
5795 * doc/xml/manual/test.xml: New.
5796 * doc/xml/manual/status_cxx200x.xml: New.
5797 * doc/xml/spine.xml: New.
5799 * doc/xml/book.txml: New. Template file.
5800 * doc/xml/chapter.txml: Same.
5801 * doc/xml/class.txml: Same.
5803 * doc/doxygen/guide.html: Removed, integrated into other docs.
5804 * doc/doxygen/user.cfg.in: Clean up XML generation.
5805 * doc/doxygen/run_doxygen: Move to..
5806 * scripts/run_doxygen: ...here.
5808 * configure: Regenerate.
5809 * Makefile.in: Regenerate.
5810 * src/Makefile.in: Regenerate.
5811 * doc/Makefile.in: Regenerate.
5812 * po/Makefile.in: Regenerate.
5813 * libmath/Makefile.in: Regenerate.
5814 * include/Makefile.in: Regenerate.
5815 * libsupc++/Makefile.in: Regenerate.
5816 * testsuite/Makefile.in: Regenerate.
5817 * aclocal.m4: Regenerate.
5819 2008-02-10 Paolo Carlini <pcarlini@suse.de>
5822 * include/std/istream (basic_istream<>::basic_istream()): Call
5824 (basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
5825 do it here, per 27.6.1.5.1/1.
5826 * include/std/ostream (basic_ostream<>::basic_ostream()): Call
5828 * testsuite/27_io/basic_iostream/cons/16251.C: New.
5830 * testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
5832 2008-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5834 * include/backward/auto_ptr.h: Fix comment typos.
5835 * include/bits/algorithmfwd.h: Likewise.
5836 * include/bits/basic_ios.h: Likewise.
5837 * include/bits/c++config: Likewise.
5838 * include/bits/char_traits.h: Likewise.
5839 * include/bits/codecvt.h: Likewise.
5840 * include/bits/gslice.h: Likewise.
5841 * include/bits/ios_base.h: Likewise.
5842 * include/bits/locale_facets.h: Likewise.
5843 * include/bits/locale_facets_nonio.tcc: Likewise.
5844 * include/bits/postypes.h: Likewise.
5845 * include/bits/sstream.tcc: Likewise.
5846 * include/bits/stl_algo.h: Likewise.
5847 * include/bits/stl_deque.h: Likewise.
5848 * include/bits/stl_iterator.h: Likewise.
5849 * include/bits/stl_iterator_base_types.h Likewise.
5850 * include/bits/stl_list.h: Likewise.
5851 * include/bits/stl_map.h: Likewise.
5852 * include/bits/stl_multimap.h: Likewise.
5853 * include/bits/stl_multiset.h: Likewise.
5854 * include/bits/stl_set.h: Likewise.
5855 * include/bits/stl_vector.h: Likewise.
5856 * include/bits/valarray_array.h: Likewise.
5857 * include/debug/safe_base.h: Likewise.
5858 * include/ext/bitmap_allocator.h: Likewise.
5859 * include/ext/codecvt_specializations.h Likewise.
5860 * include/ext/mt_allocator.h: Likewise.
5861 * include/ext/rc_string_base.h: Likewise.
5862 * include/ext/rope: Likewise.
5863 * include/parallel/checkers.h: Likewise.
5864 * include/parallel/find.h: Likewise.
5865 * include/parallel/multiseq_selection.h: Likewise.
5866 * include/parallel/partition.h: Likewise.
5867 * include/parallel/settings.h: Likewise.
5868 * include/std/bitset: Likewise.
5869 * include/std/complex: Likewise.
5870 * include/std/fstream: Likewise.
5871 * include/std/istream: Likewise.
5872 * include/std/limits: Likewise.
5873 * include/std/ostream: Likewise.
5874 * include/std/stdexcept: Likewise.
5875 * include/std/streambuf: Likewise.
5876 * include/tr1/bessel_function.tcc: Likewise.
5877 * include/tr1/cmath: Likewise.
5878 * include/tr1/ell_integral.tcc: Likewise.
5879 * include/tr1/hypergeometric.tcc: Likewise.
5880 * include/tr1/legendre_function.tcc: Likewise.
5881 * include/tr1_impl/random: Likewise.
5882 * include/tr1_impl/regex: Likewise.
5884 2008-01-31 Paolo Carlini <pcarlini@suse.de>
5886 * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
5887 Avoid -Wall warnings.
5888 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
5890 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
5892 * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
5893 * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
5894 * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
5895 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
5897 * testsuite/tr1/6_containers/array/requirements/contiguous.cc:
5899 * testsuite/tr1/6_containers/array/requirements/member_swap.cc:
5901 * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
5902 * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
5904 * testsuite/tr1/6_containers/array/comparison_operators/
5905 less_or_equal.cc: Likewise.
5906 * testsuite/tr1/6_containers/array/comparison_operators/
5907 greater_or_equal.cc: Likewise.
5908 * testsuite/tr1/6_containers/array/comparison_operators/less.cc:
5910 * testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
5912 * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
5914 * testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
5916 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
5917 * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
5919 * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
5920 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
5921 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
5922 * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
5924 * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
5925 * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
5926 * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
5927 * testsuite/thread/guard.cc: Likewise.
5928 * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
5929 * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
5930 * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
5931 * testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
5932 * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
5933 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
5934 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
5937 2008-01-26 David Edelsohn <edelsohn@gnu.org>
5940 * config/os/aix/os_defines.h: Define __COMPATMATH__.
5942 2008-01-24 David Edelsohn <edelsohn@gnu.org>
5944 * configure: Regenerate.
5946 2008-01-21 Matthias Klose <doko@ubuntu.com>
5948 * doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
5950 2008-01-19 Paolo Carlini <pcarlini@suse.de>
5952 * configure: Regenerate.
5953 * Makefile.in: Likewise.
5954 * src/Makefile.in: Likewise.
5955 * doc/Makefile.in: Likewise.
5956 * po/Makefile.in: Likewise.
5957 * libmath/Makefile.in: Likewise.
5958 * include/Makefile.in: Likewise.
5959 * libsupc++/Makefile.in: Likewise.
5960 * testsuite/Makefile.in: Likewise.
5961 * aclocal.m4: Likewise.
5963 2008-01-18 Benjamin Kosnik <bkoz@redhat.com>
5967 * testsuite/Makefile.am: Move doc-performance to...
5968 * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
5969 * doc/Makefile.am: Consolidate documentation creation here.
5970 (doc-doxygen-html): New.
5971 (doc-doxygen-man): New.
5972 (doc-performance): New.
5973 * doc/Makefile.in: New.
5974 * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
5975 * doc/doxygen/guide.html: Edit for unified html configuration.
5976 * doc/doxygen/mainpage.html: Same.
5977 * doc/doxygen/run_doxygen: Same, more namespace fixups for man
5979 * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.
5981 * include/tr1_impl/random: Remove maint from doxygen markup.
5982 * include/tr1_impl/functional: Same.
5983 * include/std/tuple: Same.
5984 * include/std/streambuf: Same.
5985 * include/std/bitset: Same.
5986 * include/std/limits: Same.
5987 * include/std/fstream: Same.
5988 * include/std/istream: Same.
5989 * include/std/sstream: Same.
5990 * include/ext/pool_allocator.h: Same.
5991 * include/ext/rc_string_base.h: Same.
5992 * include/bits/basic_ios.h: Same.
5993 * include/bits/stl_list.h: Same.
5994 * include/bits/stl_map.h: Same.
5995 * include/bits/locale_classes.h: Same.
5996 * include/bits/stl_set.h: Same.
5997 * include/bits/stl_iterator_base_types.h: Same.
5998 * include/bits/basic_string.h: Same.
5999 * include/bits/stl_multimap.h: Same.
6000 * include/bits/stl_vector.h: Same.
6001 * include/bits/ios_base.h: Same.
6002 * include/bits/stl_deque.h: Same.
6003 * include/bits/postypes.h: Same.
6004 * include/bits/stl_multiset.h: Same.
6005 * include/bits/stl_algo.h: Same.
6006 * include/bits/stl_iterator.h: Same.
6007 * include/bits/stl_tempbuf.h: Same.
6008 * include/bits/stl_construct.h: Same.
6009 * include/bits/stl_relops.h: Same.
6010 * include/tr1/tuple: Same.
6011 * include/backward/auto_ptr.h: Same.
6013 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
6014 Fixups for line number changes.
6015 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
6016 * testsuite/23_containers/vector/requirements/dr438/
6017 constructor_1_neg.cc: Same.
6018 * testsuite/23_containers/vector/requirements/dr438/
6019 constructor_2_neg.cc: Same.
6020 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
6021 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
6022 * testsuite/23_containers/deque/requirements/dr438/
6023 constructor_1_neg.cc: Same.
6024 * testsuite/23_containers/deque/requirements/dr438/
6025 constructor_2_neg.cc: Same.
6026 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
6027 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
6028 * testsuite/23_containers/list/requirements/dr438/
6029 constructor_1_neg.cc: Same.
6030 * testsuite/23_containers/list/requirements/dr438/
6031 constructor_2_neg.cc: Same.
6032 * testsuite/20_util/auto_ptr/assign_neg.cc: Same.
6034 * aclocal.m4: Regenerate.
6035 * config.h.in: Regenerate.
6036 * configure: Regenerate.
6037 * Makefile.in: Regenerate.
6038 * src/Makefile.in: Regenerate.
6039 * po/Makefile.in: Regenerate.
6040 * libmath/Makefile.in: Regenerate.
6041 * include/Makefile.in: Regenerate.
6042 * libsupc++/Makefile.in: Regenerate.
6043 * testsuite/Makefile.in: Regenerate.
6045 * scripts/make_graphs.py: Correct paths for new layout.
6047 2008-01-17 Benjamin Kosnik <bkoz@redhat.com>
6049 * acinclude.m4 (AC_LC_MESSAGES): Remove serial.
6050 * linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
6051 * configure: Regenerate.
6052 * aclocal.m4: Regenerate.
6054 2008-01-14 Paolo Carlini <pcarlini@suse.de>
6056 * include/parallel/list_partition.h: Formatting fixes, inline tweaks.
6057 * include/parallel/numeric: Likewise.
6058 * include/parallel/balanced_quicksort.h: Likewise.
6059 * include/parallel/unique_copy.h: Likewise.
6060 * include/parallel/algobase.h: Likewise.
6061 * include/parallel/algo.h: Likewise.
6063 2008-01-14 Seongbae Park <seongbae.park@gmail.com>
6065 * crossconfig.m4: Add missing header checks, C99 TR1 check,
6066 and sigsetjmp check.
6068 2008-01-14 Paolo Carlini <pcarlini@suse.de>
6070 * include/parallel/tree.h: Remove.
6071 * include/Makefile.am: Update.
6072 * include/Makefile.in: Rebuild.
6074 * src/Makefile.am: Remove spurious trailing backslash.
6075 * src/Makefile.in: Rebuild.
6076 * po/Makefile.in: Likewise.
6077 * libmath/Makefile.in: Likewise.
6078 * testsuite/Makefile.in: Likewise.
6079 * libsupc++/Makefile.in: Likewise.
6080 * aclocal.m4: Likewise.
6081 * Makefile.in: Likewise.
6082 * configure: Likewise.
6084 2008-01-12 Paolo Carlini <pcarlini@suse.de>
6087 * include/debug/functions.h (__check_sorted_set,
6088 __check_sorted_set_aux): Add.
6089 (__check_sorted): Check StrictWeakOrdering.
6090 * include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
6091 __glibcxx_check_strict_weak_ordering_pred): Remove.
6092 (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
6093 (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
6094 * include/debug/debug.h (__glibcxx_requires_sorted_set,
6095 __glibcxx_requires_sorted_set_pred): Add.
6096 * include/bits/stl_algo.h (merge, includes, set_union,
6097 set_intersection, set_difference, set_symmetric_difference):
6098 Adjust, use __glibcxx_requires_sorted_set* instead.
6099 * testsuite/25_algorithms/set_intersection/34730.cc: New.
6101 2008-01-09 Paolo Carlini <pcarlini@suse.de>
6103 * include/parallel/multiway_merge.h: Reformat to 80 columns;
6104 adjust some inline specifiers; other minor style fixes.
6105 * include/parallel/losertree.h: Likewise.
6106 * include/parallel/list_partition.h: Likewise.
6107 * include/parallel/multiseq_selection.h: Likewise.
6108 * include/parallel/workstealing.h: Likewise.
6109 * include/parallel/base.h: Likewise.
6110 * include/parallel/par_loop.h: Likewise.
6111 * include/parallel/numeric: Likewise.
6112 * include/parallel/quicksort.h: Likewise.
6113 * include/parallel/algorithmfwd.h: Likewise.
6114 * include/parallel/for_each_selectors.h: Likewise.
6115 * include/parallel/omp_loop_static.h: Likewise.
6116 * include/parallel/random_shuffle.h: Likewise.
6117 * include/parallel/balanced_quicksort.h: Likewise.
6118 * include/parallel/set_operations.h: Likewise.
6119 * include/parallel/tree.h: Likewise.
6120 * include/parallel/merge.h: Likewise.
6121 * include/parallel/unique_copy.h: Likewise.
6122 * include/parallel/settings.h: Likewise.
6123 * include/parallel/multiway_mergesort.h: Likewise.
6124 * include/parallel/numericfwd.h: Likewise.
6125 * include/parallel/search.h: Likewise.
6126 * include/parallel/partition.h: Likewise.
6127 * include/parallel/compatibility.h: Likewise.
6128 * include/parallel/partial_sum.h: Likewise.
6129 * include/parallel/find.h: Likewise.
6130 * include/parallel/algo.h: Likewise.
6131 * include/parallel/queue.h: Likewise.
6132 * include/parallel/omp_loop.h: Likewise.
6133 * include/parallel/sort.h: Likewise.
6134 * include/parallel/random_number.h: Likewise.
6136 2008-01-09 Benjamin Kosnik <bkoz@redhat.com>
6138 * docs/html/17_intro/api.html: Fix markup for rope.h.
6140 2008-01-09 Paolo Carlini <pcarlini@suse.de>
6142 * include/parallel/iterator.h: Reformat to 80 columns; adjust some
6144 * include/parallel/find_selectors.h: Likewise.
6145 * include/parallel/losertree.h: Likewise.
6146 * include/parallel/list_partition.h: Likewise.
6147 * include/parallel/for_each.h: Likewise.
6148 * include/parallel/multiseq_selection.h: Likewise.
6149 * include/parallel/algorithmfwd.h: Likewise.
6150 * include/parallel/for_each_selectors.h: Likewise.
6151 * include/parallel/balanced_quicksort.h: Likewise.
6152 * include/parallel/merge.h: Likewise.
6153 * include/parallel/algobase.h: Likewise.
6154 * include/parallel/find.h: Likewise.
6155 * include/parallel/algo.h: Likewise.
6156 * include/parallel/checkers.h: Likewise.
6158 2008-01-09 Francesco Biscani <bluescarni@gmail.com>
6160 * include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
6161 of __detail::_Map_base<>.
6163 2008-01-08 Paolo Carlini <pcarlini@suse.de>
6165 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
6166 not include <cassert>.
6167 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
6169 * testsuite/util/testsuite_common_types.h: Include <algorithm>.
6171 2008-01-08 Jakub Jelinek <jakub@redhat.com>
6173 * configure.ac (--enable-linux-futex): Add new configure option.
6174 (HAVE_LINUX_FUTEX): New AC_DEFINE.
6175 * Makefile.in: Rebuilt.
6176 * aclocal.m4: Rebuilt.
6177 * configure: Rebuilt.
6178 * config.h.in: Rebuilt.
6179 * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
6180 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
6181 * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
6182 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
6183 * libsupc++/guard.cc: Include climits and syscall.h.
6184 (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
6186 (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
6187 (__guard_test_bit): New static inline.
6188 (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
6189 atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
6191 2008-01-07 Paolo Carlini <pcarlini@suse.de>
6194 * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
6195 use dynamic_cast when run-time type identification is disabled; do
6196 not mark inline; only declare, define...
6197 * include/bits/locale_classes.tcc: ... here.
6199 2008-01-06 Ted Phelps <phelps@gnusto.com>
6202 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
6203 _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
6205 2008-01-01 Paolo Carlini <pcarlini@suse.de>
6208 * include/parallel/multiway_merge.h (multiway_merge_bubble,
6209 parallel_multiway_merge): Together with ::operator new use
6211 * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise.
6212 * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise.
6213 * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu,
6214 sequential_random_shuffle): Likewise.
6215 * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction):
6217 * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu,
6218 parallel_sort_mwms): Likewise.
6219 * include/parallel/partial_sum.h (parallel_partial_sum_linear):
6221 * testsuite/25_algorithms/sort/34095.cc: New.
6223 2008-01-01 Paolo Carlini <pcarlini@suse.de>
6225 * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year.
6227 2008-01-01 Paolo Carlini <pcarlini@suse.de>
6230 * include/parallel/algobase.h (lexicographical_compare_switch(...,
6231 random_access_iterator_tag, random_access_iterator_tag)): Careful
6232 with undereferenceable iterators.
6233 * testsuite/25_algorithms/sort/34636.cc: New.