OSDN Git Service

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