OSDN Git Service

0a455335ad7ef046a4671d32625a17cbcda26069
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2011-01-27  Rafael Avila de Espindola  <rafael.espindola@gmail.com>
2
3         * libsupc++/typeinfo: Correctly match #pragma GCC visibility
4         pop with #pragma GCC visibility push.
5
6 2012-01-27  Benjamin Kosnik  <bkoz@redhat.com>
7             Matthias Klose  <doko@ubuntu.com>
8
9         * configure.ac (GLIBCXX_ENABLE_DEBUG_FLAGS): Use -gdwarf-4 -g3 -O0.
10         * configure.in: Regenerated.
11         * src/Makefile.am (all-once, install-data-once): New rules.
12         (all-local, install-data-local): Use them.
13         (build-debug, install-debug): Tweak.
14         * src/Makefile.in: Regenerate.
15
16 2012-01-27  Richard Henderson  <rth@redhat.com>
17
18         * include/bits/atomic_base.h (__atomic_flag_base): Define _M_i
19         based on the value of __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
20         (ATOMIC_FLAG_INIT): Initialize with 0, not false.
21         (atomic_flag::atomic_flag): Use __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
22
23 2012-01-26  Jakub Jelinek  <jakub@redhat.com>
24
25         PR bootstrap/51985
26         * src/c++98/Makefile.am (libc__98_la_SOURCES,
27         libc__98convenience_la_SOURCES): Remove $(inst_sources).
28         * src/c++98/Makefile.in: Regenerated.
29
30 2012-01-25  Richard Sandiford  <rdsandiford@googlemail.com>
31
32         * testsuite/20_util/system_clock/1.cc: Add dg-require-time.
33         * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: Likewise.
34         * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: Likewise.
35         * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: Likewise.
36         * testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Add
37         dg-require-fileio.
38         * testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise.
39         * testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise.
40         * testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise.
41         * testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc:
42         Likewise.
43         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
44
45 2012-01-25  Matthias Klose  <doko@ubuntu.com>
46
47         * testsuite/30_threads/condition_variable_any/requirements: Remove
48         empty directory.
49
50 2012-01-23  Benjamin Kosnik  <bkoz@redhat.com>
51
52         * src/Makefile.am (libstdc++convenience.la): Correct stamp rule, copy.
53         * src/Makefile.in: Regenerate.
54
55 2012-01-23  Benjamin Kosnik  <bkoz@redhat.com>
56
57         PR libstdc++/49829
58         Add libc++98convenience.la, libc++11convenience.la.
59         * src/c++98: New directory.
60         * src/c++11: New directory.
61         * acinclude.m4: (GLIBCXX_CONFIGURE): Add src-c++98, src-c++11.
62         * configure: Regenerated.
63         * Makefile.am (hosted_source): Add src-c++98, src-c++11 to SUBDIRS.
64         * Makefile.in: Regenerate.
65         * libsupc++/Makefile.am (AM_CXXFLAGS): USe XTEMPLATE_FLAGS for
66         -fno-implicit-templates.
67         * libsupc++/Makefile.in: Regenerate.
68         * src/Makefile.am (inst_sources): Move... C++11 files into
69         separate directory for libstdc++11convenience.la. Files are:
70         fstream-inst.cc, string-inst.cc, wlocale-inst.cc, wstring-inst.cc).
71         (sources): Move C++11 files. Files are: compatibility-c++0x.cc,
72         compatibility-atomic-c++0x.cc, debug.cc, functexcept.cc,
73         functional.cc, hash_c++0x.cc, hashtable_c++0x.cc, limits.cc,
74         system_error.cc, placeholders.cc, regex.cc, shared_ptr.cc,
75         mutex.cc, condition_variable.cc, chrono.cc, thread.cc, future.cc.
76         (libstdc++convenience.la): Add new target.
77         (SUBDIRS): Add c++11, c++98.
78         * src/Makefile.in: Regenerate.
79         * src/c++11/Makefile.am: New.
80         * src/c++11/Makefile.in: Generate.
81         * src/c++98/Makefile.am: New, C++98 files.
82         * src/c++98/Makefile.in: Generate.
83
84 2012-01-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
85
86         libstdc++-v3:
87         * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
88         32-bit Solaris 10/x86.
89         * testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
90
91 2012-01-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
92
93         PR libstdc++/50982
94         * testsuite/30_threads/*: Add powerpc-ibm-aix* to target selectors.
95
96 2012-01-19  Jakub Jelinek  <jakub@redhat.com>
97
98         PR libstdc++/51845
99         * include/bits/hashtable.h
100         (_Hashtable<>::erase(const_iterator, const_iterator)): Also update
101         _M_buckets[__n_bkt] if __is_bucket_begin.
102         * testsuite/23_containers/unordered_multimap/erase/51845-multimap.cc:
103         New test.
104
105 2012-01-18  Benjamin Kosnik  <bkoz@redhat.com>
106
107         * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): Fix quoting.
108
109 2012-01-18  Benjamin Kosnik  <bkoz@redhat.com>
110
111         * configure.ac: Move epub checks...
112         * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): ...here, use
113         test -f instead of AC_CHECK_FILES.
114
115 2012-01-18  François Dumont  <fdumont@gcc.gnu.org>
116             Roman Kononov  <roman@binarylife.net>
117
118         PR libstdc++/51866
119         * include/bits/hashtable.h (_Hashtable<>::_M_insert(_Arg, false_type)):
120         Do not keep a reference to a potentially moved instance.
121         * testsuite/23_containers/unordered_multiset/insert/51866.cc: New.
122         * testsuite/23_containers/unordered_multimap/insert/51866.cc: New.
123
124 2012-01-17  Benjamin Kosnik  <bkoz@redhat.com>
125
126         * doc/html/*: Regenerate.
127
128 2012-01-17  Benjamin Kosnik  <bkoz@redhat.com>
129
130         * configure.ac (BUILD_EPUB): Adjust for epub3.
131         * configure: Regenerate.
132         * Makefile.in: Same.
133         * doc/Makefile.am (stamp-epub-docbook): Update for epub3.
134         * doc/Makefile.in: Regenerate.
135         * include/Makefile.in: Same.
136         * libsupc++/Makefile.in: Same.
137         * po/Makefile.in: Same.
138         * python/Makefile.in: Same.
139         * src/Makefile.in: Same.
140         * testsuite/Makefile.in: Same.
141
142         * doc/xml/manual/documentation_hacking.xml: Update.
143
144 2012-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
145
146         PR target/47852
147         * configure.host (irix6.5*): Add -lpthread to OPT_LDFLAGS.
148
149 2012-01-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
150
151         * include/bits/stl_iterator.h (reverse_iterator): Doxygen comments.
152
153 2012-01-13  François Dumont  <fdumont@gcc.gnu.org>
154
155         * include/bits/hashtable_policy.h (_Hash_node_base): New, use it as
156         base class of ...
157         (_Hash_node<Value, true>, _Hash_node<Value, false>): ... those.
158         * include/bits/hashtable.h (_Hashtable): Replace _M_begin_bucket_index
159         by _M_before_begin. Review implementation so that we do not need to
160         look for previous non-empty bucket when inserting nodes.
161
162 2012-01-09  Kai Tietz  <ktietz@redhat.com>
163
164         PR libstc++/51673 part 2
165         * config/abi/pre/gnu-versioned-namespace.ver: Adjusted new/delete
166         operators signature for LLP64 size_t, and adjusted signatures for
167         mt-allocator using size_t.
168
169 2012-01-09  Benjamin Kosnik  <bkoz@redhat.com>
170
171         PR libstc++/51673 part 1
172         * config/abi/pre/gnu-versioned-namespace.ver: Sync cxxabi symbols
173         with gnu.ver.
174
175 2012-01-09  Benjamin Kosnik  <bkoz@redhat.com>
176
177         * fragment.am (WARN_CXXFLAGS): Add -Wabi.
178         * Makefile.in: Regenerate.
179         * doc/Makefile.in: Same.
180         * include/Makefile.in: Same.
181         * libsupc++/Makefile.in: Same.
182         * src/Makefile.in: Same.
183         * testsuite/Makefile.in: Same.
184         * po/Makefile.in: Same.
185         * python/Makefile.in: Same.
186
187 2012-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
188
189         * python/libstdcxx/v6/printers.py (StdForwardListPrinter): Add.
190         * testsuite/libstdc++-prettyprinters/cxx11.cc: New.
191
192 2012-01-06  Jason Merrill  <jason@redhat.com>
193
194         * testsuite/abi/demangle/regression/cw-16.cc (main): Adjust
195         expected demangling.
196
197 2012-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
198
199         PR libstdc++/51504
200         * doc/xml/manual/debug.xml: Suggest using symbol interposition
201         to override symbols using annotation macros.
202
203 2012-01-05  François Dumont  <fdumont@gcc.gnu.org>
204
205         * include/bits/hashtable_policy.h (_Hashtable_base<>::_M_eq()):
206         protected rather than private, use it...
207         * include/bits/hashtable.h (_Hashtable<>::key_eq()): ... here.
208         * testsuite/23_containers/unordered_set/observers.cc: New.
209         * testsuite/23_containers/unordered_multiset/observers.cc: New.
210         * testsuite/23_containers/unordered_map/observers.cc: New.
211         * testsuite/23_containers/unordered_multimap/observers.cc: New.
212
213 2012-01-03  François Dumont  <fdumont@gcc.gnu.org>
214
215         * include/bits/hashtable_policy.h (_Ebo_helper<>): Rename to the more
216         specific _Hashtable_ebo_helper. Hide this implementation detail thanks
217         to private inheritance.
218
219 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
220
221         PR c++/51738
222         * testsuite/23_containers/map/element_access/39901.cc: New.