OSDN Git Service

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