OSDN Git Service

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