OSDN Git Service

359215df6f1959b589ca55a63b69a3424bc50c6f
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2008-09-30  Paolo Carlini  <paolo.carlini@oracle.com>
2
3         PR libstdc++/30085 (again)
4         * include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
5         Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
6         unordered_map / unordered_multimap; add missing member functions.
7         * include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
8         Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
9         * include/debug/safe_association.h: Remove.
10         * include/Makefile.am: Adjust.
11         * include/Makefile.in: Regenerate.
12         * testsuite/23_containers/unordered_multimap/init-list.cc: Remove
13         xfail.
14
15 2008-09-28  Paolo Carlini  <paolo.carlini@oracle.com>
16
17         * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
18         void reset(U)): Add as deleted function, per DR 821 [Ready].
19         * include/bits/unique_ptr.h: Prefer everywhere deleted to private
20         member function declarations; minor formatting tweaks.
21         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
22         * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
23         directives.
24
25 2008-09-28  Chris Fairles  <cfairles@gcc.gnu.org>
26
27         * include/std/mutex (try_lock): Implement generic try_lock.
28         * testsuite/30_threads/try_lock/1.cc: New.
29         * testsuite/30_threads/try_lock/2.cc: Likewise.
30         * testsuite/30_threads/try_lock/3.cc: Likewise.
31         * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
32         * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
33         * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
34         * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
35         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
36         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
37         * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
38         Likewise.
39         * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
40         
41 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
42             Steve Ellcey  <sje@cup.hp.com>
43
44         * configure: Regenerate for new libtool.
45         * aclocal.m4: Ditto.
46         * Makefile.in: Ditto.
47         * src/Makefile.in: Ditto.
48         * doc/Makefile.in: Ditto.
49         * po/Makefile.in: Ditto.
50         * libmath/Makefile.in: Ditto.
51         * include/Makefile.in: Ditto.
52         * libsupc++/Makefile.in: Ditto.
53         * testsuite/Makefile.in: Ditto.
54
55 2008-09-24  Paolo Carlini  <paolo.carlini@oracle.com>
56
57         * include/std/bitset: Adjust comment to reflect DR 853.
58         * include/debug/bitset: Likewise.
59         * doc/xml/manual/intro.xml: Add an entry for DR 853.
60
61 2008-09-23  Paolo Carlini  <paolo.carlini@oracle.com>
62
63         Implement DR 396 [Ready].
64         * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
65         size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
66         char, char), bitset<>::to_string(_CharT, _CharT),
67         bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
68         size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
69         (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
70         const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
71         (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
72         std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
73         * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
74         size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
75         char, char), bitset<>::to_string(_CharT, _CharT)): Add.
76         * doc/xml/manual/intro.xml: Add an entry for DR 396.
77         * testsuite/23_containers/bitset/cons/dr396.cc: Add.
78         * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
79
80 2008-09-23  Chris Fairles  <cfairles@gcc.gnu.org>
81
82         * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
83         * testsuite/25_algorithms/max/37547.cc: Likewise.
84         * testsuite/25_algorithms/minmax/37547.cc: Likewise.
85
86 2008-09-23  Chris Fairles  <cfairles@gcc.gnu.org>
87
88         * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
89         typedef monotonic_clock to system_clock and instead declare new class.
90         * src/chrono.cc: Conditionally define monotonic_clock::now().
91         * include/std/condition_variable (wait_until): Throw exception if
92         __gthread_cond_timedwait returns with error other than timed_out. Use
93         system_clock as known clock type (__clock_t) and add overloads for known
94         and unknown clocks. In the unknown case, sync to the known clock.
95         Implement overload taking a predicate.
96         (wait_for): Implement overload taking a predicate.
97         * config/abi/pre/gnu.ver: Add exports for monotonic_clock.
98         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
99         line numbers.
100         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
101         Likewise.
102         * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
103         * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
104         * testsuite/30_threads/condition_variable/member/1.cc: New.
105         * testsuite/30_threads/condition_variable/member/2.cc: Likewise.
106
107 2008-09-23  Paolo Carlini  <paolo.carlini@oracle.com>
108
109         PR libstdc++/37624
110         * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case
111         when strtold is not available.
112         * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
113
114 2008-09-23  Benjamin Kosnik  <bkoz@redhat.com>
115
116         PR libstdc++/37391 continued.
117         * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag,
118         specify full path for source file links.
119         * doc/html/ext/pb_ds/pq_examples.html: Same.
120
121 2008-09-23  Paolo Carlini  <paolo.carlini@oracle.com>
122
123         * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const
124         by value parameters.
125         * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise.
126
127 2008-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
128
129         PR libstdc++/32422, DR 23 [Ready in R60]
130         * config/locale/gnu/c_locale.cc (__convert_to_v(const char*, float&,
131         ios_base::iostate&, const __c_locale&), __convert_to_v(const char*,
132         double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
133         char*, long double&, ios_base::iostate&, const __c_locale&)): Implement
134         DR 23 and deal correctly with broken exponents.
135         * config/locale/generic/c_locale.cc (__convert_to_v(const char*,
136         float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
137         char*, double&, ios_base::iostate&, const __c_locale&),
138         __convert_to_v(const char*, long double&, ios_base::iostate&, const
139         __c_locale&)): Likewise.
140         * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
141         _InIter, ios_base&, ios_base::iostate&, _ValueT&)): Likewise.
142         (num_get<>::_M_extract_float(_InIter, _InIter, ios_base&,
143         ios_base::iostate&, string&): Change grouping check to set instead of
144         OR failbit; do not check for eofbit here...
145         (num_get<>::do_get(iter_type, iter_type, ios_base&,
146         ios_base::iostate&, float&), num_get<>::do_get(iter_type, iter_type,
147         ios_base&, ios_base::iostate&, double&), num_get<>::do_get(iter_type,
148         iter_type, ios_base&, ios_base::iostate&, long double&),
149         num_get<>::__do_get(iter_type, iter_type, ios_base&,
150         ios_base::iostate&, double&)): ... do it here instead.
151         (num_get<>::do_get(iter_type, iter_type, ios_base&,
152         ios_base::iostate&, bool&)): Implement DR 23.
153         (num_get<>::do_get(iter_type, iter_type, ios_base&,
154         ios_base::iostate&, void*&)): Adjust.
155         * doc/xml/manual/intro.xml: Add and entry for DR 23.
156         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
157         Adjust.
158         * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
159         Likewise.
160         * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
161         * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
162         * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
163         * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
164         * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
165         * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
166         * testsuite/22_locale/num_get/get/char/10.cc: Likewise.
167         * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
168         * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
169         * testsuite/22_locale/num_get/get/char/16.cc: Likewise.
170
171 2008-09-22  Benjamin Kosnik  <bkoz@redhat.com>
172
173         PR libstdc++/37391
174         * doc/html/ext/pb_ds/*.html: Fix external links.
175
176 2008-09-22  Benjamin Kosnik  <bkoz@redhat.com>
177
178         * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex,
179         condition_variable, and thread output.
180
181 2008-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
182
183         * doc/html/ext/lwg-closed.html: Update to Revision R59.
184         * doc/html/ext/lwg-active.html: Likewise.
185         * doc/html/ext/lwg-defects.html: Likewise.
186         * doc/xml/manual/intro.xml: Adjust.
187
188 2008-09-21  Paolo Carlini  <paolo.carlini@oracle.com>
189
190         * include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair,
191         consistently with the other overload for initializer_list.
192
193 2008-09-19  Johannes Singler  <singler@ira.uka.de>
194
195         PR libstdc++/37470
196         * include/parallel/base.h: Rename log2 to __log2.
197           (__log2) Avoid infinite loop for n <= 0, return 0.
198         * include/parallel/losertree.h: Rename log2 to __log2.
199         * include/parallel/multiseq_selection.h: Likewise.
200         * include/parallel/random_shuffle.h: Likewise.
201
202 2008-09-18  Paolo Carlini  <paolo.carlini@oracle.com>
203
204         * include/bits/shared_ptr.h (__shared_count<>::
205         __shared_count(_Ptr, _Deleter), __shared_count<>::
206         __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>::
207         __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)):
208         Qualify new with ::.
209
210 2008-09-17  Paolo Carlini  <paolo.carlini@oracle.com>
211
212         PR libstdc++/37547
213         * include/bits/stl_algo.h (min(initializer_list<>),
214         min(initializer_list<>, Compare), max(initializer_list<>),
215         max(initializer_list<>, Compare), minmax(initializer_list<>),
216         minmax(initializer_list<>, Compare)): Fix return type.
217         * include/bits/algorithmfwd.h: Adjust.
218         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
219         * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
220         Likewise.
221         * testsuite/25_algorithms/max/requirements/explicit_instantiation/
222         pod2.cc: Likewise.
223         * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
224         Likewise.
225         * testsuite/25_algorithms/min/requirements/explicit_instantiation/
226         pod2.cc: Likewise.
227         * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
228         3.cc: Likewise.
229         * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
230         pod2.cc: Likewise.
231         * testsuite/25_algorithms/max/37547.cc: New.
232         * testsuite/25_algorithms/min/37547.cc: Likewise.
233         * testsuite/25_algorithms/minmax/37547.cc: Likewise.
234
235 2008-09-16  Chris Fairles  <chris.fairles@gmail.com>
236
237         * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
238         New.
239         * testsuite/25_algorithms/min/requirements/explicit_instantiation/
240         pod2.cc: Likewise.
241         * testsuite/25_algorithms/min/3.cc: Likewise.
242         * testsuite/25_algorithms/min/4.cc: Likewise.
243         * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
244         Likewise.
245         * testsuite/25_algorithms/max/requirements/explicit_instantiation/
246         pod2.cc: Likewise.
247         * testsuite/25_algorithms/max/3.cc: Likewise.
248         * testsuite/25_algorithms/max/4.cc: Likewise.
249         * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
250         3.cc: Likewise.
251         * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
252         pod2.cc: Likewise.
253         * testsuite/25_algorithms/minmax/2.cc: Likewise.
254         * testsuite/25_algorithms/minmax/3.cc: Likewise.
255
256 2008-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
257
258         * include/bits/stl_algo.h (min(initializer_list<>),
259         min(initializer_list<>, Compare), max(initializer_list<>),
260         max(initializer_list<>, Compare), minmax(initializer_list<>),
261         minmax(initializer_list<>, Compare)): Add in C++0x mode.
262         * include/bits/algorithmfwd.h: Add.
263         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
264
265 2008-09-13  Chris Fairles  <chris.fairles@gmail.com>
266
267         * testsuite/30_threads/thread/algorithm/1.cc: Join thread before
268         program exits.
269         * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
270         * testsuite/30_threads/thread/this_thread/3.cc: Define test variable.
271         * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
272
273 2008-09-12  Chris Fairles  <chris.fairles@gmail.com>
274             Benjamin Kosnik  <bkoz@redhat.com>
275
276         * include/std/thread: New.
277         * include/Makefile.am: Update.
278         * include/Makefile.in: Regenerate.
279         * src/thread.cc: New.
280         * src/Makefile.am: Update.
281         * src/Makefile.in: Regenerate.
282         * acinclude.m4: Add check for nanosleep.
283         * configure.ac: Call it.
284         * configure: Regenerate.
285         * config.h.in: Likewise.
286         * config/abi/pre/gnu.ver: Add exports.
287         * doc/doxygen/user.cfg.in: Add thread header.
288         * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add.
289         * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add.
290         * testsuite/30_threads/thread/cons/1.cc: New.
291         * testsuite/30_threads/thread/cons/2.cc: Likewise.
292         * testsuite/30_threads/thread/cons/3.cc: Likewise.
293         * testsuite/30_threads/thread/cons/4.cc: Likewise.
294         * testsuite/30_threads/thread/algorithm/1.cc: Likewise.
295         * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
296         * testsuite/30_threads/thread/member/1.cc: Likewise.
297         * testsuite/30_threads/thread/member/2.cc: Likewise.
298         * testsuite/30_threads/thread/member/3.cc: Likewise.
299         * testsuite/30_threads/thread/this_thread/1.cc: Likewise.
300         * testsuite/30_threads/thread/this_thread/2.cc: Likewise.
301         * testsuite/30_threads/thread/this_thread/3.cc: Likewise.
302         * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
303         * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise.
304         * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
305         * testsuite/17_intro/headers/c++200x/all.cc: Add thread.
306         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
307         Add thread, condition_variable and mutex.
308
309 2008-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
310
311         * src/ctype.cc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>):
312         Remove specializations.
313         * src/locale-inst.cc (use_facet<ctype<C> >): Instantiate.
314         * include/bits/locale_facets.tcc (use_facet<ctype<char> >,
315         use_facet<ctype<wchar_t>): Declare as extern template.
316         * include/bits/locale_facets.h (use_facet<ctype<char> >,
317         use_facet<ctype<wchar_t>): Do not declare as specializations.
318
319 2008-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
320
321         * config/locale/darwin/ctype_members.cc (ctype<char>::_M_narrow_init,
322         ctype<char>::_M_widen_init): Don't define here.
323         * config/locale/gnu/ctype_members.cc: Likewise.
324         * config/locale/generic/ctype_members.cc: Likewise.
325         * src/ctype.cc: Define here.
326
327 2008-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
328
329         PR libstdc++/37455
330         * include/bits/locale_facets.h (ctype<char>::_M_narrow_init,
331         ctype<char>::_M_widen_init): Don't define inline.
332         * config/locale/darwin/ctype_members.cc: ... define here.
333         * config/locale/gnu/ctype_members.cc: ... likewise.
334         * config/locale/generic/ctype_members.cc: ... likewise.
335         * config/abi/pre/gnu.ver: Export.
336
337 2008-09-09  Benjamin Kosnik  <bkoz@redhat.com>
338
339         * doc/xml/manual/abi.xml: Update for new releases.
340         * doc/doxygen/user.cfg.in: Include C compatibility headers.
341         * doc/html/*: Regenerate.
342
343 2008-09-09  Paolo Carlini  <paolo.carlini@oracle.com>
344
345         * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACROS after
346         inclusion of <inttypes.h>.
347         * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and
348         __STDC_CONSTANT_MACROS after <stdint.h>.
349         * include/bits/postypes.h: Likewise.
350
351 2008-09-09  Andreas Schwab  <schwab@suse.de>
352
353         * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Fix compile check
354         not to redefine main.
355
356 2008-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
357
358         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and
359         wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
360         * include/tr1_impl/cinttypes: Use the latter.
361         * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
362         * configure: Regenerate.
363         * config.h.in: Likewise.
364
365 2008-09-05  Peter Dimov  <pdimov@mmltd.net>
366
367         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New.
368
369 2008-09-05  Paolo Carlini  <paolo.carlini@oracle.com>
370
371         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename
372         to...
373         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ...
374         this.
375
376 2008-09-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
377
378         PR libstdc++/36962
379         * include/Makefile.am: Update headers.
380         * include/Makefile.in: Regenerate.
381         * include/std/memory: Update headers.
382         * include/tr1/memory: Likewise.
383         * include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
384         separate implementations for std and tr1.
385         * include/bits/boost_sp_shared_count.h: Remove.
386         * include/tr1/boost_sp_shared_count.h: Remove.
387         * include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
388         and boost_shared_ptr.h into one file.
389         (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
390         and rvalue-reference support as per current WP.
391         * include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
392         and boost_shared_ptr.h into one file.
393         * testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
394         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
395         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
396         * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
397         * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
398         * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
399         * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
400         * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
401         * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.
402
403 2008-09-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
404
405         * doc/xml/manual/locale.xml: Fix typo.
406
407 2008-09-04  Paolo Carlini  <paolo.carlini@oracle.com>
408
409         * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Tidy checks in case of
410         POSIX threads.
411         * configure: Regenerate.
412
413 2008-09-04  Chris Fairles  <chris.fairles@gmail.com>
414
415         * include/std/mutex (once_flag): Construct __gthread_once_t in a
416         temporary variable before assigning to _M_once to avoid initialization
417         errors.
418
419 2008-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
420
421         * config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten
422         GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS).
423
424         * Makefile.in: Regenerate.
425         * src/Makefile.in: Likewise.
426         * doc/Makefile.in: Likewise.
427         * po/Makefile.in: Likewise.
428         * libmath/Makefile.in: Likewise.
429         * include/Makefile.in: Likewise.
430         * libsupc++/Makefile.in: Likewise.
431         * testsuite/Makefile.in: Likewise.
432
433 2008-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
434
435         * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
436         check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
437         * configure: Regenerate.
438
439 2008-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
440
441         * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
442         * configure: Regenerate.
443
444 2008-09-03  Chris Fairles  <chris.fairles@gmail.com>
445
446         * include/std/condition_variable: Use new deleted ctors.
447         * include/std/mutex: Likewise plus implement timed_mutex,
448         recursive_timed_mutex and call_once.
449         * src/condition_variable.cc: Implement wait(). Use gthread types.
450         Remove _GTHREADS_HAS_COND checks in favor of global
451         _GLIBCXX_HAS_GTHREADS.
452         * src/mutex.cc (call_once): Implementation using TLS with mutex
453         fallback.
454         * config/abi/pre/gnu.ver: Add exported symbols.
455         * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New.
456         * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise.
457         * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use
458         dg-require-gthreads and dg-require-cstdint.
459         * testsuite/30_threads/lock_guard/requirements/
460         explicit_instantiation.cc: Likewise.
461         * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
462         * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
463         * testsuite/30_threads/mutex/cons/1.cc: Likewise.
464         * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise.
465         * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
466         * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
467         * testsuite/30_threads/mutex/lock/1.cc: Likewise.
468         * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
469         * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
470         Likewise.
471         * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
472         * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
473         * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc:
474         Likewise.
475         * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
476         * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
477         * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
478         * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
479         * testsuite/30_threads/unique_lock/requirements/
480         explicit_instantiation.cc: Likewise.
481         * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise.
482         * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error
483         lines for deleted members.
484         * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
485         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
486         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
487         * testsuite/30_threads/call_once/once_flag.cc: New.
488         * testsuite/30_threads/call_once/call_once1.cc: Likewise.
489         * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
490         * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise
491         * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
492         * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
493         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
494         Likewise.
495         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
496         Likewise.
497         * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
498         * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
499         * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
500         * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
501         * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
502         * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
503         * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
504         * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise.
505         * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
506         * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
507         * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
508         * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
509         * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
510         * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
511         * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
512         * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
513         Likewise.
514         * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
515         Likewise.
516         * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
517         Likewise.
518         * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
519         Likewise.
520         * testsuite/30_threads/recursive_timed_mutex/cons: Likewise.
521         * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
522         Likewise.
523         * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
524         * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
525         Likewise.
526         * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc:
527         Likewise.
528         * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
529         * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
530         * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
531         * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
532         * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
533         * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
534         Likewise.
535         * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
536         Likewise.
537         * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
538         Likewise.
539         * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
540         * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
541         * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
542         * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
543         * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
544         * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
545         * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
546         * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
547         * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
548         * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
549         * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
550         * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
551
552 2008-09-01  Mark Mitchell  <mark@codesourcery.com>
553
554         * include/std/type_traits (__make_unsigned_selector<>): Consider
555         enums of size smaller than short.
556         (__make_signed_selector<>): Likewise.
557         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
558         Adjust line numbers.
559         * testsuite/20_util/make_usigned/requirements/typedefs_neg.cc:
560         Adjust line numbers.
561         * testsuite/20_util/make_signed/requirements/typedefs-2.cc:
562         Ensure test_enum is the same size as short.
563         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
564         Ensure test_enum is the same size as short.
565
566 2008-08-31  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
567
568         * acinclude.m4 <enable_symvers>: Don't use symvers on Windows.
569         * configure: Regenerated.
570         * Makefile.in: Regenerated.
571         * src/Makefile.in: Regenerated.
572         * doc/Makefile.in: Regenerated.
573         * po/Makefile.in: Regenerated.
574         * libmath/Makefile.in: Regenerated.
575         * include/Makefile.in: Regenerated.
576         * libsupc++/Makefile.in: Regenerated.
577         * testsuite/Makefile.in: Regenerated.
578
579 2008-08-29  Mark Mitchell  <mark@codesourcery.com>
580
581         * testsuite/25_algorithms/nth_element/2.cc: Constrain iterations
582         when testing on a simultor.
583
584 2008-08-28  Paolo Carlini  <paolo.carlini@oracle.com>
585
586         * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
587         Rename to .../typedefs.cc.
588         * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
589         Likewise.
590         * testsuite/tr1/6_containers/unordered_multiset/requirements/
591         typedef.cc: Likewise.
592         * testsuite/tr1/6_containers/unordered_multimap/requirements/
593         typedef.cc: Likewise.
594         * testsuite/23_containers/unordered_set/requirements/typedef.cc:
595         Likewise.
596         * testsuite/23_containers/unordered_map/requirements/typedef.cc:
597         Likewise.
598         * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
599         Likewise.
600         * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
601         Likewise.
602
603 2008-08-28  Chris Fairles  <chris.fairles@gmail.com>
604
605         * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): New. Checks for gthread
606         support used by c++0x thread library.
607         * configure.ac: Test unconditionally.
608         * configure: Regenerate.
609         * config.h.in: Regenerate.
610
611 2008-08-27  Benjamin Kosnik  <bkoz@redhat.com>
612
613         * doc/Makefile.am: Edit xml file list.
614         * doc/Makefile.in: Regenerate.
615         * configure: Regenerate.
616         * doc/xml/manual/intro.xml: Edit, correct links, structure.
617         * doc/xml/manual/configure.xml: Same.
618         * doc/xml/manual/debug.xml: Same.
619         * doc/xml/manual/test.xml: Same.
620         * doc/xml/manual/build.xml: Remove.
621         * doc/xml/manual/prerequisites.xml: Add.
622         * doc/html/*: Regenerate.
623
624 2008-08-27  Paolo Carlini  <paolo.carlini@oracle.com>
625
626         * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and
627         const_pointer typedefs.
628         * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
629         Add.
630         * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
631         Likewise.
632         * testsuite/tr1/6_containers/unordered_multiset/requirements/
633         typedef.cc: Likewise.
634         * testsuite/tr1/6_containers/unordered_multimap/requirements/
635         typedef.cc: Likewise.
636         * testsuite/23_containers/unordered_set/requirements/typedef.cc:
637         Likewise.
638         * testsuite/23_containers/unordered_map/requirements/typedef.cc:
639         Likewise.
640         * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
641         Likewise.
642         * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
643         Likewise.
644
645 2008-08-27  Paul Brook  <paul@codesourcery.com>
646
647         * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
648         __get_object_from_ambiguous_exception.
649
650 2008-08-26  Ben Elliston  <bje@au.ibm.com>
651
652         * src/mt_allocator.cc (__pool): Fix error in comment.
653
654 2008-08-25  Paolo Carlini  <paolo.carlini@oracle.com>
655
656         * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1],
657         [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove
658         * configure.ac: Do not call the latter.
659         * crossconfig.m4: Likewise.
660         * libmath/mathconf.h: Adjust.
661         * configure: Regenerate.
662         * config.h.in: Likewise.
663
664 2008-08-24  Paolo Carlini  <paolo.carlini@oracle.com>
665
666         * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use
667         two test -r instead of an AC_TRY_RUN.
668         * configure: Regenerate.
669         * config.h.in: Likewise.
670
671 2008-08-24  Paolo Carlini  <paolo.carlini@oracle.com>
672
673         * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation.
674         * doc/xml/manual/configure.xml: Likewise.
675
676 2008-08-23  Paolo Carlini  <paolo.carlini@oracle.com>
677
678         * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in
679         GLIBCXX_ENABLE.
680         * configure: Regenerate.
681
682 2008-08-23  Paolo Carlini  <paolo.carlini@oracle.com>
683
684         * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use
685         GCC_TRY_COMPILE_OR_LINK.
686         ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to
687         [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option,
688         [no] by default, since it includes TRY_LINK checks.  librt is also
689         searched, if requested.
690         * doc/xml/manual/configure.xml: Document the latter.
691         * configure.ac: Move the above checks outside native-only.
692         * configure: Regenerate.
693
694 2008-08-23  Paolo Carlini  <paolo.carlini@oracle.com>
695
696         * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
697         * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
698         * testsuite/18_support/exception_ptr/current_exception.cc: Use it.
699         * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
700         * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
701
702 2008-08-23  Sebastian Redl <sebastian.redl@getdesigned.at>
703
704         Add (again) exception propagation support as per N2179.  Feature is
705         available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
706         * libsupc++/exception_ptr.h (exception_ptr, current_exception,
707         copy_exception, rethrow_exception): New file, implement exception
708         propagation.
709         * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
710         rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
711         * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
712         (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
713         __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
714         __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
715         __gxx_dependent_exception_class, __get_object_from_ue,
716         __get_object_from_ambiguous_exception): Add.
717         (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
718         (__is_gxx_exception_class): Handle dependent exceptions.
719         * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
720         * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
721         * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
722         * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
723         * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
724         __cxa_free_dependent_exception): Add.
725         * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
726         counting.
727         * libsupc++/exception: Conditionally include exception_ptr.h.
728         * libsupc++/Makefile.am: Register new files.
729         * libsupc++/Makefile.in: Regenerate.
730         * config/abi/pre/gnu.ver: Add new symbols.
731         * testsuite/18_support/exception_ptr/current_exception.cc: Test the
732         core functionality of current_exception().
733         * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
734         core functionality of rethrow_exception().
735         * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
736         exception objects during exception propagation.
737
738 2008-08-22  Paolo Carlini  <paolo.carlini@oracle.com>
739
740         Revert again the N2179 patch.
741
742 2008-08-21  Sebastian Redl <sebastian.redl@getdesigned.at>
743
744         * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
745         __cxa_free_dependent_exception.
746
747 2008-08-20  Paolo Carlini  <paolo.carlini@oracle.com>
748
749         * include/bits/char_traits.h (char_traits<char16_t>::
750         assign(char_type*, size_t, char_type), char_traits<char32_t>::
751         assign(char_type*, size_t, char_type)): For now, just open-code.
752
753 2008-08-20  Paolo Carlini  <paolo.carlini@oracle.com>
754
755         PR c++/33979 (partial)
756         * include/bits/postypes.h (u16streampos, u32streampos): Add.
757         * include/bits/char_traits.h (char_traits<char16_t>,
758         char_traits<char32_t>): Add.
759         * include/bits/stringfwd.h (u16string, u32string): Add.
760         * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t.
761         * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc:
762         New.
763         * testsuite/21_strings/char_traits/requirements/
764         explicit_instantiation/short/1.cc: Likewise.
765         * testsuite/21_strings/char_traits/requirements/
766         explicit_instantiation/char32_t/1.cc: Likewise.
767         * testsuite/21_strings/char_traits/requirements/
768         explicit_instantiation/wchar_t/1.cc: Likewise.
769         * testsuite/21_strings/char_traits/requirements/
770         explicit_instantiation/char16_t/1.cc: Likewise.
771         * testsuite/21_strings/char_traits/requirements/
772         explicit_instantiation/char/1.cc: Likewise.
773         * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc:
774         Likewise.
775         * testsuite/21_strings/basic_string/requirements/
776         explicit_instantiation/char32_t/1.cc: Likewise.
777         * testsuite/21_strings/basic_string/requirements/
778         explicit_instantiation/wchar_t/1.cc: Likewise.
779         * testsuite/21_strings/basic_string/requirements/
780         explicit_instantiation/char16_t/1.cc: Likewise.
781         * testsuite/21_strings/basic_string/requirements/
782         explicit_instantiation/char/1.cc: Likewise.
783         * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise.
784         * testsuite/ext/vstring/requirements/explicit_instantiation/
785         char32_t/1.cc: Likewise.
786         * testsuite/ext/vstring/requirements/explicit_instantiation/
787         char16_t/1.cc: Likewise.
788
789 2008-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
790
791         PR libstdc++/37149
792         * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
793         <cstdio>.
794         * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
795         Likewise.
796         * testsuite/27_io/objects/char/12048-1.cc: Likewise.
797         * testsuite/27_io/objects/char/12048-3.cc: Likewise.
798         * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
799         * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
800         * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
801         * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
802         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
803         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
804         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
805         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
806         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
807         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
808         * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
809         * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
810         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
811         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
812         * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
813         * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
814         * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
815         * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
816         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
817         * include/std/regex: Include <sstream>.
818         * include/tr1/regex: Likewise.
819
820 2008-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
821
822         * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
823         newlib.
824         * configure: Regenerate.
825
826 2008-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
827
828         PR libstdc++/37147
829         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h,
830         check the macros too.
831         * configure: Regenerate.
832
833 2008-08-17  Paolo Carlini  <paolo.carlini@oracle.com>
834
835         * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of
836         AC_TRY_LINK.
837         * configure.ac: Run unconditionally AC_LC_MESSAGES.
838         * crossconfig.m4: Adjust.
839         * configure: Regenerate.
840
841 2008-08-17  Paolo Carlini  <paolo.carlini@oracle.com>
842
843         * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL],
844         [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]):
845         Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++,
846         with -fno-exceptions as flags.
847         * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS,
848         GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG,
849         GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS.
850         * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized
851         in configure.ac.
852         * configure: Regenerate.
853
854 2008-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
855
856         Re-instate last patch, amended to use __exchange_and_add_dispatch
857         and __atomic_add_dispatch in eh_ptr.cc and eh_throw.cc.
858
859 2008-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
860
861         Revert the last patch.
862
863 2008-08-13  Sebastian Redl <sebastian.redl@getdesigned.at>
864
865         Add exception propagation support as per N2179.
866         * libsupc++/exception_ptr.h (exception_ptr, current_exception,
867         copy_exception, rethrow_exception): New file, implement exception
868         propagation.
869         * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
870         rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
871         * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
872         (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
873         __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
874         __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
875         __gxx_dependent_exception_class, __get_object_from_ue,
876         __get_object_from_ambiguous_exception): Add.
877         (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
878         (__is_gxx_exception_class): Handle dependent exceptions.
879         * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
880         * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
881         * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
882         * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
883         * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
884         __cxa_free_dependent_exception): Add.
885         * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
886         counting.
887         * libsupc++/exception: Conditionally include exception_ptr.h.
888         * libsupc++/Makefile.am: Register new files.
889         * libsupc++/Makefile.in: Regenerate.
890         * config/abi/pre/gnu.ver: Add new symbols.
891         * testsuite/18_support/exception_ptr/current_exception.cc: Test the
892         core functionality of current_exception().
893         * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
894         core functionality of rethrow_exception().
895         * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
896         exception objects during exception propagation.
897
898 2008-08-12  Paolo Carlini  <paolo.carlini@oracle.com>
899
900         PR libstdc++/37100
901         * include/bits/stl_pair.h: Fix documentation URL in comment.
902
903 2008-08-12  Johannes Singler  <singler@ira.uka.de>
904
905         * include/paralle/losertree.h
906         (LoserTreePointerBase<>::~LoserTreePointerBase):
907         Replace delete by appropriate delete[].
908
909 2008-08-12  Paolo Carlini  <paolo.carlini@oracle.com>
910
911         * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and
912         GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused).
913         * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused).
914         * configure: Regenerate.
915         * config.h.in: Likewise.
916
917         * acinclude.m4: Minor formatting fixes.
918
919 2008-08-11  Stephen M. Webb  <stephenw@xandros.com>
920
921         * include/tr1_impl/regex: Formatting fixes.
922         * testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
923           New test.
924         * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
925           New test.
926
927 2008-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
928
929         * config/locale/generic/c_locale.cc: Include <cstdio>.
930
931 2008-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
932
933         * configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
934         * configure: Regenerate.
935
936 2008-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
937
938         * include/tr1_impl/type_traits (_DEFINE_SPEC*): Simplify.
939         (_DEFINE_SPEC_BODY): Remove.
940         (__is_void_helper, __is_integral_helper, __is_floating_point_helper,
941         __is_member_object_pointer_helper, __is_member_function_pointer_helper,
942         __remove_pointer_helper): Add.
943         (is_void, is_integral, is_floating_point, is_member_object_pointer,
944         is_member_function_pointer, remove_pointer): Use the latter.
945         * include/tr1/type_traits (_DEFINE_SPEC): Simplify.
946         (_DEFINE_SPEC_HELPER): Remove.
947         (__is_signed_helper, __is_unsigned_helper): Add.
948         (is_signed, is_unsigned): Use the latter.
949
950 2008-08-09  Paolo Carlini  <paolo.carlini@oracle.com>
951
952         Revert fix for libstdc++/35637, thanks to other/36901.
953         * include/tr1_impl/type_traits (__is_function_helper): New, uses
954         variadic templates.
955         (is_function): Forward to the latter.
956         (__in_array): Remove.
957
958 2008-08-09  Paolo Carlini  <paolo.carlini@oracle.com>
959
960         * config/locale/darwin/ctype_members.cc: Include <cstdio>.
961
962 2008-08-08  Paolo Carlini  <paolo.carlini@oracle.com>
963
964         * include/bits/ios_base.h: Undef _IOS_BASE_SEEK_CUR and
965         _IOS_BASE_SEEK_END at the end of the file.
966         * include/bits/char_traits.h: Likewise for _CHAR_TRAITS_EOF.
967
968 2008-08-07  Stephen M. Webb  <stephenw@xandros.com>
969
970         * include/tr1_impl/regex (match_results<>::cbegin, cend): Add, per
971         N2691 WD.
972
973 2008-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
974
975         * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): New, checks for
976         common values of EOF, SEEK_CUR, SEEK_END.
977         * configure.ac: Use it.
978         * include/bits/ios_base.h: Likewise.
979         * include/bits/char_traits.h: Likewise.
980         * config/locale/gnu/ctype_members.cc: Include <cstdio>.
981         * config/locale/generic/ctype_members.cc: Likewise.
982         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error lines.
983         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
984         * configure: Regenerate.
985         * config.h.in: Likewise.
986
987 2008-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
988
989         * acinclude.m4 ([GLIBCXX_CHECK_INT64_T]): Also check whether int64_t
990         is actually a typedef to long or long long.
991         * include/bits/postypes.h: If int64_t is actually a typedef for
992         long or long long don't include <stdint.h> unnecessarily.
993         * configure: Regenerate.
994         * config.h.in: Likewise.
995
996 2008-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
997
998         * testsuite/util/testsuite_api.h (diamond_derivation<>::test):
999         Expect ambiguity together with the standard exception classes.
1000         * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: Remove
1001         xfail.
1002         * testsuite/19_diagnostics/logic_error/cons_virtual_derivation.cc:
1003         Likewise.
1004         * testsuite/19_diagnostics/runtime_error/cons_virtual_derivation.cc:
1005         Likewise.
1006         * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
1007         Likewise.
1008         * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Likewise.
1009         * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Likewise.
1010         * testsuite/18_support/bad_exception/cons_virtual_derivation.cc:
1011         Likewise.
1012         * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc:
1013         Likewise.
1014         * testsuite/ext/concurrence_lock_error/cons_virtual_derivation.cc:
1015         Likewise.
1016         * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc:
1017         Likewise.
1018         * testsuite/ext/concurrence_unlock_error/cons_virtual_derivation.cc:
1019         Likewise.
1020         * testsuite/20_util/bad_function_call/cons_virtual_derivation.cc:
1021         Likewise.
1022
1023 2008-08-04  Paolo Carlini  <paolo.carlini@oracle.com>
1024
1025         * include/bits/postypes.h: Reinstate inclusion of <stdint.h>;
1026         also define the __STDC_* macros.
1027         (streamoff): Adjust.
1028
1029         * include/tr1_impl/cstdint: Check that the __STDC_* macros are
1030         not defined before defining.
1031
1032 2008-08-01  Paolo Bonzini  <bonzini@gnu.org>
1033             Chris Fairles  <chris.fairles@gmail.com>
1034
1035         * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Reinstate clock_gettime
1036         search, but only in libposix4, never link librt.
1037         * src/Makefile.am: Reinstate previous change to add GLIBCXX_LIBS.
1038         * configure: Regenerate.
1039         * configure.in: Likewise.
1040         * Makefile.in: Likewise.
1041         * src/Makefile.in: Likewise.
1042         * libsup++/Makefile.in: Likewise.
1043         * po/Makefile.in: Likewise.
1044         * doc/Makefile.in: Likewise.
1045
1046 2008-07-31  Chris Fairles <chris.fairles@gmail.com>
1047
1048         * include/std/chrono (duration): Use explicitly defaulted ctor, cctor,
1049         dtor and assignment. Add diagnostics as per 20.8.3 paragraphs 2, 3
1050         and 4 in WD. Other minor tweaks.
1051         * testsuite/20_util/duration/cons/1_neg.cc: Adjust line numbers.
1052         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: New.
1053         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
1054         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
1055
1056 2008-07-31  Paolo Carlini  <paolo.carlini@oracle.com>
1057
1058         * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp.
1059         (check_v3_target_parallel_mode): Robustify, just follow the
1060         structure of testsuite/Makefile.am.
1061
1062 2008-07-29  Paolo Carlini  <paolo.carlini@oracle.com>
1063
1064         * include/debug/set.h: Minor formatting fixes.
1065         * include/debug/multiset.h: Likewise.
1066         * include/debug/safe_association.h: Likewise.
1067         * include/debug/vector: Likewise.
1068         * include/debug/map.h: Likewise.
1069         * include/debug/string: Likewise.
1070         * include/debug/multimap.h: Likewise.
1071         * include/bits/stl_list.h: Likewise.
1072         * include/bits/stl_map.h: Likewise.
1073         * include/bits/stl_set.h: Likewise.
1074         * include/bits/stl_multimap.h: Likewise.
1075         * include/bits/stl_vector.h: Likewise.
1076         * include/bits/stl_multiset.h: Likewise.
1077         * include/bits/stl_bvector.h: Likewise.
1078
1079 2008-07-29  Paolo Carlini  <paolo.carlini@oracle.com>
1080
1081         * include/std/utility: Include <initializer_list>, per the current WP.
1082
1083         * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak,
1084         don't use -std=gnu++0x unnecessarily.
1085         * testsuite/18_support/numeric_limits/char16_32_t.cc: Use
1086         dg-require-cstdint.
1087         * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise.
1088         * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise.
1089
1090 2008-07-28  Paolo Carlini  <paolo.carlini@oracle.com>
1091
1092         PR libstdc++/36949
1093         * include/tr1_impl/boost_shared_ptr.h
1094         (__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
1095         __enable_shared_from_this_helper.
1096         * testsuite/20_util/shared_ptr/creation/36949.cc: New.
1097
1098 2008-07-24  Paolo Carlini  <paolo.carlini@oracle.com>
1099
1100         PR libstdc++/36924
1101         Revert:
1102         2008-07-23  Chris Fairles <chris.fairles@gmail.com>
1103
1104         * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
1105         Holds the lib that defines clock_gettime (-lrt or -lposix4).
1106         * src/Makefile.am: Use it.
1107         * configure: Regenerate.
1108         * configure.in: Likewise.
1109         * Makefile.in: Likewise.
1110         * src/Makefile.in: Likewise.
1111         * libsup++/Makefile.in: Likewise.
1112         * po/Makefile.in: Likewise.
1113         * doc/Makefile.in: Likewise.
1114
1115 2008-07-23  Chris Fairles <chris.fairles@gmail.com>
1116
1117         * include/std/condition_variable: Update to N2691 WD.
1118         * include/std/mutex: Likewise.
1119         * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
1120         * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1121         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1122         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1123
1124 2008-07-23  Chris Fairles <chris.fairles@gmail.com>
1125
1126         * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
1127         Holds the lib that defines clock_gettime (-lrt or -lposix4).
1128         * src/Makefile.am: Use it.
1129         * configure: Regenerate.
1130         * configure.in: Likewise.
1131         * Makefile.in: Likewise.
1132         * src/Makefile.in: Likewise.
1133         * libsup++/Makefile.in: Likewise.
1134         * po/Makefile.in: Likewise.
1135         * doc/Makefile.in: Likewise.
1136
1137 2008-07-22  Paolo Carlini  <paolo.carlini@oracle.com>
1138
1139         * include/ext/sso_string_base.h
1140         (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
1141         const _Alloc&)): Remove.
1142         * include/ext/rc_string_base.h
1143         (__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
1144         const _Alloc&)): Likewise.
1145         * include/ext/vstring.h
1146         (__versa_string<>::__versa_string(std::initializer_list<_CharT>,
1147         const _Alloc&)): Adjust.
1148
1149 2008-07-21  Jason Merrill  <jason@redhat.com>
1150
1151         Add initializer_list support as per N2679.
1152         * include/debug/unordered_map: Add initializer_list support.
1153         * include/debug/safe_association.h: Likewise.
1154         * include/debug/unordered_set: Likewise.
1155         * include/debug/vector: Likewise.
1156         * include/debug/deque: Likewise.
1157         * include/debug/map.h: Likewise.
1158         * include/debug/set.h: Likewise.
1159         * include/debug/string: Likewise.
1160         * include/debug/list: Likewise.
1161         * include/debug/multimap.h: Likewise.
1162         * include/tr1_impl/unordered_map: Likewise.
1163         * include/tr1_impl/hashtable: Likewise.
1164         * include/tr1_impl/unordered_set: Likewise.
1165         * include/tr1_impl/regex: Likewise.
1166         * include/std/valarray: Likewise.
1167         * include/std/unordered_map: Likewise.
1168         * include/std/unordered_set: Likewise.
1169         * include/bits/stl_list.h: Likewise.
1170         * include/bits/stl_map.h: Likewise.
1171         * include/bits/stl_set.h: Likewise.
1172         * include/bits/basic_string.h: Likewise.
1173         * include/bits/basic_string.tcc: Likewise.
1174         * include/bits/stl_multimap.h: Likewise.
1175         * include/bits/stl_vector.h: Likewise.
1176         * include/bits/stl_deque.h: Likewise.
1177         * include/bits/stl_multiset.h: Likewise.
1178         * include/bits/stl_bvector.h: Likewise.
1179         * include/ext/vstring.h: Likewise.
1180         * include/ext/rc_string_base.h: Likewise.
1181         * include/ext/sso_string_base.h: Likewise.
1182         * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
1183         * src/Makefile.in: Likewise.
1184         * config/abi/pre/gnu.ver: Add new w?string exports.
1185         * testsuite/21_strings/basic_string/init-list.cc: New test.
1186         * testsuite/23_containers/vector/init-list.cc: New test.
1187         * testsuite/23_containers/deque/init-list.cc: New test.
1188         * testsuite/23_containers/list/init-list.cc: New test.
1189         * testsuite/23_containers/map/init-list.cc: New test.
1190         * testsuite/23_containers/multimap/init-list.cc: New test.
1191         * testsuite/23_containers/set/init-list.cc: New test.
1192         * testsuite/23_containers/multiset/init-list.cc: New test.
1193         * testsuite/23_containers/unordered_map/init-list.cc: New test.
1194         * testsuite/23_containers/unordered_multimap/init-list.cc: New test.
1195         * testsuite/23_containers/unordered_set/init-list.cc: New test.
1196         * testsuite/23_containers/unordered_multiset/init-list.cc: New test.
1197         * testsuite/26_numerics/valarray/init-list.cc: New test.
1198         * testsuite/28_regex/init-list.cc: New test.
1199         * testsuite/ext/vstring/init-list.cc: New test.
1200         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1201         Update error lineno.
1202         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1203         Update error lineno.
1204         * testsuite/23_containers/vector/requirements/dr438/
1205         constructor_1_neg.cc: Update error lineno.
1206         * testsuite/23_containers/vector/requirements/dr438/
1207         constructor_2_neg.cc: Update error lineno.
1208         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1209         Update error lineno.
1210         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1211         Update error lineno.
1212         * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
1213         Update error lineno.
1214         * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
1215         Update error lineno.
1216         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1217         Update error lineno.
1218         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1219         Update error lineno.
1220         * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1221         Update error lineno.
1222         * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
1223         Update error lineno.
1224
1225 2008-07-21  Mark Mitchell  <mark@codesourcery.com>
1226
1227         * config/os/gnu-linux/arm-eabi-extra.ver: New file.
1228         * configure.host: Use it for arm*-*-linux-*eabi.
1229
1230 2008-07-19  Paolo Carlini  <paolo.carlini@oracle.com>
1231
1232         * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp
1233         (assert_node_consistent): Avoid ambiguous else warning.
1234
1235         * include/ext/pb_ds/detail/debug_map_base.hpp: Include <iostream>.
1236
1237         * include/bits/c++config: In debug-mode (and parallel-mode) set
1238         _GLIBCXX_EXTERN_TEMPLATE to -1, not 0, thus disabling extern
1239         templates only for basic_string (per libstdc++/21674).
1240         * include/bits/basic_string.tcc: Use extern templates when
1241         _GLIBCXX_EXTERN_TEMPLATE > 0.
1242
1243 2008-07-18  Kris Van Hees  <kris.van.hees@oracle.com>
1244             Holger Hopp  <holger.hopp@sap.com>
1245
1246         * config/abi/pre/gnu.ver: Support char16_t and char32_t.
1247         * testsuite/util/testsuite_abi.cc (check_version): Add
1248         CXXABI_1.3.3 to known_versions.
1249
1250 2008-07-16  Paolo Carlini  <paolo.carlini@oracle.com>
1251
1252         * include/debug/vector (insert(iterator, _Tp&&), push_back(_Tp&&)):
1253         Enable only when _Tp != bool.
1254
1255         * testsuite/25_algorithms/heap/1.cc: Avoid unused variable warnings.
1256
1257 2008-07-18  Paolo Carlini  <paolo.carlini@oracle.com>
1258
1259         * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
1260         variable warnings leading to spurious fails of the test.
1261
1262 2008-07-16  Paolo Carlini  <paolo.carlini@oracle.com>
1263
1264         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
1265         dg-error lines.
1266         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1267         * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
1268
1269         * include/tr1_impl/type_traits: Fix comment typo.
1270
1271 2008-07-16  Paolo Carlini  <paolo.carlini@oracle.com>
1272
1273         * include/bits/unique_ptr.h: Remove stray character.
1274
1275 2008-07-15  Benjamin Kosnik  <bkoz@redhat.com>
1276
1277         * doc/doxygen/user.cfg.in: Add complex, ratio,
1278         intializer_list.
1279         (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
1280         * doc/doxygen/doxygroups.cc: Add std::chrono.
1281         * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
1282         * libsupc++/initializer_list (initializer_list): Same.
1283         * include/std/ratio: Same.
1284         * include/std/chrono: Same.
1285         * include/std/complex: Disambiguate file markup.
1286
1287 2008-07-15  Chris Fairles  <chris.fairles@gmail.com>
1288
1289         * include/std/chrono: New, as per N2661.
1290         * src/chrono.cc: New.
1291         * include/Makefile.am: Update.
1292         * src/Makefile.am: Likewise.
1293         * include/Makefile.in: Regenerate.
1294         * src/Makefile.in: Likewise.
1295         * acinclude.m4: Add tests for clock_gettime and gettimeofday that
1296         define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
1297         * configure.ac: Use them.
1298         * configure: Regenerate.
1299         * config.h.in: Likewise.
1300         * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
1301         system_clock::is_monotonic.
1302         * testsuite/20_util/duration/cons/1.cc: New.
1303         * testsuite/20_util/duration/cons/2.cc: Likewise.
1304         * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
1305         * testsuite/20_util/duration/requirements/explicit_instantiation/
1306         explicit_instantiation.cc: Likewise.
1307         * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
1308         * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
1309         * testsuite/20_util/duration/comparisons/1.cc: Likewise.
1310         * testsuite/20_util/time_point/requirements/explicit_instantiation/
1311         explicit_instantiation.cc: Likewise.
1312         * testsuite/20_util/time_point/1.cc: Likewise.
1313         * testsuite/20_util/time_point/2.cc: Likewise.
1314         * testsuite/20_util/time_point/3.cc: Likewise.
1315         * testsuite/20_util/clocks/1.cc: Likewise.
1316         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
1317         missing headers.
1318         * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
1319         * include/precompiled/stdc++.h: Likewise and remove <date_time>.
1320         * doc/doxygen/user.cfg.in: Likewise.
1321
1322 2008-07-15  Paolo Carlini  <paolo.carlini@oracle.com>
1323
1324         PR libstdc++/36832
1325         * include/ext/rope (_Destroy_const): Add.
1326         (rope<>::copy): Call it.
1327         * testsuite/ext/rope/36832.cc: New.
1328
1329 2008-07-15  Johannes Singler  <singler@ira.uka.de>
1330
1331         * include/parallel/find_selectors.h:
1332         Correct name for include guard #ifndef.
1333         * include/parallel/balanced_quicksort.h: Likewise.
1334         * include/parallel/unique_copy.h: Likewise.
1335         * include/parallel/multiway_mergesort.h: Likewise.
1336         * include/parallel/checkers.h: Likewise.
1337         * include/parallel/[various files]:
1338         Add/correct comment for #endif of include guard (at end of file)
1339
1340 2008-07-12  Paolo Carlini  <paolo.carlini@oracle.com>
1341
1342         * include/std/date_time: Remove, per N2549, in WP.
1343         * src/date_time.cc: Likewise.
1344         * config/abi/pre/gnu.ver: Remove <date_time> symbols.
1345         * include/Makefile.am: Remove date_time in std headers.
1346         * src/Makefile.am: Remove date_time.cc to source files.
1347         * include/Makefile.in: Regenerate.
1348         * src/Makefile.in: Likewise.
1349         * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
1350         * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
1351         * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
1352         * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
1353         * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
1354         * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
1355         * testsuite/31_date_time/system_time/requirements: Likewise.
1356         * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
1357         * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
1358         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
1359
1360 2008-07-10  Johannes Singler  <singler@ira.uka.de>
1361
1362         * include/parallel/balanced_quicksort.h:
1363         (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
1364
1365 2008-07-09  Benjamin Kosnik  <bkoz@redhat.com>
1366
1367         PR libstdc++/36451
1368         * doc/xml/manual/allocator.xml: Fix links.
1369         * doc/html/*: Regenerate.
1370
1371 2008-07-09  Joseph Myers  <joseph@codesourcery.com>
1372
1373         * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
1374         __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
1375         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
1376         __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
1377         unwinder.
1378         * libsupc++/eh_arm.cc (__cxa_type_match): Use
1379         __is_gxx_forced_unwind_class to check for forced unwind.
1380
1381 2008-07-09  Andreas Beckmann  <gcc@abeckmann.de>
1382
1383         PR libstdc++/36552
1384         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1385         null_metadata.hpp: Remove self-include.
1386
1387 2008-07-09  Joseph Myers  <joseph@codesourcery.com>
1388
1389         * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
1390         testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
1391         -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
1392
1393 2008-07-09  Johannes Singler  <singler@ira.uka.de>
1394
1395         PR libstdc++/36729
1396         * include/parallel/random_shuffle.h:
1397         (sequential_random_shuffle) Copy data back.
1398         * testsuite/25_algorithms/random_shuffle/1.cc:
1399         New. Generic random_shuffle functionality test.
1400
1401 2008-07-08  Chris Fairles  <chris.fairles@gmail.com>
1402
1403         * include/std/type_traits: Add common_type.
1404         * testsuite/20_util/common_type/requirements/
1405         explicit_instantiation.cc: New.
1406         * testsuite/20_util/common_type/requirements/
1407         typedefs-1.cc: Likewise.
1408
1409 2008-07-07  Paolo Carlini  <paolo.carlini@oracle.com>
1410
1411         * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
1412         * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
1413         * testsuite/20_util/ratio/cons/cons1.cc: Use it.
1414         * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
1415         * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
1416         * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
1417         * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
1418         * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
1419         * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
1420         * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
1421
1422         * include/std/type_traits: Fix comment typo.
1423
1424 2008-07-06  Roger Sayle  <roger@eyesopen.com>
1425
1426         * include/std/system_error (is_error_code_enum): Use identifier
1427         _Tp instead of _T to avoid conflict with system macro on Darwin.
1428         (is_error_condition_enum): Likewise.
1429
1430 2008-07-05  Paolo Carlini  <paolo.carlini@oracle.com>
1431
1432         * include/bits/postypes.h: Do not include <stdint.h>.
1433
1434         * include/Makefile.am: Reorder.
1435
1436 2008-07-05  Paolo Carlini  <paolo.carlini@oracle.com>
1437
1438         * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
1439
1440 2008-07-05  Chris Fairles  <chris.fairles@gmail.com>
1441
1442         * include/std/ratio: Documentation for std::ratio class. Add conditions
1443         to ratio_less to prevent overflow.
1444         * testsuite/20_util/ratio/comparisons/comp2.cc: New.
1445         * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
1446         numbers.
1447
1448 2008-07-04  Chris Fairles  <chris.fairles@gmail.com>
1449
1450         * include/std/ratio: New, per N2661.
1451         * include/Makefile.am: Update.
1452         * include/Makefile.in: Regenerate.
1453         * testsuite/20_util/ratio/cons/cons1.cc: New.
1454         * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
1455         * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
1456         * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
1457         * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
1458         * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
1459         * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
1460
1461 2008-07-04  Paolo Carlini  <paolo.carlini@oracle.com>
1462
1463         PR libstdc++/36616
1464         * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
1465         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
1466
1467 2008-07-03  Paolo Carlini  <paolo.carlini@oracle.com>
1468
1469         * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
1470         Improve check on long double limits.
1471         * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
1472         Likewise.
1473         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1474         stof.cc: Likewise.
1475         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1476         stod.cc: Likewise.
1477
1478 2008-07-03  Paolo Carlini  <paolo.carlini@oracle.com>
1479
1480         * libsupc++/Makefile.am: Add initializer_list to the headers.
1481         * libsupc++/Makefile.in: Regenerate.
1482
1483         * libsupc++/initializer_list: Minor cosmetic changes.
1484
1485 2008-07-02  Jason Merrill  <jason@redhat.com>
1486
1487         * libsupc++/initializer_list: Uglify and wrap in
1488         __GXX_EXPERIMENTAL_CXX0X__.
1489         * include/bits/stl_map.h (insert(initializer_list)): Wrap.
1490
1491 2008-07-02  Jason Merrill  <jason@redhat.com>
1492
1493         * libsupc++/initializer_list: New file.
1494         * include/bits/stl_map.h (insert(initializer_list)): New method.
1495
1496 2008-06-30  Alfred E. Heggestad  <aeh@db.org>
1497
1498         * include/backward/backward_warning.h: Fix typo.
1499
1500 2008-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
1501
1502         * src/string_conversions.cc: Remove.
1503         * config/abi/pre/gnu.ver: Delete exports.
1504         * src/Makefile.am: Update.
1505         * include/ext/string_conversions.h: Add.
1506         * include/Makefile.am: Update.
1507         * include/bits/basic_string.h: Include string_conversions.h,
1508         define numeric conversion functions.
1509         * include/ext/vstring.h: Likewise.
1510         * src/Makefile.in: Regenerate.
1511         * include/Makefile.in: Regenerate.
1512
1513 2008-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
1514
1515         * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
1516         * include/bits/algorithmfwd.h: Add.
1517         * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
1518         in C++0x mode.
1519         * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
1520         move_iterators/1.cc: New
1521         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
1522         * testsuite/25_algorithms/copy_n/1.cc: New.
1523         * testsuite/25_algorithms/copy_n/2.cc: Likewise.
1524         * testsuite/25_algorithms/copy_n/3.cc: Likewise.
1525         * testsuite/25_algorithms/copy_n/4.cc: Likewise.
1526         * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
1527         * testsuite/25_algorithms/copy_n/requirements/
1528         explicit_instantiation/2.cc: Likewise.
1529         * testsuite/25_algorithms/partition_point/requirements/
1530         explicit_instantiation/pod.cc: Likewise.
1531
1532 2008-06-28  Paolo Carlini  <paolo.carlini@oracle.com>
1533
1534         * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
1535         * include/bits/algorithmfwd.h: Add.
1536         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
1537         * testsuite/25_algorithms/partition_point/1.cc: New.
1538         * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
1539         * testsuite/25_algorithms/partition_point/requirements/
1540         explicit_instantiation/2.cc: Likewise.
1541         * testsuite/25_algorithms/partition_point/requirements/
1542         explicit_instantiation/pod.cc: Likewise.
1543
1544 2008-06-28  Paolo Carlini  <paolo.carlini@oracle.com>
1545
1546         PR libstdc++/36660
1547         * include/ext/pb_ds/detail/resize_policy/
1548         sample_resize_trigger.hpp: Remove spurious namespace end.
1549
1550 2008-06-27  Mark Mitchell  <mark@codesourcery.com>
1551
1552         * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
1553         address.
1554         (__aeabi_vec_delete): Likewise.
1555         (__aeabi_vec_delete3): Likewise.
1556         (__aeabi_vec_delete3_nodtor): Likewise.
1557
1558 2008-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
1559
1560         * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
1561         * include/bits/algorithmfwd.h: Add.
1562         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
1563         * testsuite/25_algorithms/is_partitioned/1.cc: New.
1564         * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
1565         * testsuite/25_algorithms/is_partitioned/requirements/
1566         explicit_instantiation/2.cc: Likewise.
1567         * testsuite/25_algorithms/is_partitioned/requirements/
1568         explicit_instantiation/pod.cc: Likewise.
1569
1570 2008-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
1571
1572         * include/bits/stl_numeric.h (iota): Add in C++0x mode.
1573         * testsuite/util/testsuite_character.h (pod_int): Add operator++
1574         in C++0x mode.
1575         * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
1576         * testsuite/26_numerics/iota/1.cc: New.
1577         * testsuite/26_numerics/iota/requirements/explicit_instantiation/
1578         2.cc: Likewise.
1579         * testsuite/26_numerics/iota/requirements/explicit_instantiation/
1580         pod.cc: Likewise.
1581
1582         * include/ext/algorithm: Do not fiddle with the legacy headers.
1583
1584         * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
1585         style.
1586         * testsuite/26_numerics/accumulate/1.cc: Likewise.
1587         * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
1588         * testsuite/26_numerics/inner_product/1.cc: Likewise.
1589
1590 2008-06-26  Paolo Carlini  <paolo.carlini@oracle.com>
1591
1592         * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
1593         * include/bits/algorithmfwd.h: Add.
1594         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
1595         * testsuite/25_algorithms/partition_copy/1.cc: New.
1596         * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
1597         * testsuite/25_algorithms/partition_copy/requirements/
1598         explicit_instantiation/2.cc: Likewise.
1599         * testsuite/25_algorithms/partition_copy/requirements/
1600         explicit_instantiation/pod.cc: Likewise.
1601
1602 2008-06-26  Chris Fairles  <chris.fairles@gmail.com>
1603
1604         * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
1605         * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
1606         * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
1607         Likewise.
1608         * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
1609         * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
1610         * testsuite/20_util/unique_ptr/specialized_algorithms/
1611         comparisons_array.cc: Likewise.
1612         * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
1613         Likewise
1614         * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
1615         Likewise.
1616
1617 2008-06-26  Paolo Carlini  <paolo.carlini@oracle.com>
1618
1619         * include/parallel/base.h (plus, multiplies): Use __typeof__,
1620         not typeof.
1621
1622 2008-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
1623
1624         * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
1625         warnings.
1626         * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
1627         * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
1628         Likewise.
1629         * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
1630         * testsuite/util/testsuite_common_types.h (struct assignable,
1631         struct default_constructible, struct copy_constructible,
1632         struct explicit_value_constructible): Use a tad of simulated
1633         concept checking techniques to avoid spurious warnings.
1634         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
1635         markers.
1636         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
1637
1638 2008-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
1639
1640         * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
1641         any_of, none_of): Add in C++0x, per N2666.
1642         * include/bits/algorithmfwd.h: Update.
1643         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1644         * testsuite/25_algorithms/all_of/check_type.cc: New.
1645         * testsuite/25_algorithms/all_of/1.cc: Likewise.
1646         * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
1647         2.cc: Likewise.
1648         * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
1649         pod.cc: Likewise.
1650         * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
1651         * testsuite/25_algorithms/any_of/1.cc: Likewise.
1652         * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
1653         2.cc: Likewise.
1654         * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
1655         pod.cc: Likewise.
1656         * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
1657         * testsuite/25_algorithms/none_of/1.cc: Likewise.
1658         * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
1659         2.cc: Likewise.
1660         * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
1661         pod.cc: Likewise.
1662         * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
1663         * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
1664         * testsuite/25_algorithms/find_if_not/requirements/
1665         explicit_instantiation/2.cc: Likewise.
1666         * testsuite/25_algorithms/find_if_not/requirements/
1667         explicit_instantiation/pod.cc: Likewise.
1668         * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
1669         * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
1670         * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
1671
1672 2008-06-24  Benjamin Kosnik  <bkoz@redhat.com>
1673
1674         * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
1675         parallel algorithms.
1676         * doc/xml/manual/using.xml: Markup fixes caught by validation check.
1677         * doc/xml/manual/test.xml: Remove empty para tags.
1678
1679         * doc/html/*: Regenerate.
1680
1681 2008-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
1682
1683         * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
1684         (copy_if): Add, per N2666.
1685         * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
1686         2.cc: New.
1687         * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
1688         pod.cc: Likewise.
1689         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
1690
1691 2008-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
1692             Chalathip Thumkanon  <chalathip@gmail.com>
1693
1694         PR libstdc++/36612
1695         * include/ext/pb_ds/exception.hpp (__throw_container_error,
1696         __throw_insert_error, __throw_join_error, __throw_resize_error):
1697         Mark inline.
1698
1699 2008-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
1700
1701         * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
1702         per DR 809.
1703         * include/bits/algorithmfwd.h: Add.
1704         * doc/xml/manual/intro.xml: Add an entry for DR 809.
1705         * testsuite/25_algorithms/swap/dr809.cc: New.
1706
1707         * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
1708         2.cc: Remove stray empty line.
1709
1710 2008-06-21  Paolo Carlini  <paolo.carlini@oracle.com>
1711
1712         * include/bits/stl_move.h: Rename to move.h.
1713         * include/std/utility: Adjust.
1714         * include/ext/vstring_util.h: Likewise.
1715         * include/ext/throw_allocator.h: Likewise.
1716         * include/ext/pool_allocator.h: Likewise.
1717         * include/ext/bitmap_allocator.h: Likewise.
1718         * include/ext/new_allocator.h: Likewise.
1719         * include/ext/malloc_allocator.h: Likewise.
1720         * include/ext/array_allocator.h: Likewise.
1721         * include/ext/mt_allocator.h: Likewise.
1722         * include/bits/stl_algobase.h: Likewise.
1723         * include/bits/stl_heap.h: Likewise.
1724         * include/bits/stl_pair.h: Likewise.
1725         * include/bits/stl_iterator.h: Likewise.
1726         * testsuite/util/testsuite_allocator.h: Likewise.
1727         * testsuite/util/testsuite_iterators.h: Likewise.
1728         * include/Makefile.am: Likewise.
1729         * include/Makefile.in: Regenerate.
1730
1731 2008-06-21  Chris Fairles  <chris.fairles@gmail.com>
1732
1733         * include/bits/unique_ptr.h: New.
1734         * include/std/memory: Adjust.
1735         * include/Makefile.am: Add.
1736         * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
1737         explicit_instantiation.cc: New.
1738         * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
1739         * include/Makefile.in: Regenerate.
1740
1741 2008-06-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
1742
1743         * include/c_global/climits, include/tr1/climits: Add parentheses.
1744
1745 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1746
1747         * configure: Regenerate.
1748
1749 2008-06-17  Chris Fairles  <chris.fairles@gmail.com>
1750
1751         * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
1752         C++0x mode.
1753         * testsuite/24_iterators/operations/next.cc: New.
1754         * testsuite/24_iterators/operations/prev.cc: Likewise.
1755
1756 2008-06-17  Paolo Carlini  <paolo.carlini@oracle.com>
1757
1758         * src/string_conversions.cc (__to_xstring<>): New.
1759         (to_string, to_wstring): Use it.
1760
1761 2008-06-16  Paolo Carlini  <paolo.carlini@oracle.com>
1762
1763         * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
1764         stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
1765         * src/string_conversions.cc: Add.
1766         * src/Makefile.am: Update.
1767         * config/abi/pre/gnu.ver: Adjust exports.
1768         * src/Makefile.in: Regenerate.
1769         * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
1770         New.
1771         * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
1772         Likewise.
1773         * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
1774         Likewise.
1775         * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
1776         Likewise.
1777         * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
1778         Likewise.
1779         * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
1780         Likewise.
1781         * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
1782         Likewise.
1783         * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
1784         Likewise.
1785         * testsuite/21_strings/basic_string/numeric_conversions/char/
1786         to_string.cc: Likewise.
1787         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1788         stod.cc: New.
1789         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1790         stof.cc: Likewise.
1791         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1792         stoi.cc: Likewise.
1793         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1794         stol.cc: Likewise.
1795         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1796         stold.cc: Likewise.
1797         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1798         stoll.cc: Likewise.
1799         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1800         stoul.cc: Likewise.
1801         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1802         stoull.cc: Likewise.
1803         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1804         to_wstring.cc: Likewise.
1805
1806 2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1807
1808         * include/Makefile.am: Remove trailing white space, fix typo.
1809         (parallel_headers): Remove duplicate file, sort entries.
1810         * include/Makefile.in: Regenerate.
1811
1812 2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1813
1814         * src/condition_variable.cc (~condition_variable): Drop unused
1815         variable.
1816
1817 2008-06-13  Paolo Carlini  <paolo.carlini@oracle.com>
1818
1819         * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
1820         deque<>::push_front(_Args&&...)): Remove.
1821         (deque<>::push_back(value_type&&),
1822         deque<>::push_front(value_type&&)): Add.
1823         (deque<>::push_back(const value_type&),
1824         deque<>::push_front(const value_type&)): Add back.
1825         (deque<>::emplace_back(_Args&&...),
1826         deque<>::emplace_front(_Args&&...)): Declare...
1827         * include/bits/deque.tcc: ... and define.
1828         * include/bits/stl_list.h (list<>::push_back(_Args&&...),
1829         list<>::push_front(_Args&&...)): Remove.
1830         (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
1831         list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
1832         Add.
1833         (list<>::push_back(const value_type&),
1834         list<>::push_front(const value_type&)): Add back.
1835         * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
1836         (vector<>::push_back(value_type&&)): Add.
1837         (vector<>::push_back(const value_type&)): Add back.
1838         (vector<>::emplace_back(_Args&&...)): Declare...
1839         * include/bits/vector.tcc: ... and define.
1840         * include/bits/stl_queue.h (queue<>::push(_Args&&...),
1841         priority_queue<>::push(_Args&&...)): Remove.
1842         (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
1843         priority_queue<>::push(value_type&&),
1844         priority_queue<>::emplace(_Args&&...)): Add.
1845         (queue<>::push(const value_type&),
1846         priority_queue<>::push(const value_type&)): Add back.
1847         * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
1848         (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
1849         (stack<>::push(const value_type&)): Add back.
1850         * include/debug/deque (deque<>::push_back(_Args&&...),
1851         deque<>::push_front(_Args&&...)): Remove.
1852         (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
1853         deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
1854         Add.
1855         (deque<>::push_back(const value_type&),
1856         deque<>::push_front(const value_type&)): Add back.
1857         * include/debug/list (list<>::push_back(_Args&&...),
1858         list<>::push_front(_Args&&...)): Remove.
1859         (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
1860         list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
1861         Add.
1862         (list<>::push_back(const value_type&),
1863         list<>::push_front(const value_type&)): Add back.
1864         * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
1865         (vector<>::push_back(value_type&&),
1866         vector<>::emplace_back(_Args&&...)): Add.
1867         (vector<>::push_back(const value_type&)): Add back.
1868         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1869         Adjust dg-error line numbers.
1870         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1871         Likewise.
1872         * testsuite/23_containers/deque/requirements/dr438/
1873         constructor_1_neg.cc: Likewise.
1874         * testsuite/23_containers/deque/requirements/dr438/
1875         constructor_2_neg.cc: Likewise.
1876         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1877         Adjust dg-error line numbers.
1878         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1879         Likewise.
1880         * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1881         Likewise.
1882         * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
1883         Likewise.
1884         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1885         Adjust dg-error line numbers.
1886         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1887         Likewise.
1888         * testsuite/23_containers/vector/requirements/dr438/
1889         constructor_1_neg.cc: Likewise.
1890         * testsuite/23_containers/vector/requirements/dr438/
1891         constructor_2_neg.cc: Likewise.
1892
1893 2008-06-13  Paolo Carlini  <paolo.carlini@oracle.com>
1894
1895         * include/tr1_impl/array (array<>::assign): Do not define in
1896         C++0x mode, per DR 776...
1897         (array<>::fill): ... define instead.
1898         * doc/xml/manual/intro.xml: Add an entry for DR 776.
1899         * testsuite/23_containers/array/requirements/fill.cc: New.
1900
1901 2008-06-12  Paolo Carlini  <paolo.carlini@oracle.com>
1902
1903         * include/std/complex (pow(const complex<>&, int)): Do not define in
1904         C++0x mode, per DR 844.
1905         * include/tr1/complex (pow(const complex<>&, int)): Remove.
1906         * doc/xml/manual/intro.xml: Add an entry for DR 844.
1907         * testsuite/26_numerics/complex/dr844.cc: New.
1908         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
1909
1910 2008-06-11  Paolo Carlini  <paolo.carlini@oracle.com>
1911
1912         * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
1913         cend(size_type)): Add per DR 691.
1914         * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
1915         New.
1916         * testsuite/23_containers/unordered_multimap/requirements/
1917         cliterators.cc: Likewise.
1918         * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
1919         Likewise.
1920         * testsuite/23_containers/unordered_multiset/requirements/
1921         cliterators.cc: Likewise.
1922         * doc/xml/manual/intro.xml: Add an entry for DR 691.
1923
1924 2008-06-11  Matthias Klose  <doko@ubuntu.com>
1925
1926         * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
1927         Remove empty directories.
1928
1929 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
1930
1931         * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
1932         solaris2.5.[0-9], solaris2.6, windiss*): Remove.
1933         * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
1934         * configure: Regenerate.
1935         * config/os/solaris/solaris2.5: Remove directory.
1936         * config/os/solaris/solaris2.6: Remove directory.
1937         * config/os/windiss: Remove directory.
1938
1939 2008-06-06  Benjamin Kosnik  <bkoz@redhat.com>
1940
1941         * doc/xml/manual/using.xml: Outline exception topics.
1942
1943         * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
1944         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1945         policy_access_fn_imps.hpp: Same.
1946         * include/ext/pb_ds/priority_queue.hpp: Same.
1947         * include/ext/throw_allocator.h: Same.
1948
1949         * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
1950         (sequence_tag): New tag. Doxygen markup fixes.
1951
1952         * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
1953
1954         * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
1955         comment typo, include paths, format.
1956         * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
1957         * testsuite/performance/ext/pb_ds/
1958         hash_random_int_erase_mem_usage.cc: Same.
1959         * testsuite/performance/ext/pb_ds/
1960         random_int_subscript_find_timing.cc: Same.
1961         * testsuite/performance/ext/pb_ds/
1962         priority_queue_text_push_timing.cc: Same.
1963         * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
1964         * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
1965         * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
1966         * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
1967         * testsuite/performance/ext/pb_ds/
1968         priority_queue_random_int_push_timing.cc: Same.
1969         * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
1970         * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
1971         * testsuite/performance/ext/pb_ds/
1972         priority_queue_text_push_pop_timing.cc: Same.
1973         * testsuite/performance/ext/pb_ds/
1974         priority_queue_text_join_timing.cc: Same.
1975         * testsuite/performance/ext/pb_ds/
1976         priority_queue_random_int_push_pop_timing.cc: Same.
1977         * testsuite/performance/ext/pb_ds/
1978         random_int_subscript_insert_timing.cc: Same.
1979         * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
1980         * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
1981         * testsuite/performance/ext/pb_ds/
1982         priority_queue_text_pop_mem_usage.cc: Same.
1983         * testsuite/performance/ext/pb_ds/
1984         hash_zlob_random_int_find_timing.cc: Same.
1985         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
1986         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
1987         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
1988         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
1989         * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
1990         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
1991         * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
1992         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
1993         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
1994         * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
1995         * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
1996         * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
1997         * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
1998         * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
1999         * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
2000         * testsuite/util/regression/trait/assoc/trait.hpp: Same.
2001         * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
2002         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
2003         * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
2004         * testsuite/util/regression/basic_type.hpp: Same.
2005         * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
2006         * testsuite/util/common_type/priority_queue/detail/
2007         ds_string_form.hpp: Same.
2008         * testsuite/util/common_type/assoc/string_form.hpp: Same.
2009         * testsuite/util/common_type/assoc/detail/
2010         resize_policy_string_form.hpp: Same.
2011         * testsuite/util/common_type/assoc/detail/
2012         trigger_policy_string_form.hpp: Same.
2013         * testsuite/util/common_type/assoc/detail/
2014         comb_hash_fn_string_form.hpp: Same.
2015         * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
2016         * testsuite/util/common_type/assoc/detail/
2017         size_policy_string_form.hpp: Same.
2018         * testsuite/util/common_type/assoc/detail/
2019         probe_fn_string_form.hpp: Same.
2020         * testsuite/util/common_type/assoc/detail/
2021         list_update_policy_string_form.hpp: Same.
2022         * testsuite/util/common_type/assoc/detail/
2023         store_hash_string_form.hpp: Same.
2024         * testsuite/util/common_type/assoc/native_set.hpp: Same.
2025         * testsuite/util/io/prog_bar.cc: Same.
2026
2027         * testsuite/util/regression/rand/io: Remove.
2028         * testsuite/util/regression/rand/io/priority_queue: Same.
2029         * testsuite/util/regression/rand/io/assoc: Same.
2030         * testsuite/util/regression/rand/io/priority_queue/
2031         xml_formatter.hpp: Consolidate this...
2032         * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
2033         * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
2034         * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
2035
2036         * testsuite/util/regression/rand/priority_queue/
2037         container_rand_regression_test.hpp:To ...
2038         container_rand_regression_test.h: ... this.
2039         * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
2040         * testsuite/util/regression/rand/priority_queue/
2041         container_rand_regression_test.tcc: ... this.
2042         PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
2043         PB_DS_SET_DESTRUCT_PRINT: Fold inline.
2044         PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
2045         * testsuite/util/regression/rand/priority_queue/
2046         rand_regression_test.hpp: Adjust includes.
2047
2048         * testsuite/util/regression/rand/assoc/
2049         container_rand_regression_test.hpp: To ...
2050         * testsuite/util/regression/rand/assoc/
2051         container_rand_regression_test.h: ... this.
2052         * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
2053         * testsuite/util/regression/rand/assoc/
2054         container_rand_regression_test.tcc: ...this.
2055         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
2056         includes.
2057
2058         * testsuite/util/regression/priority_queue: Remove.
2059         * testsuite/util/regression/assoc: Remove.
2060         * testsuite/util/regression/priority_queue/
2061         common_type.hpp: Consolidate this...
2062         * testsuite/util/regression/assoc/common_type.hpp: ... and this
2063         * testsuite/util/regression/common_type.hpp: ...here.
2064
2065         * testsuite/util/rng: Remove.
2066         * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
2067         * testsuite/util/rng/twister_rand_gen.hpp: ... and this
2068         * testsuite/util/testsuite_rng.h: ...here.
2069
2070         * testsuite/util/native_type/priority_queue: Remove.
2071         * testsuite/util/native_type/priority_queue/
2072         native_priority_queue.hpp: To...
2073         * testsuite/util/native_type/native_priority_queue.hpp: ...here.
2074
2075         * testsuite/util/native_type/assoc: Remove.
2076         * testsuite/util/native_type/assoc/native_multimap.hpp: To...
2077         * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
2078         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
2079         * testsuite/util/native_type/assoc/native_set.hpp: To...
2080         * testsuite/util/native_type/assoc/native_map.hpp: To...
2081         * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
2082         * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
2083         * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
2084         * testsuite/util/native_type/native_multimap.hpp: ...here.
2085         * testsuite/util/native_type/native_tree_tag.hpp: ...here.
2086         * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
2087         * testsuite/util/native_type/native_set.hpp: ...here.
2088         * testsuite/util/native_type/native_map.hpp: ...here.
2089         * testsuite/util/native_type/native_hash_set.hpp: ...here.
2090         * testsuite/util/native_type/native_hash_tag.hpp: ...here.
2091         * testsuite/util/native_type/native_hash_map.hpp: ...here.
2092
2093         * testsuite/util/common_type/priority_queue/common_type.hpp:
2094         Make include guard distinct.
2095         * testsuite/util/common_type/assoc/common_type.hpp: Same.
2096
2097 2008-06-06  Joseph Myers  <joseph@codesourcery.com>
2098
2099         * configure.ac: Do not check for gconv.h.
2100         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
2101         gconf.h.  For glibc and uClibc systems, define
2102         _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
2103         AM_ICONV.
2104         * configure, config.h.in: Regenerate.
2105
2106 2008-06-06  Joseph Myers  <joseph@codesourcery.com>
2107
2108         * testsuite/17_intro/headers/all.cc,
2109         testsuite/17_intro/headers/all_c++200x_compatibility.cc,
2110         testsuite/17_intro/headers/all_pedantic_errors.cc,
2111         testsuite/ext/headers.cc: Only include
2112         <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
2113         _GLIBCXX_HAVE_ICONV.
2114
2115 2008-06-05  Johannes Singler  <singler@ira.uka.de>
2116
2117         * include/parallel/random_shuffle.h:
2118         (parallel_random_shuffle_drs) Get the actual number of
2119         threads after entering the parallel region. Indentation.
2120         * include/parallel/algo.h: (random_shuffle(begin, end))
2121         Add namespace qualification to avoid ambiguity.
2122
2123 2008-06-04  Benjamin Kosnik  <bkoz@redhat.com>
2124
2125         * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
2126         to allocator_type, as per existing conventions.
2127         * include/ext/pb_ds/detail/binomial_heap_base_/
2128         binomial_heap_base_.hpp: Same.
2129         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
2130         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
2131         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
2132         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
2133         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
2134         * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
2135         * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
2136         * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
2137         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2138         left_child_next_sibling_heap_.hpp: Same.
2139         * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
2140         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
2141         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
2142         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
2143         * include/ext/pb_ds/detail/rc_binomial_heap_/
2144         rc_binomial_heap_.hpp: Same.
2145         * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
2146         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
2147         * include/ext/pb_ds/list_update_policy.hpp: Same.
2148         * include/ext/pb_ds/exception.hpp: Same.
2149         * include/ext/pb_ds/tree_policy.hpp: Same.
2150         * include/ext/pb_ds/trie_policy.hpp: Same.
2151         * include/ext/pb_ds/priority_queue.hpp: Same.
2152         * testsuite/util/regression/trait/assoc/trait.hpp: Same.
2153         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
2154         * testsuite/util/regression/rand/priority_queue/detail/
2155         defs_fn_imps.hpp: Same.
2156         * testsuite/util/regression/rand/priority_queue/detail/
2157         operator_fn_imps.hpp: Same.
2158         * testsuite/util/regression/rand/priority_queue/
2159         container_rand_regression_test.hpp: Same.
2160         * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
2161         * testsuite/util/regression/rand/assoc/detail/
2162         operator_fn_imps.hpp: Same.
2163         * testsuite/util/regression/rand/assoc/
2164         container_rand_regression_test.hpp: Same.
2165         * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
2166         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
2167         * testsuite/util/common_type/assoc/detail/
2168         tree_supports_order_statistics.hpp: Same.
2169         * testsuite/util/common_type/assoc/detail/
2170         trie_supports_prefix_search.hpp: Same.
2171         * testsuite/util/common_type/assoc/detail/
2172         trie_supports_order_statistics.hpp: Same.
2173
2174 2008-06-02  Sandra Loosemore  <sandra@codesourcery.com>
2175             Daniel Jacobowitz  <dan@codesourcery.com>
2176
2177         * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
2178         dg-require-fileio.
2179         * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
2180         * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
2181
2182 2008-06-02  Paolo Carlini  <paolo.carlini@oracle.com>
2183
2184         * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
2185         avoid a memory leak if the first __uninitialized_move_a throws.
2186         (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
2187         to _M_insert_aux.
2188         * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
2189         * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
2190
2191 2008-05-31  Paolo Carlini  <paolo.carlini@oracle.com>
2192             Chris Jefferson  <chris@bubblescope.net>
2193
2194         PR libstdc++/36338
2195         * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
2196         (pop_heap): Slightly tweak.
2197
2198 2008-05-29  Paolo Carlini  <paolo.carlini@oracle.com>
2199
2200         * include/debug/bitset (bitset(const char*)): Implement DR 778
2201         in debug-mode too.
2202
2203         * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
2204         deal with char16_t and char32_t.
2205
2206 2008-05-26  Paolo Carlini  <paolo.carlini@oracle.com>
2207
2208         * include/c_global/cmath (pow(float, int), pow(double, int),
2209         pow(long double, int)): Do not define in C++0x mode, per DR 550.
2210         * include/tr1_impl/cmath (pow): Do not bring in unconditionally
2211         from namespace std.
2212         * include/tr1/cmath (pow(double, double), pow(float, float),
2213         pow(long double, long double), pow(_Tp, _Up)): Define.
2214         * include/tr1/complex (pow): Do not bring in from namespace std.
2215         (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
2216         const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
2217         pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
2218         * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
2219         const _Up&), pow(const _Tp&, const std::complex<_Up>&),
2220         pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
2221         define.
2222         * doc/xml/manual/intro.xml: Add an entry for DR 550.
2223         * testsuite/26_numerics/headers/cmath/dr550.cc: New.
2224         * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
2225
2226 2008-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
2227
2228         * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
2229         * include/std/date_time: Likewise.
2230         * include/std/system_error: Likewise.
2231         * include/std/type_traits: Likewise; fix typo in macro name.
2232         * include/std/regex: Likewise.
2233         * include/std/random: Likewise.
2234         * include/std/unordered_map: Likewise.
2235         * include/std/condition_variable: Likewise.
2236         * include/std/unordered_set: Likewise.
2237         * include/std/mutex: Likewise.
2238         * include/std/array: Likewise.
2239
2240         * include/c_std/cmath: Fix obsolete comment.
2241         * include/c_global/cmath: Likewise.
2242
2243 2008-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
2244
2245         * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
2246         complex<float>::real(float), complex<float>::imag(float),
2247         complex<double>::real(double), complex<double>::imag(double),
2248         complex<long double>::real(long double),
2249         complex<long double>::imag(long double)): Add per DR 387.
2250         (complex<>::real(), complex<>::imag(), complex<float>::real(),
2251         complex<float>::imag(), complex<double>::real(),
2252         complex<double>::imag(), complex<long double>::real(),
2253         complex<long double>::imag(long double)): Adjust in C++0x mode.
2254         (real(complex<>&), imag(complex<>&), real(const complex<>&),
2255         imag(const complex<>&)): Likewise.
2256         * testsuite/26_numerics/complex/dr387.cc: New.
2257         * doc/xml/manual/intro.xml: Add an entry for DR 387.
2258
2259 2008-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
2260
2261         * include/std/complex: Trivial stylistic changes, define inline
2262         members inline, consistently with the rest of the library.
2263         (pow(const _Tp&, const complex<>&)): Minor tweak.
2264
2265 2008-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
2266
2267         * src/atomic.cc (atomic_flag_test_and_set_explicit,
2268         atomic_flag_clear_explicit): Suppress unused parameter warnings.
2269
2270 2008-05-23  Paolo Carlini  <paolo.carlini@oracle.com>
2271
2272         * include/std/tuple: Replace int -> size_t throughout per DR 775.
2273         * include/tr1_impl/array: Likewise.
2274         * include/tr1_impl/utility: Likewise.
2275         * doc/xml/manual/intro.xml: Add an entry for DR 775.
2276
2277 2008-05-23  Paolo Carlini  <paolo.carlini@oracle.com>
2278
2279         * doc/xml/manual/intro.xml: Adjust links to ISO documents.
2280
2281 2008-05-23  Paolo Carlini  <paolo.carlini@oracle.com>
2282
2283         * include/c_std/cmath (fpclassify): Use __builtin_fpclassify.
2284         * include/c_global/cmath (fpclassify): Likewise.
2285
2286 2008-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
2287
2288         * include/tr1_impl/hashtable_policy.h (_Map_base<,,
2289         std::_Select1st<_Pair>, true,>::at): Add per DR 761.
2290         * testsuite/23_containers/unordered_map/dr761.cc: New.
2291         * doc/xml/manual/intro.xml: Add an entry for DR 761.
2292
2293 2008-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
2294
2295         * testsuite/26_numerics/complex/dr781.cc: Add test variable.
2296
2297 2008-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
2298
2299         * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
2300         Add per DR 781.
2301         * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to...
2302         * include/tr1/complex: ... here.
2303         * doc/xml/manual/intro.xml: Add an entry for DR 781.
2304         * testsuite/26_numerics/complex/dr781.cc: Add.
2305         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update.
2306         * configure: Regenerate.
2307
2308 2008-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
2309
2310         * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778.
2311         (bitset<>::_M_copy_from_ptr): Add.
2312         (bitset<>::_M_copy_from_string): Forward to the latter.
2313         * doc/xml/manual/intro.xml: Add an entry for DR 778.
2314         * testsuite/23_containers/bitset/cons/2.cc: Add.
2315
2316 2008-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
2317
2318         * doc/html/ext/lwg-active.html: Update to Revision R56.
2319         * doc/html/ext/lwg-closed.html: Likewise.
2320         * doc/html/ext/lwg-defects.html: Likewise.
2321
2322 2008-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
2323
2324         PR c++/33979 (partial)
2325         * include/tr1_impl/functional_hash.h (hash<char16_t>,
2326         hash<char32_t>): Add specializations.
2327         * include/tr1_impl/type_traits (is_integral<char16_t>,
2328         is_integral<char32_t>): Likewise.
2329         * include/std/limits (numeric_limits<char16_t>,
2330         numeric_limits<char32_t>): Likewise.
2331         * src/limits_c++0x.cc: Add.
2332         * src/Makefile.am: Update.
2333         * testsuite/20_util/hash/requirements/explicit_instantiation.cc:
2334         Update.
2335         * testsuite/20_util/is_integral/value.cc: New.
2336         * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise.
2337         * testsuite/20_util/is_integral/requirements/
2338         explicit_instantiation.cc: Likewise.
2339         * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise.
2340         * config/abi/pre/gnu.ver: Export new numeric_limits symbols at
2341         GLIBCXX_3.4.11.
2342         * configure: Regenerate.
2343         * src/Makefile.in: Likewise.
2344         * config.h.in: Likewise.
2345
2346 2008-05-16  Benjamin Kosnik  <bkoz@redhat.com>
2347
2348         * include/std/system_error: Align to current draft specifications.
2349         * src/system_error.cc: Same.
2350         * src/functexcept.cc: Adjust for corrected system_error construction.
2351         * include/std/ostream: Adjust error_code inserter.
2352         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
2353         * config/abi/pre/gnu.ver: Add new exports.
2354
2355         * testsuite/util/testsuite_error.h: Consolidate error testing
2356         utilities here.
2357         * testsuite/19_diagnostics/error_code/cons/1.cc: Use
2358         testsuite_error, adjust line numbers and constructor calls.
2359         * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
2360         * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
2361         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
2362         * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
2363         * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
2364         * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
2365         * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
2366         Same.
2367         * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
2368         * testsuite/19_diagnostics/system_error/what-1.cc: Same.
2369         * testsuite/19_diagnostics/system_error/what-2.cc: Same.
2370         * testsuite/19_diagnostics/system_error/what-big.cc: Same.
2371         * testsuite/19_diagnostics/system_error/what-3.cc: Same.
2372         * testsuite/19_diagnostics/system_error/what-4.cc: Same.
2373
2374 2008-05-15  Bernd Schmidt  <bernd.schmidt@analog.com>
2375
2376         * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
2377         * configure: Regenerate.
2378
2379 2008-05-15  Johannes Singler  <singler@ira.uka.de>
2380
2381         * xml/manual/parallel_mode.xml:
2382         General revision and documentation of new compile-time
2383         options for sorting.
2384
2385 2008-05-14  Benjamin Kosnik  <bkoz@redhat.com>
2386
2387         * include/std/mutex (mutex::try_lock): Eat errors.
2388         (mutex::unlock): Same.
2389         (recursive_mutex::try_lock): Eat errors.
2390         (recursive_mutex::unlock): Same.
2391         * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add
2392         -pthreads, adjust line numbers.
2393         * testsuite/30_threads/mutex/native_handle/1.cc: Same.
2394         * testsuite/30_threads/mutex/cons/1.cc: Same.
2395         * testsuite/30_threads/mutex/try_lock/1.cc: Same.
2396         * testsuite/30_threads/mutex/try_lock/2.cc: Same.
2397         * testsuite/30_threads/mutex/lock/1.cc: Same.
2398         * testsuite/30_threads/mutex/unlock/1.cc: Same.
2399         * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same.
2400         * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same.
2401         * testsuite/30_threads/recursive_mutex/cons/1.cc: Same.
2402
2403 2008-05-14  Benjamin Kosnik  <bkoz@redhat.com>
2404
2405         * include/std/sstream: Adjust braces.
2406         * include/bits/fstream.tcc: Same.
2407         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add
2408         -shared-libgcc.
2409         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
2410
2411         * doc/doxygen/user.cfg.in: Remove thread include.
2412
2413 2008-05-13  David Daney  <ddaney@avtrex.com>
2414
2415         * config/cpu/mips/atomicity.h: Remove file.
2416         * config/cpu/mips: Remove directory.
2417         * configure.host: Remove host specific handling for mips*-*-*.
2418
2419 2008-05-12  Stefano Soffia  <soffia@cs.unipr.it>
2420             Paolo Carlini  <paolo.carlini@oracle.com>
2421
2422         * include/debug/vector (vector<>::_M_requires_reallocation): Just
2423         use this->capacity().
2424         (vector<>::capacity): Move non-pedantic / pedantic logic here.
2425         * testsuite/23_containers/vector/
2426         debug_mode_requires_reallocation-2.cc: New.
2427
2428         * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
2429         Rename to debug_mode_requires_reallocation-1.cc
2430
2431 2008-05-10  Roberto Bagnara  <bagnara@cs.unipr.it>
2432             Paolo Carlini  <paolo.carlini@oracle.com>
2433
2434         * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
2435         * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
2436         New.
2437
2438 2008-05-07  Johannes Singler  <singler@ira.uka.de>
2439
2440        * include/parallel/quicksort.h:
2441        (parallel_sort_qs_conquer) Explicitly request number of threads
2442        in the parallel clause.
2443        (parallel_sort_qs) Remove setting the number of threads globally.
2444
2445 2008-05-06  Benjamin Kosnik  <bkoz@redhat.com>
2446
2447         * include/std/mutex (mutex::mutex): Fix usage of initializing macro.
2448         (recursive_mutex::recursive_mutex): Same.
2449         (once_flag::once_flag): Same.
2450         * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers.
2451         * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
2452         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
2453         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
2454
2455 2008-05-06  Benjamin Kosnik  <bkoz@redhat.com>
2456
2457         * include/std/condition_variable: New.
2458         * include/std/mutex: New.
2459         * src/condition_variable.cc: New.
2460         * src/mutex.cc: New.
2461         * include/bits/functexcept.h: Add __throw_system_error varients.
2462         * src/functexcept.cc: Same.
2463         * config/abi/pre/gnu.ver: Add exports.
2464
2465         * doc/xml/manual/using.xml: Add new includes.
2466         * doc/doxygen/user.cfg.in: Doxygen support.
2467         * doc/doxygen/doxygroups.cc: Same.
2468
2469         * include/Makefile.am: Add mutex, condition_variable.
2470         * include/Makefile.in: Regenerated.
2471         * src/Makefile.am: Add mutex.cc, condition_variable.cc.
2472         * src/Makefile.in: Regenerated.
2473
2474         * testsuite/30_threads: New.
2475         * testsuite/30_threads/lock_error: New.
2476         * testsuite/30_threads/mutex: New.
2477         * testsuite/30_threads/mutex/dest: New.
2478         * testsuite/30_threads/mutex/dest/destructor_locked.cc: New.
2479         * testsuite/30_threads/mutex/native_handle: New.
2480         * testsuite/30_threads/mutex/native_handle/1.cc: New.
2481         * testsuite/30_threads/mutex/cons: New.
2482         * testsuite/30_threads/mutex/cons/assign_neg.cc: New.
2483         * testsuite/30_threads/mutex/cons/1.cc: New.
2484         * testsuite/30_threads/mutex/cons/copy_neg.cc: New.
2485         * testsuite/30_threads/mutex/requirements: New.
2486         * testsuite/30_threads/mutex/requirements/typedefs.cc: New.
2487         * testsuite/30_threads/mutex/try_lock: New.
2488         * testsuite/30_threads/mutex/try_lock/1.cc: New.
2489         * testsuite/30_threads/mutex/try_lock/2.cc: New.
2490         * testsuite/30_threads/mutex/lock: New.
2491         * testsuite/30_threads/mutex/lock/1.cc: New.
2492         * testsuite/30_threads/mutex/unlock: New.
2493         * testsuite/30_threads/mutex/unlock/1.cc: New.
2494         * testsuite/30_threads/recursive_mutex: New.
2495         * testsuite/30_threads/recursive_mutex/dest: New.
2496         * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New.
2497         * testsuite/30_threads/recursive_mutex/native_handle: New.
2498         * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New.
2499         * testsuite/30_threads/recursive_mutex/cons: New.
2500         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New.
2501         * testsuite/30_threads/recursive_mutex/cons/1.cc: New.
2502         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New.
2503         * testsuite/30_threads/recursive_mutex/requirements: New.
2504         * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New.
2505         * testsuite/30_threads/lock_guard: New.
2506         * testsuite/30_threads/lock_guard/requirements: New.
2507         * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New.
2508         * testsuite/30_threads/lock_guard/requirements/
2509         explicit_instantiation.cc: New.
2510         * testsuite/30_threads/headers: New.
2511         * testsuite/30_threads/headers/mutex: New.
2512         * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New.
2513         * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New.
2514         * testsuite/30_threads/headers/condition_variable: New.
2515         * testsuite/30_threads/headers/condition_variable/
2516         types_std_c++0x.cc: New.
2517         * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New.
2518         * testsuite/30_threads/once_flag: New.
2519         * testsuite/30_threads/unique_lock: New.
2520         * testsuite/30_threads/unique_lock/requirements: New.
2521         * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New.
2522         * testsuite/30_threads/unique_lock/requirements/
2523         explicit_instantiation.cc: New.
2524         * testsuite/17_intro/headers/c++200x/all.cc: Add new includes.
2525
2526 2008-05-06  Benjamin Kosnik  <bkoz@redhat.com>
2527
2528         PR libstdc++/36130
2529         * include/bits/c++config: Namespace macros and setup only in C++.
2530         * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.
2531
2532 2008-05-06  Johannes Singler  <singler@ira.uka.de>
2533
2534         * include/parallel/multiway_merge.h:
2535           (multiway_merge_*_unguarded):
2536           Pass sentinel directly, to allow correct determination.
2537           (multiway_merge_loser_tree_unguarded):
2538           Remove over-cautious assertion.
2539           (calls to multiway_merge_*_splitting):
2540           Parametrize with type that is correct in all cases.
2541         * include/parallel/losertree.h:
2542           (delete_min_insert (in many classes)):
2543           Correct and standardize assertions.
2544
2545 2008-05-05  Benjamin Kosnik  <bkoz@redhat.com>
2546
2547         * testsuite/util/testsuite_visualization.h: Move contents into...
2548         * testsuite/util/testsuite_performance.h: ...here.
2549         * testsuite/util/testsuite_common_types.h: Move
2550         performance-related test infrastructure into
2551         testsuite_performance.
2552         * testsuite/performance/25_algorithms/search_n.cc: Fix includes.
2553         * testsuite/performance/23_containers/find/map.cc: Same.
2554         * testsuite/performance/23_containers/create/map.cc: Same.
2555         * testsuite/performance/23_containers/insert_erase/associative.cc: Same.
2556         * testsuite/performance/23_containers/insert/sequence.cc: Same.
2557         * testsuite/performance/23_containers/insert/associative.cc: Same.
2558         * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
2559         * testsuite/performance/23_containers/index/map.cc: Same.
2560         * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
2561         * testsuite/performance/23_containers/create_sort/list.cc: Same.
2562         * testsuite/performance/23_containers/sort_search/list.cc: Same.
2563         * testsuite/performance/23_containers/producer_consumer/sequence.cc:
2564         Same.
2565         * testsuite/performance/23_containers/producer_consumer/associative.cc:
2566         Same.
2567
2568         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
2569         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
2570
2571 2008-05-05  Benjamin Kosnik  <bkoz@redhat.com>
2572
2573         * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements.
2574         * 20_util/make_unsigned/requirements/typedefs-1.cc: Same.
2575
2576 2008-05-01  Benjamin Kosnik  <bkoz@redhat.com>
2577
2578         * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
2579
2580 2008-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2581
2582         * include/Makefile.am (install-headers): Cope with empty
2583         parallel_headers.
2584         * include/Makefile.in: Regenerate.
2585
2586 2008-04-29  Benjamin Kosnik  <bkoz@redhat.com>
2587
2588         * include/bits/c++config: Remove space between '#' and 'undef' for
2589         _GLIBCXX_LONG_DOUBLE_COMPAT.
2590
2591 2008-04-29  Joseph Myers  <joseph@codesourcery.com>
2592
2593         * Makefile.am (install-html, install-pdf): Add dummy targets.
2594         * Makefile.in: Regenerate.
2595         * doc/Makefile.am (install-html, install-pdf): Remove.
2596         * doc/Makefile.in: Regenerate.
2597
2598 2008-04-28  Benjamin Kosnik  <bkoz@redhat.com>
2599
2600         * include/bits/c++config: Move os_defines and cpu_defines after
2601         namespace definitions and base macros.
2602
2603 2008-04-28  Benjamin Kosnik  <bkoz@redhat.com>
2604
2605         PR libstdc++/35887
2606         * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just
2607         checking for omp.h.
2608         * configure: Regenerate.
2609
2610 2008-04-25  Benjamin Kosnik  <bkoz@redhat.com>
2611
2612         PR libstdc++/35922
2613         * include/std/unordered_map: Include debug/unordered_map if
2614         _GLIBCXX_DEBUG.
2615         * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
2616         * testsuite/23_containers/unordered_map/requirements/
2617         debug_container.cc: ...here.
2618         * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New.
2619         * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
2620         * testsuite/23_containers/unordered_set/requirements/
2621         debug_container.cc: ...here.
2622         * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New.
2623
2624 2008-04-25  Benjamin Kosnik  <bkoz@redhat.com>
2625
2626         PR libstdc++/35887
2627         * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support.
2628         * configure.ac: Re-order compiler macros.
2629         * configure: Regenerated.
2630
2631 2008-04-24  Benjamin Kosnik  <bkoz@redhat.com>
2632
2633         PR libstdc++/35887
2634         * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL.
2635         Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS.
2636         * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp.
2637         (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information.
2638         * configure: Regenerate.
2639         * include/Makefile.am (parallel_headers): Make conditional on
2640         ENABLE_PARALLEL.
2641         * include/Makefile.in: Regenerate.
2642
2643 2008-04-24  Paolo Carlini  <pcarlini@suse.de>
2644
2645         PR libstdc++/35969
2646         * include/debug/list (merge): Use _M_transfer_iter, consistently
2647         with the splice members.
2648         * testsuite/23_containers/list/operations/35969.cc: New.
2649
2650         * testsuite/23_containers/list/operators: Rename to
2651         testsuite/23_containers/list/operations.
2652
2653 2008-04-24  Benjamin Kosnik  <bkoz@redhat.com>
2654
2655         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of
2656         all used __sync builtins, in two sizes.
2657         * config.h.in: Regenerate.
2658         * configure: Regenerate.
2659         * src/atomic.cc: Use  _GLIBCXX_ATOMIC_BUILTINS_1.
2660         * include/ext/atomicity.h: Use  _GLIBCXX_ATOMIC_BUILTINS_4.
2661         * libsupc++/guard.cc: Use  _GLIBCXX_ATOMIC_BUILTINS_4.
2662         * doc/xml/manual/concurrency.xm: Update docs.
2663
2664 2008-04-23  Benjamin Kosnik  <bkoz@redhat.com>
2665
2666         * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
2667         _GLIBCXX_BEGIN_EXTERN_C, etc.
2668
2669 2008-04-23  Johannes Singler  <singler@ira.uka.de>
2670
2671         * include/parallel/quicksort.h: Reformat,
2672         (parallel_sort_qs): Do not pass number of elements.
2673         * include/parallel/balanced_quicksort.h: Reformat,
2674         (parallel_sort_qsb): Do not pass number of elements.
2675         * include/parallel/tags.h:
2676         Introduce new tags for compile-time choice.
2677         * include/parallel/merge.h:
2678         (parallel_merge_advance):Beautified.
2679         * include/parallel/algo.h: Reformatting (spaces for tabs)
2680         New sort and stable_sort variants, corresponding to the tags.
2681         * include/parallel/sort.h:
2682         New sort and stable_sort variants, corresponding to the tags.
2683         Changed determining the desired number of threads.
2684
2685 2008-04-23  Johannes Singler  <singler@ira.uka.de>
2686
2687         * include/parallel/multiway_merge.h
2688         (multiway_merge_loser_tree):
2689         Leave checks to callers, add precondition instead.
2690         (multiway_merge_loser_tree_unguarded): Likewise.
2691         (multiway_merge_loser_tree_sentinel): Likewise.
2692         (sequential_multiway_merge): Added checks for total length 0.
2693         (parallel_multiway_merge): Skip empty sequences.
2694         (multiway_merge, all variants):
2695         Remove temporary variable, return directly.
2696         (stable_multiway_merge, all variants): Likewise.
2697         (multiway_merge_sentinels, all variants):  Likewise.
2698         (stable_multiway_merge_sentinels, all variants): Likewise.
2699         * include/parallel/multiseq_selection.h
2700         (multiseq_partition): More detailed assertions.
2701
2702 2008-04-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2703
2704         * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
2705         (GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
2706         (GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
2707         (GLIBCXX_CHECK_SYSTEM_ERROR): Likewise.  Factorize.
2708         * configure: Regenerate.
2709
2710 2008-04-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2711
2712         PR libstdc++/35954
2713         * include/Makefile.am (pch*_output): Do not touch pch*_output_anchor.
2714         Call 'mkdir -p' unconditionally, but ignore its return value.
2715         * include/Makefile.in: Regenerate.
2716
2717         * include/Makefile.am: Fix most stamp rules to regenerate
2718         the links for all sources newer than the stamp file.
2719         * include/Makefile.in: Regenerate.
2720         * Makefile.in: Likewise.
2721         * src/Makefile.in: Likewise.
2722         * doc/Makefile.in: Likewise.
2723         * po/Makefile.in: Likewise.
2724         * libmath/Makefile.in: Likewise.
2725         * libsupc++/Makefile.in: Likewise.
2726         * testsuite/Makefile.in: Likewise.
2727
2728 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
2729
2730         PR bootstrap/35457
2731         * aclocal.m4: Regenerate.
2732         * configure: Regenerate.
2733
2734 2008-04-16  Andreas Tobler  <a.tobler@schweiz.org>
2735
2736         PR libstdc++/35915
2737         * configure.ac: Use GCC_HEADER_STDINT.
2738         * src/atomic.cc: Include gstdint.h
2739         * configure: Regenerate.
2740         * Makefile.in: Likewise.
2741         * doc/Makefile.in: Likewise.
2742         * include/Makefile.in: Likewise.
2743         * libmath/Makefile.in: Likewise.
2744         * libsupc++/Makefile.in: Likewise.
2745         * po/Makefile.in: Likewise.
2746         * src/Makefile.in: Likewise.
2747         * testsuite/Makefile.in: Likewise.
2748         * aclocal.m4: Likewise.
2749
2750 2008-04-14  Benjamin Kosnik  <bkoz@redhat.com>
2751
2752         PR libstdc++/35816
2753         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Set CXXFLAGS to
2754         -O0 when checking for atomic builtins.
2755         * configure: Regenerate.
2756
2757 2008-04-14  Benjamin Kosnik  <bkoz@redhat.com>
2758
2759         * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
2760
2761 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
2762
2763         * doc/html/*: Regenerate.
2764
2765 2008-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2766
2767         * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
2768         * doc/xml/authors.xml: Fix typos.
2769         * doc/xml/faq.xml: Likewise.
2770         * doc/xml/manual/abi.xml: Likewise.
2771         * doc/xml/manual/allocator.xml: Likewise.
2772         * doc/xml/manual/appendix_contributing.xml: Likewise.
2773         * doc/xml/manual/backwards_compatibility.xml: Likewise.
2774         * doc/xml/manual/build_hacking.xml: Likewise.
2775         * doc/xml/manual/codecvt.xml: Likewise.
2776         * doc/xml/manual/concurrency.xml: Likewise.
2777         * doc/xml/manual/ctype.xml: Likewise.
2778         * doc/xml/manual/debug_mode.xml: Likewise.
2779         * doc/xml/manual/diagnostics.xml: Likewise.
2780         * doc/xml/manual/evolution.xml: Likewise.
2781         * doc/xml/manual/extensions.xml: Likewise.
2782         * doc/xml/manual/locale.xml: Likewise.
2783         * doc/xml/manual/messages.xml: Likewise.
2784         * doc/xml/manual/parallel_mode.xml: Likewise.
2785         * doc/xml/manual/status_cxx200x.xml: Likewise.
2786         * doc/xml/manual/strings.xml: Likewise.
2787         * doc/xml/manual/support.xml: Likewise.
2788         * doc/xml/manual/test.xml: Likewise.
2789         * doc/xml/manual/using.xml: Likewise.
2790
2791 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
2792             Johannes Singler  <singler@ira.uka.de>
2793
2794         * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
2795         insertors. Correct omp_set_num_threads example.
2796
2797 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
2798
2799         * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
2800         * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
2801         * src/atomic.c: Format, doxygen markup, edits.
2802
2803         * include/Makefile.am (cstdatomic, stdatomic.h): Add.
2804         * src/Makefile.am (atomic.c): Add.
2805         * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
2806         * configure.ac: Call it.
2807         * include/Makefile.in: Regenerate.
2808         * src/Makefile.in: Same.
2809         * Makefile.in: Same.
2810         * doc/Makefile.in: Same.
2811         * po/Makefile.in: Same.
2812         * libmath/Makefile.in: Same.
2813         * include/Makefile.in: Same.
2814         * testsuite/Makefile.in: Same.
2815         * libsupc++/Makefile.in: Same.
2816         * config.h.in: Same.
2817         * configure: Same.
2818
2819         * config/abi/pre/gnu.ver: Add atomics exports.
2820
2821         * include/ext/typelist.h (apply_generator): New.
2822         * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
2823         (_GLIBCXX_END_EXTERN_C): New.
2824         Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
2825         compiling as C.
2826         * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
2827         flag for libstdc++.
2828         * testsuite/util/testsuite_common_types.h (integral_types): New
2829         typelist.
2830         (atomics, atomics_tl): Same.
2831         (assignable, default_constructible, copy_constructible,
2832         explicit_value_constructible): New.
2833         * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
2834         * testsuite/29_atomics: New.
2835         * testsuite/29_atomics/atomic_address: Same.
2836         * testsuite/29_atomics/atomic_address/cons: Same.
2837         * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
2838         * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
2839         * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
2840         * testsuite/29_atomics/atomic_address/cons/default.cc: Same.
2841         * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
2842         * testsuite/29_atomics/atomic_flag: Same.
2843         * testsuite/29_atomics/atomic_flag/cons: Same.
2844         * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
2845         * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
2846         * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
2847         * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
2848         * testsuite/29_atomics/atomic_flag/requirements: Same.
2849         * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
2850         Same.
2851         * testsuite/29_atomics/atomic_flag/
2852         atomic_global_fence_compatibility.cc: Same.
2853         * testsuite/29_atomics/atomic_flag/test_and_set: Same.
2854         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
2855         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
2856         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
2857         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
2858         * testsuite/29_atomics/headers: Same.
2859         * testsuite/29_atomics/headers/cstdatomic: Same.
2860         * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
2861         * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
2862         * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
2863         * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
2864         * testsuite/29_atomics/headers/stdatomic.h: Same.
2865         * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
2866         * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
2867         * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
2868         * testsuite/29_atomics/atomic: Same.
2869         * testsuite/29_atomics/atomic/cons: Same.
2870         * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
2871         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
2872         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
2873         * testsuite/29_atomics/atomic/cons/default.cc: Same.
2874         * testsuite/29_atomics/atomic/requirements: Same.
2875         * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
2876         * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
2877         1.cc: Same.
2878
2879 2008-04-10  Lawrence Crowl  <crowl@google.com>
2880
2881         * include/c_global/cstdatomic: New.
2882         * include/c_compatibility/stdatomic.h: New.
2883         * src/atomic.c: New.
2884
2885 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
2886
2887         * include/std/tuple: Consistency check for include guard, doxygen
2888         file markup.
2889         * include/std/date_time: Same.
2890         * include/std/type_traits: Same.
2891         * include/std/regex: Same.
2892         * include/std/array: Same.
2893         * include/std/system_error: Same, add error_code ctor.
2894
2895 2008-04-07  Johannes Singler  <singler@ira.uka.de>
2896
2897         * include/parallel/multiway_merge.h: Moved decisions to
2898         compile-time instead of run-time.
2899         * include/parallel/losertree.h: Removed obsolete variants, added
2900         variant that uses pointers in the loser tree.
2901         * include/parallel/types.h: Remove obsolete settings options from enum.
2902         * include/parallel/features.h: Remove obsolete compile-time switches.
2903         * include/parallel/compiletime_settings.h: Remove obsolete variant
2904         that copies back *after* sorting.
2905         * include/parallel/tags.h: Add one new tag for compile-time switch.
2906         * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
2907         * include/parallel/multiway_mergesort.h: Adapt to changes in
2908         multiway_merge.h. Factor out splitting variants. Remove obsolete
2909         variant that copies back *after* sorting.
2910         * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
2911         * testsuite/25_algorithms/sort/35588.cc: Added test case from /
2912         for PR 35588.
2913
2914 2008-03-29  Paolo Carlini  <pcarlini@suse.de>
2915
2916         PR libstdc++/35725
2917         * include/bits/stl_algobase.h (__fill_a(_ForwardIterator,
2918         _ForwardIterator, _Tp), __fill_a(_Tp*, _Tp*, _Tp),
2919         __fill_n_a(_OutputIterator, _Size, _Tp), __fill_n_a(_Tp*, _Size,
2920         _Tp)): Fix signatures.
2921         * testsuite/25_algorithms/fill/35725.cc: New.
2922         * testsuite/25_algorithms/fill_n/35725.cc: Likewise.
2923
2924 2008-03-29  Matthias Klose  <doko@ubuntu.com>
2925
2926         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
2927         * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise.
2928         * config/abi/post/mips-linux-gnu/baseline_symbols.txt: Likewise.
2929         * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Likewise.
2930
2931 2008-03-27  Ian Lance Taylor  <iant@google.com>
2932
2933         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
2934         glibcxx_ld_is_gold.  Check for gold in --gc-sections test.
2935         (GLIBCXX_ENABLE_SYMVERS): Check for gold.
2936         * aclocal.m4, configure: Rebuild.
2937
2938 2008-03-26  Benjamin Kosnik  <bkoz@redhat.com>
2939
2940         * testsuite/util/testsuite_abi.h: Remove symbol_objects,
2941         symbol_names typedefs.
2942         * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check
2943         for long double compatiblity symbols, simplify data structures used.
2944
2945 2008-03-25  Benjamin Kosnik  <bkoz@redhat.com>
2946
2947         * scripts/run_doxygen: Remove html_output_dir. Downgrade to
2948         Doxygen 1.5.1.
2949         * doc/doxygen/style.css: Delete.
2950         * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1.
2951         (INPUT): Update.
2952         (PREDEFINED): Update.
2953         (HTML_OUTPUT): Remove html_output_dir, use html.
2954         (HTML_STYLESHEET): Remove style.css.
2955         * doc/doxygen/tables.html: Remove style.css use.
2956         * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes.
2957         * doc/doxygen/doxygroups.cc: Namespace edits.
2958         * doc/doxygen/Intro.3: Correct typo.
2959
2960         * doc/xml/api.xml: Add gcc-4.3 links.
2961         * doc/html/api.html: Regenerate.
2962
2963         * include/debug/debug.h: Document namepaces here.
2964         * include/parallel/base.h: Same.
2965         * include/ext/typelist.h: Same.
2966         * include/ext/pb_ds/tag_and_trait.hpp: Same.
2967
2968         * include/tr1_impl/random: Adjust line break.
2969         * include/tr1_impl/unordered_map: Correct and or add markup.
2970         * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup.
2971         * include/tr1_impl/functional_hash.h: Same.
2972         * include/tr1_impl/cmath: Same.
2973         * include/tr1_impl/functional: Same.
2974         * include/tr1_impl/unordered_set: Same.
2975         * include/tr1_impl/complex: Same.
2976         * include/tr1_impl/type_traits: Same.
2977         * include/tr1_impl/regex: Same.
2978         * include/tr1_impl/array: Same.
2979         * include/std/tuple: Same.
2980         * include/std/date_time: Same.
2981         * include/std/system_error: Same.
2982         * include/std/type_traits: Same.
2983         * include/ext/enc_filebuf.h: Same.
2984         * include/ext/throw_allocator.h: Same.
2985         * include/ext/pool_allocator.h: Same.
2986         * include/ext/bitmap_allocator.h: Same.
2987         * include/ext/concurrence.h: Same.
2988         * include/ext/codecvt_specializations.h: Same.
2989         * include/ext/stdio_sync_filebuf.h: Same.
2990         * include/ext/array_allocator.h: Same.
2991         * include/ext/mt_allocator.h: Same.
2992         * include/bits/locale_classes.h: Same.
2993         * include/bits/locale_facets.h: Same.
2994         * include/bits/codecvt.h: Same.
2995         * include/bits/char_traits.h: Same.
2996         * include/bits/allocator.h: Same.
2997         * include/bits/locale_facets_nonio.h: Same.
2998         * include/tr1/poly_laguerre.tcc: Same.
2999         * include/tr1/riemann_zeta.tcc: Same.
3000         * include/tr1/beta_function.tcc: Same.
3001         * include/tr1/tuple: Same.
3002         * include/tr1/exp_integral.tcc: Same.
3003         * include/tr1/gamma.tcc: Same.
3004         * include/tr1/hypergeometric.tcc: Same.
3005         * include/tr1/modified_bessel_func.tcc: Same.
3006         * include/tr1/legendre_function.tcc: Same.
3007         * include/tr1/type_traits: Same.
3008         * include/tr1/special_function_util.h: Same.
3009         * include/tr1/bessel_function.tcc: Same.
3010         * include/tr1/cmath: Same.
3011         * include/tr1/poly_hermite.tcc: Same.
3012         * include/tr1/ell_integral.tcc: Same.
3013         * config/abi/compatibility.h: Adjust file name.
3014
3015         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
3016         line numbers.
3017         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
3018         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
3019
3020 2008-03-23  Paolo Carlini  <pcarlini@suse.de>
3021
3022         * doc/xml/faq.xml: Fix various links.
3023         * doc/xml/api.xml: Likewise.
3024         * doc/xml/manual/parallel_mode.xml: Likewise.
3025         * doc/html/faq.html: Regenerate.
3026         * doc/html/api.html: Likewise.
3027         * doc/html/manual/bk01pt12ch31s03.html: Likewise.
3028
3029 2008-03-20  Benjamin Kosnik  <bkoz@redhat.com>
3030
3031         * testsuite/util/testsuite_abi.cc: Add support for not counting
3032         GLIBCXX_LDBL_* compat symbols missing if no long double compat
3033         symbols under test.
3034
3035 2008-03-20  Paolo Carlini  <pcarlini@suse.de>
3036
3037         PR libstdc++/35637
3038         * include/tr1_impl/type_traits (struct __in_array): Add back.
3039         (is_function): Use it.
3040         * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New.
3041
3042 2008-03-20  Johannes Singler  <singler@ira.uka.de>
3043
3044         * include/parallel/set_operations.h (set_intersection): Remove.
3045
3046 2008-03-19  Benjamin Kosnik  <bkoz@redhat.com>
3047
3048         PR libstdc++/35256
3049         * doc/xml/manual/parallel_mode.xml: Correct configuration documentation.
3050         * doc/html/manual/bk01pt12ch31s04.html: Regenerate.
3051
3052 2008-03-18  Benjamin Kosnik  <bkoz@redhat.com>
3053
3054         * configure.ac (libtool_VERSION): To 6:11:0.
3055         * configure: Regenerate.
3056         * aclocal.m4: Regenerate.
3057
3058 2008-03-16  Paolo Carlini  <pcarlini@suse.de>
3059
3060         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
3061         Update.
3062         * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
3063         * include/precompiled/stdc++.h: Likewise.
3064
3065 2008-03-16  Pedro LamarĂ£o  <pedro.lamarao@gmail.com>
3066
3067         * include/std/date_time: New file.
3068         * src/date_time.cc: New file.
3069         * config/abi/pre/gnu.ver: Added <date_time> symbols in version
3070         GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4
3071         that matched new symbols.
3072         * include/Makefile.am: Add date_time in std headers.
3073         * src/Makefile.am: Add date_time.cc to source files.
3074         * include/Makefile.in: Regenerate.
3075         * src/Makefile.in: Likewise.
3076
3077 2008-03-16  Pedro LamarĂ£o  <pedro.lamarao@gmail.com>
3078
3079       * testsuite/31_date_time/headers/date_time/types_std.cc: New.
3080       * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
3081       * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
3082       * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
3083       * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
3084       * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
3085       * testsuite/31_date_time/system_time/requirements: Likewise.
3086       * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
3087
3088 2008-03-16  Paolo Carlini  <pcarlini@suse.de>
3089
3090         * config.h.in: Regenerate.
3091
3092 2008-03-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3093
3094         * aclocal.m4: Regenerate.
3095         * configure: Likewise.
3096         * Makefile.in: Likewise.
3097         * doc/Makefile.in: Likewise.
3098         * include/Makefile.in: Likewise.
3099         * libmath/Makefile.in: Likewise.
3100         * libsupc++/Makefile.in: Likewise.
3101         * po/Makefile.in: Likewise.
3102         * src/Makefile.in: Likewise.
3103         * testsuite/Makefile.in: Likewise.
3104
3105 2008-03-13  Dennis Czeremin  <dennis.czeremin@smiths-heimann.com>
3106
3107         PR libstdc++/35566
3108         * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
3109         _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
3110
3111 2008-03-13  Paolo Carlini  <pcarlini@suse.de>
3112
3113         PR libstdc++/35541
3114         * include/debug/functions.h (__check_sorted_set_aux): Fix signature.
3115         * testsuite/25_algorithms/set_difference/35541.cc: New.
3116
3117 2008-03-07  Jakub Jelinek  <jakub@redhat.com>
3118
3119         * config/abi/pre/gnu.ver: Move <system_error> related
3120         symbols to GLIBCXX_3.4.11 symbol version.
3121         * testsuite/util/testsuite_abi.cc (check_version): Allow
3122         GLIBCXX_3.4.11.
3123
3124 2008-03-06  Chris Jefferson  <chris@bubblescope.net>
3125             Paolo Carlini  <pcarlini@suse.de>
3126
3127         PR libstdc++/35480
3128         * include/tr1/tuple (operator==, operator<): Fix.
3129         * include/std/tuple (operator==, operator<): Likewise.
3130         * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New.
3131         * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise.
3132
3133 2008-03-04  Joseph Myers  <joseph@codesourcery.com>
3134
3135         * crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
3136         HAVE_STRTOLD.
3137         * configure: Regenerate.
3138
3139 2008-03-02  Hans-Peter Nilsson  <hp@axis.com>
3140
3141         * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
3142         testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
3143         Mark changed error message prelude, adding "in file included from",
3144         using dg-excess-errors.
3145
3146 2008-03-01  Jakub Jelinek  <jakub@redhat.com>
3147
3148         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
3149         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
3150         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
3151         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
3152         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
3153         Likewise.
3154         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
3155         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
3156
3157 2008-02-29  Jakub Jelinek  <jakub@redhat.com>
3158
3159         * config/abi/pre/gnu.ver: Remove
3160         _ZNKSt3tr14hashIgEclEg@@GLIBCXX_3.4.10 and
3161         _ZNKSt4hashIgEclEg@@GLIBCXX_3.4.10 export.
3162         * config/os/gnu-linux/ldbl-extra.ver: Export
3163         _ZNKSt3tr14hashIgEclEg@@GLIBCXX_LDBL_3.4.10
3164         and _ZNKSt4hashIgEclEg@@GLIBCXX_LDBL_3.4.10.
3165         * src/hash.cc: Only define long double hash specialization if
3166         _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL is defined.
3167         * src/compatibility-ldbl.cc: Include "hash.cc".
3168         (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define.
3169         (_ZNKSt4hashIeEclEe): New alias.
3170         * testsuite/util/testsuite_abi.cc (check_version): Support
3171         GLIBCXX_LDBL_3.4.10.
3172
3173 2008-02-25  Jan Beulich  <jbeulich@novell.com>
3174
3175         * acinclude.m4: Also check for EIDRM and ETXTBSY.
3176         * configure: Re-generate.
3177         * config/os/generic/error_constants.h (namespace posix_error):
3178         Also wrap uses of EIDRM and ETXTBSY in conditionals.
3179         * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
3180         Likewise.
3181
3182 2008-02-20  Jason Merrill  <jason@redhat.com>
3183
3184         * include/bits/c++config: Use 'inline namespace' instead of
3185         strong using.
3186
3187 2008-02-18  Pedro Lamarao <pedro.lamarao@mndfck.org>
3188
3189         * include/std/tuple: Fixes for moveable, non-copyable types.
3190         * testsuite/20_util/tuple/moveable2.cc: New.
3191
3192 2008-02-18  Paolo Carlini  <pcarlini@suse.de>
3193
3194         * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.
3195
3196 2008-02-17  Ed Smith-Rowland  <3dw4rd@verizon.net>
3197
3198         * include/tr1/poly_laguerre.tcc: Doxygen fixes.
3199         * include/tr1/exp_integral.tcc: Same.
3200         * include/tr1/gamma.tcc: Same.
3201         * include/tr1/hypergeometric.tcc: Same.
3202
3203 2008-02-17  Benjamin Kosnik  <bkoz@redhat.com>
3204
3205         PR libstdc++/34797
3206         * include/parallel/settings.h (_Settings): Reconstruct Settings class
3207         here, uglify, remove anonymous namespace and static
3208         members. Convert to datum.
3209         * include/parallel/types.h: Move Settings:: enumerations here, uglify.
3210         * src/parallel_settings.cc: New, definition for _Settings member
3211         functions.
3212         * include/parallel/multiway_merge.h: Same.
3213         * include/parallel/for_each.h: Same.
3214         * include/parallel/workstealing.h: Same.
3215         * include/parallel/base.h: Same.
3216         * include/parallel/numeric
3217         * include/parallel/features.h: Same.
3218         * include/parallel/quicksort.h: Same.
3219         * include/parallel/equally_split.h: Same.
3220         * include/parallel/algorithmfwd.h: Same.
3221         * include/parallel/omp_loop_static.h: Same.
3222         * include/parallel/random_shuffle.h: Same.
3223         * include/parallel/balanced_quicksort.h: Same.
3224         * include/parallel/tags.h: Same.
3225         * include/parallel/multiway_mergesort.h: Same.
3226         * include/parallel/numericfwd.h: Same.
3227         * include/parallel/partition.h: Same.
3228         * include/parallel/partial_sum.h: Same.
3229         * include/parallel/find.h: Same.
3230         * include/parallel/algo.h: Same.
3231         * include/parallel/omp_loop.h: Same.
3232         * include/parallel/sort.h: Same.
3233
3234         * src/Makefile.am (parallel_sources): Add parallel_settings.cc.
3235         * src/Makefile.in: Regenerate.
3236
3237         * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.
3238
3239 2008-02-17  Paolo Carlini  <pcarlini@suse.de>
3240
3241         PR libstdc++/35221
3242         * include/parallel/types.h: Reinstate integer types typedefs.
3243         * include/parallel/multiseq_selection.h: Adjust.
3244         * include/parallel/compatibility.h: Likewise.
3245         * include/parallel/random_shuffle.h: Likewise.
3246         * include/parallel/random_number.h: Likewise.
3247         * include/parallel/base.h: Likewise.
3248
3249 2008-02-17  Paolo Carlini  <pcarlini@suse.de>
3250
3251         PR libstdc++/35209
3252         * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
3253         * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
3254         * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
3255
3256 2008-02-16  Benjamin Kosnik  <bkoz@redhat.com>
3257
3258         * include/parallel/random_number.h: Use TR1's mersenne_twister.
3259         (random_number::genrand_bits()): Remove.
3260         (random_number::set_seed): Remove.
3261
3262 2008-02-15  Benjamin Kosnik  <bkoz@redhat.com>
3263
3264         * include/parallel/types.h: Remove enum parallelism.
3265
3266 2008-02-15  Benjamin Kosnik  <bkoz@redhat.com>
3267
3268         * include/parallel/types.h: Move enum parallelism here.  Use
3269         tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
3270         uint64_t.
3271         * include/parallel/multiseq_selection.h: Adjust for cstdint.
3272         * include/parallel/compatibility.h: Same.
3273         * include/parallel/tags.h: Just compile-time tags.
3274         * include/parallel/base.h: Put namespace bits here.
3275
3276         * src/Makefile.am (PARALLEL_FLAGS): Use it.
3277         * src/Makefile.in: Regenerate.
3278
3279         * testsuite/25_algorithms/nth_element/1.cc: Add test variable.
3280
3281 2008-02-15  Hans-Peter Nilsson  <hp@axis.com>
3282
3283         * testsuite/config/default.exp: Load gcc dejapatches.exp.
3284
3285 2008-02-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3286
3287         * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
3288         remove XFAIL.
3289
3290 2008-02-14  Benjamin Kosnik  <bkoz@redhat.com>
3291
3292         * config/os/generic/error_constants.h (posix_errno): Guard
3293         not_supported use of ENOTSUP.
3294         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
3295         for OpenBSD.
3296         * aclocal.m4: Regenerate.
3297         * configure: Rengerate.
3298         * config.h.in: Same.
3299
3300 2008-02-13  Benjamin Kosnik  <bkoz@redhat.com>
3301
3302         * doc/doxygen/mainpage.html: Correct links.
3303
3304 2008-02-11  Benjamin Kosnik  <bkoz@redhat.com>
3305
3306         * doc/html/*: Populate with regenerated files.
3307
3308 2008-02-11  Benjamin Kosnik  <bkoz@redhat.com>
3309
3310         * doc/html/*: Remove all but contents of ext/pb_ds.
3311         * doc/html/index.html: New.
3312         * doc/html/README: New.
3313
3314 2008-02-11  Benjamin Kosnik  <bkoz@redhat.com>
3315
3316         * doc/doxygen/mainpage.html: Add in corrected links.
3317         * README: Edit, move most into...
3318         * doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
3319         (Documentation Style): Revise.
3320         * doc/xml/spine.xml: Edit file names.
3321         * doc/Makefile.am: Edit xml_sources.
3322         * doc/Makefile.in: Regenerate.
3323
3324 2008-02-11  Paolo Carlini  <pcarlini@suse.de>
3325
3326         * configure: Regenerate with documented autoconf and automake
3327         versions (i.e., 2.59 and 1.9.6).
3328         * Makefile.in: Likewise.
3329         * src/Makefile.in: Likewise.
3330         * doc/Makefile.in: Likewise.
3331         * po/Makefile.in: Likewise.
3332         * libmath/Makefile.in: Likewise.
3333         * include/Makefile.in: Likewise.
3334         * libsupc++/Makefile.in: Likewise.
3335         * testsuite/Makefile.in: Likewise.
3336         * aclocal.m4: Likewise.
3337
3338 2008-02-10  Benjamin Kosnik  <bkoz@redhat.com>
3339
3340         Convert documentation to DocBook.
3341         * doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
3342         (doc-doxygen-man): Changed to doc-man-doxygen.
3343         (doc-performance): Changed to doc-html-performance.
3344         (doc-xml-doxygen): New.
3345         (doc-xml-single): New.
3346         (doc-xml-validate): New.
3347         (doc-html): New.
3348         (doc-html-single): New.
3349         (doc-fo): New.
3350         (doc-pdf): New.
3351         (doc-pdf-fop-xml): New.
3352         (doc-pdf-fop-fo): New.
3353         (doc-pdf-xmlto): New.
3354         (doc-pdf-xmlroff): New.
3355         (doc-pdf-prince): New.
3356         * doc/xml: New directory.
3357         * doc/xml/authors.xml: New.
3358         * doc/xml/images: New directory.
3359         * doc/xml/images/confdeps.png: Add.
3360         * doc/xml/images/confdeps.dot: Add.
3361         * doc/xml/faq.xml: New.
3362         * doc/xml/api.xml: New.
3363         * doc/xml/gnu: New directory.
3364         * doc/xml/gnu/gpl-3.0.xml: New.
3365         * doc/xml/gnu/fdl-1.2.xml: New.
3366         * doc/xml/gnu/gpl-2.0.xml: New.
3367         * doc/xml/manual: New directory.
3368         * doc/xml/manual/mt_allocator.xml: New.
3369         * doc/xml/manual/allocator.xml: New.
3370         * doc/xml/manual/ctype.xml: New.
3371         * doc/xml/manual/numerics.xml: New.
3372         * doc/xml/manual/codecvt.xml: New.
3373         * doc/xml/manual/concurrency.xml: New.
3374         * doc/xml/manual/backwards_compatibility.xml: New.
3375         * doc/xml/manual/intro.xml: New.
3376         * doc/xml/manual/shared_ptr.xml: New.
3377         * doc/xml/manual/abi.xml: New.
3378         * doc/xml/manual/status_cxxtr1.xml: New.
3379         * doc/xml/manual/auto_ptr.xml: New.
3380         * doc/xml/manual/build.xml: New.
3381         * doc/xml/manual/internals.xml: New.
3382         * doc/xml/manual/parallel_mode.xml: New.
3383         * doc/xml/manual/status_cxx1998.xml: New.
3384         * doc/xml/manual/containers.xml: New.
3385         * doc/xml/manual/io.xml: New.
3386         * doc/xml/manual/appendix_porting.xml: New.
3387         * doc/xml/manual/utilities.xml: New.
3388         * doc/xml/manual/bitmap_allocator.xml: New.
3389         * doc/xml/manual/support.xml: New.
3390         * doc/xml/manual/configure.xml: New.
3391         * doc/xml/manual/build_hacking.xml: New.
3392         * doc/xml/manual/evolution.xml: New.
3393         * doc/xml/manual/using.xml: New.
3394         * doc/xml/manual/debug.xml: New.
3395         * doc/xml/manual/localization.xml: New.
3396         * doc/xml/manual/strings.xml: New.
3397         * doc/xml/manual/debug_mode.xml: New.
3398         * doc/xml/manual/locale.xml: New.
3399         * doc/xml/manual/extensions.xml: New.
3400         * doc/xml/manual/appendix_contributing.xml: New.
3401         * doc/xml/manual/messages.xml: New.
3402         * doc/xml/manual/diagnostics.xml: New.
3403         * doc/xml/manual/appendix_free.xml: New.
3404         * doc/xml/manual/algorithms.xml: New.
3405         * doc/xml/manual/iterators.xml: New.
3406         * doc/xml/manual/spine.xml: New.
3407         * doc/xml/manual/test.xml: New.
3408         * doc/xml/manual/status_cxx200x.xml: New.
3409         * doc/xml/spine.xml: New.
3410
3411         * doc/xml/book.txml: New. Template file.
3412         * doc/xml/chapter.txml: Same.
3413         * doc/xml/class.txml: Same.
3414
3415         * doc/doxygen/guide.html: Removed, integrated into other docs.
3416         * doc/doxygen/user.cfg.in: Clean up XML generation.
3417         * doc/doxygen/run_doxygen: Move to..
3418         * scripts/run_doxygen: ...here.
3419
3420         * configure: Regenerate.
3421         * Makefile.in: Regenerate.
3422         * src/Makefile.in: Regenerate.
3423         * doc/Makefile.in: Regenerate.
3424         * po/Makefile.in: Regenerate.
3425         * libmath/Makefile.in: Regenerate.
3426         * include/Makefile.in: Regenerate.
3427         * libsupc++/Makefile.in: Regenerate.
3428         * testsuite/Makefile.in: Regenerate.
3429         * aclocal.m4: Regenerate.
3430
3431 2008-02-10  Paolo Carlini  <pcarlini@suse.de>
3432
3433         PR libstdc++/16251
3434         * include/std/istream (basic_istream<>::basic_istream()): Call
3435         this->init().
3436         (basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
3437         do it here, per 27.6.1.5.1/1.
3438         * include/std/ostream (basic_ostream<>::basic_ostream()): Call
3439         this->init().
3440         * testsuite/27_io/basic_iostream/cons/16251.C: New.
3441
3442         * testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
3443
3444 2008-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3445
3446         * include/backward/auto_ptr.h: Fix comment typos.
3447         * include/bits/algorithmfwd.h: Likewise.
3448         * include/bits/basic_ios.h: Likewise.
3449         * include/bits/c++config: Likewise.
3450         * include/bits/char_traits.h: Likewise.
3451         * include/bits/codecvt.h: Likewise.
3452         * include/bits/gslice.h: Likewise.
3453         * include/bits/ios_base.h: Likewise.
3454         * include/bits/locale_facets.h: Likewise.
3455         * include/bits/locale_facets_nonio.tcc: Likewise.
3456         * include/bits/postypes.h: Likewise.
3457         * include/bits/sstream.tcc: Likewise.
3458         * include/bits/stl_algo.h: Likewise.
3459         * include/bits/stl_deque.h: Likewise.
3460         * include/bits/stl_iterator.h: Likewise.
3461         * include/bits/stl_iterator_base_types.h Likewise.
3462         * include/bits/stl_list.h: Likewise.
3463         * include/bits/stl_map.h: Likewise.
3464         * include/bits/stl_multimap.h: Likewise.
3465         * include/bits/stl_multiset.h: Likewise.
3466         * include/bits/stl_set.h: Likewise.
3467         * include/bits/stl_vector.h: Likewise.
3468         * include/bits/valarray_array.h: Likewise.
3469         * include/debug/safe_base.h: Likewise.
3470         * include/ext/bitmap_allocator.h: Likewise.
3471         * include/ext/codecvt_specializations.h Likewise.
3472         * include/ext/mt_allocator.h: Likewise.
3473         * include/ext/rc_string_base.h: Likewise.
3474         * include/ext/rope: Likewise.
3475         * include/parallel/checkers.h: Likewise.
3476         * include/parallel/find.h: Likewise.
3477         * include/parallel/multiseq_selection.h: Likewise.
3478         * include/parallel/partition.h: Likewise.
3479         * include/parallel/settings.h: Likewise.
3480         * include/std/bitset: Likewise.
3481         * include/std/complex: Likewise.
3482         * include/std/fstream: Likewise.
3483         * include/std/istream: Likewise.
3484         * include/std/limits: Likewise.
3485         * include/std/ostream: Likewise.
3486         * include/std/stdexcept: Likewise.
3487         * include/std/streambuf: Likewise.
3488         * include/tr1/bessel_function.tcc: Likewise.
3489         * include/tr1/cmath: Likewise.
3490         * include/tr1/ell_integral.tcc: Likewise.
3491         * include/tr1/hypergeometric.tcc: Likewise.
3492         * include/tr1/legendre_function.tcc: Likewise.
3493         * include/tr1_impl/random: Likewise.
3494         * include/tr1_impl/regex: Likewise.
3495
3496 2008-01-31  Paolo Carlini  <pcarlini@suse.de>
3497
3498         * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
3499         Avoid -Wall warnings.
3500         * testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
3501         Likewise.
3502         * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
3503         Likewise.
3504         * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
3505         * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
3506         * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
3507         * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
3508         Likewise.
3509         * testsuite/tr1/6_containers/array/requirements/contiguous.cc:
3510         Likewise.
3511         * testsuite/tr1/6_containers/array/requirements/member_swap.cc:
3512         Likewise.
3513         * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
3514         * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
3515         Likewise.
3516         * testsuite/tr1/6_containers/array/comparison_operators/
3517         less_or_equal.cc: Likewise.
3518         * testsuite/tr1/6_containers/array/comparison_operators/
3519         greater_or_equal.cc: Likewise.
3520         * testsuite/tr1/6_containers/array/comparison_operators/less.cc:
3521         Likewise.
3522         * testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
3523         Likewise.
3524         * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
3525         Likewise.
3526         * testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
3527         Likewise.
3528         * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
3529         * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
3530         Likewise.
3531         * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
3532         * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
3533         * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
3534         * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
3535         Likewise.
3536         * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
3537         * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
3538         * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
3539         * testsuite/thread/guard.cc: Likewise.
3540         * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
3541         * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
3542         * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
3543         * testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
3544         * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
3545         * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
3546         * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
3547         Likewise.
3548
3549 2008-01-26  David Edelsohn  <edelsohn@gnu.org>
3550
3551         PR target/34794
3552         * config/os/aix/os_defines.h: Define __COMPATMATH__.
3553
3554 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
3555
3556         * configure: Regenerate.
3557
3558 2008-01-21  Matthias Klose  <doko@ubuntu.com>
3559
3560         * doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
3561
3562 2008-01-19  Paolo Carlini  <pcarlini@suse.de>
3563
3564         * configure: Regenerate.
3565         * Makefile.in: Likewise.
3566         * src/Makefile.in: Likewise.
3567         * doc/Makefile.in: Likewise.
3568         * po/Makefile.in: Likewise.
3569         * libmath/Makefile.in: Likewise.
3570         * include/Makefile.in: Likewise.
3571         * libsupc++/Makefile.in: Likewise.
3572         * testsuite/Makefile.in: Likewise.
3573         * aclocal.m4: Likewise.
3574
3575 2008-01-18  Benjamin Kosnik  <bkoz@redhat.com>
3576
3577         * docs/*: To...
3578         * doc/*: ...here.
3579         * testsuite/Makefile.am: Move doc-performance to...
3580         * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
3581         * doc/Makefile.am: Consolidate documentation creation here.
3582         (doc-doxygen-html): New.
3583         (doc-doxygen-man): New.
3584         (doc-performance): New.
3585         * doc/Makefile.in: New.
3586         * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
3587         * doc/doxygen/guide.html: Edit for unified html configuration.
3588         * doc/doxygen/mainpage.html: Same.
3589         * doc/doxygen/run_doxygen: Same, more namespace fixups for man
3590         generation.
3591         * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.
3592
3593         * include/tr1_impl/random: Remove maint from doxygen markup.
3594         * include/tr1_impl/functional: Same.
3595         * include/std/tuple: Same.
3596         * include/std/streambuf: Same.
3597         * include/std/bitset: Same.
3598         * include/std/limits: Same.
3599         * include/std/fstream: Same.
3600         * include/std/istream: Same.
3601         * include/std/sstream: Same.
3602         * include/ext/pool_allocator.h: Same.
3603         * include/ext/rc_string_base.h: Same.
3604         * include/bits/basic_ios.h: Same.
3605         * include/bits/stl_list.h: Same.
3606         * include/bits/stl_map.h: Same.
3607         * include/bits/locale_classes.h: Same.
3608         * include/bits/stl_set.h: Same.
3609         * include/bits/stl_iterator_base_types.h: Same.
3610         * include/bits/basic_string.h: Same.
3611         * include/bits/stl_multimap.h: Same.
3612         * include/bits/stl_vector.h: Same.
3613         * include/bits/ios_base.h: Same.
3614         * include/bits/stl_deque.h: Same.
3615         * include/bits/postypes.h: Same.
3616         * include/bits/stl_multiset.h: Same.
3617         * include/bits/stl_algo.h: Same.
3618         * include/bits/stl_iterator.h: Same.
3619         * include/bits/stl_tempbuf.h: Same.
3620         * include/bits/stl_construct.h: Same.
3621         * include/bits/stl_relops.h: Same.
3622         * include/tr1/tuple: Same.
3623         * include/backward/auto_ptr.h: Same.
3624
3625         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3626         Fixups for line number changes.
3627         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
3628         * testsuite/23_containers/vector/requirements/dr438/
3629         constructor_1_neg.cc: Same.
3630         * testsuite/23_containers/vector/requirements/dr438/
3631         constructor_2_neg.cc: Same.
3632         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
3633         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
3634         * testsuite/23_containers/deque/requirements/dr438/
3635         constructor_1_neg.cc: Same.
3636         * testsuite/23_containers/deque/requirements/dr438/
3637         constructor_2_neg.cc: Same.
3638         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
3639         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
3640         * testsuite/23_containers/list/requirements/dr438/
3641         constructor_1_neg.cc: Same.
3642         * testsuite/23_containers/list/requirements/dr438/
3643         constructor_2_neg.cc: Same.
3644         * testsuite/20_util/auto_ptr/assign_neg.cc: Same.
3645
3646         * aclocal.m4: Regenerate.
3647         * config.h.in: Regenerate.
3648         * configure: Regenerate.
3649         * Makefile.in: Regenerate.
3650         * src/Makefile.in: Regenerate.
3651         * po/Makefile.in: Regenerate.
3652         * libmath/Makefile.in: Regenerate.
3653         * include/Makefile.in: Regenerate.
3654         * libsupc++/Makefile.in: Regenerate.
3655         * testsuite/Makefile.in: Regenerate.
3656
3657         * scripts/make_graphs.py: Correct paths for new layout.
3658
3659 2008-01-17  Benjamin Kosnik  <bkoz@redhat.com>
3660
3661         * acinclude.m4 (AC_LC_MESSAGES): Remove serial.
3662         * linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
3663         * configure: Regenerate.
3664         * aclocal.m4: Regenerate.
3665
3666 2008-01-14  Paolo Carlini  <pcarlini@suse.de>
3667
3668         * include/parallel/list_partition.h: Formatting fixes, inline tweaks.
3669         * include/parallel/numeric: Likewise.
3670         * include/parallel/balanced_quicksort.h: Likewise.
3671         * include/parallel/unique_copy.h: Likewise.
3672         * include/parallel/algobase.h: Likewise.
3673         * include/parallel/algo.h: Likewise.
3674
3675 2008-01-14  Seongbae Park <seongbae.park@gmail.com>
3676
3677         * crossconfig.m4: Add missing header checks, C99 TR1 check,
3678         and sigsetjmp check.
3679
3680 2008-01-14  Paolo Carlini  <pcarlini@suse.de>
3681
3682         * include/parallel/tree.h: Remove.
3683         * include/Makefile.am: Update.
3684         * include/Makefile.in: Rebuild.
3685
3686         * src/Makefile.am: Remove spurious trailing backslash.
3687         * src/Makefile.in: Rebuild.
3688         * po/Makefile.in: Likewise.
3689         * libmath/Makefile.in: Likewise.
3690         * testsuite/Makefile.in: Likewise.
3691         * libsupc++/Makefile.in: Likewise.
3692         * aclocal.m4: Likewise.
3693         * Makefile.in: Likewise.
3694         * configure: Likewise.
3695
3696 2008-01-12  Paolo Carlini  <pcarlini@suse.de>
3697
3698         PR libstdc++/34730
3699         * include/debug/functions.h (__check_sorted_set,
3700         __check_sorted_set_aux): Add.
3701         (__check_sorted): Check StrictWeakOrdering.
3702         * include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
3703         __glibcxx_check_strict_weak_ordering_pred): Remove.
3704         (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
3705         (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
3706         * include/debug/debug.h (__glibcxx_requires_sorted_set,
3707         __glibcxx_requires_sorted_set_pred): Add.
3708         * include/bits/stl_algo.h (merge, includes, set_union,
3709         set_intersection, set_difference, set_symmetric_difference):
3710         Adjust, use __glibcxx_requires_sorted_set* instead.
3711         * testsuite/25_algorithms/set_intersection/34730.cc: New.
3712
3713 2008-01-09  Paolo Carlini  <pcarlini@suse.de>
3714
3715         * include/parallel/multiway_merge.h: Reformat to 80 columns;
3716         adjust some inline specifiers; other minor style fixes.
3717         * include/parallel/losertree.h: Likewise.
3718         * include/parallel/list_partition.h: Likewise.
3719         * include/parallel/multiseq_selection.h: Likewise.
3720         * include/parallel/workstealing.h: Likewise.
3721         * include/parallel/base.h: Likewise.
3722         * include/parallel/par_loop.h: Likewise.
3723         * include/parallel/numeric: Likewise.
3724         * include/parallel/quicksort.h: Likewise.
3725         * include/parallel/algorithmfwd.h: Likewise.
3726         * include/parallel/for_each_selectors.h: Likewise.
3727         * include/parallel/omp_loop_static.h: Likewise.
3728         * include/parallel/random_shuffle.h: Likewise.
3729         * include/parallel/balanced_quicksort.h: Likewise.
3730         * include/parallel/set_operations.h: Likewise.
3731         * include/parallel/tree.h: Likewise.
3732         * include/parallel/merge.h: Likewise.
3733         * include/parallel/unique_copy.h: Likewise.
3734         * include/parallel/settings.h: Likewise.
3735         * include/parallel/multiway_mergesort.h: Likewise.
3736         * include/parallel/numericfwd.h: Likewise.
3737         * include/parallel/search.h: Likewise.
3738         * include/parallel/partition.h: Likewise.
3739         * include/parallel/compatibility.h: Likewise.
3740         * include/parallel/partial_sum.h: Likewise.
3741         * include/parallel/find.h: Likewise.
3742         * include/parallel/algo.h: Likewise.
3743         * include/parallel/queue.h: Likewise.
3744         * include/parallel/omp_loop.h: Likewise.
3745         * include/parallel/sort.h: Likewise.
3746         * include/parallel/random_number.h: Likewise.
3747
3748 2008-01-09  Benjamin Kosnik  <bkoz@redhat.com>
3749
3750         * docs/html/17_intro/api.html: Fix markup for rope.h.
3751
3752 2008-01-09  Paolo Carlini  <pcarlini@suse.de>
3753
3754         * include/parallel/iterator.h: Reformat to 80 columns; adjust some
3755         inline specifiers.
3756         * include/parallel/find_selectors.h: Likewise.
3757         * include/parallel/losertree.h: Likewise.
3758         * include/parallel/list_partition.h: Likewise.
3759         * include/parallel/for_each.h: Likewise.
3760         * include/parallel/multiseq_selection.h: Likewise.
3761         * include/parallel/algorithmfwd.h: Likewise.
3762         * include/parallel/for_each_selectors.h: Likewise.
3763         * include/parallel/balanced_quicksort.h: Likewise.
3764         * include/parallel/merge.h: Likewise.
3765         * include/parallel/algobase.h: Likewise.
3766         * include/parallel/find.h: Likewise.
3767         * include/parallel/algo.h: Likewise.
3768         * include/parallel/checkers.h: Likewise.
3769
3770 2008-01-09  Francesco Biscani  <bluescarni@gmail.com>
3771
3772         * include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
3773         of __detail::_Map_base<>.
3774
3775 2008-01-08  Paolo Carlini  <pcarlini@suse.de>
3776
3777         * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
3778         not include <cassert>.
3779         * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
3780         Likewise.
3781         * testsuite/util/testsuite_common_types.h: Include <algorithm>.
3782
3783 2008-01-08  Jakub Jelinek  <jakub@redhat.com>
3784
3785         * configure.ac (--enable-linux-futex): Add new configure option.
3786         (HAVE_LINUX_FUTEX): New AC_DEFINE.
3787         * Makefile.in: Rebuilt.
3788         * aclocal.m4: Rebuilt.
3789         * configure: Rebuilt.
3790         * config.h.in: Rebuilt.
3791         * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
3792         _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
3793         * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
3794         _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
3795         * libsupc++/guard.cc: Include climits and syscall.h.
3796         (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
3797         are supported.
3798         (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
3799         (__guard_test_bit): New static inline.
3800         (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
3801         atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
3802
3803 2008-01-07  Paolo Carlini  <pcarlini@suse.de>
3804
3805         PR libstdc++/34680
3806         * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
3807         use dynamic_cast when run-time type identification is disabled; do
3808         not mark inline; only declare, define...
3809