OSDN Git Service

2011-03-15 Doug Kwan <dougkwan@google.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2011-03-15  Doug Kwan  <dougkwan@google.com>
2
3         PR libstdc++/48123
4         * include/Makefile.am (install-freestanding-headers): Install
5         cpu_defines.h
6         * include/Makefile.in: Regenerate.
7
8 2011-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9
10         * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
11         equivalents.
12         * doc/html/manual/abi.html: Regenerate.
13
14 2011-03-14  Andrey Zholos  <aaz@althenia.net>
15
16         PR libstdc++/48114
17         * include/bits/random.h (geometric_distribution): Correct formula
18         in comment, per C++0x.
19         (geometric_distribution<>::param_type::param_type(double)): Fix check.
20         (geometric_distribution<>::param_type::_M_initialize):
21         Store log(1 - p).
22         * include/bits/random.tcc (geometric_distribution<>::operator()):
23         Fix computation.
24         (binomial_distribution<>::operator()): Likewise.
25
26 2011-03-09  Paolo Carlini  <paolo.carlini@oracle.com>
27
28         * testsuite/util/testsuite_rvalref.h: Minor tweaks.
29
30 2011-03-09  Jonathan Wakely  <redi@gcc.gnu.org>
31             Chris Jefferson  <chris@bubblescope.net>
32             Paolo Carlini  <paolo.carlini@oracle.com>
33
34         * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
35         New.
36         * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
37         Likewise.
38         * testsuite/25_algorithms/partial_sort/check_compare_by_value:
39         Likewise.
40         * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
41         Likewise.
42         * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
43
44 2011-03-09  Chris Jefferson  <chris@bubblescope.net>
45
46         PR libstdc++/48038
47         * include/bits/stl_algo.h (__merge_backward): Rename to
48         __move_merge_backward and change to always move rather than copy.
49         (__move_merge): New function similar to std::merge except values
50         are moved instead of copied.
51         (__merge_adaptive, __merge_sort_loop): Change from using std::merge
52         and __merge_backward to __move_merge and __move_merge_backward.
53
54 2011-03-07  Jason Merrill  <jason@redhat.com>
55
56         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
57         expected errors.
58
59 2011-03-07  Benjamin Kosnik  <bkoz@redhat.com>
60             Matthias Klose  <doko@ubuntu.com>
61             Jonathan Wakely  <redi@gcc.gnu.org>
62
63         PR libstdc++/47145
64         * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
65         * configure.ac: Use it.
66         * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
67         * configure: Regenerate.
68         * doc/Makefile.in: Regenerate.
69
70 2011-03-04  Benjamin Kosnik  <bkoz@chula>
71
72         * src/Makefile.am (inst_sources): Make source instantion files
73         conditional.
74         (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
75         * src/Makefile.in: Regenerate.
76         * src/valarray-inst.cc: Move to..
77         * src/valarray.cc: ...this.
78         * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
79         * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
80         * configure: Regenerate.
81         * include/Makefile.am (stamp-extern-template): Add.
82         * include/Makefile.in: Regenerate.
83
84         * doc/xml/manual/configure.xml: Document --enable-extern-template.
85
86         * include/bits/locale_classes.tcc: Adjust comment.
87         * include/bits/locale_facets.tcc: Same.
88         * include/bits/basic_ios.tcc: Same.
89         * include/bits/istream.tcc: Same.
90         * include/bits/codecvt.h: Same.
91         * include/bits/ostream.tcc: Same.
92         * include/bits/sstream.tcc: Same.
93         * include/bits/c++config: Same.
94         * include/bits/basic_string.tcc: Same.
95         * include/bits/ostream_insert.h: Same.
96         * include/bits/locale_facets_nonio.tcc: Same.
97         * include/bits/streambuf.tcc: Same.
98         * include/bits/allocator.h: Same.
99         * include/bits/fstream.tcc: Same.
100
101         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
102
103 2011-03-02  Benjamin Kosnik  <bkoz@redhat.com>
104
105         * testsuite/Makefile.am: Make clean fixups.
106         * testsuite/Makefile.in: Regenerate.
107
108 2011-03-02  Marc Glisse  <marc.glisse@normalesup.org>
109
110         * include/std/ratio (ratio_less): Add comments.
111
112 2011-03-02  Marc Glisse  <marc.glisse@normalesup.org>
113
114         PR libstdc++/47913
115         * include/std/ratio (ratio_add): Avoid denominator overflow.
116         * testsuite/20_util/ratio/operations/47913.cc: New.
117
118 2011-02-28  Benjamin Kosnik  <bkoz@redhat.com>
119
120         * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
121         * testsuite/20_util/hash/quality.cc: Same.
122
123 2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
124
125         PR libstdc++/47921
126         * include/std/streambuf (basic_streambuf<>::__safe_gbump,
127         __safe_pbump): Add.
128         * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
129         xputn): Use the latter.
130         * include/bits/streambuf_iterator.h: Likewise.
131         * src/strstream.cc: Likewise.
132         * src/streambuf.cc: Likewise.
133         * src/compatibility.cc: Likewise.
134         * src/istream.cc: Likewise.
135         * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
136         instead of gbump.
137         * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
138         * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
139         seekpos, _M_sync): Use setg, setp, and _M_pbump.
140         * config/abi/pre/gnu.ver: Tweak.
141
142 2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
143
144         * testsuite/20_util/ratio/comparisons/comp3.cc: New.
145
146 2011-02-28  Marc Glisse  <marc.glisse@normalesup.org>
147
148         PR libstdc++/42622
149         * include/std/ratio (ratio_less): Reimplement to never overflow.
150         * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
151
152 2011-02-24  Benjamin Kosnik  <bkoz@redhat.com>
153
154         * testsuite/18_support/type_info/fundamental.cc: New.
155
156         * testsuite/Makefile.am: Make clean fixups.
157         * testsuite/Makefile.in: Regenerate.
158
159 2011-02-19  François Dumont  <francois.cppdevs@free.fr>
160
161         * include/debug/string (basic_string::insert): Add iterator check and
162         pass normal iterator to normal insert.
163         * include/debug/macros.h (__glibcxx_check_heap,
164         __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
165         already done.
166
167 2011-02-17  Paolo Carlini  <paolo.carlini@oracle.com>
168
169         PR libstdc++/47776
170         * testsuite/ext/vstring/hash/char/1.cc: Fix.
171         * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
172
173 2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
174
175         * include/bits/regex.h (basic_regex::traits_type): Add typedef.
176         (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
177         (basic_regex::operator=(basic_regex&&)): Likewise.
178         (basic_regex::assign(basic_regex&&)): Likewise.
179         (operator==(sub_match,...)): Implement DR 1181.
180         (match_results::match_results(match_results&&)): Define.
181         (match_results::operator=(const match_results&)): Fix parameter type.
182         (match_results::operator=(match_results&&)): Define.
183
184 2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
185
186         PR libstdc++/47724
187         * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
188         line anchors as metacharacters.
189         * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
190
191 2011-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
192
193         PR libstdc++/47773
194         * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
195         hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
196         hash<__gnu_cxx::__u32vstring>): Add.
197         * testsuite/ext/vstring/hash/char/1.cc: New.
198         * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
199
200 2011-02-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
201
202         * include/bits/regex.h (match_results::format): Use char_traits.
203
204 2011-02-16  Benjamin Kosnik  <bkoz@redhat.com>
205
206         * include/std/atomic: Remove atomic_address, uplift to N3225.
207         * include/bits/atomic_0.h: Same.
208         * include/bits/atomic_2.h: Same.
209         * include/bits/atomic_base.h: Same.
210         * testsuite/29_atomics/atomic_address/*: Delete.
211
212 2011-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
213
214         * include/bits/regex.h (sub_match::sub_match): Add.
215         (match_results::ready): Add.
216         (match_results::empty): Adjust.
217         (match_results::length): Add missing dereference.
218         (match_results::operator[],prefix,suffix): Add debug mode checks.
219         (match_results::cend): Re-use end().
220         (match_results::format): Adjust signatures.
221         (operator==(match_results,match_results)): Implement.
222         * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
223         * include/bits/regex_constants.h (syntax_option_type): Likewise.
224         * include/bits/regex_grep_matcher.h: Fix comment typo.
225         (_SpecializedResults::_SpecializedResults): Simplify.
226         * include/bits/regex_cursor.h: Fix comment typo.
227         * include/bits/regex_nfa.h: Likewise.
228         * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
229         Fix error code, remove xfail.
230         * testsuite/28_regex/basic_regex/ctors/extended/
231         string_range_01_02_03.cc: Likewise.
232
233 2011-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
234
235         * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
236         * include/bits/regex_nfa.h: Remove unnecessary base classes.
237
238 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
239
240         * configure: Regenerate.
241
242 2011-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
243
244         PR libstdc++/47709
245         * include/ext/algorithm (is_heap): In C++0x mode import from
246         namespace std.
247         * testsuite/ext/is_heap/47709.cc: New.
248
249 2011-02-12  Jakub Jelinek  <jakub@redhat.com>
250             Jonathan Wakely  <jwakely.gcc@gmail.com>
251
252         PR libstdc++/47662
253         * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
254         * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
255
256 2011-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
257
258         * include/tr1/cmath (fabs): Define.
259         * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
260         in C++0x mode.
261
262 2011-02-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
263
264         * testsuite/tr1/headers/c++200x/complex.cc: New.
265
266 2011-02-11  Johannes Singler  <singler@kit.edu>
267
268         PR libstdc++/47433
269         * include/parallel/losertree.h
270         (_LoserTreeUnguarded<>::__delete_min_insert):
271         Add missing "using std::swap;", as for other variants.
272
273 2011-02-10  Benjamin Kosnik  <bkoz@redhat.com>
274
275         * src/Makefile.am (sources): Add regex.cc.
276         * src/Makefile.in: Regenerate.
277         * src/regex.cc: New.
278         * include/bits/regex_error.h (error_type): Use constexpr.
279         (regex_error): Move ctor and dtor out of line.
280
281         * testsuite/28_regex/03_requirements: To...
282         * testsuite/28_regex/requirements: ... this.
283         * testsuite/28_regex/04_header: To...
284         * testsuite/28_regex/headers: ... this.
285         * testsuite/28_regex/05_constants: To...
286         * testsuite/28_regex/constants: ... this.
287         * testsuite/28_regex/06_exception_type: To...
288         * testsuite/28_regex/regex_error: ... this.
289         * testsuite/28_regex/07_traits: To...
290         * testsuite/28_regex/traits: ... this.
291         * testsuite/28_regex/08_basic_regex: To...
292         * testsuite/28_regex/basic_regex: ... this.
293         * testsuite/28_regex/09_sub_match: To...
294         * testsuite/28_regex/sub_match: ... this.
295         * testsuite/28_regex/10_match_results: To...
296         * testsuite/28_regex/match_results: ... this.
297         * testsuite/28_regex/11_algorithms: To...
298         * testsuite/28_regex/algorithms: ... this.
299         * testsuite/28_regex/12_iterators: To...
300         * testsuite/28_regex/iterators: ... this.
301
302 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
303
304         PR libstdc++/47662
305         * include/bits/c++config: Do not use alternative token.
306         * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
307
308 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
309
310         * src/future.cc (future_error_category::message): Handle no_state.
311
312 2011-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
313
314         * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
315         not test in C++0x mode.
316         * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
317         * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
318         in C++0x mode too.
319
320 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
321
322         * doc/xml/manual/status_cxx200x.xml: Update.
323         * doc/html/*: Regenerate.
324
325 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
326
327         * doc/xml/manual/debug.xml: Improve data race docs.
328
329 2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
330
331         PR libstdc++/47668
332         * include/debug/map.h (map): Remove unnecessary using-declaration.
333         * include/debug/multimap.h (multimap): Likewise.
334         * include/profile/map.h (map): Likewise.
335         * include/profile/multimap.h (multimap): Likewise.
336
337 2011-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
338
339         PR libstdc++/43863
340         * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
341         Move to ...
342         * libsupc++/guard_error.cc: ... new file.
343         * libsupc++/Makefile.am: Update.
344         * libsupc++/Makefile.in: Regenerate.
345
346 2011-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
347
348         * include/std/future (packaged_task::operator bool): Rename to...
349         (packaged_task::valid): ...this.
350         * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
351         * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
352         * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
353         * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
354         * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
355         * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
356         * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
357         * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
358         * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
359         * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
360         * testsuite/30_threads/packaged_task/members/valid.cc: Add.
361
362 2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
363
364         * doc/xml/manual/io.xml: Fix typo.
365         * doc/html/manual/streambufs.html: Likewise.
366
367 2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
368
369         * config/abi/pre/gnu.ver: Fix.
370
371 2011-02-08  Benjamin Kosnik  <bkoz@redhat.com>
372
373         * doc/xml/manual/appendix_porting.xml: Add doc section.
374         * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
375         * doc/xml/manual/documentation_hacking.xml: ...here.
376
377         * doc/xml/manual/debug_mode.xml: Adjust.
378         * doc/xml/manual/prerequisites.xml: Adjust.
379         * doc/Makefile.am (xml_sources): Add dot files,
380         documentation_hacking.xml.
381         * doc/Makefile.in: Regenerate.
382
383         * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
384         * doc/xml/images/confdeps.pdf: Add.
385
386         * doc/html/*: Regenerate.
387
388 2011-02-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
389
390         * doc/xml/gnu/fdl-1.2.xml: Remove.
391         * doc/xml/gnu/gpl-2.0.xml: Remove.
392         * doc/Makefile.am: Update.
393         * doc/Makefile.in: Regenerate.
394
395 2011-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
396
397         PR libstdc++/47628
398         * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
399         iterator)): Add back in C++03 mode.
400         * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
401         * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
402
403 2011-02-07  Benjamin Kosnik  <bkoz@redhat.com>
404
405         PR libstdc++/47560 try two
406         * config/os/hpux/os_defines.h: Guard for C++.
407
408 2011-02-07  Gerald Pfeifer  <gerald@pfeifer.com>
409
410         * doc/xml/faq.xml: Adjust link to bug database.
411         Remove old item on broken header files.
412
413 2011-02-04  Benjamin Kosnik  <bkoz@redhat.com>
414
415         * include/bits/regex_error.h (__throw_regex_error): Not inline.
416         * src/functexcept.cc: Add definition.
417         * config/abi/pre/gnu.ver: Export.
418
419 2011-02-04  Ralf Corsépius <ralf.corsepius@rtems.org>
420
421         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
422         * configure: Regenerate.
423
424 2011-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
425
426         PR libstdc++/46914
427         * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
428         _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
429         avoid name conflicts.
430
431 2011-02-01  Benjamin Kosnik  <bkoz@redhat.com>
432
433         PR libstdc++/47560
434         * config/os/hpux/os_defines.h: Remove use of macros on namespace.
435
436 2011-02-01  Benjamin Kosnik  <bkoz@redhat.com>
437
438         * scripts/run_doxygen: Allow doxygen 1.7.0 again.
439         * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
440         (COMPACT_LATEX): Enable.
441
442         * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
443         * include/profile/impl/profiler_hash_func.h: Same.
444         * include/bits/hashtable.h: Same.
445         * include/backward/auto_ptr.h: Same.
446         * include/backward/strstream: Same.
447         * include/backward/backward_warning.h: Same.
448         * include/backward/binders.h: Same.
449
450 2011-02-01  Gerald Pfeifer  <gerald@pfeifer.com>
451
452         * doc/xml/manual/debug.xml: Use GDB instead of gdb.
453         Adjust link to GDB manual.
454
455 2011-01-31  Benjamin Kosnik  <bkoz@redhat.com>
456
457         * include/bits/c++config (_GLIBCXX_DEPRECATED): To
458         _GLIBCXX_USE_DEPRECATED.
459         (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
460         * doc/xml/manual/using.xml: Same.
461         * include/std/memory: Same.
462         * include/std/streambuf: Same.
463         * include/bits/shared_ptr.h: Same.
464         * include/bits/unique_ptr.h: Same.
465         * include/bits/shared_ptr_base.h: Same.
466         * include/bits/stl_function.h: Same.
467         * include/tr1/shared_ptr.h: Same.
468         * include/backward/auto_ptr.h: Same.
469         * include/backward/binders.h: Same.
470
471 2011-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
472
473         * doc/html/ext/lwg-active.html: Update to Revision D73.
474         * doc/html/ext/lwg-closed.html: Likewise.
475         * doc/html/ext/lwg-defects.html: Likewise.
476         * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
477
478 2011-01-30  Benjamin Kosnik  <bkoz@redhat.com>
479
480         PR libstdc++/36104 part four
481         * include/bits/c++config (_GLIBCXX_STD): Remove.
482         (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
483         (_GLIBCXX_P): Now _GLIBCXX_STD_A.
484         (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
485          _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
486         (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
487          _GLIBCXX_INLINE_PROFILE): Remove.
488         (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
489         (_GLIBCXX_END_NAMESPACE): Remove.
490         (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
491         (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
492         (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
493         (_GLIBCXX_END_NAMESPACE_ALGO): Add.
494         (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
495         (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
496         (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
497         (_GLIBCXX_END_NAMESPACE_VERSION): Add.
498         (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
499         (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
500         (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
501         * include/*: Use new macros for namespace scope.
502         * config/*: Same.
503         * src/*: Same.
504
505         * src/Makefile.am (sources): Remove debug_list.cc, add
506         compatibility-debug_list-2.cc.
507         (parallel_sources): Remove parallel_list.cc, add
508         compatibility-parallel_list-2.cc.
509         (compatibility-parallel_list-2.[o,lo]): New rule.
510         * src/Makefile.in: Regenerate.
511         * src/debug_list.cc: Remove.
512         * src/parallel_list.cc: Remove.
513         * src/compatibility-list-2.cc: New.
514         * src/compatibility-debug_list-2.cc: New.
515         * src/compatibility-parallel_list-2.cc: New.
516
517         * doc/doxygen/user.cfg.in: Adjust macros.
518
519         * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
520         * testsuite/20_util/declval/requirements/1_neg.cc: Same.
521         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
522         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
523         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
524         * testsuite/20_util/forward/c_neg.cc: Same.
525         * testsuite/20_util/forward/f_neg.cc: Same.
526         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
527         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
528         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
529         * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
530         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
531         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
532         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
533         * testsuite/23_containers/deque/requirements/dr438/
534         constructor_1_neg.cc: Same.
535         * testsuite/23_containers/deque/requirements/dr438/
536         constructor_2_neg.cc: Same.
537         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
538         * testsuite/23_containers/forward_list/capacity/1.cc: Same.
539         * testsuite/23_containers/forward_list/requirements/dr438/
540         assign_neg.cc: Same.
541         * testsuite/23_containers/forward_list/requirements/dr438/
542         constructor_1_neg.cc: Same.
543         * testsuite/23_containers/forward_list/requirements/dr438/
544         constructor_2_neg.cc: Same.
545         * testsuite/23_containers/forward_list/requirements/dr438/
546         insert_neg.cc: Same.
547         * testsuite/23_containers/list/capacity/29134.cc: Same.
548         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
549         * testsuite/23_containers/list/requirements/dr438/
550         constructor_1_neg.cc: Same.
551         * testsuite/23_containers/list/requirements/dr438/
552         constructor_2_neg.cc: Same.
553         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
554         * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
555         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
556         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
557         * testsuite/23_containers/vector/requirements/dr438/
558         constructor_1_neg.cc: Same.
559         * testsuite/23_containers/vector/requirements/dr438/
560         constructor_2_neg.cc: Same.
561         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
562         * testsuite/25_algorithms/sort/35588.cc: Same.
563         * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
564         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
565         * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
566         * testsuite/ext/profile/profiler_algos.cc: Same.
567         * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
568         * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
569         * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
570         * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
571         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
572
573 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
574
575         * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
576         Improve description of one such reference.
577
578 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
579
580         * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
581         Standards Revision Group.
582         * doc/xml/manual/locale.xml: Ditto.
583         * doc/xml/manual/messages.xml: Ditto.
584         * doc/xml/manual/using_exceptions.xml: Ditto.
585
586 2011-01-28  Paolo Carlini  <paolo.carlini@oracle.com>
587
588         * include/bits/atomic_base.h: Do not include <stddef.h>.
589         (kill_dependency): Uglify ret.
590
591 2011-01-26  Johannes Singler  <singler@kit.edu>
592
593         * include/parallel/numeric (inner_product, partial_sum):
594         Qualify subsequent call with __gnu_parallel instead of
595         _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
596         * include/parallel/algobase.h (equal): Likewise.
597         * include/parallel/algo.h (find_first_of, search_n, merge,
598         nth_element, partial_sort, max_element, min_element): Likewise.
599         * testsuite/25_algorithms/headers/algorithm/
600         parallel_algorithm_mixed1.cc (main): Add respective test cases.
601         * testsuite/25_algorithms/headers/algorithm/
602         parallel_algorithm_mixed2.cc (main): Likewise.
603         * testsuite/26_numerics/headers/numeric/
604         parallel_numeric_mixed1.cc (main): Likewise.
605         * testsuite/26_numerics/headers/numeric/
606         parallel_numeric_mixed2.cc (main): Likewise.
607
608 2011-01-24  Graham Reed  <greed@pobox.com>
609
610         PR libstdc++/47387
611         * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
612         provided.
613
614 2011-01-24  Johannes Singler  <singler@kit.edu>
615
616         PR libstdc++/47433
617         * include/parallel/losertree.h
618         (_LoserTree<>::__delete_min_insert):
619         Do not qualify swap with std:: for value type,
620         but include a using directive instead.
621         (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
622         * include/parallel/balanced_quicksort.h (__qsb_divide):
623         Use std::iter_swap instead of std::swap.
624         (__qsb_local_sort_with_helping): Likewise.
625         * include/parallel/partition.h (__parallel_partition):
626         Likewise. (__parallel_nth_element): Likewise.
627
628 2011-01-24  Johannes Singler  <singler@kit.edu>
629
630         PR libstdc++/47437
631         * include/parallel/multiway_merge.h (_UnguardedIterator):
632         Remove useless "mutable" from reference declaration.
633
634 2011-01-21  Benjamin Kosnik  <bkoz@redhat.com>
635
636         * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
637         * include/debug/safe_sequence.h: Same.
638         * include/debug/safe_iterator.h: Same.
639         * include/std/forward_list: Same.
640         * include/std/deque: Same.
641         * include/std/list: Same.
642         * include/std/random: Same.
643         * include/std/streambuf: Same.
644         * include/std/fstream: Same.
645         * include/std/istream: Same.
646         * include/std/string: Same.
647         * include/std/ostream: Same.
648         * include/std/sstream: Same.
649         * include/ext/vstring.h: Same.
650         * include/bits/basic_ios.h: Same.
651         * include/bits/locale_classes.h: Same.
652         * include/bits/locale_facets.h: Same.
653         * include/bits/valarray_array.h: Same.
654         * include/bits/locale_facets_nonio.h: Same.
655         * include/tr1/random: Same.
656
657 2011-01-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
658
659         * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
660
661 2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>
662
663         PR libstdc++/36104 part three
664         * src/hashtable_c++0x.cc: Adjust namespace macros.
665         * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
666         * config/abi/pre/gnu-versioned-namespace.ver: Update.
667
668 2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>
669
670         * include/ext/pb_ds/detail/resize_policy/
671         hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
672         * include/ext/pb_ds/detail/pat_trie_/
673         constructors_destructor_fn_imps.hpp: Same.
674         * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
675         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
676         * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
677
678         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
679         iterations downward when testing in debug mode.
680         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
681         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
682         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
683         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
684         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
685         * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
686         reduce in debug mode.
687
688 2011-01-19  Benjamin Kosnik  <bkoz@redhat.com>
689
690         PR libstdc++/36104 part two
691         * include/bits/hashtable.h: Revert to non-nested macro usage.
692         * include/bits/hashtable_policy.h: Same.
693
694 2011-01-19  Graham Reed  <greed@pobox.com>
695
696         PR libstdc++/47354
697         * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
698
699 2011-01-18  Benjamin Kosnik  <bkoz@redhat.com>
700
701         * doc/xml/images/confdeps.png: Regenerate.
702
703         * include/std/chrono (duration): Mark copy constructor constexpr.
704         * testsuite/20_util/duration/cons/constexpr.cc: Add test.
705
706 2011-01-18  Paolo Carlini  <paolo.carlini@oracle.com>
707
708         * include/bits/unique_ptr.h (default_delete<>::default_delete()):
709         Declare defaulted per DR 1517.
710         * testsuite/util/testsuite_common_types.h
711         (constexpr_defaulted_default_constructible): Add.
712         * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
713
714 2011-01-17  Paolo Carlini  <paolo.carlini@oracle.com>
715
716         * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
717         Implement DR 1198.
718         * include/bits/stl_stack.h (stack<>::swap): Likewise.
719
720 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
721
722         PR libstdc++/47323
723         * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
724         Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
725
726 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
727
728         PR libstdc++/47320
729         * testsuite/18_support/numeric_limits/lowest.cc:
730         Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
731
732 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
733
734         PR libstdc++/47321
735         * testsuite/21_strings/basic_string/requirements/typedefs.cc:
736         Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
737
738 2011-01-16  François Dumont  <francois.cppdevs@free.fr>
739
740         * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
741         to this. Use _neg suffix.
742         * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
743         this.
744         * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
745         Same.
746         * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
747         * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
748         Same.
749         * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
750         * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
751         Same.
752         * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
753         * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
754         Same.
755         * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
756         * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
757         Same.
758         * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
759         * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
760         Same.
761         * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
762         * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
763         Same.
764         * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
765         * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
766         Same.
767         * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
768         * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
769         Same.
770         * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
771         * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
772         Same.
773         * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
774         * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
775         Same.
776         * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
777         * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
778         Same.
779         * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
780         * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
781         Same.
782         * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
783         * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
784         Same.
785         * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
786         * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
787         Same.
788         * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
789
790 2011-01-14  Benjamin Kosnik  <bkoz@redhat.com>
791
792         PR libstdc++/36104
793         * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
794         * include/Makefile.in: Regenerate.
795         * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
796         (install-stdHEADERS, install-bitsHEADERS): New.
797         * libsupc++/Makefile.in: Regenerate.
798
799         * include/bits/c++config: Update for inline namespaces.
800         * libsupc++/cxxabi-forced.h: To...
801         * libsupc++/cxxabi_forced.h: ...this.
802         * libsupc++/hash_bytes.h: Separate file.
803         * libsupc++/typeinfo: Use it.
804         * libsupc++/exception: Adjust for bits subdirectory.
805         * libsupc++/eh_aux_runtime.cc: Same.
806         * libsupc++/eh_ptr.cc: Same.
807         * libsupc++/new_op.cc: Same.
808         * libsupc++/exception_defines.h: Same.
809         * libsupc++/nested_exception.h: Same.
810         * libsupc++/eh_terminate.cc: Same.
811         * libsupc++/vec.cc: Same.
812         * libsupc++/vterminate.cc: Same.
813         * libsupc++/exception_ptr.h: Same.
814         * libsupc++/eh_personality.cc: Same.
815         * libsupc++/eh_call.cc: Same.
816         * libsupc++/new_opnt.cc: Same.
817         * libsupc++/hash_bytes.cc: Same.
818         * config/cpu/arm/cxxabi_tweaks.h: Same.
819         * config/cpu/generic/cxxabi_tweaks.h: Same.
820         * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
821         * include/std/bitset: Same.
822         * include/ext/vstring.tcc: Same.
823         * include/bits/hashtable.h: Same.
824         * include/bits/functional_hash.h: Same.
825         * include/bits/hashtable_policy.h: Same.
826         * include/bits/basic_string.h: Same.
827         * include/bits/istream.tcc: Same.
828         * include/bits/ostream.tcc: Same.
829         * include/bits/algorithmfwd.h: Same.
830         * include/bits/basic_string.tcc: Same.
831         * include/bits/ostream_insert.h: Same.
832         * include/bits/fstream.tcc: Same.
833         * include/bits/functexcept.h: Same.
834
835         * doc/doxygen/user.cfg.in: Adjust names.
836
837         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
838
839 2011-01-14  Paolo Carlini  <paolo.carlini@oracle.com>
840
841         * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
842         tweaks.
843         * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
844
845 2011-01-13  Paolo Carlini  <paolo.carlini@oracle.com>
846
847         * testsuite/25_algorithms/is_permutation/check_type.cc: New.
848         * testsuite/25_algorithms/is_permutation/requirements/
849         explicit_instantiation/2.cc: Likewise.
850         * testsuite/25_algorithms/is_permutation/requirements/
851         explicit_instantiation/pod.cc: Likewise.
852         * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
853
854 2011-01-13  John Lakos  <jlakos@bloomberg.net>
855             Pablo Halpern  <phalpern@halpernwightsoftware.com>
856             Paolo Carlini  <paolo.carlini@oracle.com>
857
858         * include/bits/stl_algo.h (is_permutation): Add, per N3068.
859         * include/bits/algorithmfwd.h: Add.
860
861 2011-01-13  Jonathan Wakely  <jwakely.gcc@gmail.com>
862
863         PR libstdc++/47045
864         * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
865
866 2011-01-11  Paolo Carlini  <paolo.carlini@oracle.com>
867
868         * aclocal.m4: Regenerate.
869
870 2011-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
871
872         PR libstdc++/47185
873         * src/placeholders.cc: New.
874         * src/Makefile.am: Adjust.
875         * src/Makefile.in: Regenerate.
876         * include/std/functional (placeholders::_1, _2, ..., _29): Declare
877         extern.
878         * config/abi/pre/gnu.ver: Export.
879
880 2011-01-05  François Dumont  <francois.cppdevs@free.fr>
881
882         * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
883         * include/src/debug.cc: Use latter
884         * include/debug/forward_list (forward_list<>::_M_swap):  Fix to
885         correctly handle before_begin iterators.
886         * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
887         useless _GLIBCXX_DEBUG checks.
888
889 2011-01-04  Kai Tietz  <kai.tietz@onevision.com>
890
891         PR libstdc++/47145
892         * configure.ac (AC_CHECK_FILE): Replaced by test -f.
893         * configure: Regenerated.
894
895 2011-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
896
897         PR libstdc++/46922
898         * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
899
900 \f
901 Copyright (C) 2011 Free Software Foundation, Inc.
902
903 Copying and distribution of this file, with or without modification,
904 are permitted in any medium without royalty provided the copyright
905 notice and this notice are preserved.