OSDN Git Service

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