OSDN Git Service

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