OSDN Git Service

2012-12-12 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2012-12-12  Benjamin Kosnik  <bkoz@redhat.com>
2
3         * doc/xml/manual/documentation_hacking.xml: Fix validation issue.
4
5 2012-12-10  Benjamin Kosnik  <bkoz@redhat.com>
6
7         * doc/Makefile.am (xml_sources_manual): Add
8         policy_data_structures_biblio.xml.
9         (${docbook_outdir}/latex): Add.
10         (doc-xml-validate-docbook): Split into..
11         (doc-xml-validate-dtd-db):... this for DTD.
12         (doc-xml-validate-rng-db):... this for Relax NG.
13         (doc-pdf-docbook-dirs): Add.
14         (doc-pdf-docbook-pre): Add.
15         * doc/xml/manual/build_hacking.xml: Add literal markup.
16         * doc/xml/manual/documentation_hacking.xml: Clean whitespace in
17         <filename> markup. Add notes about debugging the generation process.
18         * doc/xml/manual/policy_data_structures.xml: Split biblio into...
19         * doc/xml/manual/policy_data_structures_biblio.xml: ... this. New.
20         * doc/xml/manual/test_policy_data_structures.xml: Fixup <filename>
21         markup.
22
23 2012-12-10  Matthias Klose  <doko@ubuntu.com>
24
25         * src/Makefile.am (libstdc++-symbols.ver): Use CONFIG_HEADER.
26         * src/Makefile.in: Regenerate.
27
28 2012-12-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
29
30         PR libstdc++/55503
31         * testsuite/30_threads/condition_variable/members/53841.cc: Add
32         hppa*-hp-hpux11* to -pthread dg-options.
33
34 2012-11-20  Paolo Carlini  <paolo.carlini@oracle.com>
35
36         PR libstdc++/55413
37         * include/bits/hashtable.h (_Hashtable<>::_M_rehash_aux): Initialize
38         __bbegin_bkt and __prev_bkt to avoid uninitialized warnings.
39         * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
40         dg-error line number.
41
42 2012-11-15  Jonathan Wakely  <jwakely.gcc@gmail.com>
43
44         PR libstdc++/53841
45         * include/std/condition_variable (condition_variable::wait_until):
46         Handle clocks with higher resolution than __clock_t.
47         * testsuite/30_threads/condition_variable/members/53841.cc: New.
48
49 2012-11-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
50
51         PR libstdc++/55320
52         * include/std/functional (function::function(F)): Set _M_manager after
53         operations that could throw.
54         (_Function_base::_Ref_manager::_M_init_functor): Use addressof.
55         * include/tr1/functional
56         (_Function_base::_Ref_manager::_M_init_functor): Use addressof.
57         (_Function_base::_Base_manager::_M_get_pointer): Likewise.
58         * testsuite/20_util/function/cons/55320.cc: New.
59         * testsuite/20_util/function/cons/addressof.cc: New.
60         * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
61         * testsuite/tr1/3_function_objects/function/10.cc: New.
62
63 2012-11-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
64
65         * include/std/future (atomic_future): Remove declaration of
66         non-standard name.
67
68 2012-11-08  François Dumont  <fdumont@gcc.gnu.org>
69
70         PR libstdc++/54075
71         * include/bits/hashtable.h (_Hashtable<>::rehash): Reset hash
72         policy state if no rehash.
73         * testsuite/23_containers/unordered_set/modifiers/reserve.cc
74         (test02): New.
75
76 2012-11-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
77
78         * include/profile/iterator_tracker.h (operator++): Fix returning
79         dangling reference.
80         (operator--): Likewise.
81
82 2012-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
83
84         * testsuite/20_util/shared_ptr/cons/55123.cc: Remove duplicate
85         include.
86
87 2012-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
88
89         * testsuite/*: Fix copying permission statements.
90
91 2012-11-05  Benjamin Kosnik  <bkoz@redhat.com>
92
93         PR libstdc++/28811
94         PR libstdc++/54482
95         * configure.ac (glibcxx_lt_pic_flag,
96           glibcxx_compiler_pic_flag,
97           glibcxx_compiler_shared_flag): New. Use them.
98         (lt_prog_compiler_pic_CXX): Set via glibcxx_*_flag(s) above.
99         (pic_mode): Set to default.
100         (PIC_CXXFLAGS): Remove.
101         * Makefile.am (PICFLAG, PICFLAG_FOR_TARGET): Remove. Comment.
102         * libsupc++/Makefile.am: Use glibcxx_ld_pic_flag and
103           glibcxx_compiler_shared_flag. Comment.
104         * src/c++11/Makefile.am: Same.
105         * src/c++98/Makefile.am: Same.
106         * src/Makefile.am: Use glibcxx_compiler_pic_flag.
107
108         * Makefile.in: Regenerated.
109         * aclocal.m4: Same.
110         * configure: Same.
111         * doc/Makefile.in: Same.
112         * include/Makefile.in: Same.
113         * libsupc++/Makefile.in: Same.
114         * po/Makefile.in: Same.
115         * python/Makefile.in: Same.
116         * src/Makefile.in: Same.
117         * src/c++11/Makefile.in: Same.
118         * src/c++98/Makefile.in: Same.
119         * testsuite/Makefile.in: Same.
120
121         * src/c++11/compatibility-atomic-c++0x.cc: Use
122           _GLIBCXX_SHARED instead of PIC to designate shared-only
123           code blocks.
124         * src/c++11/compatibility-c++0x.cc: Same.
125         * src/c++11/compatibility-thread-c++0x.cc: Same.
126         * src/c++98/compatibility-list-2.cc: Same.
127         * src/c++98/compatibility.cc: : Same.
128
129         * testsuite/17_intro/shared_with_static_deps.cc: New.
130
131         * doc/xml/manual/build_hacking.xml: Separate configure from
132         make/build issues, add build details.
133
134 2012-11-05  Benjamin Kosnik  <bkoz@redhat.com>
135             Oleg Smolsky  <oleg@smolsky.net>
136
137         PR libstdc++/55028
138         *  config/abi/pre/gnu-versioned-namespace.ver: Add symbols.
139         * testsuite/23_containers/unordered_multimap/insert/55028-debug.cc: New.
140
141 2012-11-05  Paolo Carlini  <paolo.carlini@oracle.com>
142
143         PR libstdc++/55215
144         * include/bits/random.tcc (mersenne_twister_engine<>::seed(_Sseq&)):
145         Assign state_size to _M_p.
146         * testsuite/26_numerics/random/mersenne_twister_engine/cons/55215.cc:
147         New.
148         * testsuite/26_numerics/random/independent_bits_engine/cons/55215.cc:
149         Likewise.
150         * testsuite/26_numerics/random/shuffle_order_engine/cons/55215.cc:
151         Likewise.
152         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
153         55215.cc: Likewise.
154         * testsuite/26_numerics/random/discard_block_engine/cons/55215.cc:
155         Likewise.
156         * testsuite/26_numerics/random/linear_congruential_engine/cons/
157         55215.cc: Likewise.
158
159 2012-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
160
161         PR libstdc++/55169
162         * include/bits/random.h: Remove all uses of param().
163
164 2012-11-01   Haakan Younes  <hyounes@google.com>
165              Paolo Carlini  <paolo.carlini@oracle.com>
166
167         PR libstdc++/55047
168         * include/bits/random.h (exponential_distribution<>::operator):
169         Fix formula to std::log(result_type(1) - __aurng()).
170         * include/bits/random.tcc: Likewise, everywhere.
171
172 2012-10-29  Jonathan Wakely  <jwakely.gcc@gmail.com>
173
174         PR libstdc++/55123
175         * include/bits/shared_ptr_base.h (__shared_count::_S_create_from_up):
176         Do not instantiate allocator with element_type.
177         * testsuite/20_util/shared_ptr/cons/55123.cc: New.
178
179 2012-10-10  Andrew MacLeod  <amacleod@redhat.com>
180
181         PR libstdc++/54861
182         * include/bits/atomic_base.h (atomic_signal_fence): Call
183         __atomic_signal_fence instead of __atomic_thread_fence.
184
185 2012-09-20  Benjamin Kosnik  <bkoz@redhat.com>
186
187         PR libstdc++/54102, part 2
188         * doc/Makefile.am (XSL_HTML_STYLE): use xhtml, not html.
189         * doc/Makefile.in: Regenerate.
190         * doc/html/*: Same.
191
192 2012-09-20  Benjamin Kosnik  <bkoz@redhat.com>
193
194         * doc/html/*: Regenerate.
195
196 2012-09-20  Benjamin Kosnik  <bkoz@redhat.com>
197
198         PR libstdc++/54102
199         * doc/xsl/customization.xsl.in: New.
200         * configure.ac: Output local copy of customization xsl.
201         * doc/Makefile.am (stamp-html-single-docbook): Use XSL_LOCAL_STYLE.
202         (stamp-html-docbook): Set stringparam to UTF-8.
203         * Makefile.in: Regenerated.
204         * configure: Same.
205         * doc/Makefile.in: Same.
206
207 2012-09-20  Release Manager
208
209         * GCC 4.7.2 released.
210
211 2012-09-11  Jakub Jelinek  <jakub@redhat.com>
212
213         PR libstdc++/54172
214         * libsupc++/guard.cc (__cxa_guard_acquire): Fix up the last
215         argument of the first __atomic_compare_exchange_n.
216
217 2012-09-09  Thiago Macieira  <thiago.macieira@intel.com>
218
219         PR libstdc++/54172
220         * libsupc++/guard.cc (__cxa_guard_acquire): Exit the loop earlier if
221         we detect that another thread has had success. Don't compare_exchange
222         from a finished state back to a waiting state. Comment.
223
224 2012-09-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
225
226         PR libstdc++/54388
227         * include/std/array (array::at() const): Ensure lvalue result.
228         * testsuite/23_containers/array/element_access/54388.cc: New.
229
230 2012-09-06  Marc Glisse  <marc.glisse@inria.fr>
231             Paolo Carlini  <paolo.carlini@oracle.com>
232
233         PR libstdc++/54376
234         * include/bits/random.h (lognormal_distribution<>::operator==,
235         gamma_distribution<>::operator==,
236         chi_squared_distribution<>::operator==,
237         fisher_f_distribution<>::operator==,
238         student_t_distribution<>::operator==,
239         binomial_distribution<>::operator==,
240         negative_binomial_distribution<>::operator==,
241         poisson_distribution<>::operator==): Change inline friend definition
242         to non-template.
243         * testsuite/26_numerics/random/binomial_distribution/requirements/
244         explicit_instantiation/1.cc: New.
245         * testsuite/26_numerics/random/cauchy_distribution/requirements/
246         explicit_instantiation/1.cc: Likewise.
247         * testsuite/26_numerics/random/chi_squared_distribution/
248         requirements/explicit_instantiation/1.cc: Likewise.
249         * testsuite/26_numerics/random/discrete_distribution/requirements/
250         explicit_instantiation/1.cc: Likewise.
251         * testsuite/26_numerics/random/exponential_distribution/
252         requirements/explicit_instantiation/1.cc: Likewise.
253         * testsuite/26_numerics/random/extreme_value_distribution/
254         requirements/explicit_instantiation/1.cc: Likewise.
255         * testsuite/26_numerics/random/fisher_f_distribution/requirements/
256         explicit_instantiation/1.cc: Likewise.
257         * testsuite/26_numerics/random/gamma_distribution/requirements/
258         explicit_instantiation/1.cc: Likewise.
259         * testsuite/26_numerics/random/geometric_distribution/requirements/
260         explicit_instantiation/1.cc: Likewise.
261         * testsuite/26_numerics/random/lognormal_distribution/requirements/
262         explicit_instantiation/1.cc: Likewise.
263         * testsuite/26_numerics/random/negative_binomial_distribution/
264         requirements/explicit_instantiation/1.cc: Likewise.
265         * testsuite/26_numerics/random/normal_distribution/requirements/
266         explicit_instantiation/1.cc: Likewise.
267         * testsuite/26_numerics/random/piecewise_constant_distribution/
268         requirements/explicit_instantiation/1.cc: Likewise.
269         * testsuite/26_numerics/random/piecewise_linear_distribution/
270         requirements/explicit_instantiation/1.cc: Likewise.
271         * testsuite/26_numerics/random/poisson_distribution/requirements/
272         explicit_instantiation/1.cc: Likewise.
273         * testsuite/26_numerics/random/student_t_distribution/requirements/
274         explicit_instantiation/1.cc: Likewise.
275         * testsuite/26_numerics/random/uniform_int_distribution/
276         requirements/explicit_instantiation/1.cc: Likewise.
277         * testsuite/26_numerics/random/uniform_real_distribution/
278         requirements/explicit_instantiation/1.cc: Likewise.
279         * testsuite/26_numerics/random/weibull_distribution/requirements/
280         explicit_instantiation/1.cc: Likewise.
281
282 2012-08-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
283
284         * testsuite/30_threads/async/54297.cc: Add dg-require-nanosleep.
285
286 2012-08-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
287
288         PR libstdc++/54297
289         * src/c++11/future.cc (~_Async_state_common): Move to...
290         * src/c++11/compatibility-thread-c++0x.cc (~_Async_state_common):
291         Here.
292         (_GLIBCXX_ABI_COMPAT_ASYNC): Rename to _GLIBCXX_ASYNC_ABI_COMPAT.
293         * include/std/future (_GLIBCXX_ABI_COMPAT_ASYNC): Likewise.
294
295 2012-08-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
296             Geoff Romer  <gromer@google.com>
297
298         PR libstdc++/54351
299         * include/bits/unique_ptr.h (unique_ptr<T>::~unique_ptr): Do not use
300         reset().
301         (unique_ptr<T[]>::~unique_ptr()): Likewise.
302         * testsuite/20_util/unique_ptr/54351.cc: New.
303         * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust dg-error
304         line numbers.
305
306 2012-08-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
307
308         PR libstdc++/54297
309         * include/std/future (~_Async_state_impl): Join thread before
310         derived class members are destroyed.
311         (~_Async_state_common): Only define non-trivial destructor when
312         included from future.cc for ABI compatibility reasons.
313         * src/c++11/future.cc (_GLIBCXX_ABI_COMPAT_ASYNC): Define.
314         * testsuite/30_threads/async/54297.cc: New.
315
316 2012-08-13  David Adler  <d.adler.s@gmail.com>
317
318         PR libstdc++/54185
319         * src/c++11/condition_variable.cc (condition_variable): Always
320         destroy native type in destructor.
321         * testsuite/30_threads/condition_variable/54185.cc: New.
322
323 2012-08-06  Peter Bergner  <bergner@vnet.ibm.com>
324
325         PR libstdc++/54036
326         * include/decimal/decimal.h (_DEFINE_DECIMAL_UNARY_OP): Use _Op as
327         a unary operator.
328         * testsuite/decimal/pr54036-1.cc: New test.
329         * testsuite/decimal/pr54036-2.cc: Likewise.
330         * testsuite/decimal/pr54036-3.cc: Likewise.
331
332 2012-08-02  Michael Hope  <michael.hope@linaro.org>
333
334         Backport from mainline r186389:
335         2012-04-12  Andreas Schwab  <schwab@linux-m68k.org>
336
337         * testsuite/Makefile.am (check_DEJAGNUnormal0): Run
338         prettyprinters.exp.
339         * testsuite/Makefile.in: Regenerated.
340
341 2012-07-29  François Dumont  <fdumont@gcc.gnu.org>
342
343         PR libstdc++/54075
344         * include/bits/hashtable_policy.h
345         (_Prime_rehash_policy::_M_next_bkt): Add a growth factor set to 2
346         to boost growth in the number of buckets.
347         * testsuite/performance/23_containers/insert/unordered_set.cc: New.
348
349 2012-07-26  François Dumont  <fdumont@gcc.gnu.org>
350
351         PR libstdc++/54075
352         * include/bits/hashtable.h
353         (_Hashtable<>::_Hashtable(_InputIterator, _InputIterator,
354         size_type, ...): Remove std::max usage to guarantee that hashtable
355         state is consistent with hash policy state.
356         (_Hashtable<>::rehash): Likewise. Set _M_prev_resize to 0 to avoid
357         the hashtable shrinking on next insertion.
358         * testsuite/23_containers/unordered_set/modifiers/reserve.cc: New.
359         * testsuite/23_containers/unordered_multiset/modifiers/reserve.cc: New.
360         * testsuite/23_containers/unordered_map/modifiers/reserve.cc: New.
361         * testsuite/23_containers/unordered_multimap/modifiers/reserve.cc: New.
362
363 2012-07-20  Paolo Carlini  <paolo.carlini@oracle.com>
364
365         * testsuite/30_threads/thread/adl.cc: Add missing dg-requires.
366
367 2012-07-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
368
369         PR libstdc++/53270
370         * include/ext/concurrence.h: Use NSDMI for gthreads types.
371         * include/ext/rope: Likewise. Destroy mutexes in destructors. Add
372         system_header pragma.
373
374         Revert:
375         2012-06-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
376
377         PR libstdc++/53270
378         * config/os/gnu-linux/os_defines.h: Disable static initializer macros
379         for gthreads types in C++11 mode.
380
381 2012-07-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
382
383         PR libstdc++/53978
384         * include/bits/alloc_traits.h (allocator_traits): Define static
385         constants.
386         * include/bits/ptr_traits.h (pointer_traits): Likewise.
387         * include/ext/alloc_traits.h (__allocator_always_compares_equal):
388         Likewise.
389
390 2012-07-13  Paolo Carlini  <paolo.carlini@oracle.com>
391
392         PR libstdc++/53657
393         * include/bits/stl_pair.h (pair<>::pair(pair&&)): Declare defaulted,
394         per C++11.
395         * include/bits/stl_map.h (map<>::insert(_Pair&&), map<>::insert
396         (const_iterator, _Pair&&)): Constrain with std::is_constructible,
397         per LWG2005.
398         * include/bits/stl_multimap.h (multimap<>::insert(_Pair&&),
399         multimap<>::insert(const_iterator, _Pair&&)): Likewise.
400         * include/bits/hashtable_policy.h (_Insert<>::insert(_Pair&&),
401         _Insert<>::insert(const_iterator, _Pair&&)): Likewise.
402         * include/debug/unordered_map: Adjust.
403         * include/debug/map.h: Likewise.
404         * include/debug/multimap.h: Likewise.
405         * include/profile/unordered_map: Likewise.
406         * include/profile/map.h: Likewise.
407         * include/profile/multimap.h: Likewise.
408
409 2012-07-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
410
411         PR libstdc++/53578
412         * include/ext/concurrence.h (__recursive_mutex::_S_destroy): Fix
413         narrowing conversion.
414         * include/std/mutex (__recursive_mutex_base::_S_destroy): Likewise.
415
416 2012-07-06  Paolo Carlini  <paolo.carlini@oracle.com>
417
418         PR libstdc++/53872
419         * include/std/thread (thread::_M_make_routine): Qualify make_shared
420         to prevent ADL.
421         * testsuite/30_threads/thread/adl.cc: New.
422
423 2012-07-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
424
425         * include/std/condition_variable: Update copyright years.
426
427 2012-07-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
428
429         PR libstdc++/53830
430         * include/std/condition_variable (condition_variable_any::wait):
431         Move _Unlock type to class scope.
432         (condition_variable_any::wait_until): Reuse it.
433         * testsuite/30_threads/condition_variable_any/53830.cc: New.
434
435 2012-07-02  Paolo Carlini  <paolo.carlini@oracle.com>
436
437         Revert:
438         2011-10-04  Paolo Carlini  <paolo.carlini@oracle.com>
439
440         PR libstdc++/49561
441         * include/bits/stl_list.h (_List_base<>::_List_impl::_M_size):
442         Add in C++0x mode.
443         (_List_base<>::_List_impl, _List_base<>::_M_get_node,
444         _List_base<>::_M_put_node, _List_base<>::_List_base(_List_base&&),
445         list<>::size, list<>::swap, list<>::splice): Use it.
446         (operator==(const list<>&, const list<>&)): Rewrite in C++0x mode.
447         * include/bits/list.tcc (list<>::erase): Likewise.
448         (list<>::merge): Adjust in C++0x mode.
449         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
450         Adjust dg-error line number.
451         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
452         Likewise.
453         * testsuite/23_containers/list/requirements/dr438/
454         constructor_1_neg.cc: Likewise.
455         * testsuite/23_containers/list/requirements/dr438/
456         constructor_2_neg.cc: Likewise.
457
458 2012-06-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
459
460         PR libstdc++/53270
461         * config/os/gnu-linux/os_defines.h: Disable static initializer macros
462         for gthreads types in C++11 mode.
463
464 2012-06-19  Jörg Sonnenberger <joerg@britannica.bec.de>
465             Jonathan Wakely  <jwakely.gcc@gmail.com>
466
467         PR libstdc++/53678
468         * config/os/bsd/netbsd/ctype_base.h: Check for _CTYPE_U.
469         * testsuite/22_locale/ctype_base/53678.cc: New.
470
471 2012-06-14  Release Manager
472
473         * GCC 4.7.1 released.
474
475 2012-05-28  Paolo Carlini  <paolo.carlini@oracle.com>
476
477         PR c++/53503
478         * testsuite/26_numerics/headers/cmath/53503.cc: New.
479
480 2012-05-10  DJ Delorie  <dj@redhat.com>
481
482         * include/bits/random.tcc (seed_seq::generate): Cast max()
483         operands to size_t to ensure a template match.
484         * include/std/bitset (_M_copy_from_ptr): Cast min() operands to
485         size_t to ensure a template match.
486
487 2012-05-02  Paolo Carlini  <paolo.carlini@oracle.com>
488
489         PR libstdc++/53193
490         * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
491         dg-error line number.
492
493 2012-05-01  François Dumont  <fdumont@gcc.gnu.org>
494
495         PR libstdc++/53115
496         * include/bits/hashtable.h
497         (_Hashtable<>::_M_rehash_aux(size_type, false_type)): Fix buckets
498         after insertion of several equivalent elements.
499         * testsuite/23_containers/unordered_multiset/insert/53115.cc: New.
500         * testsuite/23_containers/unordered_multimap/insert/53115.cc: New.
501
502 2012-04-30  Andreas Tobler  <andreast@fgznet.ch>
503
504         Backport from mainline
505         2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
506
507         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
508         Skip this test on powerpc64-*-freebsd*.
509
510 2012-04-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
511
512         * include/std/scoped_allocator (scoped_allocator::__outermost): Do
513         not pass non-POD to varargs function.
514         * testsuite/20_util/scoped_allocator/1.cc: Fix test.
515
516 2012-04-23  Chris Jefferson  <chris@bubblescope.net>
517
518         PR testsuite/53046
519         * testsuite/25_algorithms/stable_partition/mem_check.cc: Fix size
520         of array A.
521         * testsuite/25_algorithms/stable_sort/mem_check.cc: Likewise.
522
523 2012-04-22  Paolo Carlini  <paolo.carlini@oracle.com>
524
525         PR libstdc++/53067
526         * include/bits/hashtable_policy.h: Change inheritances to public.
527         * testsuite/23_containers/unordered_map/requirements/53067.cc: New.
528         * testsuite/23_containers/unordered_set/requirements/53067.cc: Likewise.
529
530 2012-04-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
531
532         PR libstdc++/53027
533         * include/bits/ptr_traits.h (pointer_traits::rebind): Make public.
534         * testsuite/20_util/pointer_traits/requirements/typedefs.cc: Check
535         rebind works.
536
537 2012-04-21  Alan Modra  <amodra@gmail.com>
538
539         PR libstdc++/52839
540         * acinclude.m4 (_GLIBCXX_ATOMIC_BUILTINS): Do not depend on
541         glibcxx_cv_atomic_long_long.
542         * configure: Regenerate.
543
544 2012-04-16  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
545
546         PR bootstrap/52840
547         * src/Makefile.am (build-debug): Do not adjust vpath dir, remove
548         Makefile.tmp
549         * src/Makefile.in: Adjust as per above.
550
551 2012-04-16  Benjamin Kosnik  <bkoz@redhat.com>
552
553         PR libstdc++/52689
554         * libsupc++/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
555         * libsupc++/Makefile.in: Regenerated.
556         * src/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
557         (libstdc___la_SOURCES): Add in compatiblity files, with content
558         that varies with -DPIC.
559         * src/Makefile.in: Regenerated.
560         * src/c++11/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
561         * src/c++11/Makefile.in: Regenerated.
562         * src/c++11/compatibility-atomic-c++0x.cc: Guard with PIC.
563         * src/c++11/compatibility-c++0x.cc: Same.
564         * src/c++11/future.cc: Consolidate compatibility bits into..
565         * src/c++11/mutex.cc: Consolidate compatibility bits into..
566         * src/c++11/compatibility-thread-cxx0x.cc: ...here. New.
567         * src/c++98/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
568         * src/c++98/Makefile.in: Regenerated.
569         * src/c++98/compatibility-list-2.cc: Guard with PIC.
570         * src/c++98/compatibility.cc: Tweak comments.
571
572 2012-04-16  Benjamin Kosnik  <bkoz@redhat.com>
573
574             * include/ext/pb_ds/detail/pat_trie_/
575             constructors_destructor_fn_imps.hpp: Increment after recursion.
576             * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: Convert
577             node_type markup from brief.
578
579 2012-04-14  Paolo Carlini  <paolo.carlini@oracle.com>
580
581         PR libstdc++/52699
582         * include/bits/random.tcc (independent_bits_engine<>::operator()())
583         Avoid various overflows; use common_type on result_type and
584         _RandomNumberEngine::result_type; avoid floating point computations;
585         other smaller tweaks.
586
587         * include/bits/random.tcc (uniform_int_distribution<>::operator())
588         Use common_type; assume _UniformRandomNumberGenerator::result_type
589         unsigned; tidy.
590
591         * include/bits/stl_algobase.h (__lg(unsigned), __lg(unsigned long),
592         __lg(unsigned long long)): Add.
593
594 2012-04-13  Paolo Carlini  <paolo.carlini@oracle.com>
595
596         * include/debug/safe_iterator.h (_BeforeBeginHelper<>::
597         _S_Is_Beginnest): Add.
598         * include/debug/forward_list (_BeforeBeginHelper<>::
599         _S_Is_Beginnest): Likewise.
600         (_Safe_iterator<>::_M_is_beginnest): Add.
601         * include/debug/safe_iterator.tcc (_Safe_iterator<>::_M_valid_range):
602         Use the latter.
603         * testsuite/23_containers/forward_list/debug/splice_after.cc:
604         Add test.
605
606 2012-04-12  Paolo Carlini  <paolo.carlini@oracle.com>
607
608         * include/bits/forward_list.h (splice_after(const_iterator,
609         forward_list&), splice_after(const_iterator, forward_list&,
610         consst_iterator), splice_after(const_iterator, forward_list&,
611         const_iterator, const_iterator), merge(forward_list&),
612         merge(forward_list&, _Comp)): Add per C++11 as published (and
613         LWG 1310).
614         * include/debug/forward_list: Adjust.
615
616         * include/bits/forward_list.h (splice_after(const_iterator,
617         forward_list&&, const_iterator)): Only declare.
618         (_M_transfer_after): Remove.
619         (_M_splice_after(const_iterator, forward_list&&)): Change signature.
620         (splice_after(const_iterator, forward_list&&, const_iterator,
621         const_iterator)): Use the latter.
622         * include/bits/forward_list.tcc (splice_after(const_iterator,
623         forward_list&&, const_iterator)): Define here.
624         (_M_splice_after): Define, use throughout.
625
626         * include/bits/forward_list.h (insert_after(const_iterator,
627         std::initializer_list<_Tp>)): Forward to insert_after(const_iterator,
628         _InputIterator, _InputIterator).
629         * include/bits/forward_list.tcc: Remove definition.
630
631         * testsuite/23_containers/forward_list/modifiers/6.cc: New.
632         * testsuite/23_containers/forward_list/operations/1.cc: Adjust.
633
634         * testsuite/23_containers/forward_list/requirements/dr438/
635         assign_neg.cc: Adjust dg-error line number.
636         * testsuite/23_containers/forward_list/requirements/dr438/
637         insert_neg.cc: Likewise.
638         * testsuite/23_containers/forward_list/requirements/dr438/
639         constructor_1_neg.cc: Likewise.
640         * testsuite/23_containers/forward_list/requirements/dr438/
641         constructor_2_neg.cc: Likewise.
642
643 2012-04-12   Jeffrey Yasskin  <jyasskin@google.com>
644
645         PR libstdc++/52822
646         * include/bits/stl_algo.h (__find_if_not): Expose in C++98 mode.
647         (__find_if_not_n): Like __find_if_not, but works on and updates a
648         counted range instead of a bounded range.
649         (stable_partition): Guarantee !__pred(*__first) in call to
650         __stable_partition_adaptive() or __inplace_stable_partition().
651         (__stable_partition_adaptive): Use new precondition to avoid
652         moving/copying objects onto themselves.  Guarantee new
653         precondition to recursive calls.
654         (__inplace_stable_partition): Use new precondition to simplify
655         base case, remove __last parameter.  Guarantee new precondition to
656         recursive calls.
657         * testsuite/25_algorithms/stable_partition/moveable.cc (test02):
658         Test a sequence that starts with a value matching the predicate.
659         * testsuite/25_algorithms/stable_partition/pr52822.cc: Test
660         vectors, which have a destructive self-move-assignment.
661
662 2012-04-12  Paolo Carlini  <paolo.carlini@oracle.com>
663
664         PR libstdc++/52942
665         * include/bits/stl_function.h (_Identity, _Select1st, _Select2nd):
666         In C++11 mode do not derive from std::unary_function.
667         * include/ext/functional (identity, select1st, select2nd): Adjust.
668         * testsuite/23_containers/unordered_map/requirements/52942.cc: New.
669         * testsuite/23_containers/unordered_set/requirements/52942.cc: Likewise.
670
671 2012-04-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
672
673         PR libstdc++/52924
674         * include/bits/shared_ptr_base.h (_Sp_counted_deleter): Add
675         user-defined destructor.
676         (_Sp_counted_inplace): Likewise.
677         * testsuite/20_util/shared_ptr/cons/52924.cc: New.
678         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
679         line numbers.
680
681 2012-04-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
682
683         * testsuite/performance/30_threads/future/polling.cc: Adjust.
684
685 2012-04-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
686
687         PR libstdc++/52591
688         * include/bits/stl_vector.h (vector::operator=(vector&&)): Dispatch
689         to _M_move_assign depending on whether allocator is moved.
690         (vector::_M_move_assign): Add overloaded functions.
691         * testsuite/23_containers/vector/52591.cc: New.
692         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
693         Adjust dg-error line number.
694         * testsuite/23_containers/vector/requirements/dr438/
695         constructor_1_neg.cc:
696         Likewise.
697         * testsuite/23_containers/vector/requirements/dr438/
698         constructor_2_neg.cc:
699         Likewise.
700         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
701         Likewise.
702
703 2012-04-09  François Dumont  <fdumont@gcc.gnu.org>
704
705         PR libstdc++/52476
706         * include/bits/hashtable.h (_Hashtable<>::_M_rehash_aux): Add.
707         (_Hashtable<>::_M_rehash): Use the latter.
708         * testsuite/23_containers/unordered_multimap/insert/52476.cc: New.
709         * testsuite/23_containers/unordered_multiset/insert/52476.cc: New.
710
711 2012-04-09  Terry Guo  <terry.guo@arm.com>
712
713         Backport from mainline
714         2012-03-28  Terry Guo  <terry.guo@arm.com>
715
716         * testsuite/Makefile.am (TEST_GCC_EXEC_PREFIX): New.
717         * testsuite/Makefile.in: Regenerated.
718
719 2012-03-30  Jeffrey Yasskin  <jyasskin@gcc.gnu.org>
720             Paolo Carlini  <paolo.carlini@oracle.com>
721
722         PR libstdc++/52799
723         * include/bits/deque.tcc (emplace): Fix thinko, replace push_front
724         -> emplace_front, and likewise for *_back.
725         * testsuite/23_containers/deque/modifiers/emplace/52799.cc: New.
726         * testsuite/23_containers/list/modifiers/emplace/52799.cc: Likewise.
727         * testsuite/23_containers/vector/modifiers/emplace/52799.cc: Likewise.
728
729 2012-03-23  David S. Miller  <davem@davemloft.net>
730
731         * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Update.
732
733 2012-03-23  Paolo Carlini  <paolo.carlini@oracle.com>
734
735         * include/bits/forward_list.h: Fix comments.
736
737 2012-03-23  Paweł Sikora  <pawel.sikora@agmk.net>
738
739         PR libstdc++/52540
740         * include/Makefile.am (c++config.h): Fix sed rule to not break
741         the _GLIBCXX_EXTERN_TEMPLATE redefinition.
742         * include/Makefile.in: Regenerate.
743
744 2012-03-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
745
746         PR libstdc++/52433
747         * include/debug/safe_iterator.h (_Safe_iterator): Add move
748         constructor and move assignment operator.
749         * testsuite/23_containers/vector/debug/52433.cc: New.
750
751 2012-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
752
753         * include/std/array (array<>::at(size_type) const): Fix version
754         for undefined __EXCEPTIONS.
755
756 2012-03-22  Release Manager
757
758         * GCC 4.7.0 released.
759
760 2012-03-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
761
762         PR libstdc++/52456
763         * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
764
765 2012-03-09  Andreas Schwab  <schwab@linux-m68k.org>
766
767         * config/locale/gnu/monetary_members.cc
768         (moneypunct<char,true>::_M_initialize_moneypunct): Throw caught
769         exception again.
770         (moneypunct<char,false>::_M_initialize_moneypunct): Likewise.
771         * testsuite/22_locale/locale/cons/12352.cc: Also test en_US
772         locale.
773
774 2012-03-02  Benjamin Kosnik  <bkoz@redhat.com>
775
776         * include/c_global/cstdio: Remove extraneous extern.
777         * include/c_std/cstdio: Same.
778
779 2012-03-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
780
781         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
782         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
783         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
784         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
785         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
786
787 2012-03-01  Benjamin Kosnik  <bkoz@redhat.com>
788             Ramana Radhakrishnan <ramana@gcc.gnu.org>
789
790         PR libstdc++/51785
791         * acinclude.m4 (GLIBCXX_CHECK_STDIO_PROTO): New.
792         * configure.ac: Call it.
793         * configure: Regenerate.
794         * config.h.in: Same.
795         * config/os/gnu-linux/os_defines.h: Conditionally undefine
796         _GLIBCXX_HAVE_GETS.
797         * include/c_global/cstdio: Conditionally declare deprecated gets.
798         * include/c_std/cstdio: Same.
799
800 2012-03-01  Michael Spertus  <mike_spertus@symantec.com>
801
802         * include/tr2/type_traits (typelist): To __reflection_typelist.
803         (first, rest, empty): Remove.
804
805 2012-03-01  Benjamin Kosnik  <bkoz@redhat.com>
806
807         * testsuite/Makefile.am (CLEANFILES): Add *.gdb.
808         * testsuite/Makefile.in: Regenerate.
809
810 2012-02-29  H.J. Lu  <hongjiu.lu@intel.com>
811
812         * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
813
814 2012-02-28  Benjamin Kosnik  <bkoz@redhat.com>
815
816         PR libstdc++/52191
817         * testsuite/util/testsuite_abi.cc (compare_symbols): Check new
818         symbols added into the latest version. Mark tls entities as
819         undesignated.
820
821 2012-02-28  Jakub Jelinek  <jakub@redhat.com>
822
823         PR bootstrap/52414
824         * src/Makefile.am (libstdc++-symbols.ver): Only remove comment lines
825         if they are at the beginning of lines (with optional whitespace before
826         #).
827         * src/Makefile.in: Regenerated.
828
829 2012-02-27  Jakub Jelinek  <jakub@redhat.com>
830
831         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
832         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
833         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
834         Likewise.
835         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
836         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
837         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
838         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
839         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
840         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
841
842 2012-02-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
843
844         PR libstdc++/52188
845         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Remove symvers_renaming.
846         Remove ENABLE_SYMVERS_SOL2.
847         * configure: Regenerate.
848         * src/Makefile.am [ENABLE_SYMVERS] (libstdc++-symbols.ver):
849         Postprocess mapfile.
850         [ENABLE_SYMVERS_GNU]: Remove ENABLE_SYMVERS_SOL2 handling.
851         * src/Makefile.in: Regenerate.
852
853         * config/abi/pre/gnu.ver (GLIBCXX_3.4.5) [!__sun__ && !__svr4__]:
854         Don't export
855         _ZNSt19istreambuf_iteratorI[cw]St11char_traitsI[cw]EEppEv.
856
857 2012-02-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
858
859         PR testsuite/52201
860         * testsuite/29_atomics/atomic/operators/pointer_partial_void.cc:
861         Require atomic builtins.
862         * testsuite/29_atomics/atomic/operators/51811.cc: Likewise.
863
864 2012-02-23  Jason Merrill  <jason@redhat.com>
865
866         * include/bits/locale_facets.h (class num_get): Undo reordering of
867         do_get virtual functions.
868
869 2012-02-14  Edward Smith-Rowland  <3dw4rd@verizon.net>
870
871         * testsuite/26_numerics/random/
872         uniform_real_distribution/requirements/typedefs.cc: Check param_type.
873         * testsuite/26_numerics/random/
874         piecewise_constant_distribution/requirements/typedefs.cc: Ditto.
875         * testsuite/26_numerics/random/
876         chi_squared_distribution/requirements/typedefs.cc: Ditto.
877         * testsuite/26_numerics/random/
878         normal_distribution/requirements/typedefs.cc: Ditto.
879         * testsuite/26_numerics/random/
880         uniform_int_distribution/requirements/typedefs.cc: Ditto.
881         * testsuite/26_numerics/random/
882         poisson_distribution/requirements/typedefs.cc: Ditto.
883         * testsuite/26_numerics/random/
884         bernoulli_distribution/requirements/typedefs.cc: Ditto.
885         * testsuite/26_numerics/random/
886         discrete_distribution/requirements/typedefs.cc: Ditto.
887         * testsuite/26_numerics/random/
888         weibull_distribution/requirements/typedefs.cc: Ditto.
889         * testsuite/26_numerics/random/
890         cauchy_distribution/requirements/typedefs.cc: Ditto.
891         * testsuite/26_numerics/random/
892         negative_binomial_distribution/requirements/typedefs.cc: Ditto.
893         * testsuite/26_numerics/random/
894         gamma_distribution/requirements/typedefs.cc: Ditto.
895         * testsuite/26_numerics/random/
896         fisher_f_distribution/requirements/typedefs.cc: Ditto.
897         * testsuite/26_numerics/random/
898         exponential_distribution/requirements/typedefs.cc: Ditto.
899         * testsuite/26_numerics/random/
900         binomial_distribution/requirements/typedefs.cc: Ditto.
901         * testsuite/26_numerics/random/
902         lognormal_distribution/requirements/typedefs.cc: Ditto.
903         * testsuite/26_numerics/random/
904         extreme_value_distribution/requirements/typedefs.cc: Ditto.
905         * testsuite/26_numerics/random/
906         piecewise_linear_distribution/requirements/typedefs.cc: Ditto.
907         * testsuite/26_numerics/random/
908         student_t_distribution/requirements/typedefs.cc: Ditto.
909         * testsuite/26_numerics/random/
910         geometric_distribution/requirements/typedefs.cc: Ditto.
911
912 2012-02-21  Benjamin Kosnik  <bkoz@redhat.com>
913
914         PR libstdc++/50349
915         * config/abi/pre/gnu.ver: Only one local.
916         * config/abi/pre/gnu-versioned-namespace.ver: Same.
917
918 2012-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
919
920         PR libstdc++/52317 (cont)
921         * include/profile/unordered_map: Ad Library Exception comment.
922         * include/profile/set: Likewise.
923         * include/profile/base.h: Likewise.
924         * include/profile/impl/profiler_list_to_slist.h: Likewise.
925         * include/profile/impl/profiler_container_size.h: Likewise.
926         * include/profile/impl/profiler_vector_size.h: Likewise.
927         * include/profile/impl/profiler_hash_func.h: Likewise.
928         * include/profile/impl/profiler_trace.h: Likewise.
929         * include/profile/impl/profiler_list_to_vector.h: Likewise.
930         * include/profile/impl/profiler_vector_to_list.h: Likewise.
931         * include/profile/impl/profiler.h: Likewise.
932         * include/profile/impl/profiler_state.h: Likewise.
933         * include/profile/impl/profiler_map_to_unordered_map.h: Likewise.
934         * include/profile/impl/profiler_algos.h: Likewise.
935         * include/profile/impl/profiler_hashtable_size.h: Likewise.
936         * include/profile/impl/profiler_node.h: Likewise.
937         * include/profile/vector: Likewise.
938         * include/profile/unordered_set: Likewise.
939         * include/profile/map.h: Likewise.
940         * include/profile/map: Likewise.
941
942 2012-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
943
944         PR libstdc++/52317
945         * python/Makefile.am: Update boilerplate license text to GPLv3.
946         * include/profile/unordered_map: Likewise.
947         * include/profile/set: Likewise.
948         * include/profile/base.h: Likewise.
949         * include/profile/impl/profiler_list_to_slist.h: Likewise.
950         * include/profile/impl/profiler_container_size.h: Likewise.
951         * include/profile/impl/profiler_vector_size.h: Likewise.
952         * include/profile/impl/profiler_hash_func.h: Likewise.
953         * include/profile/impl/profiler_trace.h: Likewise.
954         * include/profile/impl/profiler_list_to_vector.h: Likewise.
955         * include/profile/impl/profiler_vector_to_list.h: Likewise.
956         * include/profile/impl/profiler.h: Likewise.
957         * include/profile/impl/profiler_state.h: Likewise.
958         * include/profile/impl/profiler_map_to_unordered_map.h: Likewise.
959         * include/profile/impl/profiler_algos.h: Likewise.
960         * include/profile/impl/profiler_hashtable_size.h: Likewise.
961         * include/profile/impl/profiler_node.h: Likewise.
962         * include/profile/vector: Likewise.
963         * include/profile/unordered_set: Likewise.
964         * include/profile/map.h: Likewise.
965         * include/profile/map: Likewise.
966         * testsuite/21_strings/basic_string/numeric_conversions/
967         wchar_t/dr1261.cc: Likewise.
968         * testsuite/21_strings/basic_string/numeric_conversions/
969         char/dr1261.cc: Likewise.
970         * testsuite/20_util/reference_wrapper/invoke-2.cc: Likewise.
971
972 2012-02-20  Paolo Carlini  <paolo.carlini@oracle.com>
973
974         PR libstdc++/52241
975         * src/c++98/tree.cc (local_Rb_tree_increment,
976         local_Rb_tree_decrement): Add.
977         (_Rb_tree_increment(const _Rb_tree_node_base*),
978         _Rb_tree_decrement(const _Rb_tree_node_base*)): Use the latter.
979         (_Rb_tree_increment(_Rb_tree_node_base*),
980         _Rb_tree_decrement(_Rb_tree_node_base*)): New.
981
982 2012-02-20  Paolo Carlini  <paolo.carlini@oracle.com>
983
984         PR libstdc++/52309
985         * include/bits/hashtable_policy.h (_Equality_base<, true,>::
986         _M_equal(const _Hashtable&)): Compare values with operator==.
987         * testsuite/23_containers/unordered_set/operators/52309.cc: New.
988
989 2012-02-17  Benjamin Kosnik  <bkoz@redhat.com>
990
991         PR libstdc++/51798 continued.
992         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Grep for
993         __atomic_, not __sync.
994         * configure: Regenerated.
995
996 2012-02-17  Benjamin Kosnik  <bkoz@redhat.com>
997
998         PR libstdc++/47058
999         * acinclude.m4 (GLIBCXX_ENABLE_WERROR): New.
1000         (GLIBCXX_EXPORT_FLAGS): Add -Wabi to WARN_FLAGS
1001         * configure.ac: Use it.
1002         * fragment.am: Set WERROR_FLAG conditionally on --disable-werror.
1003         * configure: Regenerate.
1004         * python/Makefile.in: Same.
1005         * Makefile.in: Same.
1006         * doc/Makefile.in: Same.
1007         * include/Makefile.in: Same.
1008         * po/Makefile.in: Same.
1009         * python/Makefile.in: Same.
1010         * src/Makefile.in: Same.
1011         * src/c++11/Makefile.in: Same.
1012         * src/c++98/Makefile.in: Same.
1013         * testsuite/Makefile.in: Same.
1014
1015 2012-02-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1016
1017         PR libstdc++/52189
1018         * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Handle
1019         --enable-libstdcxx-threads.
1020         Disable on Solaris 8/9 with symbol versioning.
1021         * configure.ac (GLIBCXX_CHECK_GTHREADS): Move after
1022         GLIBCXX_ENABLE_SYMVERS.
1023         * configure: Regenerate.
1024         * doc/xml/manual/configure.xml (--enable-libstdcxx-threads): Explain.
1025
1026 2012-02-15  DJ Delorie  <dj@redhat.com>
1027
1028         * src/c++98/locale.cc (locale::facet::_S_get_c_locale): Fix typo.
1029
1030 2012-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1031
1032         PR libstdc++/51368
1033         * acinclude.m4 (GLIBCXX_ENABLE_PYTHON): New.
1034         * configure.ac: Use it.
1035         * python/Makefile.am: Same.
1036         * configure: Regenerate.
1037         * python/Makefile.in: Regenerate.
1038         * Makefile.in: Same.
1039         * doc/Makefile.in: Same.
1040         * include/Makefile.in: Same.
1041         * po/Makefile.in: Same.
1042         * src/Makefile.in: Same.
1043         * src/c++11/Makefile.in: Same.
1044         * src/c++98/Makefile.in: Same.
1045         * testsuite/Makefile.in: Same.
1046
1047 2012-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
1048
1049         * 30_threads/thread/native_handle/typesizes.cc: Do not run on cygwin.
1050
1051 2012-02-14  Tom Tromey  <tromey@redhat.com>
1052
1053         * testsuite/libstdc++-prettyprinters/cxx11.cc (main): Add new
1054         tests.
1055         * python/libstdcxx/v6/printers.py (Tr1HashtableIterator.__init__):
1056         Rewrite.
1057         (Tr1HashtableIterator.update): Remove.
1058         (Tr1HashtableIterator.next): Rewrite.
1059
1060 2012-02-13  Benjamin Kosnik  <bkoz@redhat.com>
1061
1062         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
1063         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
1064
1065 2012-02-13  Richard Henderson  <rth@redhat.com>
1066
1067         PR libstdc++/51798 continued.
1068         * include/bits/shared_ptr_base.h
1069         (_Sp_counted_base<_S_atomic>::_M_add_ref_lock): Hoist initial load
1070         outside compare_exchange loop.
1071         * include/tr1/shared_ptr.h: Same.
1072         * include/parallel/compatibility.h (__compare_and_swap_32): Use strong
1073         version of compare_exchange.
1074         (__compare_and_swap_64): Same.
1075         * include/profile/impl/profiler_state.h (__gnu_profile::__turn): Same.
1076         * libsupc++/guard.cc (__cxa_guard_acquire): Same.
1077
1078 2012-02-10  Benjamin Kosnik  <bkoz@redhat.com>
1079             Jonathan Wakely  <jwakely.gcc@gmail.com>
1080
1081         PR libstdc++/51798 continued.
1082         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Use __atomic_*
1083         builtins instead of __sync_* builtins for atomic functionality.
1084         * include/bits/shared_ptr_base.h: Same.
1085         * include/parallel/compatibility.h: Same.
1086         * include/profile/impl/profiler_state.h: Same.
1087         * include/tr1/shared_ptr.h: Same.
1088         * libsupc++/eh_ptr.cc: Same.
1089         * libsupc++/eh_throw.cc: Same.
1090         * libsupc++/eh_tm.cc: Same.
1091         * libsupc++/guard.cc: Same.
1092         * configure: Regenerated.
1093         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
1094         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
1095
1096 2012-02-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1097
1098         PR libstdc++/51296
1099         * config/os/osf/ctype_base.h,
1100         config/os/osf/ctype_configure_char.cc,
1101         config/os/osf/ctype_inline.h, config/os/osf/error_constants.h:
1102         Copy from config/os/generic.
1103         * config/os/osf/os_defines.h: Likewise.
1104         (_GTHREAD_USE_MUTEX_INIT_FUNC, _GTHREAD_USE_COND_INIT_FUNC):
1105         Define.
1106         * configure.host <osf*>: Use os/osf for os_include_dir.
1107
1108 2012-02-10  Uros Bizjak  <ubizjak@gmail.com>
1109
1110         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
1111
1112 2012-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
1113
1114         * doc/xml/manual/documentation_hacking.xml: Fix invalid attribute.
1115
1116 2012-02-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1117
1118         * doc/xml/manual/status_cxx2011.xml: Update C++11 status table.
1119
1120 2012-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1121
1122         * doc/doxygen/user.cfg.in: Update to doxygen 1.7.6.1.
1123         * doc/xml/manual/documentation_hacking.xml: Update.
1124
1125 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1126
1127         * testsuite/30_threads/call_once/39909.cc: Remove duplicate target
1128         selector.
1129         * testsuite/30_threads/call_once/49668.cc: Likewise.
1130         * testsuite/30_threads/call_once/call_once1.cc: Likewise.
1131         * testsuite/30_threads/lock_guard/cons/1.cc: Likewise.
1132         * testsuite/30_threads/mutex/cons/1.cc: Likewise.
1133         * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
1134         * testsuite/30_threads/mutex/lock/1.cc: Likewise.
1135         * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
1136         * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
1137         * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
1138         * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
1139         * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
1140         * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
1141         * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
1142         * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
1143         * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
1144         * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
1145         * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
1146         * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
1147         * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
1148         * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
1149         * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
1150         * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
1151         * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
1152
1153 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1154
1155         PR libstdc++/51296
1156         * include/std/mutex (__mutex_base::~__mutex_base): Declare noexcept.
1157         * src/c++11/condition_variable.cc (condition_variable): Use macro for
1158         initializer function.
1159
1160         PR libstdc++/51906
1161         * config/os/bsd/darwin/os_defines.h: Disable static initializer for
1162         recursive mutexes.
1163
1164 2012-02-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
1165
1166         PR libstdc++/52128
1167         * src/c++11/future.cc: Add explicit instantiation.
1168
1169 2012-02-06  François Dumont  <fdumont@gcc.gnu.org>
1170
1171         * include/debug/safe_iterator.h
1172         (_Safe_iterator::_M_before_dereferenceable): Avoid the expensive
1173         creation of a _Safe_iterator instance to do the check.
1174
1175 2012-02-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1176
1177         PR libstdc++/52104
1178         * include/std/future (__future_base::_Async_state_common): Define
1179         destructor inline for targets without TLS.
1180         * src/c++11/future.cc (__future_base::_Async_state_common): Only
1181         define destructor for TLS targets.
1182
1183 2012-02-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1184
1185         PR libstdc++/51956
1186         * python/libstdcxx/v6/printers.py (StdPointerPrinter): Rename to...
1187         (SharedPointerPrinter): This. Also show weak count.
1188         * testsuite/libstdc++-prettyprinters/shared_ptr.cc: New.
1189
1190 2012-02-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1191
1192         * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Modify to
1193         PASS instead of XFAIL.
1194
1195 2012-02-05  Jeffrey Yasskin  <jyasskin@gcc.gnu.org>
1196             Paolo Carlini  <paolo.carlini@oracle.com>
1197
1198         PR libstdc++/52119
1199         * include/std/limits (__glibcxx_min): Fix to avoid undefined behavior.
1200
1201 2012-02-03  Benjamin Kosnik  <bkoz@redhat.com>
1202
1203         PR libstdc++/49445
1204         * testsuite/29_atomics/atomic/cons/49445.cc: Add.
1205
1206 2012-02-03  Benjamin Kosnik  <bkoz@redhat.com>
1207
1208         PR libstdc++/51811
1209         * include/bits/atomic_base.h (atomic<_Tp*>): Fix offsets.
1210         * testsuite/29_atomics/atomic/operators/51811.cc: New.
1211         * testsuite/29_atomics/atomic/operators/pointer_partial_void.cc: New.
1212
1213 2012-02-03  Jakub Jelinek  <jakub@redhat.com>
1214
1215         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
1216         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
1217         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1218         Likewise.
1219         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
1220         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
1221         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
1222         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
1223         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
1224         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1225
1226 2012-02-02  Benjamin Kosnik  <bkoz@redhat.com>
1227
1228         PR libstdc++/52068
1229         * src/c++11/Makefile.am (toolexeclib_LTLIBRARIES,
1230         libc__11_la_SOURCES): Remove.
1231         * src/c++11/Makefile.in: Regenerate.
1232         * src/c++98/Makefile.am (toolexeclib_LTLIBRARIES,
1233         libc__98_la_SOURCES): Remove.
1234         * src/c++98/Makefile.in: Regenerate.
1235
1236 2012-02-01  Jonathan Wakely  <jwakely.gcc@gmail.com>
1237
1238         PR libstdc++/49204
1239         * include/std/future (__future_base::_State_base::wait()): Use lambda
1240         expression for predicate and remove redundant test.
1241         (__future_base::_State_base::wait_for()): Return future_status and
1242         use lambda expression for predicate.
1243         (__future_base::_State_base::wait_until()): Likewise.
1244         (__basic_future::wait_for(), __basic_future::wait_until()): Likewise.
1245         (__future_base::_Async_state): Replace with _Async_state_common
1246         class for non-dependent functionality and _Async_state_impl class
1247         template for dependent functionality.
1248         (__future_base::_Async_state_common::_M_join): Serialize attempts to
1249         join thread.
1250         (__future_base::_Async_state_common::_M_run_deferred): Join.
1251         (__future_base::_Async_state::_M_do_run): Replace with lambda.
1252         * src/c++11/future.cc (__future_base::_Async_state_common): Define
1253         destructor, so key function is in the library.
1254         * config/abi/pre/gnu.ver: Add exports for ~_Async_state_common.
1255         * testsuite/30_threads/packaged_task/members/get_future.cc: Expect
1256         future_status return instead of bool.
1257         * testsuite/30_threads/shared_future/members/wait_until.cc: Likewise.
1258         * testsuite/30_threads/shared_future/members/wait_for.cc: Likewise.
1259         * testsuite/30_threads/future/members/wait_until.cc: Likewise.
1260         * testsuite/30_threads/future/members/wait_for.cc: Likewise.
1261         * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
1262         * testsuite/30_threads/promise/members/set_value3.cc: Likewise.
1263         * testsuite/30_threads/promise/members/swap.cc: Likewise.
1264
1265 2012-01-30  Tom Tromey  <tromey@redhat.com>
1266
1267         PR libstdc++/51649:
1268         * testsuite/libstdc++-prettyprinters/debug.cc: New file.
1269         * testsuite/lib/gdb-test.exp (regexp-test): New proc.
1270         (note-test): Update.
1271         (gdb-test): Handle regexp tests.  Add some logging.
1272         * testsuite/libstdc++-prettyprinters/simple.cc: Compile with -O0.
1273         (placeholder, use): Remove.
1274         (main): Add tests for deque, list, map, and set iterators.  Add
1275         tests for slist and slist iterator.
1276         * testsuite/libstdc++-prettyprinters/48362.cc (main): Handle __7
1277         namespace.
1278         * python/libstdcxx/v6/printers.py (StdListPrinter.children): Use
1279         the type's _Node typedef.
1280         (StdListIteratorPrinter.to_string): Change how node type is
1281         computed.
1282         (StdSlistPrinter.children): Use the type's _Node typedef.
1283         (StdSlistIteratorPrinter.to_string): Likewise.
1284         (StdRbtreeIteratorPrinter.to_string): Use the type's _Link_type
1285         typedef.
1286         (StdMapPrinter.children): Change how the node's type is computed.
1287         (StdSetPrinter.children): Likewise.
1288         (StdForwardListPrinter.children): Use the type's _Node typedef.
1289         (Printer.add_version): New method.
1290         (Printer.add_container): New method.
1291         (build_libstdcxx_dictionary): Handle __7 and __cxx1998
1292         namespaces.
1293         (find_type): New function.
1294
1295 2012-01-27  Paolo Carlini  <paolo.carlini@oracle.com>
1296
1297         PR libstdc++/51795
1298         * include/bits/random.h (linear_congruential_generator): Add
1299         static_assert preventing instantiation for values of 'a' and 'm'
1300         currently handled incorrectly by _Mod::__calc.
1301         * include/bits/random.tcc (seed_seq::generate): Avoid unsafe
1302         uses of _Mod::__calc.
1303
1304 2012-01-27  Jakub Jelinek  <jakub@redhat.com>
1305
1306         PR libstdc++/51798
1307         * config/cpu/generic/atomicity_builtins/atomicity.h
1308         (__exchange_and_add, __atomic_add): Use __atomic_fetch_add
1309         with __ATOMIC_ACQ_REL semantics instead of __sync_fetch_and_add.
1310         * include/ext/atomicity.h (__exchange_and_add, __atomic_add):
1311         Likewise.
1312
1313 2011-01-27  Rafael Avila de Espindola  <rafael.espindola@gmail.com>
1314
1315         * libsupc++/typeinfo: Correctly match #pragma GCC visibility
1316         pop with #pragma GCC visibility push.
1317
1318 2012-01-27  Benjamin Kosnik  <bkoz@redhat.com>
1319             Matthias Klose  <doko@ubuntu.com>
1320
1321         * configure.ac (GLIBCXX_ENABLE_DEBUG_FLAGS): Use -gdwarf-4 -g3 -O0.
1322         * configure.in: Regenerated.
1323         * src/Makefile.am (all-once, install-data-once): New rules.
1324         (all-local, install-data-local): Use them.
1325         (build-debug, install-debug): Tweak.
1326         * src/Makefile.in: Regenerate.
1327
1328 2012-01-27  Richard Henderson  <rth@redhat.com>
1329
1330         * include/bits/atomic_base.h (__atomic_flag_base): Define _M_i
1331         based on the value of __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
1332         (ATOMIC_FLAG_INIT): Initialize with 0, not false.
1333         (atomic_flag::atomic_flag): Use __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
1334
1335 2012-01-26  Jakub Jelinek  <jakub@redhat.com>
1336
1337         PR bootstrap/51985
1338         * src/c++98/Makefile.am (libc__98_la_SOURCES,
1339         libc__98convenience_la_SOURCES): Remove $(inst_sources).
1340         * src/c++98/Makefile.in: Regenerated.
1341
1342 2012-01-25  Richard Sandiford  <rdsandiford@googlemail.com>
1343
1344         * testsuite/20_util/system_clock/1.cc: Add dg-require-time.
1345         * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: Likewise.
1346         * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: Likewise.
1347         * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: Likewise.
1348         * testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Add
1349         dg-require-fileio.
1350         * testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise.
1351         * testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise.
1352         * testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise.
1353         * testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc:
1354         Likewise.
1355         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
1356
1357 2012-01-25  Matthias Klose  <doko@ubuntu.com>
1358
1359         * testsuite/30_threads/condition_variable_any/requirements: Remove
1360         empty directory.
1361
1362 2012-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1363
1364         * src/Makefile.am (libstdc++convenience.la): Correct stamp rule, copy.
1365         * src/Makefile.in: Regenerate.
1366
1367 2012-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1368
1369         PR libstdc++/49829
1370         Add libc++98convenience.la, libc++11convenience.la.
1371         * src/c++98: New directory.
1372         * src/c++11: New directory.
1373         * acinclude.m4: (GLIBCXX_CONFIGURE): Add src-c++98, src-c++11.
1374         * configure: Regenerated.
1375         * Makefile.am (hosted_source): Add src-c++98, src-c++11 to SUBDIRS.
1376         * Makefile.in: Regenerate.
1377         * libsupc++/Makefile.am (AM_CXXFLAGS): USe XTEMPLATE_FLAGS for
1378         -fno-implicit-templates.
1379         * libsupc++/Makefile.in: Regenerate.
1380         * src/Makefile.am (inst_sources): Move... C++11 files into
1381         separate directory for libstdc++11convenience.la. Files are:
1382         fstream-inst.cc, string-inst.cc, wlocale-inst.cc, wstring-inst.cc).
1383         (sources): Move C++11 files. Files are: compatibility-c++0x.cc,
1384         compatibility-atomic-c++0x.cc, debug.cc, functexcept.cc,
1385         functional.cc, hash_c++0x.cc, hashtable_c++0x.cc, limits.cc,
1386         system_error.cc, placeholders.cc, regex.cc, shared_ptr.cc,
1387         mutex.cc, condition_variable.cc, chrono.cc, thread.cc, future.cc.
1388         (libstdc++convenience.la): Add new target.
1389         (SUBDIRS): Add c++11, c++98.
1390         * src/Makefile.in: Regenerate.
1391         * src/c++11/Makefile.am: New.
1392         * src/c++11/Makefile.in: Generate.
1393         * src/c++98/Makefile.am: New, C++98 files.
1394         * src/c++98/Makefile.in: Generate.
1395
1396 2012-01-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1397
1398         libstdc++-v3:
1399         * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
1400         32-bit Solaris 10/x86.
1401         * testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
1402
1403 2012-01-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
1404
1405         PR libstdc++/50982
1406         * testsuite/30_threads/*: Add powerpc-ibm-aix* to target selectors.
1407
1408 2012-01-19  Jakub Jelinek  <jakub@redhat.com>
1409
1410         PR libstdc++/51845
1411         * include/bits/hashtable.h
1412         (_Hashtable<>::erase(const_iterator, const_iterator)): Also update
1413         _M_buckets[__n_bkt] if __is_bucket_begin.
1414         * testsuite/23_containers/unordered_multimap/erase/51845-multimap.cc:
1415         New test.
1416
1417 2012-01-18  Benjamin Kosnik  <bkoz@redhat.com>
1418
1419         * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): Fix quoting.
1420
1421 2012-01-18  Benjamin Kosnik  <bkoz@redhat.com>
1422
1423         * configure.ac: Move epub checks...
1424         * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): ...here, use
1425         test -f instead of AC_CHECK_FILES.
1426
1427 2012-01-18  François Dumont  <fdumont@gcc.gnu.org>
1428             Roman Kononov  <roman@binarylife.net>
1429
1430         PR libstdc++/51866
1431         * include/bits/hashtable.h (_Hashtable<>::_M_insert(_Arg, false_type)):
1432         Do not keep a reference to a potentially moved instance.
1433         * testsuite/23_containers/unordered_multiset/insert/51866.cc: New.
1434         * testsuite/23_containers/unordered_multimap/insert/51866.cc: New.
1435
1436 2012-01-17  Benjamin Kosnik  <bkoz@redhat.com>
1437
1438         * doc/html/*: Regenerate.
1439
1440 2012-01-17  Benjamin Kosnik  <bkoz@redhat.com>
1441
1442         * configure.ac (BUILD_EPUB): Adjust for epub3.
1443         * configure: Regenerate.
1444         * Makefile.in: Same.
1445         * doc/Makefile.am (stamp-epub-docbook): Update for epub3.
1446         * doc/Makefile.in: Regenerate.
1447         * include/Makefile.in: Same.
1448         * libsupc++/Makefile.in: Same.
1449         * po/Makefile.in: Same.
1450         * python/Makefile.in: Same.
1451         * src/Makefile.in: Same.
1452         * testsuite/Makefile.in: Same.
1453
1454         * doc/xml/manual/documentation_hacking.xml: Update.
1455
1456 2012-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1457
1458         PR target/47852
1459         * configure.host (irix6.5*): Add -lpthread to OPT_LDFLAGS.
1460
1461 2012-01-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
1462
1463         * include/bits/stl_iterator.h (reverse_iterator): Doxygen comments.
1464
1465 2012-01-13  François Dumont  <fdumont@gcc.gnu.org>
1466
1467         * include/bits/hashtable_policy.h (_Hash_node_base): New, use it as
1468         base class of ...
1469         (_Hash_node<Value, true>, _Hash_node<Value, false>): ... those.
1470         * include/bits/hashtable.h (_Hashtable): Replace _M_begin_bucket_index
1471         by _M_before_begin. Review implementation so that we do not need to
1472         look for previous non-empty bucket when inserting nodes.
1473
1474 2012-01-09  Kai Tietz  <ktietz@redhat.com>
1475
1476         PR libstc++/51673 part 2
1477         * config/abi/pre/gnu-versioned-namespace.ver: Adjusted new/delete
1478         operators signature for LLP64 size_t, and adjusted signatures for
1479         mt-allocator using size_t.
1480
1481 2012-01-09  Benjamin Kosnik  <bkoz@redhat.com>
1482
1483         PR libstc++/51673 part 1
1484         * config/abi/pre/gnu-versioned-namespace.ver: Sync cxxabi symbols
1485         with gnu.ver.
1486
1487 2012-01-09  Benjamin Kosnik  <bkoz@redhat.com>
1488
1489         * fragment.am (WARN_CXXFLAGS): Add -Wabi.
1490         * Makefile.in: Regenerate.
1491         * doc/Makefile.in: Same.
1492         * include/Makefile.in: Same.
1493         * libsupc++/Makefile.in: Same.
1494         * src/Makefile.in: Same.
1495         * testsuite/Makefile.in: Same.
1496         * po/Makefile.in: Same.
1497         * python/Makefile.in: Same.
1498
1499 2012-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1500
1501         * python/libstdcxx/v6/printers.py (StdForwardListPrinter): Add.
1502         * testsuite/libstdc++-prettyprinters/cxx11.cc: New.
1503
1504 2012-01-06  Jason Merrill  <jason@redhat.com>
1505
1506         * testsuite/abi/demangle/regression/cw-16.cc (main): Adjust
1507         expected demangling.
1508
1509 2012-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
1510
1511         PR libstdc++/51504
1512         * doc/xml/manual/debug.xml: Suggest using symbol interposition
1513         to override symbols using annotation macros.
1514
1515 2012-01-05  François Dumont  <fdumont@gcc.gnu.org>
1516
1517         * include/bits/hashtable_policy.h (_Hashtable_base<>::_M_eq()):
1518         protected rather than private, use it...
1519         * include/bits/hashtable.h (_Hashtable<>::key_eq()): ... here.
1520         * testsuite/23_containers/unordered_set/observers.cc: New.
1521         * testsuite/23_containers/unordered_multiset/observers.cc: New.
1522         * testsuite/23_containers/unordered_map/observers.cc: New.
1523         * testsuite/23_containers/unordered_multimap/observers.cc: New.
1524
1525 2012-01-03  François Dumont  <fdumont@gcc.gnu.org>
1526
1527         * include/bits/hashtable_policy.h (_Ebo_helper<>): Rename to the more
1528         specific _Hashtable_ebo_helper. Hide this implementation detail thanks
1529         to private inheritance.
1530
1531 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
1532
1533         PR c++/51738
1534         * testsuite/23_containers/map/element_access/39901.cc: New.