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