OSDN Git Service

a5d26a2a31a45ebdbc16f0faae529a3b7fc8fbab
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2008-07-15  Benjamin Kosnik  <bkoz@redhat.com>
2
3         * doc/doxygen/user.cfg.in: Add complex, ratio,
4         intializer_list.
5         (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
6         * doc/doxygen/doxygroups.cc: Add std::chrono.
7         * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
8         * libsupc++/initializer_list (initializer_list): Same.
9         * include/std/ratio: Same.
10         * include/std/chrono: Same.
11         * include/std/complex: Disambiguate file markup.
12
13 2008-07-15  Chris Fairles  <chris.fairles@gmail.com>
14
15         * include/std/chrono: New, as per N2661.
16         * src/chrono.cc: New.
17         * include/Makefile.am: Update.
18         * src/Makefile.am: Likewise.
19         * include/Makefile.in: Regenerate.
20         * src/Makefile.in: Likewise.
21         * acinclude.m4: Add tests for clock_gettime and gettimeofday that
22         define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
23         * configure.ac: Use them.
24         * configure: Regenerate.
25         * config.h.in: Likewise.
26         * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
27         system_clock::is_monotonic.
28         * testsuite/20_util/duration/cons/1.cc: New.
29         * testsuite/20_util/duration/cons/2.cc: Likewise.
30         * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
31         * testsuite/20_util/duration/requirements/explicit_instantiation/
32         explicit_instantiation.cc: Likewise.
33         * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
34         * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
35         * testsuite/20_util/duration/comparisons/1.cc: Likewise.
36         * testsuite/20_util/time_point/requirements/explicit_instantiation/
37         explicit_instantiation.cc: Likewise.
38         * testsuite/20_util/time_point/1.cc: Likewise.
39         * testsuite/20_util/time_point/2.cc: Likewise.
40         * testsuite/20_util/time_point/3.cc: Likewise.
41         * testsuite/20_util/clocks/1.cc: Likewise.
42         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
43         missing headers.
44         * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
45         * include/precompiled/stdc++.h: Likewise and remove <date_time>.
46         * doc/doxygen/user.cfg.in: Likewise.
47
48 2008-07-15  Paolo Carlini  <paolo.carlini@oracle.com>
49
50         PR libstdc++/36832
51         * include/ext/rope (_Destroy_const): Add.
52         (rope<>::copy): Call it.
53         * testsuite/ext/rope/36832.cc: New.
54
55 2008-07-15  Johannes Singler  <singler@ira.uka.de>
56
57         * include/parallel/find_selectors.h:
58         Correct name for include guard #ifndef.
59         * include/parallel/balanced_quicksort.h: Likewise.
60         * include/parallel/unique_copy.h: Likewise.
61         * include/parallel/multiway_mergesort.h: Likewise.
62         * include/parallel/checkers.h: Likewise.
63         * include/parallel/[various files]:
64         Add/correct comment for #endif of include guard (at end of file) 
65
66 2008-07-12  Paolo Carlini  <paolo.carlini@oracle.com>
67
68         * include/std/date_time: Remove, per N2549, in WP.
69         * src/date_time.cc: Likewise.
70         * config/abi/pre/gnu.ver: Remove <date_time> symbols.
71         * include/Makefile.am: Remove date_time in std headers.
72         * src/Makefile.am: Remove date_time.cc to source files.
73         * include/Makefile.in: Regenerate.
74         * src/Makefile.in: Likewise.
75         * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
76         * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
77         * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
78         * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
79         * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
80         * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
81         * testsuite/31_date_time/system_time/requirements: Likewise.
82         * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
83         * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
84         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
85
86 2008-07-10  Johannes Singler  <singler@ira.uka.de>
87
88         * include/parallel/balanced_quicksort.h:
89         (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
90
91 2008-07-09  Benjamin Kosnik  <bkoz@redhat.com>
92
93         PR libstdc++/36451
94         * doc/xml/manual/allocator.xml: Fix links.
95         * doc/html/*: Regenerate.
96
97 2008-07-09  Joseph Myers  <joseph@codesourcery.com>
98
99         * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
100         __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
101         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
102         __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
103         unwinder.
104         * libsupc++/eh_arm.cc (__cxa_type_match): Use
105         __is_gxx_forced_unwind_class to check for forced unwind.
106
107 2008-07-09  Andreas Beckmann  <gcc@abeckmann.de>
108
109         PR libstdc++/36552
110         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
111         null_metadata.hpp: Remove self-include.
112
113 2008-07-09  Joseph Myers  <joseph@codesourcery.com>
114
115         * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
116         testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
117         -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
118
119 2008-07-09  Johannes Singler  <singler@ira.uka.de>
120
121         PR libstdc++/36729
122         * include/parallel/random_shuffle.h:
123         (sequential_random_shuffle) Copy data back.
124         * testsuite/25_algorithms/random_shuffle/1.cc:
125         New. Generic random_shuffle functionality test.
126
127 2008-07-08  Chris Fairles  <chris.fairles@gmail.com>
128
129         * include/std/type_traits: Add common_type.
130         * testsuite/20_util/common_type/requirements/
131         explicit_instantiation.cc: New.
132         * testsuite/20_util/common_type/requirements/
133         typedefs-1.cc: Likewise.
134
135 2008-07-07  Paolo Carlini  <paolo.carlini@oracle.com>
136
137         * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
138         * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
139         * testsuite/20_util/ratio/cons/cons1.cc: Use it.
140         * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
141         * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
142         * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
143         * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
144         * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
145         * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
146         * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
147
148         * include/std/type_traits: Fix comment typo.
149
150 2008-07-06  Roger Sayle  <roger@eyesopen.com>
151
152         * include/std/system_error (is_error_code_enum): Use identifier
153         _Tp instead of _T to avoid conflict with system macro on Darwin.
154         (is_error_condition_enum): Likewise.
155
156 2008-07-05  Paolo Carlini  <paolo.carlini@oracle.com>
157
158         * include/bits/postypes.h: Do not include <stdint.h>.
159
160         * include/Makefile.am: Reorder.
161
162 2008-07-05  Paolo Carlini  <paolo.carlini@oracle.com>
163
164         * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
165
166 2008-07-05  Chris Fairles  <chris.fairles@gmail.com>
167
168         * include/std/ratio: Documentation for std::ratio class. Add conditions 
169         to ratio_less to prevent overflow.
170         * testsuite/20_util/ratio/comparisons/comp2.cc: New.
171         * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
172         numbers.
173
174 2008-07-04  Chris Fairles  <chris.fairles@gmail.com>
175
176         * include/std/ratio: New, per N2661.
177         * include/Makefile.am: Update.
178         * include/Makefile.in: Regenerate.
179         * testsuite/20_util/ratio/cons/cons1.cc: New.
180         * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
181         * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
182         * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
183         * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
184         * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
185         * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
186
187 2008-07-04  Paolo Carlini  <paolo.carlini@oracle.com>
188
189         PR libstdc++/36616
190         * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
191         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
192         
193 2008-07-03  Paolo Carlini  <paolo.carlini@oracle.com>
194
195         * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
196         Improve check on long double limits.
197         * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
198         Likewise.
199         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
200         stof.cc: Likewise.
201         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
202         stod.cc: Likewise.
203
204 2008-07-03  Paolo Carlini  <paolo.carlini@oracle.com>
205
206         * libsupc++/Makefile.am: Add initializer_list to the headers.
207         * libsupc++/Makefile.in: Regenerate.
208
209         * libsupc++/initializer_list: Minor cosmetic changes.
210
211 2008-07-02  Jason Merrill  <jason@redhat.com>
212
213         * libsupc++/initializer_list: Uglify and wrap in 
214         __GXX_EXPERIMENTAL_CXX0X__.
215         * include/bits/stl_map.h (insert(initializer_list)): Wrap.
216
217 2008-07-02  Jason Merrill  <jason@redhat.com>
218
219         * libsupc++/initializer_list: New file.
220         * include/bits/stl_map.h (insert(initializer_list)): New method.
221
222 2008-06-30  Alfred E. Heggestad  <aeh@db.org>
223
224         * include/backward/backward_warning.h: Fix typo.
225         
226 2008-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
227
228         * src/string_conversions.cc: Remove.
229         * config/abi/pre/gnu.ver: Delete exports.
230         * src/Makefile.am: Update.
231         * include/ext/string_conversions.h: Add.
232         * include/Makefile.am: Update.
233         * include/bits/basic_string.h: Include string_conversions.h,
234         define numeric conversion functions.
235         * include/ext/vstring.h: Likewise.
236         * src/Makefile.in: Regenerate.
237         * include/Makefile.in: Regenerate.      
238
239 2008-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
240
241         * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
242         * include/bits/algorithmfwd.h: Add.
243         * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
244         in C++0x mode.
245         * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
246         move_iterators/1.cc: New
247         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
248         * testsuite/25_algorithms/copy_n/1.cc: New.
249         * testsuite/25_algorithms/copy_n/2.cc: Likewise.
250         * testsuite/25_algorithms/copy_n/3.cc: Likewise.
251         * testsuite/25_algorithms/copy_n/4.cc: Likewise.
252         * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
253         * testsuite/25_algorithms/copy_n/requirements/
254         explicit_instantiation/2.cc: Likewise.
255         * testsuite/25_algorithms/partition_point/requirements/
256         explicit_instantiation/pod.cc: Likewise.
257         
258 2008-06-28  Paolo Carlini  <paolo.carlini@oracle.com>
259
260         * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
261         * include/bits/algorithmfwd.h: Add.
262         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
263         * testsuite/25_algorithms/partition_point/1.cc: New.
264         * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
265         * testsuite/25_algorithms/partition_point/requirements/
266         explicit_instantiation/2.cc: Likewise.
267         * testsuite/25_algorithms/partition_point/requirements/
268         explicit_instantiation/pod.cc: Likewise.
269
270 2008-06-28  Paolo Carlini  <paolo.carlini@oracle.com>
271
272         PR libstdc++/36660
273         * include/ext/pb_ds/detail/resize_policy/
274         sample_resize_trigger.hpp: Remove spurious namespace end.
275
276 2008-06-27  Mark Mitchell  <mark@codesourcery.com>
277
278         * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
279         address.
280         (__aeabi_vec_delete): Likewise.
281         (__aeabi_vec_delete3): Likewise.
282         (__aeabi_vec_delete3_nodtor): Likewise.
283
284 2008-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
285
286         * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
287         * include/bits/algorithmfwd.h: Add.
288         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
289         * testsuite/25_algorithms/is_partitioned/1.cc: New.
290         * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
291         * testsuite/25_algorithms/is_partitioned/requirements/
292         explicit_instantiation/2.cc: Likewise.
293         * testsuite/25_algorithms/is_partitioned/requirements/
294         explicit_instantiation/pod.cc: Likewise.
295
296 2008-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
297
298         * include/bits/stl_numeric.h (iota): Add in C++0x mode.
299         * testsuite/util/testsuite_character.h (pod_int): Add operator++
300         in C++0x mode.
301         * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
302         * testsuite/26_numerics/iota/1.cc: New.
303         * testsuite/26_numerics/iota/requirements/explicit_instantiation/
304         2.cc: Likewise.
305         * testsuite/26_numerics/iota/requirements/explicit_instantiation/
306         pod.cc: Likewise.
307
308         * include/ext/algorithm: Do not fiddle with the legacy headers.
309
310         * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
311         style.
312         * testsuite/26_numerics/accumulate/1.cc: Likewise.
313         * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
314         * testsuite/26_numerics/inner_product/1.cc: Likewise.
315
316 2008-06-26  Paolo Carlini  <paolo.carlini@oracle.com>
317
318         * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
319         * include/bits/algorithmfwd.h: Add.
320         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
321         * testsuite/25_algorithms/partition_copy/1.cc: New.
322         * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
323         * testsuite/25_algorithms/partition_copy/requirements/
324         explicit_instantiation/2.cc: Likewise.
325         * testsuite/25_algorithms/partition_copy/requirements/
326         explicit_instantiation/pod.cc: Likewise.
327
328 2008-06-26  Chris Fairles  <chris.fairles@gmail.com>
329
330         * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
331         * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
332         * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
333         Likewise.
334         * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
335         * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
336         * testsuite/20_util/unique_ptr/specialized_algorithms/
337         comparisons_array.cc: Likewise.
338         * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
339         Likewise
340         * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
341         Likewise.
342
343 2008-06-26  Paolo Carlini  <paolo.carlini@oracle.com>
344
345         * include/parallel/base.h (plus, multiplies): Use __typeof__,
346         not typeof.
347
348 2008-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
349
350         * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
351         warnings.
352         * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
353         * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
354         Likewise.
355         * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
356         * testsuite/util/testsuite_common_types.h (struct assignable,
357         struct default_constructible, struct copy_constructible,
358         struct explicit_value_constructible): Use a tad of simulated
359         concept checking techniques to avoid spurious warnings.
360         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
361         markers.
362         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
363
364 2008-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
365
366         * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
367         any_of, none_of): Add in C++0x, per N2666.
368         * include/bits/algorithmfwd.h: Update.
369         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
370         * testsuite/25_algorithms/all_of/check_type.cc: New.
371         * testsuite/25_algorithms/all_of/1.cc: Likewise.
372         * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
373         2.cc: Likewise.
374         * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
375         pod.cc: Likewise.
376         * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
377         * testsuite/25_algorithms/any_of/1.cc: Likewise.
378         * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
379         2.cc: Likewise.
380         * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
381         pod.cc: Likewise.
382         * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
383         * testsuite/25_algorithms/none_of/1.cc: Likewise.
384         * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
385         2.cc: Likewise.
386         * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
387         pod.cc: Likewise.
388         * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
389         * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
390         * testsuite/25_algorithms/find_if_not/requirements/
391         explicit_instantiation/2.cc: Likewise.
392         * testsuite/25_algorithms/find_if_not/requirements/
393         explicit_instantiation/pod.cc: Likewise.
394         * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
395         * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
396         * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
397
398 2008-06-24  Benjamin Kosnik  <bkoz@redhat.com>
399
400         * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
401         parallel algorithms.
402         * doc/xml/manual/using.xml: Markup fixes caught by validation check.
403         * doc/xml/manual/test.xml: Remove empty para tags.
404
405         * doc/html/*: Regenerate.
406         
407 2008-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
408
409         * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
410         (copy_if): Add, per N2666.
411         * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
412         2.cc: New.
413         * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
414         pod.cc: Likewise.
415         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
416
417 2008-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
418             Chalathip Thumkanon  <chalathip@gmail.com>
419
420         PR libstdc++/36612
421         * include/ext/pb_ds/exception.hpp (__throw_container_error,
422         __throw_insert_error, __throw_join_error, __throw_resize_error):
423         Mark inline.
424
425 2008-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
426
427         * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
428         per DR 809.
429         * include/bits/algorithmfwd.h: Add.
430         * doc/xml/manual/intro.xml: Add an entry for DR 809.
431         * testsuite/25_algorithms/swap/dr809.cc: New.
432
433         * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
434         2.cc: Remove stray empty line.
435
436 2008-06-21  Paolo Carlini  <paolo.carlini@oracle.com>
437
438         * include/bits/stl_move.h: Rename to move.h.
439         * include/std/utility: Adjust.
440         * include/ext/vstring_util.h: Likewise.
441         * include/ext/throw_allocator.h: Likewise.
442         * include/ext/pool_allocator.h: Likewise.
443         * include/ext/bitmap_allocator.h: Likewise.
444         * include/ext/new_allocator.h: Likewise.
445         * include/ext/malloc_allocator.h: Likewise.
446         * include/ext/array_allocator.h: Likewise.
447         * include/ext/mt_allocator.h: Likewise.
448         * include/bits/stl_algobase.h: Likewise.
449         * include/bits/stl_heap.h: Likewise.
450         * include/bits/stl_pair.h: Likewise.
451         * include/bits/stl_iterator.h: Likewise.
452         * testsuite/util/testsuite_allocator.h: Likewise.
453         * testsuite/util/testsuite_iterators.h: Likewise.
454         * include/Makefile.am: Likewise.
455         * include/Makefile.in: Regenerate.
456
457 2008-06-21  Chris Fairles  <chris.fairles@gmail.com>
458
459         * include/bits/unique_ptr.h: New.
460         * include/std/memory: Adjust.
461         * include/Makefile.am: Add.
462         * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
463         explicit_instantiation.cc: New.
464         * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
465         * include/Makefile.in: Regenerate.
466
467 2008-06-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
468
469         * include/c_global/climits, include/tr1/climits: Add parentheses.
470
471 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
472
473         * configure: Regenerate.
474
475 2008-06-17  Chris Fairles  <chris.fairles@gmail.com>
476
477         * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
478         C++0x mode.
479         * testsuite/24_iterators/operations/next.cc: New.
480         * testsuite/24_iterators/operations/prev.cc: Likewise.
481
482 2008-06-17  Paolo Carlini  <paolo.carlini@oracle.com>
483
484         * src/string_conversions.cc (__to_xstring<>): New.
485         (to_string, to_wstring): Use it.
486
487 2008-06-16  Paolo Carlini  <paolo.carlini@oracle.com>
488
489         * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
490         stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
491         * src/string_conversions.cc: Add.
492         * src/Makefile.am: Update.
493         * config/abi/pre/gnu.ver: Adjust exports.
494         * src/Makefile.in: Regenerate.
495         * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
496         New.
497         * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
498         Likewise.
499         * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
500         Likewise.
501         * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
502         Likewise.
503         * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
504         Likewise.
505         * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
506         Likewise.
507         * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
508         Likewise.
509         * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
510         Likewise.
511         * testsuite/21_strings/basic_string/numeric_conversions/char/
512         to_string.cc: Likewise.
513         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
514         stod.cc: New.
515         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
516         stof.cc: Likewise.
517         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
518         stoi.cc: Likewise.
519         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
520         stol.cc: Likewise.
521         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
522         stold.cc: Likewise.
523         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
524         stoll.cc: Likewise.
525         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
526         stoul.cc: Likewise.
527         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
528         stoull.cc: Likewise.
529         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
530         to_wstring.cc: Likewise.
531
532 2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
533
534         * include/Makefile.am: Remove trailing white space, fix typo.
535         (parallel_headers): Remove duplicate file, sort entries.
536         * include/Makefile.in: Regenerate.
537
538 2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
539
540         * src/condition_variable.cc (~condition_variable): Drop unused
541         variable.
542
543 2008-06-13  Paolo Carlini  <paolo.carlini@oracle.com>
544
545         * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
546         deque<>::push_front(_Args&&...)): Remove.
547         (deque<>::push_back(value_type&&),
548         deque<>::push_front(value_type&&)): Add.
549         (deque<>::push_back(const value_type&),
550         deque<>::push_front(const value_type&)): Add back.
551         (deque<>::emplace_back(_Args&&...),
552         deque<>::emplace_front(_Args&&...)): Declare...
553         * include/bits/deque.tcc: ... and define.       
554         * include/bits/stl_list.h (list<>::push_back(_Args&&...),
555         list<>::push_front(_Args&&...)): Remove.
556         (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
557         list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
558         Add.
559         (list<>::push_back(const value_type&),
560         list<>::push_front(const value_type&)): Add back.
561         * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
562         (vector<>::push_back(value_type&&)): Add.
563         (vector<>::push_back(const value_type&)): Add back.
564         (vector<>::emplace_back(_Args&&...)): Declare...
565         * include/bits/vector.tcc: ... and define.
566         * include/bits/stl_queue.h (queue<>::push(_Args&&...),
567         priority_queue<>::push(_Args&&...)): Remove.
568         (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
569         priority_queue<>::push(value_type&&),
570         priority_queue<>::emplace(_Args&&...)): Add.
571         (queue<>::push(const value_type&),
572         priority_queue<>::push(const value_type&)): Add back.
573         * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
574         (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
575         (stack<>::push(const value_type&)): Add back.
576         * include/debug/deque (deque<>::push_back(_Args&&...),
577         deque<>::push_front(_Args&&...)): Remove.
578         (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
579         deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
580         Add.
581         (deque<>::push_back(const value_type&),
582         deque<>::push_front(const value_type&)): Add back.
583         * include/debug/list (list<>::push_back(_Args&&...),
584         list<>::push_front(_Args&&...)): Remove.
585         (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
586         list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
587         Add.
588         (list<>::push_back(const value_type&),
589         list<>::push_front(const value_type&)): Add back.
590         * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
591         (vector<>::push_back(value_type&&),
592         vector<>::emplace_back(_Args&&...)): Add.
593         (vector<>::push_back(const value_type&)): Add back.
594         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
595         Adjust dg-error line numbers.
596         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
597         Likewise.
598         * testsuite/23_containers/deque/requirements/dr438/
599         constructor_1_neg.cc: Likewise.
600         * testsuite/23_containers/deque/requirements/dr438/
601         constructor_2_neg.cc: Likewise.
602         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
603         Adjust dg-error line numbers.
604         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
605         Likewise.
606         * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
607         Likewise.
608         * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
609         Likewise.
610         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
611         Adjust dg-error line numbers.
612         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
613         Likewise.
614         * testsuite/23_containers/vector/requirements/dr438/
615         constructor_1_neg.cc: Likewise.
616         * testsuite/23_containers/vector/requirements/dr438/
617         constructor_2_neg.cc: Likewise.
618
619 2008-06-13  Paolo Carlini  <paolo.carlini@oracle.com>
620
621         * include/tr1_impl/array (array<>::assign): Do not define in
622         C++0x mode, per DR 776...
623         (array<>::fill): ... define instead.
624         * doc/xml/manual/intro.xml: Add an entry for DR 776.
625         * testsuite/23_containers/array/requirements/fill.cc: New.
626
627 2008-06-12  Paolo Carlini  <paolo.carlini@oracle.com>
628
629         * include/std/complex (pow(const complex<>&, int)): Do not define in
630         C++0x mode, per DR 844.
631         * include/tr1/complex (pow(const complex<>&, int)): Remove.
632         * doc/xml/manual/intro.xml: Add an entry for DR 844.
633         * testsuite/26_numerics/complex/dr844.cc: New.
634         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
635
636 2008-06-11  Paolo Carlini  <paolo.carlini@oracle.com>
637
638         * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
639         cend(size_type)): Add per DR 691. 
640         * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
641         New.
642         * testsuite/23_containers/unordered_multimap/requirements/
643         cliterators.cc: Likewise.
644         * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
645         Likewise.
646         * testsuite/23_containers/unordered_multiset/requirements/
647         cliterators.cc: Likewise.
648         * doc/xml/manual/intro.xml: Add an entry for DR 691.
649
650 2008-06-11  Matthias Klose  <doko@ubuntu.com>
651
652         * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
653         Remove empty directories.
654
655 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
656
657         * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
658         solaris2.5.[0-9], solaris2.6, windiss*): Remove.
659         * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
660         * configure: Regenerate.
661         * config/os/solaris/solaris2.5: Remove directory.
662         * config/os/solaris/solaris2.6: Remove directory.
663         * config/os/windiss: Remove directory.
664
665 2008-06-06  Benjamin Kosnik  <bkoz@redhat.com>
666
667         * doc/xml/manual/using.xml: Outline exception topics.
668
669         * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
670         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
671         policy_access_fn_imps.hpp: Same.
672         * include/ext/pb_ds/priority_queue.hpp: Same.
673         * include/ext/throw_allocator.h: Same.
674
675         * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
676         (sequence_tag): New tag. Doxygen markup fixes.
677
678         * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
679
680         * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
681         comment typo, include paths, format.
682         * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
683         * testsuite/performance/ext/pb_ds/
684         hash_random_int_erase_mem_usage.cc: Same.
685         * testsuite/performance/ext/pb_ds/
686         random_int_subscript_find_timing.cc: Same.
687         * testsuite/performance/ext/pb_ds/
688         priority_queue_text_push_timing.cc: Same.
689         * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
690         * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
691         * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
692         * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
693         * testsuite/performance/ext/pb_ds/
694         priority_queue_random_int_push_timing.cc: Same.
695         * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
696         * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
697         * testsuite/performance/ext/pb_ds/
698         priority_queue_text_push_pop_timing.cc: Same.
699         * testsuite/performance/ext/pb_ds/
700         priority_queue_text_join_timing.cc: Same.
701         * testsuite/performance/ext/pb_ds/
702         priority_queue_random_int_push_pop_timing.cc: Same.
703         * testsuite/performance/ext/pb_ds/
704         random_int_subscript_insert_timing.cc: Same.
705         * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
706         * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
707         * testsuite/performance/ext/pb_ds/
708         priority_queue_text_pop_mem_usage.cc: Same.
709         * testsuite/performance/ext/pb_ds/
710         hash_zlob_random_int_find_timing.cc: Same.
711         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
712         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
713         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
714         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
715         * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
716         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
717         * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
718         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
719         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
720         * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
721         * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
722         * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
723         * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
724         * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
725         * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
726         * testsuite/util/regression/trait/assoc/trait.hpp: Same.
727         * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
728         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
729         * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
730         * testsuite/util/regression/basic_type.hpp: Same.
731         * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
732         * testsuite/util/common_type/priority_queue/detail/
733         ds_string_form.hpp: Same.
734         * testsuite/util/common_type/assoc/string_form.hpp: Same.
735         * testsuite/util/common_type/assoc/detail/
736         resize_policy_string_form.hpp: Same.
737         * testsuite/util/common_type/assoc/detail/
738         trigger_policy_string_form.hpp: Same.
739         * testsuite/util/common_type/assoc/detail/
740         comb_hash_fn_string_form.hpp: Same.
741         * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
742         * testsuite/util/common_type/assoc/detail/
743         size_policy_string_form.hpp: Same.
744         * testsuite/util/common_type/assoc/detail/
745         probe_fn_string_form.hpp: Same.
746         * testsuite/util/common_type/assoc/detail/
747         list_update_policy_string_form.hpp: Same.
748         * testsuite/util/common_type/assoc/detail/
749         store_hash_string_form.hpp: Same.
750         * testsuite/util/common_type/assoc/native_set.hpp: Same.
751         * testsuite/util/io/prog_bar.cc: Same.
752
753         * testsuite/util/regression/rand/io: Remove.
754         * testsuite/util/regression/rand/io/priority_queue: Same.
755         * testsuite/util/regression/rand/io/assoc: Same.
756         * testsuite/util/regression/rand/io/priority_queue/
757         xml_formatter.hpp: Consolidate this...
758         * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
759         * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
760         * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
761
762         * testsuite/util/regression/rand/priority_queue/
763         container_rand_regression_test.hpp:To ...
764         container_rand_regression_test.h: ... this.
765         * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
766         * testsuite/util/regression/rand/priority_queue/
767         container_rand_regression_test.tcc: ... this.
768         PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
769         PB_DS_SET_DESTRUCT_PRINT: Fold inline.
770         PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
771         * testsuite/util/regression/rand/priority_queue/
772         rand_regression_test.hpp: Adjust includes.
773
774         * testsuite/util/regression/rand/assoc/
775         container_rand_regression_test.hpp: To ...
776         * testsuite/util/regression/rand/assoc/
777         container_rand_regression_test.h: ... this.
778         * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
779         * testsuite/util/regression/rand/assoc/
780         container_rand_regression_test.tcc: ...this.
781         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
782         includes.
783
784         * testsuite/util/regression/priority_queue: Remove.
785         * testsuite/util/regression/assoc: Remove.
786         * testsuite/util/regression/priority_queue/
787         common_type.hpp: Consolidate this...
788         * testsuite/util/regression/assoc/common_type.hpp: ... and this
789         * testsuite/util/regression/common_type.hpp: ...here.
790
791         * testsuite/util/rng: Remove.
792         * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
793         * testsuite/util/rng/twister_rand_gen.hpp: ... and this
794         * testsuite/util/testsuite_rng.h: ...here.
795
796         * testsuite/util/native_type/priority_queue: Remove.
797         * testsuite/util/native_type/priority_queue/
798         native_priority_queue.hpp: To...
799         * testsuite/util/native_type/native_priority_queue.hpp: ...here.
800
801         * testsuite/util/native_type/assoc: Remove.
802         * testsuite/util/native_type/assoc/native_multimap.hpp: To...
803         * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
804         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
805         * testsuite/util/native_type/assoc/native_set.hpp: To...
806         * testsuite/util/native_type/assoc/native_map.hpp: To...
807         * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
808         * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
809         * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
810         * testsuite/util/native_type/native_multimap.hpp: ...here.
811         * testsuite/util/native_type/native_tree_tag.hpp: ...here.
812         * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
813         * testsuite/util/native_type/native_set.hpp: ...here.
814         * testsuite/util/native_type/native_map.hpp: ...here.
815         * testsuite/util/native_type/native_hash_set.hpp: ...here.
816         * testsuite/util/native_type/native_hash_tag.hpp: ...here.
817         * testsuite/util/native_type/native_hash_map.hpp: ...here.
818
819         * testsuite/util/common_type/priority_queue/common_type.hpp:
820         Make include guard distinct.
821         * testsuite/util/common_type/assoc/common_type.hpp: Same.
822
823 2008-06-06  Joseph Myers  <joseph@codesourcery.com>
824
825         * configure.ac: Do not check for gconv.h.
826         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
827         gconf.h.  For glibc and uClibc systems, define
828         _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
829         AM_ICONV.
830         * configure, config.h.in: Regenerate.
831
832 2008-06-06  Joseph Myers  <joseph@codesourcery.com>
833
834         * testsuite/17_intro/headers/all.cc,
835         testsuite/17_intro/headers/all_c++200x_compatibility.cc,
836         testsuite/17_intro/headers/all_pedantic_errors.cc,
837         testsuite/ext/headers.cc: Only include
838         <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
839         _GLIBCXX_HAVE_ICONV.
840
841 2008-06-05  Johannes Singler  <singler@ira.uka.de>
842
843         * include/parallel/random_shuffle.h:
844         (parallel_random_shuffle_drs) Get the actual number of
845         threads after entering the parallel region. Indentation.
846         * include/parallel/algo.h: (random_shuffle(begin, end))
847         Add namespace qualification to avoid ambiguity.
848
849 2008-06-04  Benjamin Kosnik  <bkoz@redhat.com>
850
851         * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
852         to allocator_type, as per existing conventions.
853         * include/ext/pb_ds/detail/binomial_heap_base_/
854         binomial_heap_base_.hpp: Same.
855         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
856         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
857         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
858         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
859         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
860         * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
861         * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
862         * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
863         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
864         left_child_next_sibling_heap_.hpp: Same.
865         * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
866         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
867         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
868         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
869         * include/ext/pb_ds/detail/rc_binomial_heap_/
870         rc_binomial_heap_.hpp: Same.
871         * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
872         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
873         * include/ext/pb_ds/list_update_policy.hpp: Same.
874         * include/ext/pb_ds/exception.hpp: Same.
875         * include/ext/pb_ds/tree_policy.hpp: Same.
876         * include/ext/pb_ds/trie_policy.hpp: Same.
877         * include/ext/pb_ds/priority_queue.hpp: Same.
878         * testsuite/util/regression/trait/assoc/trait.hpp: Same.
879         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
880         * testsuite/util/regression/rand/priority_queue/detail/
881         defs_fn_imps.hpp: Same.
882         * testsuite/util/regression/rand/priority_queue/detail/
883         operator_fn_imps.hpp: Same.
884         * testsuite/util/regression/rand/priority_queue/
885         container_rand_regression_test.hpp: Same.
886         * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
887         * testsuite/util/regression/rand/assoc/detail/
888         operator_fn_imps.hpp: Same.
889         * testsuite/util/regression/rand/assoc/
890         container_rand_regression_test.hpp: Same.
891         * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
892         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
893         * testsuite/util/common_type/assoc/detail/
894         tree_supports_order_statistics.hpp: Same.
895         * testsuite/util/common_type/assoc/detail/
896         trie_supports_prefix_search.hpp: Same.
897         * testsuite/util/common_type/assoc/detail/
898         trie_supports_order_statistics.hpp: Same.
899
900 2008-06-02  Sandra Loosemore  <sandra@codesourcery.com>
901             Daniel Jacobowitz  <dan@codesourcery.com>
902
903         * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
904         dg-require-fileio.
905         * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
906         * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
907
908 2008-06-02  Paolo Carlini  <paolo.carlini@oracle.com>
909
910         * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
911         avoid a memory leak if the first __uninitialized_move_a throws.
912         (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
913         to _M_insert_aux.
914         * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
915         * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
916
917 2008-05-31  Paolo Carlini  <paolo.carlini@oracle.com>
918             Chris Jefferson  <chris@bubblescope.net>
919
920         PR libstdc++/36338
921         * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
922         (pop_heap): Slightly tweak.
923
924 2008-05-29  Paolo Carlini  <paolo.carlini@oracle.com>
925
926         * include/debug/bitset (bitset(const char*)): Implement DR 778
927         in debug-mode too.
928
929         * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
930         deal with char16_t and char32_t.
931
932 2008-05-26  Paolo Carlini  <paolo.carlini@oracle.com>
933
934         * include/c_global/cmath (pow(float, int), pow(double, int),
935         pow(long double, int)): Do not define in C++0x mode, per DR 550.
936         * include/tr1_impl/cmath (pow): Do not bring in unconditionally
937         from namespace std.
938         * include/tr1/cmath (pow(double, double), pow(float, float),
939         pow(long double, long double), pow(_Tp, _Up)): Define.
940         * include/tr1/complex (pow): Do not bring in from namespace std.
941         (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
942         const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
943         pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
944         * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
945         const _Up&), pow(const _Tp&, const std::complex<_Up>&),
946         pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
947         define.
948         * doc/xml/manual/intro.xml: Add an entry for DR 550.
949         * testsuite/26_numerics/headers/cmath/dr550.cc: New.
950         * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
951
952 2008-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
953
954         * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
955         * include/std/date_time: Likewise.
956         * include/std/system_error: Likewise.
957         * include/std/type_traits: Likewise; fix typo in macro name.
958         * include/std/regex: Likewise.
959         * include/std/random: Likewise.
960         * include/std/unordered_map: Likewise.
961         * include/std/condition_variable: Likewise.
962         * include/std/unordered_set: Likewise.
963         * include/std/mutex: Likewise.
964         * include/std/array: Likewise.
965
966         * include/c_std/cmath: Fix obsolete comment.
967         * include/c_global/cmath: Likewise.
968
969 2008-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
970
971         * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
972         complex<float>::real(float), complex<float>::imag(float),
973         complex<double>::real(double), complex<double>::imag(double),
974         complex<long double>::real(long double),
975         complex<long double>::imag(long double)): Add per DR 387.
976         (complex<>::real(), complex<>::imag(), complex<float>::real(),
977         complex<float>::imag(), complex<double>::real(),
978         complex<double>::imag(), complex<long double>::real(),
979         complex<long double>::imag(long double)): Adjust in C++0x mode.
980         (real(complex<>&), imag(complex<>&), real(const complex<>&),
981         imag(const complex<>&)): Likewise.
982         * testsuite/26_numerics/complex/dr387.cc: New.
983         * doc/xml/manual/intro.xml: Add an entry for DR 387.
984
985 2008-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
986
987         * include/std/complex: Trivial stylistic changes, define inline
988         members inline, consistently with the rest of the library.
989         (pow(const _Tp&, const complex<>&)): Minor tweak.
990
991 2008-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
992
993         * src/atomic.cc (atomic_flag_test_and_set_explicit,
994         atomic_flag_clear_explicit): Suppress unused parameter warnings.
995
996 2008-05-23  Paolo Carlini  <paolo.carlini@oracle.com>
997
998         * include/std/tuple: Replace int -> size_t throughout per DR 775.
999         * include/tr1_impl/array: Likewise.
1000         * include/tr1_impl/utility: Likewise.
1001         * doc/xml/manual/intro.xml: Add an entry for DR 775.
1002
1003 2008-05-23  Paolo Carlini  <paolo.carlini@oracle.com>
1004
1005         * doc/xml/manual/intro.xml: Adjust links to ISO documents.
1006
1007 2008-05-23  Paolo Carlini  <paolo.carlini@oracle.com>
1008
1009         * include/c_std/cmath (fpclassify): Use __builtin_fpclassify.
1010         * include/c_global/cmath (fpclassify): Likewise.
1011
1012 2008-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
1013
1014         * include/tr1_impl/hashtable_policy.h (_Map_base<,,
1015         std::_Select1st<_Pair>, true,>::at): Add per DR 761.
1016         * testsuite/23_containers/unordered_map/dr761.cc: New.
1017         * doc/xml/manual/intro.xml: Add an entry for DR 761.
1018
1019 2008-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
1020
1021         * testsuite/26_numerics/complex/dr781.cc: Add test variable.
1022
1023 2008-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
1024
1025         * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
1026         Add per DR 781.
1027         * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to...
1028         * include/tr1/complex: ... here.
1029         * doc/xml/manual/intro.xml: Add an entry for DR 781.
1030         * testsuite/26_numerics/complex/dr781.cc: Add.
1031         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update.
1032         * configure: Regenerate.
1033
1034 2008-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
1035
1036         * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778.
1037         (bitset<>::_M_copy_from_ptr): Add.
1038         (bitset<>::_M_copy_from_string): Forward to the latter.
1039         * doc/xml/manual/intro.xml: Add an entry for DR 778.
1040         * testsuite/23_containers/bitset/cons/2.cc: Add.
1041
1042 2008-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
1043
1044         * doc/html/ext/lwg-active.html: Update to Revision R56.
1045         * doc/html/ext/lwg-closed.html: Likewise.
1046         * doc/html/ext/lwg-defects.html: Likewise.
1047
1048 2008-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
1049
1050         PR c++/33979 (partial)
1051         * include/tr1_impl/functional_hash.h (hash<char16_t>,
1052         hash<char32_t>): Add specializations.
1053         * include/tr1_impl/type_traits (is_integral<char16_t>,
1054         is_integral<char32_t>): Likewise.
1055         * include/std/limits (numeric_limits<char16_t>,
1056         numeric_limits<char32_t>): Likewise.
1057         * src/limits_c++0x.cc: Add.
1058         * src/Makefile.am: Update.
1059         * testsuite/20_util/hash/requirements/explicit_instantiation.cc:
1060         Update.
1061         * testsuite/20_util/is_integral/value.cc: New.
1062         * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise.
1063         * testsuite/20_util/is_integral/requirements/
1064         explicit_instantiation.cc: Likewise.
1065         * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise.
1066         * config/abi/pre/gnu.ver: Export new numeric_limits symbols at
1067         GLIBCXX_3.4.11.
1068         * configure: Regenerate.
1069         * src/Makefile.in: Likewise.
1070         * config.h.in: Likewise.
1071
1072 2008-05-16  Benjamin Kosnik  <bkoz@redhat.com>
1073
1074         * include/std/system_error: Align to current draft specifications.
1075         * src/system_error.cc: Same.
1076         * src/functexcept.cc: Adjust for corrected system_error construction.
1077         * include/std/ostream: Adjust error_code inserter.
1078         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
1079         * config/abi/pre/gnu.ver: Add new exports.
1080
1081         * testsuite/util/testsuite_error.h: Consolidate error testing
1082         utilities here.
1083         * testsuite/19_diagnostics/error_code/cons/1.cc: Use
1084         testsuite_error, adjust line numbers and constructor calls.
1085         * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
1086         * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
1087         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
1088         * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
1089         * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
1090         * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
1091         * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
1092         Same.
1093         * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
1094         * testsuite/19_diagnostics/system_error/what-1.cc: Same.
1095         * testsuite/19_diagnostics/system_error/what-2.cc: Same.
1096         * testsuite/19_diagnostics/system_error/what-big.cc: Same.
1097         * testsuite/19_diagnostics/system_error/what-3.cc: Same.
1098         * testsuite/19_diagnostics/system_error/what-4.cc: Same.
1099
1100 2008-05-15  Bernd Schmidt  <bernd.schmidt@analog.com>
1101
1102         * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
1103         * configure: Regenerate.
1104
1105 2008-05-15  Johannes Singler  <singler@ira.uka.de>
1106
1107         * xml/manual/parallel_mode.xml:
1108         General revision and documentation of new compile-time
1109         options for sorting.
1110
1111 2008-05-14  Benjamin Kosnik  <bkoz@redhat.com>
1112
1113         * include/std/mutex (mutex::try_lock): Eat errors.
1114         (mutex::unlock): Same.
1115         (recursive_mutex::try_lock): Eat errors.
1116         (recursive_mutex::unlock): Same.
1117         * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add
1118         -pthreads, adjust line numbers.
1119         * testsuite/30_threads/mutex/native_handle/1.cc: Same.
1120         * testsuite/30_threads/mutex/cons/1.cc: Same.
1121         * testsuite/30_threads/mutex/try_lock/1.cc: Same.
1122         * testsuite/30_threads/mutex/try_lock/2.cc: Same.
1123         * testsuite/30_threads/mutex/lock/1.cc: Same.
1124         * testsuite/30_threads/mutex/unlock/1.cc: Same.
1125         * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same.
1126         * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same.
1127         * testsuite/30_threads/recursive_mutex/cons/1.cc: Same.
1128
1129 2008-05-14  Benjamin Kosnik  <bkoz@redhat.com>
1130
1131         * include/std/sstream: Adjust braces.
1132         * include/bits/fstream.tcc: Same.
1133         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add
1134         -shared-libgcc.
1135         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
1136
1137         * doc/doxygen/user.cfg.in: Remove thread include.
1138
1139 2008-05-13  David Daney  <ddaney@avtrex.com>
1140
1141         * config/cpu/mips/atomicity.h: Remove file.
1142         * config/cpu/mips: Remove directory.
1143         * configure.host: Remove host specific handling for mips*-*-*.
1144
1145 2008-05-12  Stefano Soffia  <soffia@cs.unipr.it>
1146             Paolo Carlini  <paolo.carlini@oracle.com>
1147
1148         * include/debug/vector (vector<>::_M_requires_reallocation): Just
1149         use this->capacity().
1150         (vector<>::capacity): Move non-pedantic / pedantic logic here.
1151         * testsuite/23_containers/vector/
1152         debug_mode_requires_reallocation-2.cc: New.
1153
1154         * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
1155         Rename to debug_mode_requires_reallocation-1.cc
1156
1157 2008-05-10  Roberto Bagnara  <bagnara@cs.unipr.it>
1158             Paolo Carlini  <paolo.carlini@oracle.com>
1159
1160         * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
1161         * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
1162         New.
1163
1164 2008-05-07  Johannes Singler  <singler@ira.uka.de>
1165
1166        * include/parallel/quicksort.h:
1167        (parallel_sort_qs_conquer) Explicitly request number of threads
1168        in the parallel clause.
1169        (parallel_sort_qs) Remove setting the number of threads globally.
1170
1171 2008-05-06  Benjamin Kosnik  <bkoz@redhat.com>
1172
1173         * include/std/mutex (mutex::mutex): Fix usage of initializing macro.
1174         (recursive_mutex::recursive_mutex): Same.
1175         (once_flag::once_flag): Same.
1176         * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers.
1177         * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
1178         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
1179         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
1180
1181 2008-05-06  Benjamin Kosnik  <bkoz@redhat.com>
1182
1183         * include/std/condition_variable: New.
1184         * include/std/mutex: New.
1185         * src/condition_variable.cc: New.
1186         * src/mutex.cc: New.
1187         * include/bits/functexcept.h: Add __throw_system_error varients.
1188         * src/functexcept.cc: Same.
1189         * config/abi/pre/gnu.ver: Add exports.
1190
1191         * doc/xml/manual/using.xml: Add new includes.
1192         * doc/doxygen/user.cfg.in: Doxygen support.
1193         * doc/doxygen/doxygroups.cc: Same.
1194
1195         * include/Makefile.am: Add mutex, condition_variable.
1196         * include/Makefile.in: Regenerated.
1197         * src/Makefile.am: Add mutex.cc, condition_variable.cc.
1198         * src/Makefile.in: Regenerated.
1199
1200         * testsuite/30_threads: New.
1201         * testsuite/30_threads/lock_error: New.
1202         * testsuite/30_threads/mutex: New.
1203         * testsuite/30_threads/mutex/dest: New.
1204         * testsuite/30_threads/mutex/dest/destructor_locked.cc: New.
1205         * testsuite/30_threads/mutex/native_handle: New.
1206         * testsuite/30_threads/mutex/native_handle/1.cc: New.
1207         * testsuite/30_threads/mutex/cons: New.
1208         * testsuite/30_threads/mutex/cons/assign_neg.cc: New.
1209         * testsuite/30_threads/mutex/cons/1.cc: New.
1210         * testsuite/30_threads/mutex/cons/copy_neg.cc: New.
1211         * testsuite/30_threads/mutex/requirements: New.
1212         * testsuite/30_threads/mutex/requirements/typedefs.cc: New.
1213         * testsuite/30_threads/mutex/try_lock: New.
1214         * testsuite/30_threads/mutex/try_lock/1.cc: New.
1215         * testsuite/30_threads/mutex/try_lock/2.cc: New.
1216         * testsuite/30_threads/mutex/lock: New.
1217         * testsuite/30_threads/mutex/lock/1.cc: New.
1218         * testsuite/30_threads/mutex/unlock: New.
1219         * testsuite/30_threads/mutex/unlock/1.cc: New.
1220         * testsuite/30_threads/recursive_mutex: New.
1221         * testsuite/30_threads/recursive_mutex/dest: New.
1222         * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New.
1223         * testsuite/30_threads/recursive_mutex/native_handle: New.
1224         * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New.
1225         * testsuite/30_threads/recursive_mutex/cons: New.
1226         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New.
1227         * testsuite/30_threads/recursive_mutex/cons/1.cc: New.
1228         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New.
1229         * testsuite/30_threads/recursive_mutex/requirements: New.
1230         * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New.
1231         * testsuite/30_threads/lock_guard: New.
1232         * testsuite/30_threads/lock_guard/requirements: New.
1233         * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New.
1234         * testsuite/30_threads/lock_guard/requirements/
1235         explicit_instantiation.cc: New.
1236         * testsuite/30_threads/headers: New.
1237         * testsuite/30_threads/headers/mutex: New.
1238         * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New.
1239         * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New.
1240         * testsuite/30_threads/headers/condition_variable: New.
1241         * testsuite/30_threads/headers/condition_variable/
1242         types_std_c++0x.cc: New.
1243         * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New.
1244         * testsuite/30_threads/once_flag: New.
1245         * testsuite/30_threads/unique_lock: New.
1246         * testsuite/30_threads/unique_lock/requirements: New.
1247         * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New.
1248         * testsuite/30_threads/unique_lock/requirements/
1249         explicit_instantiation.cc: New.
1250         * testsuite/17_intro/headers/c++200x/all.cc: Add new includes.
1251
1252 2008-05-06  Benjamin Kosnik  <bkoz@redhat.com>
1253
1254         PR libstdc++/36130
1255         * include/bits/c++config: Namespace macros and setup only in C++.
1256         * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.
1257
1258 2008-05-06  Johannes Singler  <singler@ira.uka.de>
1259
1260         * include/parallel/multiway_merge.h:
1261           (multiway_merge_*_unguarded):
1262           Pass sentinel directly, to allow correct determination.
1263           (multiway_merge_loser_tree_unguarded):
1264           Remove over-cautious assertion.
1265           (calls to multiway_merge_*_splitting):
1266           Parametrize with type that is correct in all cases.
1267         * include/parallel/losertree.h:
1268           (delete_min_insert (in many classes)):
1269           Correct and standardize assertions.
1270
1271 2008-05-05  Benjamin Kosnik  <bkoz@redhat.com>
1272
1273         * testsuite/util/testsuite_visualization.h: Move contents into...
1274         * testsuite/util/testsuite_performance.h: ...here.
1275         * testsuite/util/testsuite_common_types.h: Move
1276         performance-related test infrastructure into
1277         testsuite_performance.
1278         * testsuite/performance/25_algorithms/search_n.cc: Fix includes.
1279         * testsuite/performance/23_containers/find/map.cc: Same.
1280         * testsuite/performance/23_containers/create/map.cc: Same.
1281         * testsuite/performance/23_containers/insert_erase/associative.cc: Same.
1282         * testsuite/performance/23_containers/insert/sequence.cc: Same.
1283         * testsuite/performance/23_containers/insert/associative.cc: Same.
1284         * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
1285         * testsuite/performance/23_containers/index/map.cc: Same.
1286         * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
1287         * testsuite/performance/23_containers/create_sort/list.cc: Same.
1288         * testsuite/performance/23_containers/sort_search/list.cc: Same.
1289         * testsuite/performance/23_containers/producer_consumer/sequence.cc:
1290         Same.
1291         * testsuite/performance/23_containers/producer_consumer/associative.cc:
1292         Same.
1293
1294         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
1295         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
1296
1297 2008-05-05  Benjamin Kosnik  <bkoz@redhat.com>
1298
1299         * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements.
1300         * 20_util/make_unsigned/requirements/typedefs-1.cc: Same.
1301
1302 2008-05-01  Benjamin Kosnik  <bkoz@redhat.com>
1303
1304         * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
1305
1306 2008-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1307
1308         * include/Makefile.am (install-headers): Cope with empty
1309         parallel_headers.
1310         * include/Makefile.in: Regenerate.
1311
1312 2008-04-29  Benjamin Kosnik  <bkoz@redhat.com>
1313
1314         * include/bits/c++config: Remove space between '#' and 'undef' for
1315         _GLIBCXX_LONG_DOUBLE_COMPAT.
1316
1317 2008-04-29  Joseph Myers  <joseph@codesourcery.com>
1318
1319         * Makefile.am (install-html, install-pdf): Add dummy targets.
1320         * Makefile.in: Regenerate.
1321         * doc/Makefile.am (install-html, install-pdf): Remove.
1322         * doc/Makefile.in: Regenerate.
1323
1324 2008-04-28  Benjamin Kosnik  <bkoz@redhat.com>
1325
1326         * include/bits/c++config: Move os_defines and cpu_defines after
1327         namespace definitions and base macros.
1328
1329 2008-04-28  Benjamin Kosnik  <bkoz@redhat.com>
1330
1331         PR libstdc++/35887
1332         * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just
1333         checking for omp.h.
1334         * configure: Regenerate.
1335
1336 2008-04-25  Benjamin Kosnik  <bkoz@redhat.com>
1337
1338         PR libstdc++/35922
1339         * include/std/unordered_map: Include debug/unordered_map if
1340         _GLIBCXX_DEBUG.
1341         * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
1342         * testsuite/23_containers/unordered_map/requirements/
1343         debug_container.cc: ...here.
1344         * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New.
1345         * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
1346         * testsuite/23_containers/unordered_set/requirements/
1347         debug_container.cc: ...here.
1348         * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New.
1349
1350 2008-04-25  Benjamin Kosnik  <bkoz@redhat.com>
1351
1352         PR libstdc++/35887
1353         * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support.
1354         * configure.ac: Re-order compiler macros.
1355         * configure: Regenerated.
1356
1357 2008-04-24  Benjamin Kosnik  <bkoz@redhat.com>
1358
1359         PR libstdc++/35887
1360         * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL.
1361         Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS.
1362         * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp.
1363         (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information.
1364         * configure: Regenerate.
1365         * include/Makefile.am (parallel_headers): Make conditional on
1366         ENABLE_PARALLEL.
1367         * include/Makefile.in: Regenerate.
1368
1369 2008-04-24  Paolo Carlini  <pcarlini@suse.de>
1370
1371         PR libstdc++/35969
1372         * include/debug/list (merge): Use _M_transfer_iter, consistently
1373         with the splice members.
1374         * testsuite/23_containers/list/operations/35969.cc: New.
1375
1376         * testsuite/23_containers/list/operators: Rename to
1377         testsuite/23_containers/list/operations.
1378
1379 2008-04-24  Benjamin Kosnik  <bkoz@redhat.com>
1380
1381         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of
1382         all used __sync builtins, in two sizes.
1383         * config.h.in: Regenerate.
1384         * configure: Regenerate.
1385         * src/atomic.cc: Use  _GLIBCXX_ATOMIC_BUILTINS_1.
1386         * include/ext/atomicity.h: Use  _GLIBCXX_ATOMIC_BUILTINS_4.
1387         * libsupc++/guard.cc: Use  _GLIBCXX_ATOMIC_BUILTINS_4.
1388         * doc/xml/manual/concurrency.xm: Update docs.
1389
1390 2008-04-23  Benjamin Kosnik  <bkoz@redhat.com>
1391
1392         * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
1393         _GLIBCXX_BEGIN_EXTERN_C, etc.
1394
1395 2008-04-23  Johannes Singler  <singler@ira.uka.de>
1396
1397         * include/parallel/quicksort.h: Reformat,
1398         (parallel_sort_qs): Do not pass number of elements.
1399         * include/parallel/balanced_quicksort.h: Reformat,
1400         (parallel_sort_qsb): Do not pass number of elements.
1401         * include/parallel/tags.h:
1402         Introduce new tags for compile-time choice.
1403         * include/parallel/merge.h:
1404         (parallel_merge_advance):Beautified.
1405         * include/parallel/algo.h: Reformatting (spaces for tabs)
1406         New sort and stable_sort variants, corresponding to the tags.
1407         * include/parallel/sort.h:
1408         New sort and stable_sort variants, corresponding to the tags.
1409         Changed determining the desired number of threads.
1410
1411 2008-04-23  Johannes Singler  <singler@ira.uka.de>
1412
1413         * include/parallel/multiway_merge.h
1414         (multiway_merge_loser_tree):
1415         Leave checks to callers, add precondition instead.
1416         (multiway_merge_loser_tree_unguarded): Likewise.
1417         (multiway_merge_loser_tree_sentinel): Likewise.
1418         (sequential_multiway_merge): Added checks for total length 0.
1419         (parallel_multiway_merge): Skip empty sequences.
1420         (multiway_merge, all variants):
1421         Remove temporary variable, return directly.
1422         (stable_multiway_merge, all variants): Likewise.
1423         (multiway_merge_sentinels, all variants):  Likewise.
1424         (stable_multiway_merge_sentinels, all variants): Likewise.
1425         * include/parallel/multiseq_selection.h
1426         (multiseq_partition): More detailed assertions.
1427
1428 2008-04-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1429
1430         * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
1431         (GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
1432         (GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
1433         (GLIBCXX_CHECK_SYSTEM_ERROR): Likewise.  Factorize.
1434         * configure: Regenerate.
1435
1436 2008-04-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1437
1438         PR libstdc++/35954
1439         * include/Makefile.am (pch*_output): Do not touch pch*_output_anchor.
1440         Call 'mkdir -p' unconditionally, but ignore its return value.
1441         * include/Makefile.in: Regenerate.
1442
1443         * include/Makefile.am: Fix most stamp rules to regenerate
1444         the links for all sources newer than the stamp file.
1445         * include/Makefile.in: Regenerate.
1446         * Makefile.in: Likewise.
1447         * src/Makefile.in: Likewise.
1448         * doc/Makefile.in: Likewise.
1449         * po/Makefile.in: Likewise.
1450         * libmath/Makefile.in: Likewise.
1451         * libsupc++/Makefile.in: Likewise.
1452         * testsuite/Makefile.in: Likewise.
1453
1454 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
1455
1456         PR bootstrap/35457
1457         * aclocal.m4: Regenerate.
1458         * configure: Regenerate.
1459
1460 2008-04-16  Andreas Tobler  <a.tobler@schweiz.org>
1461
1462         PR libstdc++/35915
1463         * configure.ac: Use GCC_HEADER_STDINT.
1464         * src/atomic.cc: Include gstdint.h
1465         * configure: Regenerate.
1466         * Makefile.in: Likewise.
1467         * doc/Makefile.in: Likewise.
1468         * include/Makefile.in: Likewise.
1469         * libmath/Makefile.in: Likewise.
1470         * libsupc++/Makefile.in: Likewise.
1471         * po/Makefile.in: Likewise.
1472         * src/Makefile.in: Likewise.
1473         * testsuite/Makefile.in: Likewise.
1474         * aclocal.m4: Likewise.
1475
1476 2008-04-14  Benjamin Kosnik  <bkoz@redhat.com>
1477
1478         PR libstdc++/35816
1479         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Set CXXFLAGS to
1480         -O0 when checking for atomic builtins.
1481         * configure: Regenerate.
1482
1483 2008-04-14  Benjamin Kosnik  <bkoz@redhat.com>
1484
1485         * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
1486
1487 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
1488
1489         * doc/html/*: Regenerate.
1490
1491 2008-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1492
1493         * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
1494         * doc/xml/authors.xml: Fix typos.
1495         * doc/xml/faq.xml: Likewise.
1496         * doc/xml/manual/abi.xml: Likewise.
1497         * doc/xml/manual/allocator.xml: Likewise.
1498         * doc/xml/manual/appendix_contributing.xml: Likewise.
1499         * doc/xml/manual/backwards_compatibility.xml: Likewise.
1500         * doc/xml/manual/build_hacking.xml: Likewise.
1501         * doc/xml/manual/codecvt.xml: Likewise.
1502         * doc/xml/manual/concurrency.xml: Likewise.
1503         * doc/xml/manual/ctype.xml: Likewise.
1504         * doc/xml/manual/debug_mode.xml: Likewise.
1505         * doc/xml/manual/diagnostics.xml: Likewise.
1506         * doc/xml/manual/evolution.xml: Likewise.
1507         * doc/xml/manual/extensions.xml: Likewise.
1508         * doc/xml/manual/locale.xml: Likewise.
1509         * doc/xml/manual/messages.xml: Likewise.
1510         * doc/xml/manual/parallel_mode.xml: Likewise.
1511         * doc/xml/manual/status_cxx200x.xml: Likewise.
1512         * doc/xml/manual/strings.xml: Likewise.
1513         * doc/xml/manual/support.xml: Likewise.
1514         * doc/xml/manual/test.xml: Likewise.
1515         * doc/xml/manual/using.xml: Likewise.
1516
1517 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
1518             Johannes Singler  <singler@ira.uka.de>
1519
1520         * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
1521         insertors. Correct omp_set_num_threads example.
1522
1523 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
1524
1525         * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
1526         * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
1527         * src/atomic.c: Format, doxygen markup, edits.
1528
1529         * include/Makefile.am (cstdatomic, stdatomic.h): Add.
1530         * src/Makefile.am (atomic.c): Add.
1531         * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
1532         * configure.ac: Call it.
1533         * include/Makefile.in: Regenerate.
1534         * src/Makefile.in: Same.
1535         * Makefile.in: Same.
1536         * doc/Makefile.in: Same.
1537         * po/Makefile.in: Same.
1538         * libmath/Makefile.in: Same.
1539         * include/Makefile.in: Same.
1540         * testsuite/Makefile.in: Same.
1541         * libsupc++/Makefile.in: Same.
1542         * config.h.in: Same.
1543         * configure: Same.
1544
1545         * config/abi/pre/gnu.ver: Add atomics exports.
1546
1547         * include/ext/typelist.h (apply_generator): New.
1548         * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
1549         (_GLIBCXX_END_EXTERN_C): New.
1550         Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
1551         compiling as C.
1552         * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
1553         flag for libstdc++.
1554         * testsuite/util/testsuite_common_types.h (integral_types): New
1555         typelist.
1556         (atomics, atomics_tl): Same.
1557         (assignable, default_constructible, copy_constructible,
1558         explicit_value_constructible): New.
1559         * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
1560         * testsuite/29_atomics: New.
1561         * testsuite/29_atomics/atomic_address: Same.
1562         * testsuite/29_atomics/atomic_address/cons: Same.
1563         * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
1564         * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
1565         * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
1566         * testsuite/29_atomics/atomic_address/cons/default.cc: Same.
1567         * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
1568         * testsuite/29_atomics/atomic_flag: Same.
1569         * testsuite/29_atomics/atomic_flag/cons: Same.
1570         * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
1571         * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
1572         * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
1573         * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
1574         * testsuite/29_atomics/atomic_flag/requirements: Same.
1575         * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
1576         Same.
1577         * testsuite/29_atomics/atomic_flag/
1578         atomic_global_fence_compatibility.cc: Same.
1579         * testsuite/29_atomics/atomic_flag/test_and_set: Same.
1580         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
1581         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
1582         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
1583         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
1584         * testsuite/29_atomics/headers: Same.
1585         * testsuite/29_atomics/headers/cstdatomic: Same.
1586         * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
1587         * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
1588         * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
1589         * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
1590         * testsuite/29_atomics/headers/stdatomic.h: Same.
1591         * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
1592         * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
1593         * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
1594         * testsuite/29_atomics/atomic: Same.
1595         * testsuite/29_atomics/atomic/cons: Same.
1596         * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
1597         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
1598         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
1599         * testsuite/29_atomics/atomic/cons/default.cc: Same.
1600         * testsuite/29_atomics/atomic/requirements: Same.
1601         * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
1602         * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
1603         1.cc: Same.
1604
1605 2008-04-10  Lawrence Crowl  <crowl@google.com>
1606
1607         * include/c_global/cstdatomic: New.
1608         * include/c_compatibility/stdatomic.h: New.
1609         * src/atomic.c: New.
1610
1611 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
1612
1613         * include/std/tuple: Consistency check for include guard, doxygen
1614         file markup.
1615         * include/std/date_time: Same.
1616         * include/std/type_traits: Same.
1617         * include/std/regex: Same.
1618         * include/std/array: Same.
1619         * include/std/system_error: Same, add error_code ctor.
1620
1621 2008-04-07  Johannes Singler  <singler@ira.uka.de>
1622
1623         * include/parallel/multiway_merge.h: Moved decisions to
1624         compile-time instead of run-time.
1625         * include/parallel/losertree.h: Removed obsolete variants, added
1626         variant that uses pointers in the loser tree.
1627         * include/parallel/types.h: Remove obsolete settings options from enum.
1628         * include/parallel/features.h: Remove obsolete compile-time switches.
1629         * include/parallel/compiletime_settings.h: Remove obsolete variant
1630         that copies back *after* sorting.
1631         * include/parallel/tags.h: Add one new tag for compile-time switch.
1632         * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
1633         * include/parallel/multiway_mergesort.h: Adapt to changes in
1634         multiway_merge.h. Factor out splitting variants. Remove obsolete
1635         variant that copies back *after* sorting.
1636         * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
1637         * testsuite/25_algorithms/sort/35588.cc: Added test case from /
1638         for PR 35588.
1639
1640 2008-03-29  Paolo Carlini  <pcarlini@suse.de>
1641
1642         PR libstdc++/35725
1643         * include/bits/stl_algobase.h (__fill_a(_ForwardIterator,
1644         _ForwardIterator, _Tp), __fill_a(_Tp*, _Tp*, _Tp),
1645         __fill_n_a(_OutputIterator, _Size, _Tp), __fill_n_a(_Tp*, _Size,
1646         _Tp)): Fix signatures.
1647         * testsuite/25_algorithms/fill/35725.cc: New.
1648         * testsuite/25_algorithms/fill_n/35725.cc: Likewise.
1649
1650 2008-03-29  Matthias Klose  <doko@ubuntu.com>
1651
1652         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
1653         * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise.
1654         * config/abi/post/mips-linux-gnu/baseline_symbols.txt: Likewise.
1655         * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Likewise.
1656
1657 2008-03-27  Ian Lance Taylor  <iant@google.com>
1658
1659         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
1660         glibcxx_ld_is_gold.  Check for gold in --gc-sections test.
1661         (GLIBCXX_ENABLE_SYMVERS): Check for gold.
1662         * aclocal.m4, configure: Rebuild.
1663
1664 2008-03-26  Benjamin Kosnik  <bkoz@redhat.com>
1665
1666         * testsuite/util/testsuite_abi.h: Remove symbol_objects,
1667         symbol_names typedefs.
1668         * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check
1669         for long double compatiblity symbols, simplify data structures used.
1670
1671 2008-03-25  Benjamin Kosnik  <bkoz@redhat.com>
1672
1673         * scripts/run_doxygen: Remove html_output_dir. Downgrade to
1674         Doxygen 1.5.1.
1675         * doc/doxygen/style.css: Delete.
1676         * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1.
1677         (INPUT): Update.
1678         (PREDEFINED): Update.
1679         (HTML_OUTPUT): Remove html_output_dir, use html.
1680         (HTML_STYLESHEET): Remove style.css.
1681         * doc/doxygen/tables.html: Remove style.css use.
1682         * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes.
1683         * doc/doxygen/doxygroups.cc: Namespace edits.
1684         * doc/doxygen/Intro.3: Correct typo.
1685
1686         * doc/xml/api.xml: Add gcc-4.3 links.
1687         * doc/html/api.html: Regenerate.
1688
1689         * include/debug/debug.h: Document namepaces here.
1690         * include/parallel/base.h: Same.
1691         * include/ext/typelist.h: Same.
1692         * include/ext/pb_ds/tag_and_trait.hpp: Same.
1693
1694         * include/tr1_impl/random: Adjust line break.
1695         * include/tr1_impl/unordered_map: Correct and or add markup.
1696         * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup.
1697         * include/tr1_impl/functional_hash.h: Same.
1698         * include/tr1_impl/cmath: Same.
1699         * include/tr1_impl/functional: Same.
1700         * include/tr1_impl/unordered_set: Same.
1701         * include/tr1_impl/complex: Same.
1702         * include/tr1_impl/type_traits: Same.
1703         * include/tr1_impl/regex: Same.
1704         * include/tr1_impl/array: Same.
1705         * include/std/tuple: Same.
1706         * include/std/date_time: Same.
1707         * include/std/system_error: Same.
1708         * include/std/type_traits: Same.
1709         * include/ext/enc_filebuf.h: Same.
1710         * include/ext/throw_allocator.h: Same.
1711         * include/ext/pool_allocator.h: Same.
1712         * include/ext/bitmap_allocator.h: Same.
1713         * include/ext/concurrence.h: Same.
1714         * include/ext/codecvt_specializations.h: Same.
1715         * include/ext/stdio_sync_filebuf.h: Same.
1716         * include/ext/array_allocator.h: Same.
1717         * include/ext/mt_allocator.h: Same.
1718         * include/bits/locale_classes.h: Same.
1719         * include/bits/locale_facets.h: Same.
1720         * include/bits/codecvt.h: Same.
1721         * include/bits/char_traits.h: Same.
1722         * include/bits/allocator.h: Same.
1723         * include/bits/locale_facets_nonio.h: Same.
1724         * include/tr1/poly_laguerre.tcc: Same.
1725         * include/tr1/riemann_zeta.tcc: Same.
1726         * include/tr1/beta_function.tcc: Same.
1727         * include/tr1/tuple: Same.
1728         * include/tr1/exp_integral.tcc: Same.
1729         * include/tr1/gamma.tcc: Same.
1730         * include/tr1/hypergeometric.tcc: Same.
1731         * include/tr1/modified_bessel_func.tcc: Same.
1732         * include/tr1/legendre_function.tcc: Same.
1733         * include/tr1/type_traits: Same.
1734         * include/tr1/special_function_util.h: Same.
1735         * include/tr1/bessel_function.tcc: Same.
1736         * include/tr1/cmath: Same.
1737         * include/tr1/poly_hermite.tcc: Same.
1738         * include/tr1/ell_integral.tcc: Same.
1739         * config/abi/compatibility.h: Adjust file name.
1740
1741         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
1742         line numbers.
1743         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
1744         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
1745
1746 2008-03-23  Paolo Carlini  <pcarlini@suse.de>
1747
1748         * doc/xml/faq.xml: Fix various links.
1749         * doc/xml/api.xml: Likewise.
1750         * doc/xml/manual/parallel_mode.xml: Likewise.
1751         * doc/html/faq.html: Regenerate.
1752         * doc/html/api.html: Likewise.
1753         * doc/html/manual/bk01pt12ch31s03.html: Likewise.
1754
1755 2008-03-20  Benjamin Kosnik  <bkoz@redhat.com>
1756
1757         * testsuite/util/testsuite_abi.cc: Add support for not counting
1758         GLIBCXX_LDBL_* compat symbols missing if no long double compat
1759         symbols under test.
1760
1761 2008-03-20  Paolo Carlini  <pcarlini@suse.de>
1762
1763         PR libstdc++/35637
1764         * include/tr1_impl/type_traits (struct __in_array): Add back.
1765         (is_function): Use it.
1766         * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New.
1767
1768 2008-03-20  Johannes Singler  <singler@ira.uka.de>
1769
1770         * include/parallel/set_operations.h (set_intersection): Remove.
1771
1772 2008-03-19  Benjamin Kosnik  <bkoz@redhat.com>
1773
1774         PR libstdc++/35256
1775         * doc/xml/manual/parallel_mode.xml: Correct configuration documentation.
1776         * doc/html/manual/bk01pt12ch31s04.html: Regenerate.
1777
1778 2008-03-18  Benjamin Kosnik  <bkoz@redhat.com>
1779
1780         * configure.ac (libtool_VERSION): To 6:11:0.
1781         * configure: Regenerate.
1782         * aclocal.m4: Regenerate.
1783
1784 2008-03-16  Paolo Carlini  <pcarlini@suse.de>
1785
1786         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
1787         Update.
1788         * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
1789         * include/precompiled/stdc++.h: Likewise.
1790
1791 2008-03-16  Pedro LamarĂ£o  <pedro.lamarao@gmail.com>
1792
1793         * include/std/date_time: New file.
1794         * src/date_time.cc: New file.
1795         * config/abi/pre/gnu.ver: Added <date_time> symbols in version
1796         GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4
1797         that matched new symbols.
1798         * include/Makefile.am: Add date_time in std headers.
1799         * src/Makefile.am: Add date_time.cc to source files.
1800         * include/Makefile.in: Regenerate.
1801         * src/Makefile.in: Likewise.
1802
1803 2008-03-16  Pedro LamarĂ£o  <pedro.lamarao@gmail.com>
1804
1805       * testsuite/31_date_time/headers/date_time/types_std.cc: New.
1806       * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
1807       * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
1808       * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
1809       * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
1810       * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
1811       * testsuite/31_date_time/system_time/requirements: Likewise.
1812       * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
1813
1814 2008-03-16  Paolo Carlini  <pcarlini@suse.de>
1815
1816         * config.h.in: Regenerate.
1817
1818 2008-03-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1819
1820         * aclocal.m4: Regenerate.
1821         * configure: Likewise.
1822         * Makefile.in: Likewise.
1823         * doc/Makefile.in: Likewise.
1824         * include/Makefile.in: Likewise.
1825         * libmath/Makefile.in: Likewise.
1826         * libsupc++/Makefile.in: Likewise.
1827         * po/Makefile.in: Likewise.
1828         * src/Makefile.in: Likewise.
1829         * testsuite/Makefile.in: Likewise.
1830
1831 2008-03-13  Dennis Czeremin  <dennis.czeremin@smiths-heimann.com>
1832
1833         PR libstdc++/35566
1834         * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
1835         _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
1836
1837 2008-03-13  Paolo Carlini  <pcarlini@suse.de>
1838
1839         PR libstdc++/35541
1840         * include/debug/functions.h (__check_sorted_set_aux): Fix signature.
1841         * testsuite/25_algorithms/set_difference/35541.cc: New.
1842
1843 2008-03-07  Jakub Jelinek  <jakub@redhat.com>
1844
1845         * config/abi/pre/gnu.ver: Move <system_error> related
1846         symbols to GLIBCXX_3.4.11 symbol version.
1847         * testsuite/util/testsuite_abi.cc (check_version): Allow
1848         GLIBCXX_3.4.11.
1849
1850 2008-03-06  Chris Jefferson  <chris@bubblescope.net>
1851             Paolo Carlini  <pcarlini@suse.de>
1852
1853         PR libstdc++/35480
1854         * include/tr1/tuple (operator==, operator<): Fix.
1855         * include/std/tuple (operator==, operator<): Likewise.
1856         * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New.
1857         * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise.
1858
1859 2008-03-04  Joseph Myers  <joseph@codesourcery.com>
1860
1861         * crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
1862         HAVE_STRTOLD.
1863         * configure: Regenerate.
1864
1865 2008-03-02  Hans-Peter Nilsson  <hp@axis.com>
1866
1867         * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
1868         testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
1869         Mark changed error message prelude, adding "in file included from",
1870         using dg-excess-errors.
1871
1872 2008-03-01  Jakub Jelinek  <jakub@redhat.com>
1873
1874         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1875         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1876         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
1877         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
1878         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1879         Likewise.
1880         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
1881         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
1882
1883 2008-02-29  Jakub Jelinek  <jakub@redhat.com>
1884
1885         * config/abi/pre/gnu.ver: Remove
1886         _ZNKSt3tr14hashIgEclEg@@GLIBCXX_3.4.10 and
1887         _ZNKSt4hashIgEclEg@@GLIBCXX_3.4.10 export.
1888         * config/os/gnu-linux/ldbl-extra.ver: Export
1889         _ZNKSt3tr14hashIgEclEg@@GLIBCXX_LDBL_3.4.10
1890         and _ZNKSt4hashIgEclEg@@GLIBCXX_LDBL_3.4.10.
1891         * src/hash.cc: Only define long double hash specialization if
1892         _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL is defined.
1893         * src/compatibility-ldbl.cc: Include "hash.cc".
1894         (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define.
1895         (_ZNKSt4hashIeEclEe): New alias.
1896         * testsuite/util/testsuite_abi.cc (check_version): Support
1897         GLIBCXX_LDBL_3.4.10.
1898
1899 2008-02-25  Jan Beulich  <jbeulich@novell.com>
1900
1901         * acinclude.m4: Also check for EIDRM and ETXTBSY.
1902         * configure: Re-generate.
1903         * config/os/generic/error_constants.h (namespace posix_error):
1904         Also wrap uses of EIDRM and ETXTBSY in conditionals.
1905         * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
1906         Likewise.
1907
1908 2008-02-20  Jason Merrill  <jason@redhat.com>
1909
1910         * include/bits/c++config: Use 'inline namespace' instead of
1911         strong using.
1912
1913 2008-02-18  Pedro Lamarao <pedro.lamarao@mndfck.org>
1914
1915         * include/std/tuple: Fixes for moveable, non-copyable types.
1916         * testsuite/20_util/tuple/moveable2.cc: New.
1917
1918 2008-02-18  Paolo Carlini  <pcarlini@suse.de>
1919
1920         * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.
1921
1922 2008-02-17  Ed Smith-Rowland  <3dw4rd@verizon.net>
1923
1924         * include/tr1/poly_laguerre.tcc: Doxygen fixes.
1925         * include/tr1/exp_integral.tcc: Same.
1926         * include/tr1/gamma.tcc: Same.
1927         * include/tr1/hypergeometric.tcc: Same.
1928
1929 2008-02-17  Benjamin Kosnik  <bkoz@redhat.com>
1930
1931         PR libstdc++/34797
1932         * include/parallel/settings.h (_Settings): Reconstruct Settings class
1933         here, uglify, remove anonymous namespace and static
1934         members. Convert to datum.
1935         * include/parallel/types.h: Move Settings:: enumerations here, uglify.
1936         * src/parallel_settings.cc: New, definition for _Settings member
1937         functions.
1938         * include/parallel/multiway_merge.h: Same.
1939         * include/parallel/for_each.h: Same.
1940         * include/parallel/workstealing.h: Same.
1941         * include/parallel/base.h: Same.
1942         * include/parallel/numeric
1943         * include/parallel/features.h: Same.
1944         * include/parallel/quicksort.h: Same.
1945         * include/parallel/equally_split.h: Same.
1946         * include/parallel/algorithmfwd.h: Same.
1947         * include/parallel/omp_loop_static.h: Same.
1948         * include/parallel/random_shuffle.h: Same.
1949         * include/parallel/balanced_quicksort.h: Same.
1950         * include/parallel/tags.h: Same.
1951         * include/parallel/multiway_mergesort.h: Same.
1952         * include/parallel/numericfwd.h: Same.
1953         * include/parallel/partition.h: Same.
1954         * include/parallel/partial_sum.h: Same.
1955         * include/parallel/find.h: Same.
1956         * include/parallel/algo.h: Same.
1957         * include/parallel/omp_loop.h: Same.
1958         * include/parallel/sort.h: Same.
1959
1960         * src/Makefile.am (parallel_sources): Add parallel_settings.cc.
1961         * src/Makefile.in: Regenerate.
1962
1963         * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.
1964
1965 2008-02-17  Paolo Carlini  <pcarlini@suse.de>
1966
1967         PR libstdc++/35221
1968         * include/parallel/types.h: Reinstate integer types typedefs.
1969         * include/parallel/multiseq_selection.h: Adjust.
1970         * include/parallel/compatibility.h: Likewise.
1971         * include/parallel/random_shuffle.h: Likewise.
1972         * include/parallel/random_number.h: Likewise.
1973         * include/parallel/base.h: Likewise.
1974
1975 2008-02-17  Paolo Carlini  <pcarlini@suse.de>
1976
1977         PR libstdc++/35209
1978         * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
1979         * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
1980         * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
1981
1982 2008-02-16  Benjamin Kosnik  <bkoz@redhat.com>
1983
1984         * include/parallel/random_number.h: Use TR1's mersenne_twister.
1985         (random_number::genrand_bits()): Remove.
1986         (random_number::set_seed): Remove.
1987
1988 2008-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1989
1990         * include/parallel/types.h: Remove enum parallelism.
1991
1992 2008-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1993
1994         * include/parallel/types.h: Move enum parallelism here.  Use
1995         tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
1996         uint64_t.
1997         * include/parallel/multiseq_selection.h: Adjust for cstdint.
1998         * include/parallel/compatibility.h: Same.
1999         * include/parallel/tags.h: Just compile-time tags.
2000         * include/parallel/base.h: Put namespace bits here.
2001
2002         * src/Makefile.am (PARALLEL_FLAGS): Use it.
2003         * src/Makefile.in: Regenerate.
2004
2005         * testsuite/25_algorithms/nth_element/1.cc: Add test variable.
2006
2007 2008-02-15  Hans-Peter Nilsson  <hp@axis.com>
2008
2009         * testsuite/config/default.exp: Load gcc dejapatches.exp.
2010
2011 2008-02-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2012
2013         * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
2014         remove XFAIL.
2015
2016 2008-02-14  Benjamin Kosnik  <bkoz@redhat.com>
2017
2018         * config/os/generic/error_constants.h (posix_errno): Guard
2019         not_supported use of ENOTSUP.
2020         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
2021         for OpenBSD.
2022         * aclocal.m4: Regenerate.
2023         * configure: Rengerate.
2024         * config.h.in: Same.
2025
2026 2008-02-13  Benjamin Kosnik  <bkoz@redhat.com>
2027
2028         * doc/doxygen/mainpage.html: Correct links.
2029
2030 2008-02-11  Benjamin Kosnik  <bkoz@redhat.com>
2031
2032         * doc/html/*: Populate with regenerated files.
2033
2034 2008-02-11  Benjamin Kosnik  <bkoz@redhat.com>
2035
2036         * doc/html/*: Remove all but contents of ext/pb_ds.
2037         * doc/html/index.html: New.
2038         * doc/html/README: New.
2039
2040 2008-02-11  Benjamin Kosnik  <bkoz@redhat.com>
2041
2042         * doc/doxygen/mainpage.html: Add in corrected links.
2043         * README: Edit, move most into...
2044         * doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
2045         (Documentation Style): Revise.
2046         * doc/xml/spine.xml: Edit file names.
2047         * doc/Makefile.am: Edit xml_sources.
2048         * doc/Makefile.in: Regenerate.
2049
2050 2008-02-11  Paolo Carlini  <pcarlini@suse.de>
2051
2052         * configure: Regenerate with documented autoconf and automake
2053         versions (i.e., 2.59 and 1.9.6).
2054         * Makefile.in: Likewise.
2055         * src/Makefile.in: Likewise.
2056         * doc/Makefile.in: Likewise.
2057         * po/Makefile.in: Likewise.
2058         * libmath/Makefile.in: Likewise.
2059         * include/Makefile.in: Likewise.
2060         * libsupc++/Makefile.in: Likewise.
2061         * testsuite/Makefile.in: Likewise.
2062         * aclocal.m4: Likewise.
2063
2064 2008-02-10  Benjamin Kosnik  <bkoz@redhat.com>
2065
2066         Convert documentation to DocBook.
2067         * doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
2068         (doc-doxygen-man): Changed to doc-man-doxygen.
2069         (doc-performance): Changed to doc-html-performance.
2070         (doc-xml-doxygen): New.
2071         (doc-xml-single): New.
2072         (doc-xml-validate): New.
2073         (doc-html): New.
2074         (doc-html-single): New.
2075         (doc-fo): New.
2076         (doc-pdf): New.
2077         (doc-pdf-fop-xml): New.
2078         (doc-pdf-fop-fo): New.
2079         (doc-pdf-xmlto): New.
2080         (doc-pdf-xmlroff): New.
2081         (doc-pdf-prince): New.
2082         * doc/xml: New directory.
2083         * doc/xml/authors.xml: New.
2084         * doc/xml/images: New directory.
2085         * doc/xml/images/confdeps.png: Add.
2086         * doc/xml/images/confdeps.dot: Add.
2087         * doc/xml/faq.xml: New.
2088         * doc/xml/api.xml: New.
2089         * doc/xml/gnu: New directory.
2090         * doc/xml/gnu/gpl-3.0.xml: New.
2091         * doc/xml/gnu/fdl-1.2.xml: New.
2092         * doc/xml/gnu/gpl-2.0.xml: New.
2093         * doc/xml/manual: New directory.
2094         * doc/xml/manual/mt_allocator.xml: New.
2095         * doc/xml/manual/allocator.xml: New.
2096         * doc/xml/manual/ctype.xml: New.
2097         * doc/xml/manual/numerics.xml: New.
2098         * doc/xml/manual/codecvt.xml: New.
2099         * doc/xml/manual/concurrency.xml: New.
2100         * doc/xml/manual/backwards_compatibility.xml: New.
2101         * doc/xml/manual/intro.xml: New.
2102         * doc/xml/manual/shared_ptr.xml: New.
2103         * doc/xml/manual/abi.xml: New.
2104         * doc/xml/manual/status_cxxtr1.xml: New.
2105         * doc/xml/manual/auto_ptr.xml: New.
2106         * doc/xml/manual/build.xml: New.
2107         * doc/xml/manual/internals.xml: New.
2108         * doc/xml/manual/parallel_mode.xml: New.
2109         * doc/xml/manual/status_cxx1998.xml: New.
2110         * doc/xml/manual/containers.xml: New.
2111         * doc/xml/manual/io.xml: New.
2112         * doc/xml/manual/appendix_porting.xml: New.
2113         * doc/xml/manual/utilities.xml: New.
2114         * doc/xml/manual/bitmap_allocator.xml: New.
2115         * doc/xml/manual/support.xml: New.
2116         * doc/xml/manual/configure.xml: New.
2117         * doc/xml/manual/build_hacking.xml: New.
2118         * doc/xml/manual/evolution.xml: New.
2119         * doc/xml/manual/using.xml: New.
2120         * doc/xml/manual/debug.xml: New.
2121         * doc/xml/manual/localization.xml: New.
2122         * doc/xml/manual/strings.xml: New.
2123         * doc/xml/manual/debug_mode.xml: New.
2124         * doc/xml/manual/locale.xml: New.
2125         * doc/xml/manual/extensions.xml: New.
2126         * doc/xml/manual/appendix_contributing.xml: New.
2127         * doc/xml/manual/messages.xml: New.
2128         * doc/xml/manual/diagnostics.xml: New.
2129         * doc/xml/manual/appendix_free.xml: New.
2130         * doc/xml/manual/algorithms.xml: New.
2131         * doc/xml/manual/iterators.xml: New.
2132         * doc/xml/manual/spine.xml: New.
2133         * doc/xml/manual/test.xml: New.
2134         * doc/xml/manual/status_cxx200x.xml: New.
2135         * doc/xml/spine.xml: New.
2136
2137         * doc/xml/book.txml: New. Template file.
2138         * doc/xml/chapter.txml: Same.
2139         * doc/xml/class.txml: Same.
2140
2141         * doc/doxygen/guide.html: Removed, integrated into other docs.
2142         * doc/doxygen/user.cfg.in: Clean up XML generation.
2143         * doc/doxygen/run_doxygen: Move to..
2144         * scripts/run_doxygen: ...here.
2145
2146         * configure: Regenerate.
2147         * Makefile.in: Regenerate.
2148         * src/Makefile.in: Regenerate.
2149         * doc/Makefile.in: Regenerate.
2150         * po/Makefile.in: Regenerate.
2151         * libmath/Makefile.in: Regenerate.
2152         * include/Makefile.in: Regenerate.
2153         * libsupc++/Makefile.in: Regenerate.
2154         * testsuite/Makefile.in: Regenerate.
2155         * aclocal.m4: Regenerate.
2156
2157 2008-02-10  Paolo Carlini  <pcarlini@suse.de>
2158
2159         PR libstdc++/16251
2160         * include/std/istream (basic_istream<>::basic_istream()): Call
2161         this->init().
2162         (basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
2163         do it here, per 27.6.1.5.1/1.
2164         * include/std/ostream (basic_ostream<>::basic_ostream()): Call
2165         this->init().
2166         * testsuite/27_io/basic_iostream/cons/16251.C: New.
2167
2168         * testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
2169
2170 2008-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2171
2172         * include/backward/auto_ptr.h: Fix comment typos.
2173         * include/bits/algorithmfwd.h: Likewise.
2174         * include/bits/basic_ios.h: Likewise.
2175         * include/bits/c++config: Likewise.
2176         * include/bits/char_traits.h: Likewise.
2177         * include/bits/codecvt.h: Likewise.
2178         * include/bits/gslice.h: Likewise.
2179         * include/bits/ios_base.h: Likewise.
2180         * include/bits/locale_facets.h: Likewise.
2181         * include/bits/locale_facets_nonio.tcc: Likewise.
2182         * include/bits/postypes.h: Likewise.
2183         * include/bits/sstream.tcc: Likewise.
2184         * include/bits/stl_algo.h: Likewise.
2185         * include/bits/stl_deque.h: Likewise.
2186         * include/bits/stl_iterator.h: Likewise.
2187         * include/bits/stl_iterator_base_types.h Likewise.
2188         * include/bits/stl_list.h: Likewise.
2189         * include/bits/stl_map.h: Likewise.
2190         * include/bits/stl_multimap.h: Likewise.
2191         * include/bits/stl_multiset.h: Likewise.
2192         * include/bits/stl_set.h: Likewise.
2193         * include/bits/stl_vector.h: Likewise.
2194         * include/bits/valarray_array.h: Likewise.
2195         * include/debug/safe_base.h: Likewise.
2196         * include/ext/bitmap_allocator.h: Likewise.
2197         * include/ext/codecvt_specializations.h Likewise.
2198         * include/ext/mt_allocator.h: Likewise.
2199         * include/ext/rc_string_base.h: Likewise.
2200         * include/ext/rope: Likewise.
2201         * include/parallel/checkers.h: Likewise.
2202         * include/parallel/find.h: Likewise.
2203         * include/parallel/multiseq_selection.h: Likewise.
2204         * include/parallel/partition.h: Likewise.
2205         * include/parallel/settings.h: Likewise.
2206         * include/std/bitset: Likewise.
2207         * include/std/complex: Likewise.
2208         * include/std/fstream: Likewise.
2209         * include/std/istream: Likewise.
2210         * include/std/limits: Likewise.
2211         * include/std/ostream: Likewise.
2212         * include/std/stdexcept: Likewise.
2213         * include/std/streambuf: Likewise.
2214         * include/tr1/bessel_function.tcc: Likewise.
2215         * include/tr1/cmath: Likewise.
2216         * include/tr1/ell_integral.tcc: Likewise.
2217         * include/tr1/hypergeometric.tcc: Likewise.
2218         * include/tr1/legendre_function.tcc: Likewise.
2219         * include/tr1_impl/random: Likewise.
2220         * include/tr1_impl/regex: Likewise.
2221
2222 2008-01-31  Paolo Carlini  <pcarlini@suse.de>
2223
2224         * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
2225         Avoid -Wall warnings.
2226         * testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
2227         Likewise.
2228         * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
2229         Likewise.
2230         * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
2231         * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
2232         * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
2233         * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
2234         Likewise.
2235         * testsuite/tr1/6_containers/array/requirements/contiguous.cc:
2236         Likewise.
2237         * testsuite/tr1/6_containers/array/requirements/member_swap.cc:
2238         Likewise.
2239         * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
2240         * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
2241         Likewise.
2242         * testsuite/tr1/6_containers/array/comparison_operators/
2243         less_or_equal.cc: Likewise.
2244         * testsuite/tr1/6_containers/array/comparison_operators/
2245         greater_or_equal.cc: Likewise.
2246         * testsuite/tr1/6_containers/array/comparison_operators/less.cc:
2247         Likewise.
2248         * testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
2249         Likewise.
2250         * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
2251         Likewise.
2252         * testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
2253         Likewise.
2254         * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
2255         * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
2256         Likewise.
2257         * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
2258         * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
2259         * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
2260         * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
2261         Likewise.
2262         * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
2263         * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
2264         * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
2265         * testsuite/thread/guard.cc: Likewise.
2266         * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
2267         * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
2268         * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
2269         * testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
2270         * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
2271         * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
2272         * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
2273         Likewise.
2274
2275 2008-01-26  David Edelsohn  <edelsohn@gnu.org>
2276
2277         PR target/34794
2278         * config/os/aix/os_defines.h: Define __COMPATMATH__.
2279
2280 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
2281
2282         * configure: Regenerate.
2283
2284 2008-01-21  Matthias Klose  <doko@ubuntu.com>
2285
2286         * doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
2287
2288 2008-01-19  Paolo Carlini  <pcarlini@suse.de>
2289
2290         * configure: Regenerate.
2291         * Makefile.in: Likewise.
2292         * src/Makefile.in: Likewise.
2293         * doc/Makefile.in: Likewise.
2294         * po/Makefile.in: Likewise.
2295         * libmath/Makefile.in: Likewise.
2296         * include/Makefile.in: Likewise.
2297         * libsupc++/Makefile.in: Likewise.
2298         * testsuite/Makefile.in: Likewise.
2299         * aclocal.m4: Likewise.
2300
2301 2008-01-18  Benjamin Kosnik  <bkoz@redhat.com>
2302
2303         * docs/*: To...
2304         * doc/*: ...here.
2305         * testsuite/Makefile.am: Move doc-performance to...
2306         * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
2307         * doc/Makefile.am: Consolidate documentation creation here.
2308         (doc-doxygen-html): New.
2309         (doc-doxygen-man): New.
2310         (doc-performance): New.
2311         * doc/Makefile.in: New.
2312         * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
2313         * doc/doxygen/guide.html: Edit for unified html configuration.
2314         * doc/doxygen/mainpage.html: Same.
2315         * doc/doxygen/run_doxygen: Same, more namespace fixups for man
2316         generation.
2317         * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.
2318
2319         * include/tr1_impl/random: Remove maint from doxygen markup.
2320         * include/tr1_impl/functional: Same.
2321         * include/std/tuple: Same.
2322         * include/std/streambuf: Same.
2323         * include/std/bitset: Same.
2324         * include/std/limits: Same.
2325         * include/std/fstream: Same.
2326         * include/std/istream: Same.
2327         * include/std/sstream: Same.
2328         * include/ext/pool_allocator.h: Same.
2329         * include/ext/rc_string_base.h: Same.
2330         * include/bits/basic_ios.h: Same.
2331         * include/bits/stl_list.h: Same.
2332         * include/bits/stl_map.h: Same.
2333         * include/bits/locale_classes.h: Same.
2334         * include/bits/stl_set.h: Same.
2335         * include/bits/stl_iterator_base_types.h: Same.
2336         * include/bits/basic_string.h: Same.
2337         * include/bits/stl_multimap.h: Same.
2338         * include/bits/stl_vector.h: Same.
2339         * include/bits/ios_base.h: Same.
2340         * include/bits/stl_deque.h: Same.
2341         * include/bits/postypes.h: Same.
2342         * include/bits/stl_multiset.h: Same.
2343         * include/bits/stl_algo.h: Same.
2344         * include/bits/stl_iterator.h: Same.
2345         * include/bits/stl_tempbuf.h: Same.
2346         * include/bits/stl_construct.h: Same.
2347         * include/bits/stl_relops.h: Same.
2348         * include/tr1/tuple: Same.
2349         * include/backward/auto_ptr.h: Same.
2350
2351         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2352         Fixups for line number changes.
2353         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
2354         * testsuite/23_containers/vector/requirements/dr438/
2355         constructor_1_neg.cc: Same.
2356         * testsuite/23_containers/vector/requirements/dr438/
2357         constructor_2_neg.cc: Same.
2358         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
2359         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
2360         * testsuite/23_containers/deque/requirements/dr438/
2361         constructor_1_neg.cc: Same.
2362         * testsuite/23_containers/deque/requirements/dr438/
2363         constructor_2_neg.cc: Same.
2364         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
2365         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
2366         * testsuite/23_containers/list/requirements/dr438/
2367         constructor_1_neg.cc: Same.
2368         * testsuite/23_containers/list/requirements/dr438/
2369         constructor_2_neg.cc: Same.
2370         * testsuite/20_util/auto_ptr/assign_neg.cc: Same.
2371
2372         * aclocal.m4: Regenerate.
2373         * config.h.in: Regenerate.
2374         * configure: Regenerate.
2375         * Makefile.in: Regenerate.
2376         * src/Makefile.in: Regenerate.
2377         * po/Makefile.in: Regenerate.
2378         * libmath/Makefile.in: Regenerate.
2379         * include/Makefile.in: Regenerate.
2380         * libsupc++/Makefile.in: Regenerate.
2381         * testsuite/Makefile.in: Regenerate.
2382
2383         * scripts/make_graphs.py: Correct paths for new layout.
2384
2385 2008-01-17  Benjamin Kosnik  <bkoz@redhat.com>
2386
2387         * acinclude.m4 (AC_LC_MESSAGES): Remove serial.
2388         * linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
2389         * configure: Regenerate.
2390         * aclocal.m4: Regenerate.
2391
2392 2008-01-14  Paolo Carlini  <pcarlini@suse.de>
2393
2394         * include/parallel/list_partition.h: Formatting fixes, inline tweaks.
2395         * include/parallel/numeric: Likewise.
2396         * include/parallel/balanced_quicksort.h: Likewise.
2397         * include/parallel/unique_copy.h: Likewise.
2398         * include/parallel/algobase.h: Likewise.
2399         * include/parallel/algo.h: Likewise.
2400
2401 2008-01-14  Seongbae Park <seongbae.park@gmail.com>
2402
2403         * crossconfig.m4: Add missing header checks, C99 TR1 check,
2404         and sigsetjmp check.
2405
2406 2008-01-14  Paolo Carlini  <pcarlini@suse.de>
2407
2408         * include/parallel/tree.h: Remove.
2409         * include/Makefile.am: Update.
2410         * include/Makefile.in: Rebuild.
2411
2412         * src/Makefile.am: Remove spurious trailing backslash.
2413         * src/Makefile.in: Rebuild.
2414         * po/Makefile.in: Likewise.
2415         * libmath/Makefile.in: Likewise.
2416         * testsuite/Makefile.in: Likewise.
2417         * libsupc++/Makefile.in: Likewise.
2418         * aclocal.m4: Likewise.
2419         * Makefile.in: Likewise.
2420         * configure: Likewise.
2421
2422 2008-01-12  Paolo Carlini  <pcarlini@suse.de>
2423
2424         PR libstdc++/34730
2425         * include/debug/functions.h (__check_sorted_set,
2426         __check_sorted_set_aux): Add.
2427         (__check_sorted): Check StrictWeakOrdering.
2428         * include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
2429         __glibcxx_check_strict_weak_ordering_pred): Remove.
2430         (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
2431         (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
2432         * include/debug/debug.h (__glibcxx_requires_sorted_set,
2433         __glibcxx_requires_sorted_set_pred): Add.
2434         * include/bits/stl_algo.h (merge, includes, set_union,
2435         set_intersection, set_difference, set_symmetric_difference):
2436         Adjust, use __glibcxx_requires_sorted_set* instead.
2437         * testsuite/25_algorithms/set_intersection/34730.cc: New.
2438
2439 2008-01-09  Paolo Carlini  <pcarlini@suse.de>
2440
2441         * include/parallel/multiway_merge.h: Reformat to 80 columns;
2442         adjust some inline specifiers; other minor style fixes.
2443         * include/parallel/losertree.h: Likewise.
2444         * include/parallel/list_partition.h: Likewise.
2445         * include/parallel/multiseq_selection.h: Likewise.
2446         * include/parallel/workstealing.h: Likewise.
2447         * include/parallel/base.h: Likewise.
2448         * include/parallel/par_loop.h: Likewise.
2449         * include/parallel/numeric: Likewise.
2450         * include/parallel/quicksort.h: Likewise.
2451         * include/parallel/algorithmfwd.h: Likewise.
2452         * include/parallel/for_each_selectors.h: Likewise.
2453         * include/parallel/omp_loop_static.h: Likewise.
2454         * include/parallel/random_shuffle.h: Likewise.
2455         * include/parallel/balanced_quicksort.h: Likewise.
2456         * include/parallel/set_operations.h: Likewise.
2457         * include/parallel/tree.h: Likewise.
2458         * include/parallel/merge.h: Likewise.
2459         * include/parallel/unique_copy.h: Likewise.
2460         * include/parallel/settings.h: Likewise.
2461         * include/parallel/multiway_mergesort.h: Likewise.
2462         * include/parallel/numericfwd.h: Likewise.
2463         * include/parallel/search.h: Likewise.
2464         * include/parallel/partition.h: Likewise.
2465         * include/parallel/compatibility.h: Likewise.
2466         * include/parallel/partial_sum.h: Likewise.
2467         * include/parallel/find.h: Likewise.
2468         * include/parallel/algo.h: Likewise.
2469         * include/parallel/queue.h: Likewise.
2470         * include/parallel/omp_loop.h: Likewise.
2471         * include/parallel/sort.h: Likewise.
2472         * include/parallel/random_number.h: Likewise.
2473
2474 2008-01-09  Benjamin Kosnik  <bkoz@redhat.com>
2475
2476         * docs/html/17_intro/api.html: Fix markup for rope.h.
2477
2478 2008-01-09  Paolo Carlini  <pcarlini@suse.de>
2479
2480         * include/parallel/iterator.h: Reformat to 80 columns; adjust some
2481         inline specifiers.
2482         * include/parallel/find_selectors.h: Likewise.
2483         * include/parallel/losertree.h: Likewise.
2484         * include/parallel/list_partition.h: Likewise.
2485         * include/parallel/for_each.h: Likewise.
2486         * include/parallel/multiseq_selection.h: Likewise.
2487         * include/parallel/algorithmfwd.h: Likewise.
2488         * include/parallel/for_each_selectors.h: Likewise.
2489         * include/parallel/balanced_quicksort.h: Likewise.
2490         * include/parallel/merge.h: Likewise.
2491         * include/parallel/algobase.h: Likewise.
2492         * include/parallel/find.h: Likewise.
2493         * include/parallel/algo.h: Likewise.
2494         * include/parallel/checkers.h: Likewise.
2495
2496 2008-01-09  Francesco Biscani  <bluescarni@gmail.com>
2497
2498         * include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
2499         of __detail::_Map_base<>.
2500
2501 2008-01-08  Paolo Carlini  <pcarlini@suse.de>
2502
2503         * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
2504         not include <cassert>.
2505         * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
2506         Likewise.
2507         * testsuite/util/testsuite_common_types.h: Include <algorithm>.
2508
2509 2008-01-08  Jakub Jelinek  <jakub@redhat.com>
2510
2511         * configure.ac (--enable-linux-futex): Add new configure option.
2512         (HAVE_LINUX_FUTEX): New AC_DEFINE.
2513         * Makefile.in: Rebuilt.
2514         * aclocal.m4: Rebuilt.
2515         * configure: Rebuilt.
2516         * config.h.in: Rebuilt.
2517         * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
2518         _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
2519         * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
2520         _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
2521         * libsupc++/guard.cc: Include climits and syscall.h.
2522         (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
2523         are supported.
2524         (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
2525         (__guard_test_bit): New static inline.
2526         (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
2527         atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
2528
2529 2008-01-07  Paolo Carlini  <pcarlini@suse.de>
2530
2531         PR libstdc++/34680
2532         * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
2533         use dynamic_cast when run-time type identification is disabled; do
2534         not mark inline; only declare, define...
2535         * include/bits/locale_classes.tcc: ... here.
2536
2537 2008-01-06  Ted Phelps  <phelps@gnusto.com>
2538
2539         PR c++/34152
2540         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
2541         _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
2542
2543 2008-01-01  Paolo Carlini  <pcarlini@suse.de>
2544
2545         PR libstdc++/34095
2546         * include/parallel/multiway_merge.h (multiway_merge_bubble,
2547         parallel_multiway_merge): Together with ::operator new use
2548         ::operator delete.
2549         * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise.
2550         * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise.
2551         * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu,
2552         sequential_random_shuffle): Likewise.
2553         * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction):
2554         Likewise.
2555         * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu,
2556         parallel_sort_mwms): Likewise.
2557         * include/parallel/partial_sum.h (parallel_partial_sum_linear):
2558         Likewise.
2559         * testsuite/25_algorithms/sort/34095.cc: New.
2560
2561 2008-01-01  Paolo Carlini  <pcarlini@suse.de>
2562
2563         * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year.
2564
2565 2008-01-01  Paolo Carlini  <pcarlini@suse.de>
2566
2567         PR libstdc++/34636
2568         * include/parallel/algobase.h (lexicographical_compare_switch(...,
2569         random_access_iterator_tag, random_access_iterator_tag)): Careful
2570         with undereferenceable iterators.
2571         * testsuite/25_algorithms/sort/34636.cc: New.