2003-04-11 Eric Christopher <echristo@redhat.com>
[official-gcc.git] / libstdc++-v3 / ChangeLog
blobff6af696d3df7b3e2dcce98628b1ca4511f4e59c
1 2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
3         * testsuite/22_locale/locale/cons/3.cc: Split.
4         * testsuite/22_locale/locale/cons/7222-c.cc: New.
5         * testsuite/22_locale/locale/cons/7222-env.cc: New.     
6         Check before trying to create a locale from the environment.
7         * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
8         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
9         Adjust includes.
10         
11 2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
13         * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
14         locale to construct this hybrid locale, not the global locale.
16 2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
18         * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
19         instantiation for AIX.
20         * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
21         * testsuite/25_algorithms/min_max.cc: Same.
22         
23 2003-04-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
25         * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
26         twice.  Always set _M_cfile to 0 when stream was open.
28 2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>
30         Reshuffle 27_io testsuite.  * testsuite/27_io/filebuf.cc,
31         filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
32         filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
33         filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
34         filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
35         ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
36         ifstream_members.cc, instantiations.cc, ios.cc,
37         ios_base_callbacks.cc, ios_base_members_static-1.tst,
38         ios_base_members_static.cc, ios_base_storage.cc,
39         ios_base_types.cc, ios_ctor.cc, ios_init.cc,
40         ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
41         iostream.cc, iostream_members.cc, istream.cc,
42         istream_exception.cc, istream_extractor_char.cc,
43         istream_extractor_other-1.tst, istream_extractor_other-1.txt,
44         istream_extractor_other-2.tst, istream_extractor_other.cc,
45         istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
46         istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
47         istream_sentry.cc, istream_unformatted-1.tst,
48         istream_unformatted-1.txt, istream_unformatted.cc,
49         istringstream.cc, istringstream_members.cc,
50         narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
51         ofstream_members.cc, ostream.cc, ostream_exception.cc,
52         ostream_fail.cc, ostream_inserter_arith.cc,
53         ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
54         ostream_inserter_char.cc, ostream_inserter_other-1.tst,
55         ostream_inserter_other-2.tst, ostream_inserter_other.cc,
56         ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
57         ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
58         ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
59         streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
60         stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
61         wide_stream_objects.cc, istream_extractor_arith/01.cc,
62         istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
63         istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
64         istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
65         istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
66         istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
67         Split into...
68         * 27_io/basic_filebuf/1.cc: New.
69         * 27_io/basic_filebuf/2.cc: New.
70         * 27_io/basic_filebuf/3.cc: New.
71         * 27_io/basic_filebuf/4.cc: New.
72         * 27_io/basic_filebuf/close/char/1.cc: New.
73         * 27_io/basic_filebuf/close/char/2.cc: New.
74         * 27_io/basic_filebuf/close/char/3.cc: New.
75         * 27_io/basic_filebuf/close/char/4879.cc: New.
76         * 27_io/basic_filebuf/close/char/9964.cc: New.
77         * 27_io/basic_filebuf/imbue/char/1.cc: New.
78         * 27_io/basic_filebuf/imbue/char/9322.cc: New.
79         * 27_io/basic_filebuf/in_avail/char/1.cc: New.
80         * 27_io/basic_filebuf/is_open/char/1.cc: New.
81         * 27_io/basic_filebuf/open/char/1.cc: New.
82         * 27_io/basic_filebuf/open/char/2.cc: New.
83         * 27_io/basic_filebuf/open/char/3.cc: New.
84         * 27_io/basic_filebuf/open/char/9507.cc: New.
85         * 27_io/basic_filebuf/overflow/char/1.cc: New.
86         * 27_io/basic_filebuf/overflow/char/3599.cc: New.
87         * 27_io/basic_filebuf/overflow/char/9169.cc: New.
88         * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
89         * 27_io/basic_filebuf/overflow/char/9988.cc: New.
90         * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
91         * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
92         * 27_io/basic_filebuf/seekoff/char/1.cc: New.
93         * 27_io/basic_filebuf/seekoff/char/2.cc: New.
94         * 27_io/basic_filebuf/seekpos/char/1.cc: New.
95         * 27_io/basic_filebuf/seekpos/char/2.cc: New.
96         * 27_io/basic_filebuf/setbuf/char/1.cc: New.
97         * 27_io/basic_filebuf/setbuf/char/2.cc: New.
98         * 27_io/basic_filebuf/setbuf/char/3.cc: New.
99         * 27_io/basic_filebuf/sgetc/char/1.cc: New.
100         * 27_io/basic_filebuf/sgetn/char/1.cc: New.
101         * 27_io/basic_filebuf/sgetn/char/2.cc: New.
102         * 27_io/basic_filebuf/snextc/char/1.cc: New.
103         * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
104         * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
105         * 27_io/basic_filebuf/sputc/char/1.cc: New.
106         * 27_io/basic_filebuf/sputc/char/1057.cc: New.
107         * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
108         * 27_io/basic_filebuf/sputn/char/1.cc: New.
109         * 27_io/basic_filebuf/sputn/char/1057.cc: New.
110         * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
111         * 27_io/basic_filebuf/sungetc/char/1.cc: New.
112         * 27_io/basic_filebuf/sync/char/1057.cc: New.
113         * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
114         * 27_io/basic_filebuf/underflow/char/10097.cc: New.
115         * 27_io/basic_fstream/1.cc: New.
116         * 27_io/basic_fstream/2.cc: New.
117         * 27_io/basic_fstream/3.cc: New.
118         * 27_io/basic_fstream/4.cc: New.
119         * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
120         * 27_io/basic_ifstream/1.cc: New.
121         * 27_io/basic_ifstream/2.cc: New.
122         * 27_io/basic_ifstream/3.cc: New.
123         * 27_io/basic_ifstream/4.cc: New.
124         * 27_io/basic_ifstream/cons/char/1.cc: New.
125         * 27_io/basic_ifstream/open/char/1.cc: New.
126         * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
127         * 27_io/basic_ios/1.cc: New.
128         * 27_io/basic_ios/2.cc: New.
129         * 27_io/basic_ios/3.cc: New.
130         * 27_io/basic_ios/4.cc: New.
131         * 27_io/basic_ios/clear/char/1.cc: New.
132         * 27_io/basic_ios/cons/char/1.cc: New.
133         * 27_io/basic_ios/cons/char/2.cc: New.
134         * 27_io/basic_ios/cons/char/3.cc: New.
135         * 27_io/basic_ios/copyfmt/char/1.cc: New.
136         * 27_io/basic_ios/copyfmt/char/2.cc: New.
137         * 27_io/basic_ios/exceptions/char/1.cc: New.
138         * 27_io/basic_ios/locales/char/1.cc: New.
139         * 27_io/basic_iostream/1.cc: New.
140         * 27_io/basic_iostream/2.cc: New.
141         * 27_io/basic_iostream/3.cc: New.
142         * 27_io/basic_iostream/4.cc: New.
143         * 27_io/basic_istream/1.cc: New.
144         * 27_io/basic_istream/2.cc: New.
145         * 27_io/basic_istream/3.cc: New.
146         * 27_io/basic_istream/4.cc: New.
147         * 27_io/basic_istream/exceptions/char/9561.cc: New.
148         * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
149         * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
150         * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
151         * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
152         * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
153         * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
154         * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
155         * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
156         * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
157         * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
158         * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
159         * 27_io/basic_istream/extractors_character/char/1.cc: New.
160         * 27_io/basic_istream/extractors_character/char/2.cc: New.
161         * 27_io/basic_istream/extractors_character/char/3.cc: New.
162         * 27_io/basic_istream/extractors_character/char/9826.cc: New.
163         * 27_io/basic_istream/extractors_other/char/1.cc: New.
164         * 27_io/basic_istream/extractors_other/char/2.cc: New.
165         * 27_io/basic_istream/extractors_other/char/3.cc: New.
166         * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
167         * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
168         * 27_io/basic_istream/get/char/1.cc: New.
169         * 27_io/basic_istream/get/char/2.cc: New.
170         * 27_io/basic_istream/getline/char/1.cc: New.
171         * 27_io/basic_istream/getline/char/2.cc: New.
172         * 27_io/basic_istream/getline/char/3.cc: New.
173         * 27_io/basic_istream/ignore/char/1.cc: New.
174         * 27_io/basic_istream/ignore/char/6360.cc: New.
175         * 27_io/basic_istream/ignore/char/7220.cc: New.
176         * 27_io/basic_istream/peek/char/1.cc: New.
177         * 27_io/basic_istream/peek/char/6414.cc: New.
178         * 27_io/basic_istream/putback/char/1.cc: New.
179         * 27_io/basic_istream/read/char/1.cc: New.
180         * 27_io/basic_istream/read/char/2.cc: New.
181         * 27_io/basic_istream/read/char/3.cc: New.
182         * 27_io/basic_istream/readsome/char/6746-1.cc: New.
183         * 27_io/basic_istream/readsome/char/6746-2.cc: New.
184         * 27_io/basic_istream/readsome/char/8258.cc: New.
185         * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
186         * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
187         * 27_io/basic_istream/seekg/char/8348-1.cc: New.
188         * 27_io/basic_istream/seekg/char/8348-2.cc: New.
189         * 27_io/basic_istream/seekg/char/fstream.cc: New.
190         * 27_io/basic_istream/seekg/char/sstream.cc: New.
191         * 27_io/basic_istream/sentry/char/1.cc: New.
192         * 27_io/basic_istream/sentry/char/2.cc: New.
193         * 27_io/basic_istream/sentry/char/3.cc: New.
194         * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
195         * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
196         * 27_io/basic_istream/tellg/char/1.cc: New.
197         * 27_io/basic_istream/tellg/char/8348.cc: New.
198         * 27_io/basic_istream/tellg/char/fstream.cc: New.
199         * 27_io/basic_istream/tellg/char/sstream.cc: New.
200         * 27_io/basic_istream/ws/char/1.cc: New.
201         * 27_io/basic_istringstream/1.cc: New.
202         * 27_io/basic_istringstream/2.cc: New.
203         * 27_io/basic_istringstream/3.cc: New.
204         * 27_io/basic_istringstream/4.cc: New.
205         * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
206         * 27_io/basic_istringstream/str/char/1.cc: New.
207         * 27_io/basic_ofstream/1.cc: New.
208         * 27_io/basic_ofstream/2.cc: New.
209         * 27_io/basic_ofstream/3.cc: New.
210         * 27_io/basic_ofstream/4.cc: New.
211         * 27_io/basic_ofstream/cons/char/2.cc: New.
212         * 27_io/basic_ofstream/open/char/1.cc: New.
213         * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
214         * 27_io/basic_ostream/1.cc: New.
215         * 27_io/basic_ostream/2.cc: New.
216         * 27_io/basic_ostream/3.cc: New.
217         * 27_io/basic_ostream/4.cc: New.
218         * 27_io/basic_ostream/cons/char/9827.cc: New.
219         * 27_io/basic_ostream/endl/char/1.cc: New.
220         * 27_io/basic_ostream/ends/char/1.cc: New.
221         * 27_io/basic_ostream/ends/char/2.cc: New.
222         * 27_io/basic_ostream/exceptions/char/9561.cc: New.
223         * 27_io/basic_ostream/flush/char/1.cc: New.
224         * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
225         * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
226         * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
227         * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
228         * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
229         * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
230         * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
231         * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
232         * 27_io/basic_ostream/inserters_character/char/1.cc: New.
233         * 27_io/basic_ostream/inserters_character/char/2.cc: New.
234         * 27_io/basic_ostream/inserters_character/char/3.cc: New.
235         * 27_io/basic_ostream/inserters_character/char/4.cc: New.
236         * 27_io/basic_ostream/inserters_character/char/5.cc: New.
237         * 27_io/basic_ostream/inserters_character/char/6.cc: New.
238         * 27_io/basic_ostream/inserters_character/char/8.cc: New.
239         * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
240         * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
241         * 27_io/basic_ostream/inserters_other/char/1.cc: New.
242         * 27_io/basic_ostream/inserters_other/char/2.cc: New.
243         * 27_io/basic_ostream/inserters_other/char/3.cc: New.
244         * 27_io/basic_ostream/inserters_other/char/4.cc: New.
245         * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
246         * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
247         * 27_io/basic_ostream/sentry/char/1.cc: New.
248         * 27_io/basic_ostream/sentry/char/2.cc: New.
249         * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
250         * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
251         * 27_io/basic_ostream/tellp/char/1.cc: New.
252         * 27_io/basic_ostream/tellp/char/2.cc: New.
253         * 27_io/basic_ostringstream/1.cc: New.
254         * 27_io/basic_ostringstream/2.cc: New.
255         * 27_io/basic_ostringstream/3.cc: New.
256         * 27_io/basic_ostringstream/4.cc: New.
257         * 27_io/basic_ostringstream/cons/char/3.cc: New.
258         * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
259         * 27_io/basic_ostringstream/str/char/1.cc: New.
260         * 27_io/basic_ostringstream/str/char/2.cc: New.
261         * 27_io/basic_streambuf/1.cc: New.
262         * 27_io/basic_streambuf/2.cc: New.
263         * 27_io/basic_streambuf/3.cc: New.
264         * 27_io/basic_streambuf/cons/char/1.cc: New.
265         * 27_io/basic_streambuf/imbue/char/1.cc: New.
266         * 27_io/basic_streambuf/imbue/char/9322.cc: New.
267         * 27_io/basic_streambuf/overflow/char/1.cc: New.
268         * 27_io/basic_streambuf/overflow/char/2.cc: New.
269         * 27_io/basic_streambuf/overflow/char/3599.cc: New.
270         * 27_io/basic_streambuf/sgetc/char/1.cc: New.
271         * 27_io/basic_streambuf/sgetn/char/1.cc: New.
272         * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
273         * 27_io/basic_streambuf/sputc/char/1057.cc: New.
274         * 27_io/basic_streambuf/sputn/char/1.cc: New.
275         * 27_io/basic_streambuf/sputn/char/1057.cc: New.
276         * 27_io/basic_streambuf/sync/char/1057.cc: New.
277         * 27_io/basic_stringbuf/1.cc: New.
278         * 27_io/basic_stringbuf/2.cc: New.
279         * 27_io/basic_stringbuf/3.cc: New.
280         * 27_io/basic_stringbuf/4.cc: New.
281         * 27_io/basic_stringbuf/5.cc: New.
282         * 27_io/basic_stringbuf/imbue/char/1.cc: New.
283         * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
284         * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
285         * 27_io/basic_stringbuf/overflow/char/2.cc: New.
286         * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
287         * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
288         * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
289         * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
290         * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
291         * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
292         * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
293         * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
294         * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
295         * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
296         * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
297         * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
298         * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
299         * 27_io/basic_stringbuf/snextc/char/1.cc: New.
300         * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
301         * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
302         * 27_io/basic_stringbuf/sputc/char/1.cc: New.
303         * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
304         * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
305         * 27_io/basic_stringbuf/sputn/char/1.cc: New.
306         * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
307         * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
308         * 27_io/basic_stringbuf/str/char/1.cc: New.
309         * 27_io/basic_stringbuf/str/char/2.cc: New.
310         * 27_io/basic_stringbuf/str/char/3.cc: New.
311         * 27_io/basic_stringbuf/str/char/3955.cc: New.
312         * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
313         * 27_io/basic_stringbuf/sync/char/1057.cc: New.
314         * 27_io/basic_stringstream/1.cc: New.
315         * 27_io/basic_stringstream/2.cc: New.
316         * 27_io/basic_stringstream/3.cc: New.
317         * 27_io/basic_stringstream/4.cc: New.
318         * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
319         * 27_io/basic_stringstream/str/char/1.cc: New.
320         * 27_io/basic_stringstream/str/char/2.cc: New.
321         * 27_io/basic_stringstream/str/char/3.cc: New.
322         * 27_io/basic_stringstream/str/char/4.cc: New.
323         * 27_io/fpos/1.cc: New.
324         * 27_io/fpos/2.cc: New.
325         * 27_io/fpos/3.cc: New.
326         * 27_io/ios_base/callbacks/1.cc: New.
327         * 27_io/ios_base/state/1.cc: New.
328         * 27_io/ios_base/storage/1.cc: New.
329         * 27_io/ios_base/storage/2.cc: New.
330         * 27_io/ios_base/storage/3.cc: New.
331         * 27_io/ios_base/sync_with_stdio/1.cc: New.
332         * 27_io/ios_base/sync_with_stdio/2.cc: New.
333         * 27_io/manipulators/adjustfield/char/1.cc: New.
334         * 27_io/manipulators/adjustfield/char/2.cc: New.
335         * 27_io/manipulators/basefield/char/1.cc: New.
336         * 27_io/manipulators/standard/char/1.cc: New.
337         * 27_io/manipulators/standard/char/2.cc: New.
338         * 27_io/objects/char/1.cc: New.
339         * 27_io/objects/char/2.cc: New.
340         * 27_io/objects/char/2523-1_xin.cc: New.
341         * 27_io/objects/char/2523-1_xin.in: New.
342         * 27_io/objects/char/2523-2_xin.cc: New.
343         * 27_io/objects/char/2523-2_xin.in: New.
344         * 27_io/objects/char/3045.cc: New.
345         * 27_io/objects/char/3647.cc: New.
346         * 27_io/objects/char/3_xin.cc: New.
347         * 27_io/objects/char/3_xin.in: New.
348         * 27_io/objects/char/4_xin.cc: New.
349         * 27_io/objects/char/4_xin.in: New.
350         * 27_io/objects/char/5268.cc: New.
351         * 27_io/objects/char/5280_xin.cc: New.
352         * 27_io/objects/char/5280_xin.in: New.
353         * 27_io/objects/char/6548_xin.cc: New.
354         * 27_io/objects/char/6548_xin.in: New.
355         * 27_io/objects/char/6648-1_xin.cc: New.
356         * 27_io/objects/char/6648-1_xin.in: New.
357         * 27_io/objects/char/6648-2_xin.cc: New.
358         * 27_io/objects/char/6648-2_xin.in: New.
359         * 27_io/objects/char/7744_xin.cc: New.
360         * 27_io/objects/char/7744_xin.in: New.
361         * 27_io/objects/wchar_t/1.cc: New.
362         * 27_io/types/1.cc: New.
363         * 27_io/types/2.cc: New.
364         * data/filebuf_members-1.tst: New.
365         * data/filebuf_members-1.txt: New.
366         * data/filebuf_virtuals-1.tst: New.
367         * data/filebuf_virtuals-1.txt: New.
368         * data/filebuf_virtuals-2.tst: New.
369         * data/filebuf_virtuals-3.tst: New.
370         * data/ifstream_members-1.tst: New.
371         * data/ifstream_members-1.txt: New.
372         * data/ios_base_members_static-1.tst: New.
373         * data/istream_extractor_other-1.tst: New.
374         * data/istream_extractor_other-1.txt: New.
375         * data/istream_extractor_other-2.tst: New.
376         * data/istream_seeks-1.tst: New.
377         * data/istream_seeks-1.txt: New.
378         * data/istream_seeks-2.tst: New.
379         * data/istream_seeks-3.tst: New.
380         * data/istream_unformatted-1.tst: New.
381         * data/istream_unformatted-1.txt: New.
382         * data/ofstream_members-1.tst: New.
383         * data/ostream_inserter_char-1.tst: New.
384         * data/ostream_inserter_char-1.txt: New.
385         * data/ostream_inserter_other-1.tst: New.
386         * data/ostream_inserter_other-2.tst: New.
387         * data/ostream_seeks-1.tst: New.
389 2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>
391         * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
392         requirement that __mode must be strict input or output.
394         * include/std/std_streambuf.h (basic_streambuf::setp): Set
395         _M_out_lim.
396         
397         * include/std/std_sstream.h (basic_strinbuf::str): Zero length
398         output string shouldn't core.
399         (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
400         type.
401         * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
402         
403         * include/bits/istream.tcc (basic_istream::putback): Set gcount to
404         zero.
406 2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>
408         * testsuite/data: New directory.
409         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
410         to copy files from the testsuite data directory.        
411         (libstdc++-v3-list-sourcefiles): Add another test list filter, for
412         testfiles containing _xin, which now means this is an interactive
413         test and should be run with the interactive dejagnu hooks.
414         * testsuite/Makefile.am: Remove testsuite_* files.
415         * testsuite/Makefile.in: Regenerate.
416         
417 2003-04-09  Zack Weinberg  <zack@codesourcery.com>
419         * docs/html/install.html: Document complete list of locales
420         required by test suite.  Document procedure for installing
421         said locales under Debian.  Solicit instructions for other
422         operating systems.
424 2003-04-08  Alexandre Oliva  <aoliva@redhat.com>
426         * include/bits/sstream.tcc (overflow): Make sure operands of min
427         and max have the same type.
429 2003-04-04  Jerry Quinn  <jlquinn@optonline.net>
431         PR libstdc++/10276
432         * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
433         initialization.
435 2003-03-31  Paolo Carlini  <pcarlini@unitus.it>
437         * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
438         * include/bits/fstream.tcc (_M_allocate_internal_buffer):
439         Don't set _M_out_end.
440         (basic_filebuf::overflow): Replace _M_out_buf_size() with
441         this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
442         * include/bits/sstream.tcc (basic_stringbuf::overflow):
443         Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
444         * include/bits/streambuf.tcc (basic_streambuf::sputc):
445         Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
446         (basic_streambuf::xsputn): Replace _M_out_buf_size() with
447         _M_out_end - _M_out_cur.
448         (__copy_streambufs): Likewise.
449         * include/std/std_fstream.h (_M_set_determinate): Set
450         _M_out_end here.
452 2003-03-30  Paolo Carlini  <pcarlini@unitus.it>
454         * include/bits/fstream.tcc (basic_filebuf::showmanyc,
455         _M_convert_to_external, _M_really_overflow, seekoff): Fix
456         test for synced buffer.
457         * include/std/std_fstream.h (sync): Likewise.
458         * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
459         basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
461 2003-03-28  Benjamin Kosnik  <bkoz@redhat.com>
463         * include/std/std_sstream.h (basic_istringstream): Adjust
464         initialization.
465         (basic_ostringstream): Same.
466         (basic_stringstream): Same.
467         * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
468         (basic_ofstream): Same.
469         (basic_fstream): Same.
470         * include/std/std_ostream.h (basic_ostrem): Add protected ctor
471         that does not call init.
472         * include/std/std_istream.h (basic_istream): Same.
473         (basic_iostream): Construct istream, ostream uninitialized, use
474         init to initialize just once. Add protected ctor that does not
475         call init.
477 2003-03-28  Paolo Carlini  <pcarlini@unitus.it>
478             Nathan Myers  <ncm@cantrip.org>
480         PR libstdc++/9533
481         * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
482         call underflow().
483         (basic_filebuf<>::showmanyc): Use the information provided
484         by codecvt and __basic_file<>::showmanyc_helper to implement
485         a non-trivial showmanyc.
486         * config/io/basic_file_stdio.h
487         (__basic_file<>::showmanyc_helper): New, declare.
488         * config/io/basic_file_stdio.cc
489         (__basic_file<>::showmanyc_helper): Define.
490         (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
491         (__basic_file<char>::open): Don't call fcntl().
492         * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
493         GLIBCPP_CHECK_POLL): New macros.
494         * configure.in: Call here.
495         * acconfig.h: Add #undefs for the corresponding symbols.
496         * aclocal.m4: Regenerate.
497         * configure: Regenerate.
498         * config.h.in: Regenerate.
500 2003-03-24  Benjamin Kosnik  <bkoz@redhat.com>
502         * config/linker-map.gnu: Remove string export restrictions.
504 2003-03-24  Paolo Carlini  <pcarlini@unitus.it>
506         * testsuite/21_strings/basic_string/find/char/1.cc: Remove
507         find_first_of, find_last_of and find_last_not_of tests.
508         * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
509         tests here, new file.
510         * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
511         remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
512         * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
513         wchar_t find_first_of tests here, new file.
514         * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
515         tests here.
516         * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
517         tests here.
518         * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
519         wchar_t find_last_of tests here.
520         * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
521         wchar_t find_last_not_of tests here.
523 2003-03-22  Loren J. Rittle  <ljrittle@acm.org>
525         * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
526         Correct return value.
528 2003-03-21  Jerry Quinn  <jlquinn@optonline.net>
530         PR libstdc++/5730
531         * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
532         * include/std/std_complex.h (norm):  Use faster,
533         less accurate computation for builtin float types under --fast-math.
535 2003-03-21  Magnus Fromreide  <gnats@magfr.user.lysator.liu.se>
537         * testsuite/testsuite_hooks.h: Fix warning nits.
539 2003-03-19  Alexandre Oliva  <aoliva@redhat.com>
541         * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
542         Only .set mips2 for the o32 ABI.
544 2003-03-19  Paolo Carlini  <pcarlini@unitus.it>
546         * testsuite/21_strings/char_traits/requirements/char/1.cc:
547         Test char not wchar_t.
549 2003-03-18  Paolo Carlini  <pcarlini@unitus.it>
551         * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
552         Correct size, taking into account sizeof(wchar_t).
554 2003-03-18  Paolo Carlini  <pcarlini@unitus.it>
556         Reshuffle 21_strings testsuite.
557         * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
558         assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
559         element_access.cc, operations.cc, char_traits_requirements.cc,
560         find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
561         compare.cc, inserters_extractors.cc, substr.cc: Split up, add
562         wchar_t tests as follows.
563         * 21_strings/basic_string/append/char/1.cc: New.
564         * 21_strings/basic_string/append/wchar_t/1.cc: New.
565         * 21_strings/basic_string/assign/char/1.cc: New.
566         * 21_strings/basic_string/assign/char/2.cc: New.
567         * 21_strings/basic_string/assign/char/3.cc: New.
568         * 21_strings/basic_string/assign/wchar_t/1.cc: New.
569         * 21_strings/basic_string/assign/wchar_t/2.cc: New.
570         * 21_strings/basic_string/assign/wchar_t/3.cc: New.
571         * 21_strings/basic_string/capacity/1.cc: New.
572         * 21_strings/basic_string/capacity/char/1.cc: New.
573         * 21_strings/basic_string/capacity/char/2.cc: New.
574         * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
575         * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
576         * 21_strings/basic_string/compare/char/1.cc: New.
577         * 21_strings/basic_string/compare/wchar_t/1.cc: New.
578         * 21_strings/basic_string/cons/char/1.cc: New.
579         * 21_strings/basic_string/cons/char/2.cc: New.
580         * 21_strings/basic_string/cons/char/3.cc: New.
581         * 21_strings/basic_string/cons/char/4.cc: New.
582         * 21_strings/basic_string/cons/char/5.cc: New.
583         * 21_strings/basic_string/cons/wchar_t/1.cc: New.
584         * 21_strings/basic_string/cons/wchar_t/2.cc: New.
585         * 21_strings/basic_string/cons/wchar_t/3.cc: New.
586         * 21_strings/basic_string/cons/wchar_t/4.cc: New.
587         * 21_strings/basic_string/cons/wchar_t/5.cc: New.
588         * 21_strings/basic_string/element_access/char/1.cc: New.
589         * 21_strings/basic_string/element_access/char/2.cc: New.
590         * 21_strings/basic_string/element_access/char/3.cc: New.
591         * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
592         * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
593         * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
594         * 21_strings/basic_string/find/char/1.cc: New.
595         * 21_strings/basic_string/find/wchar_t/1.cc: New.
596         * 21_strings/basic_string/insert/char/1.cc: New.
597         * 21_strings/basic_string/insert/char/2.cc: New.
598         * 21_strings/basic_string/insert/wchar_t/1.cc: New.
599         * 21_strings/basic_string/insert/wchar_t/2.cc: New.
600         * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
601         * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
602         * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
603         * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
604         * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
605         * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
606         * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
607         * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
608         * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
609         * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
610         * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
611         * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
612         * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
613         * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
614         * 21_strings/basic_string/operators/char/1.cc: New.
615         * 21_strings/basic_string/operators/char/2.cc: New.
616         * 21_strings/basic_string/operators/wchar_t/1.cc: New.
617         * 21_strings/basic_string/operators/wchar_t/2.cc: New.
618         * 21_strings/basic_string/replace/char/1.cc: New.
619         * 21_strings/basic_string/replace/char/2.cc: New.
620         * 21_strings/basic_string/replace/char/3.cc: New.
621         * 21_strings/basic_string/replace/char/4.cc: New.
622         * 21_strings/basic_string/replace/char/5.cc: New.
623         * 21_strings/basic_string/replace/wchar_t/1.cc: New.
624         * 21_strings/basic_string/replace/wchar_t/2.cc: New.
625         * 21_strings/basic_string/replace/wchar_t/3.cc: New.
626         * 21_strings/basic_string/replace/wchar_t/4.cc: New.
627         * 21_strings/basic_string/replace/wchar_t/5.cc: New.
628         * 21_strings/basic_string/rfind/char/1.cc: New.
629         * 21_strings/basic_string/rfind/char/2.cc: New.
630         * 21_strings/basic_string/rfind/char/3.cc: New.
631         * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
632         * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
633         * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
634         * 21_strings/basic_string/substr/char/1.cc: New.
635         * 21_strings/basic_string/substr/wchar_t/1.cc: New.
636         * 21_strings/c_strings/char/1.cc: New.
637         * 21_strings/c_strings/char/2.cc: New.
638         * 21_strings/c_strings/wchar_t/1.cc: New.
639         * 21_strings/c_strings/wchar_t/2.cc: New.
640         * 21_strings/char_traits/requirements/char/1.cc: New.
641         * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
642         * 21_strings/char_traits/typedefs/char/1.cc: New.
644 2003-03-17  Paolo Carlini  <pcarlini@unitus.it>
645             Petur Runolfsson  <peturr02@ru.is>
647         PR libstdc++/10097
648         * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
649         basic_filebuf<wchar_t>::_M_underflow_common):
650         if (gptr() < egptr()) return *gptr().
651         * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
653         * testsuite/27_io/filebuf_members.cc (test_04): Minor
654         changes: unlink fifo before making it, fix spelling error.
656 2003-03-17  Benjamin Kosnik  <bkoz@redhat.com>
658         * testsuite/Makefile.am (CLEANFILES): Add tmp*.
659         * testsuite/Makefile.in: Regenerate.
660         * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
661         Cleanups.
663 2003-03-17  Petur Runolfsson  <peturr02@ru.is>
665         PR libstdc++/9964
666         * include/bits/fstream.tcc (basic_filebuf::close):
667         Always close file, even when write fails.
668         * testsuite/27_io/filebuf_members.cc (test_07):  New test.
670 2003-03-17  Danny Smith  <dannysmith@users.sourceforge.net>
672         * libsupc++/Makefile.am (C_COMPILE): Remove.
673         (LTCOMPILE): Likewise.
674         * libsupc++/Makefile.in: Regenerate.
676 2003-03-14  Benjamin Kosnik  <bkoz@redhat.com>
678         * testsuite/23_containers/bitset_members.cc: Add test variable.
679         * testsuite/23_containers/map_insert.cc: Same.
680         * testsuite/22_locale/ctype/cons/char/1.cc: Same.
681         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
682         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
683         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
684         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
685         * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
686         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
687         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
688         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
689         * testsuite/27_io/istream_exception.cc: Same.
690         * testsuite/27_io/filebuf_virtuals.cc: Same.
691         * testsuite/27_io/stringbuf_virtuals.cc: Same.
692         * testsuite/27_io/ostream_inserter_arith.cc: Same.
693         * testsuite/26_numerics/valarray_operators.cc: Same.
694         * testsuite/26_numerics/slice.cc: Same.
695         * testsuite/26_numerics/slice_array_assignment.cc: Same.
696         * testsuite/24_iterators/istream_iterator.cc: Same.
697         * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
699 2003-03-14  Petur Runolfsson  <peturr02@ru.is>
701         PR libstdc++/9581
702         PR libstdc++/9870
703         * config/locale/generic/ctype_members.cc,
704         * config/locale/gnu/ctype_members.cc
705         (ctype<wchar_t>::do_widen(char)):  Cast argument to
706         unsigned char before passing to btowc.
707         (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
708         Convert characters with btowc instead of mbsrtowcs.
709         (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
710         char, char*):
711         Convert characters with wctob instead of wcsrtombs.
712         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc:  New test.
713         * testsuite/22_locale/ctype/widen/wchar_t/2.cc:  New test.
714         * testsuite/22_locale/ctype/widen/wchar_t/3.cc:  New test.
716 2003-03-14  Benjamin Kosnik  <bkoz@redhat.com>
718         * include/stdc++.h: New.
719         * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
720         * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
721         * include/Makefile.in: Regenerate.
722         * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
723         (--cxxflags): Put -g -O2 here.
724         * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
726 2003-03-14  Loren J. Rittle  <ljrittle@acm.org>
728         * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
729         missing named locale.
731 2003-03-14  Andreas Schwab  <schwab@suse.de>
733         * configure.in: Only append to makefiles that are newly created to
734         avoid multiple multi-do/multi-clean rules.
735         * configure: Rebuilt.
737 2003-03-13  Jonathan Wakely  <redi@gcc.gnu.org>
739         * docs/html/configopts.html, docs/html/documentation.html,
740         docs/html/explanations.html, docs/html/install.html,
741         docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
742         invalid XHTML and make page header style consistent.
744 2003-03-12  Jonathan Wakely  <redi@gcc.gnu.org>
746         * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
747         * docs/html/faq/index.txt: Regenerate.
748         * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
750 2003-03-12  Andreas Schwab  <schwab@suse.de>
752         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
753         glibcpp_toolexeclibdir.
754         * aclocal.m4, configure: Rebuilt.
756 2003-03-11  Jonathan Wakely  <redi@gcc.gnu.org>
758         * docs/html/faq/index.html: Update text about location of headers.
759         * docs/html/faq/index.txt: Regenerate.
761 2003-03-11  Carlo Wood  <carlo@alinoe.com>
763         * include/bits/demangle.h: Prepend accessors of
764         class qualifier with 'get_' in order to fix warnings
765         when compiling with -Wshadow.
767 2003-03-11  Loren J. Rittle  <ljrittle@acm.org>
769         * config/os/bsd/freebsd/ctype_inline.h:  Support _M_table
770         when so installed.
771         * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
773         * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
774         report lack of setenv().
776 2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
778         * config/io/basic_file_stdio.cc: include <unistd.h>.
780 2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
781             Nathan Myers  <ncm@cantrip.org>
783         PR libstdc++/7744
784         * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
785         seekoff, seekpos): Add a boolean parameter __stdio.
786         * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
787         seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
788         fseek/ftell, respectively), otherwise read (write, lseek, lseek,
789         respectively).
790         * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
791         _M_really_overflow, seekoff): Use the boolean parameter in the calls.
792         * include/std/std_fstream.h (sync): Likewise.
793         * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
794         * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
795         libstdc++/8399 commit involving isatty(0).
796         * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
797         (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
798         * configure.in: Remove call.
799         * aclocal.m4: Regenerate.
800         * config.h.in: Regenerate.
801         * configure: Regenerate.
802         * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
804 2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
806         PR libstdc++/9988
807         * include/bits/fstream.tcc (overflow): don't write EOF to file.
808         * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
810 2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
812         PR libstdc++/9561
813         * include/bits/basic_ios.h (_M_setstate): New.
814         * include/bits/ostream.tcc (operator<<): Use it.
815         * include/bits/istream.tcc (operator>>): Use it.
816         * include/std/std_ostream.h (operator<<): Make friends.
817         * include/std/std_istream.h (operator>>): Make friends.
818         * testsuite/27_io/ostream_exception.cc,
819         testsuite/27_io/istream_exception.cc: New tests.
821 2003-03-08  Benjamin Kosnik  <bkoz@redhat.com>
823         * include/bits/locale_facets.tcc: Fix typo.
825 2003-03-08  Loren J. Rittle  <ljrittle@acm.org>
827         * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
829         * config/locale/generic/c_locale.cc
830         (locale::facet::_S_create_c_locale): Throw runtime exception when
831         unsupported language is specified.
832         * testsuite/testsuite_hooks.h
833         (run_test_wrapped_generic_locale_exception_catcher): New function.
834         * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
835         Suppress runtime exception thrown by generic implementation.
836         (run_tests_wrapped_env): Likewise.
837         (run_test_wrapped_generic_locale_exception_catcher): New function.
838         * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
839         * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
840         * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
841         * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
842         * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
843         * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
844         * testsuite/22_locale/collate_byname/1.cc: New test wrap.
845         * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
846         * testsuite/22_locale/facet/2.cc: New test wrap.
847         * testsuite/22_locale/locale/cons/4.cc: New test wrap.
848         * testsuite/22_locale/locale/cons/5.cc: New test wrap.
849         * testsuite/22_locale/locale/cons/7.cc: New test wrap.
850         * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
851         * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
852         * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
853         * testsuite/22_locale/messages_byname/1.cc: New test wrap.
854         * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
855         * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
856         * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
857         * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
858         * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
859         * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
860         * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
861         * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
862         * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
863         * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
864         * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
865         * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
866         * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
867         * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
868         * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
869         * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
870         * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
871         * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
872         * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
873         * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
874         * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
875         * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
876         * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
877         * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
878         * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
879         * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
880         * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
881         * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
882         * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
883         * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
884         * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
885         * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
886         * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
887         * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
888         * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
889         * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
890         * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
891         * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
892         * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
893         * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
894         * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
895         * testsuite/27_io/ios_members.cc: New test wrap.
896         * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
897         New test wrap.
898         * testsuite/27_io/streambuf_members.cc: New test wrap.
899         * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
901 2003-03-08  Paolo Carlini <pcarlini@unitus.it>
902             Petur Runolfsson  <peturr02@ru.is>
904         PR libstdc++/9424
905         * include/bits/streambuf.tcc (__copy_streambufs): Use
906         sgetn-sputn only when sputn cannot fail, otherwise fall back
907         to safe snextc-sputc.
908         * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
910 2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
912         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
913         locale cache for truename and falsename.
915 2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
917         * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
918         _M_word_size initialization.
920 2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
922         * include/bits/fstream.tcc (_M_convert_to_external):
923         Set __elen to zero if codecvt::out eventually fails.
925 2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
927         PR libstdc++/9182
928         * include/bits/fstream.tcc (_M_really_overflow): Check
929         for _M_convert_to_external possible failures.
930         * include/std/std_fstream.h (sync): Check _M_really_overflow
931         return value and return -1 in case of failure.
932         * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
934 2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
936         PR libstdc++/9826
937         * include/bits/istream.tcc (operator>>(_CharT*),
938         operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
939         * testsuite/27_io/stringstream.cc (test02): Add.
941         * include/bits/istream.tcc (operator>>(_CharT*)):
942         Assign a char_type to *__s.
944 2003-03-07  Petur Runolfsson  <peturr02@ru.is>
946         PR libstdc++/9817
947         * include/bits/locale_facets.tcc
948         (collate::do_compare, collate::do_transform):
949         Handle nul characters in input.
950         * testsuite/22_locale/collate/compare/char/3.cc:  New test.
951         * testsuite/22_locale/collate/compare/wchar_t/3.cc:  New test.
952         * testsuite/22_locale/collate/transform/char/3.cc:  New test.
953         * testsuite/22_locale/collate/transform/wchar_t/3.cc:  New test.
955 2003-03-07  Jerry Quinn  <jlquinn@optonline.net>
957         * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
958         sputn fails.
959         * testsuite/27_io/ostream_fail.cc: New test.
961 2003-03-07  Matthias Klose  <doko@debian.org>
963         * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
964         FLAGS_TO_PASS: Set to AM_MAKEFLAGS
965         * Makefile.in: Regenerate.
966         * libsupc++/Makefile.am: Express glibcppinstalldir in terms
967         of gxx_include_dir.
968         AM_MAKEFLAGS: Pass gxx_include_dir.
969         * libsupc++/Makefile.in: Regenerate.
971 2003-03-06  Jerry Quinn  <jlquinn@optonline.net>
973         * testsuite/27_io/ios_base_storage.cc (test02): Set exception
974         mask.  Test setting small-numbered pword and iword slots.  Test
975         behavior at limit of numeric_limits::max.  Check that values are
976         still good after failures.
978 2003-03-06  Jerry Quinn  <jlquinn@optonline.net>
980         * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
981         (ios_base::ios_base): Set _M_word, _M_word_size.
982         (ios_base::~ios_base): Remove redundant test.
983         * testsuite/27_io/ios_base_storage.cc (test03): New.
985 2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
987         * src/strstream.cc, include/bits/basic_string.tcc: Remove
988         incorrect whitespace added in my previous change.
990 2003-03-05  Carlo Wood  <carlo@alinoe.com>
992         * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
993         _S_initialized() in order to allow debugging libraries to detect
994         when the std streams are initialized from an overloaded operator
995         new.
997 2003-03-05  Benjamin Kosnik  <bkoz@redhat.com>
999         * libsupc++/demangle.h: Move to..
1000         * include/bits/demangle.h: ...here.
1001         * src/demangle.cc: Adjust include.
1002         * include/Makefile.am (bits_headers): Add.
1003         * include/Makefile.in: Regenerate.
1005 2003-03-04  Benjamin Kosnik  <bkoz@redhat.com>
1007         * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
1009         * config/linker-map.gnu: Filter typeinfo and vtable info.
1011 2003-03-04  Jerry Quinn  <jlquinn@optonline.net>
1013         * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
1014         new failure.  Throw exception if badbit and exception mask when ix
1015         >= numeric_limits<int>::max().
1017 2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
1019         * src/strstream.cc (strstreambuf::overflow): Make sure operands of
1020         min and max have the same type.
1021         * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
1023 2003-03-04  Benjamin Kosnik  <bkoz@redhat.com>
1025         * include/Makefile.am (allstamps): Remove stamp-std-precompile.
1026         * include/Makefile.in: Regenerate.
1028 2003-03-03  Benjamin Kosnik  <bkoz@redhat.com>
1030         * testsuite/abi_check.cc (report_symbol_info): Add version info.
1032         * config/linker-map.gnu: Hide more stuff.
1033         * include/Makefile.am: Cleanups.
1034         * include/Makefile.in: Regenerate.
1036 2003-02-27  Jerry Quinn  <jlquinn@optonline.net>
1038         * config/locale/generic/messages_members.h (messages::messages):
1039         Remove name from unused parameter.
1041 2003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
1043         * src/Makefile.am (sources): Add demangle.cc.
1044         (demangle.o): Add.
1045         (demangle.lo): Add.
1046         * src/Makefile.in: Regenerate.
1047         * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
1048         * libsupc++/Makefile.in: Regenerate.
1050         * testsuite/testsuite_hooks.h
1051         (__gnu_cxx_test::verify_demangle): New.
1052         * testsuite/testsuite_hooks.cc: Define.
1054 2003-02-27  Carlo Wood  <carlo@alinoe.com>
1056         * src/demangle.cc: New.
1057         * libsupc++/demangle.h: New.
1059 2003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
1060             Carlo Wood  <carlo@alinoe.com>
1062         * testsuite/demangle/abi_examples/01.cc: New.
1063         * testsuite/demangle/abi_examples/02.cc: New.
1064         * testsuite/demangle/abi_examples/03.cc: New.
1065         * testsuite/demangle/abi_examples/04.cc: New.
1066         * testsuite/demangle/abi_examples/05.cc: New.
1067         * testsuite/demangle/abi_examples/06.cc: New.
1068         * testsuite/demangle/abi_examples/07.cc: New.
1069         * testsuite/demangle/abi_examples/08.cc: New.
1070         * testsuite/demangle/abi_examples/09.cc: New.
1071         * testsuite/demangle/abi_examples/10.cc: New.
1072         * testsuite/demangle/abi_examples/11.cc: New.
1073         * testsuite/demangle/abi_examples/12.cc: New.
1074         * testsuite/demangle/abi_examples/13.cc: New.
1075         * testsuite/demangle/abi_examples/14.cc: New.
1076         * testsuite/demangle/abi_examples/15.cc: New.
1077         * testsuite/demangle/abi_examples/16.cc: New.
1078         * testsuite/demangle/abi_examples/17.cc: New.
1079         * testsuite/demangle/abi_examples/18.cc: New.
1080         * testsuite/demangle/abi_examples/19.cc: New.
1081         * testsuite/demangle/abi_examples/20.cc: New.
1082         * testsuite/demangle/abi_examples/21.cc: New.
1083         * testsuite/demangle/abi_examples/22.cc: New.
1084         * testsuite/demangle/abi_examples/23.cc: New.
1085         * testsuite/demangle/abi_examples/24.cc: New.
1086         * testsuite/demangle/abi_examples/25.cc: New.
1087         * testsuite/demangle/abi_examples/26.cc: New.
1088         * testsuite/demangle/abi_text/01.cc: New.
1089         * testsuite/demangle/abi_text/02.cc: New.
1090         * testsuite/demangle/abi_text/03.cc: New.
1091         * testsuite/demangle/abi_text/04.cc: New.
1092         * testsuite/demangle/abi_text/05.cc: New.
1093         * testsuite/demangle/abi_text/06.cc: New.
1094         * testsuite/demangle/abi_text/07.cc: New.
1095         * testsuite/demangle/abi_text/08.cc: New.
1096         * testsuite/demangle/abi_text/09.cc: New.
1097         * testsuite/demangle/abi_text/10.cc: New.
1098         * testsuite/demangle/abi_text/11.cc: New.
1099         * testsuite/demangle/abi_text/12.cc: New.
1100         * testsuite/demangle/abi_text/13.cc: New.
1101         * testsuite/demangle/abi_text/14.cc: New.
1102         * testsuite/demangle/regression/3111-1.cc: New.
1103         * testsuite/demangle/regression/3111-2.cc: New.
1104         * testsuite/demangle/regression/7986-01.cc: New.
1105         * testsuite/demangle/regression/7986-02.cc: New.
1106         * testsuite/demangle/regression/7986-03.cc: New.
1107         * testsuite/demangle/regression/7986-04.cc: New.
1108         * testsuite/demangle/regression/7986-05.cc: New.
1109         * testsuite/demangle/regression/7986-06.cc: New.
1110         * testsuite/demangle/regression/7986-07.cc: New.
1111         * testsuite/demangle/regression/7986-08.cc: New.
1112         * testsuite/demangle/regression/7986-09.cc: New.
1113         * testsuite/demangle/regression/7986-10.cc: New.
1114         * testsuite/demangle/regression/7986-11.cc: New.
1115         * testsuite/demangle/regression/7986-12.cc: New.
1116         * testsuite/demangle/regression/7986.cc: New.
1117         * testsuite/demangle/regression/8897.cc: New.
1118         * testsuite/demangle/regression/cw-01.cc: New.
1119         * testsuite/demangle/regression/cw-02.cc: New.
1120         * testsuite/demangle/regression/cw-03.cc: New.
1121         * testsuite/demangle/regression/cw-04.cc: New.
1122         * testsuite/demangle/regression/cw-05.cc: New.
1123         * testsuite/demangle/regression/cw-06.cc: New.
1124         * testsuite/demangle/regression/cw-07.cc: New.
1125         * testsuite/demangle/regression/cw-08.cc: New.
1126         * testsuite/demangle/regression/cw-09.cc: New.
1127         * testsuite/demangle/regression/cw-10.cc: New.
1128         * testsuite/demangle/regression/cw-11.cc: New.
1129         * testsuite/demangle/regression/cw-12.cc: New.
1130         * testsuite/demangle/regression/cw-13.cc: New.
1131         * testsuite/demangle/regression/cw-14.cc: New.
1132         * testsuite/demangle/regression/old.cc: New.
1134 2003-02-25  Phil Edwards  <pme@gcc.gnu.org>
1136         * docs/doxygen/Intro.3:  Update with new (proper) names.
1137         * docs/doxygen/TODO:  Update.
1138         * docs/doxygen/run_doxygen:  More comments, fix up man pages.
1139         Fake entries for standard typedefs.
1140         * docs/doxygen/user.cfg.in:  Turn INLINE_INHERITED_MEMB back on.
1141         * docs/html/documentation.html:  Top-level man page is now called
1142         C++Intro.
1143         * include/std/std_limits.h:  Doxygenate.
1145 2003-02-25  Scott Snyder  <snyder@fnal.gov>
1147         PR libstdc++/9811
1148         * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
1149         Correct documentation.
1150         * include/bits/stl_multimap.h (lower_bound, upper_bound,
1151         equal_range): Likewise.
1153 2003-02-24  Paolo Carlini  <pcarlini@unitus.it>
1155         PR libstdc++/9825
1156         * src/fstream.cc
1157         (basic_filebuf<char/wchar_t>::_M_underflow_common): When
1158         __bump is true (uflow), always increment the read pointer
1159         (_M_in_cur) before returning successfully.
1160         * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
1162 2003-02-24  Paolo Carlini <pcarlini@unitus.it>
1163             Nathan Myers <ncm@cantrip.org>
1165         PR libstdc++/9404, PR libstdc++/9701 (partial)
1166         (aka pptr == epptr implies overflow)
1167         * include/bits/fstream.tcc (_M_allocate_internal_buffer):
1168         Consistently, _M_out_end points to the end of the buffer just
1169         created.
1170         (overflow): Tweak to use _M_out_buf_size().
1171         (_M_convert_to_external): The role of the old _M_out_end is
1172         now played by _M_out_lim.
1173         (_M_really_overflow): Likewise.
1174         (seekoff): Likewise.
1175         (setbuf): _M_out_end points to the end of the external buffer.
1176         * include/bits/sstream.tcc (overflow): Rewrote, taking into
1177         account the resolution of DR 169 (TC).
1178         (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
1179         (seekpos): Use _M_string.capacity(); tweak.
1180         * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
1181         * include/std/std_fstream.h (sync): The role of the old
1182         _M_out_end is now played by _M_out_lim.
1183         (_M_set_indeterminate): Use _M_set_determinate.
1184         (_M_set_determinate): _M_out_end is now _M_out_lim.
1185         (_M_is_indeterminate): Likewise.
1186         * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
1187         (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
1188         which have the information readily available as _M_string.capacity();
1189         for ate and app modes, pass the string size to _M_really_sync.
1190         (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
1191         point to the end of the buffer (i.e., epptr) and to the string end,
1192         respectively.
1193         * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
1194         which points to the right limit of the used put area.
1195         (_M_out_cur_move): The role of the old _M_out_end is now played
1196         by _M_out_lim.
1197         (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
1198         _M_out_end  - _M_out_cur (i.e., pptr), _very_ close to the letter
1199         of the standard.
1200         (basic_streambuf()): Initialize _M_out_lim too.
1201         * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
1202         * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
1203         * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
1205 2003-02-24  Benjamin Kosnik  <bkoz@redhat.com>
1207         * testsuite/27_io/ios_base_storage.cc (main): Call
1208         set_memory_limits.
1210 2003-02-21  Jerry Quinn  <jlquinn@optonline.net>
1212         * include/bits/locale_facets.tcc (_M_convert_float): Replace
1213         numpunct facet accesses with data from __locale_cache.
1215 2003-02-20  Phil Edwards  <pme@gcc.gnu.org>
1217         * docs/html/faq/index.html (3.9):  New note, wchar_t on FreeBSD.
1218         * docs/html/faq/index.txt:  Regenerate.
1220 2003-02-20  Phil Edwards  <pme@gcc.gnu.org>
1222         * config/linker-map.gnu:  Also export locking symbols needed for the
1223         generic atomicity.h case.
1225 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
1227         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1228         config.status.
1229         * configure: Rebuilt.
1231 2003-02-19  Paolo Carlini  <pcarlini@unitus.it>
1233         * include/bits/sstream.tcc (overflow): According to
1234         27.7.1.3, p5, actual output is performed by sputc(c).
1236 2003-02-19  Phil Edwards  <pme@gcc.gnu.org>
1238         PR libstdc++/9582
1239         * include/bits/stl_alloc.h:  Remove all traces of assert().
1241 2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
1243         * include/std/std_sstream.h (str()): the size of the
1244         current string may be different from the initial one
1245         whenever _M_out_end > _M_out_beg.
1246         * testsuite/27_io/stringbuf_members.cc (test07): Add.
1248 2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
1250         PR libstdc++/9582
1251         * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
1253 2003-02-17  Benjamin Kosnik  <bkoz@redhat.com>
1255         * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
1256         * testsuite/27_io/ios_members.cc (test03): New.
1258 2003-02-17  Jerry Quinn  <jlquinn@optonline.net>
1260         * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
1261         (basic_ios::_M_cache_facets): Move into above.
1262         * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
1263         cache.
1264         (basic_ios::imbue): Force locale cache to be built.
1265         (basic_ios::_M_init): Create and initialize locale cache.
1266         * include/bits/ios_base.h (__locale_cache_base): Declare.
1267         (ios_base::_M_locale_cache): New.
1268         (ios_base::_M_cache): Define.
1269         * include/bits/locale_facets.h: (__num_base): Fix comment.  Add
1270         _S_end.
1271         (__locale_cache_base,__locale_cache<_CharT>):  New classes.
1272         (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
1273         * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
1274         cache literal string, grouping flag, thousands separator.
1275         (__locale_cache<_CharT>::__locale_cache): New.
1276         (__locale_cache<_CharT>::_M_init): New.
1277         * src/ios.cc: Clear _M_locale_cache in constructor.
1278         * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
1279         New.
1281 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
1283         * src/locale-inst.cc: Do not include <cassert>.
1284         * src/locale.cc: Likewise.
1286 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
1288         PR libstdc++/9580
1289         * include/std/std_fstream.h: Declare underflow and uflow
1290         specializations, change generic definitions to do nothing.
1291         * src/fstream.cc: Add underflow and uflow specializations.
1293 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
1295         PR libstdc++/9169
1296         * include/bits/fstream.tcc (_M_convert_to_external):
1297         Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
1298         * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
1300 2003-02-13  Benjamin Kosnik  <bkoz@redhat.com>
1302         * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
1303         * include/bits/basic_ios.tcc: Guard use of extern template.
1304         * include/std/std_iomanip.h: Same.
1305         * include/bits/streambuf.tcc: Same.
1306         * include/bits/stl_alloc.h: Same.
1307         * include/bits/locale_facets.tcc: Same.
1308         * include/bits/ostream.tcc: Same.
1309         * include/bits/istream.tcc: Same.
1310         * include/bits/fstream.tcc: Same.
1311         * include/bits/basic_string.tcc: Same.
1313 2003-02-13  Paolo Carlini  <pcarlini@unitus.it>
1315         * include/bits/ostream.tcc (sentry::sentry): Improve
1316         performance-wise the fix for libstdc++/9563.
1318 2003-02-12  Phil Edwards  <pme@gcc.gnu.org>
1320         * config/cpu/generic/atomicity.h (_Atomic_add_mutex):  Fix declaration.
1321         (_GLIBCPP_NEED_GENERIC_MUTEX):  Define for this file.
1322         (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once):  Declare
1323         when we don't have static mutex initialization.
1324         (__exchange_and_add):  Use _Atomic_add_mutex_once.
1325         * src/misc-inst.cc:  Definitions of all the above.
1327 2003-02-12  Paolo Carlini  <pcarlini@unitus.it>
1329         PR libstdc++/9563
1330         * include/bits/ostream.tcc (sentry::sentry): Check
1331         the state of the stream after the preparation.
1332         * testsuite/27_io/ostream_sentry.cc (test02): Add.
1334 2003-02-11  Benjamin Kosnik  <bkoz@redhat.com>
1336         * include/Makefile.am (stamp-std-precompile): Add rule.
1337         * include/Makefile.in: Regenerated.
1339 2003-02-11 Jerry Quinn  <jlquinn@optonline.net>
1340            Benjamin Kosnik  <benjamin@redhat.com>
1342         * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
1343         Add indexes into this array.
1344         (__num_base::_S_atoms): To _S_atoms_in.
1345         (num_put::_M_insert): Rename to _M_pad.
1346         (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
1347         (num_put::_M_widen_int): Rename to _M_group_int.
1348         (num_put::_M_widen_float): Rename to _M_group_float.
1349         * include/bits/locale_facets.tcc (__int_to_char): New inline
1350         function and adapter functions.
1351         (num_put::_M_group_int): Streamline.
1352         (num_put::_M_group_float): Streamline.
1353         (num_put::_M_convert_int): Remove unused parameter names. Choose
1354         large enough buffer for text.  Use __int_to_char instead of
1355         __convert_from_v.  Formatted text is now at the end of the buffer.
1356         (num_put::_M_convert_float): Preliminary fixups.
1357         * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
1358         (__int_to_char<unsigned long long>): Same.
1359         (__int_to_char<char, unsigned long>): New.
1360         (__int_to_char<char, unsigned long long>): New.
1361         (__int_to_char<wchar_t, unsigned long>): New.
1362         (__int_to_char<wchar_t, unsigned long long>): New.
1364 2003-02-11  Scott Snyder  <snyder@fnal.gov>
1366         PR libstdc++/9659
1367         * include/bits/fstream.tcc (seekoff): Avoid operator+
1368         for pos_type.
1370 2003-02-11  Paolo Carlini  <pcarlini@unitus.it>
1372         PR libstdc++/9320
1373         * include/ext/stdio_filebuf.h
1374         (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
1375         stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
1376         Change to take a __size parameter of type size_t, not
1377         of type (template parameter dependent) int_type.
1378         * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
1379         size vars to size_t.
1380         * testsuite/ext/stdio_filebuf.cc: Add.
1382 2003-02-11  Paolo Carlini  <pcarlini@unitus.it>
1383             Petur Runolfsson  <peturr02@ru.is>
1385         PR libstdc++/9318
1386         * include/bits/streambuf.tcc (__copy_streambufs):
1387         Don't conditionalize the copy to __testput.
1388         * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
1390 2002-02-11  DJ Delorie  <dj@redhat.com>
1392         * acinclude.m4: Check for native targets that can't link at
1393         this point in the build.
1394         * aclocal.m4: Regenerate.
1395         * configure: Regenerate.
1397 2003-02-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1399         * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
1400         Correct alignment.
1401         (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
1402         lock.
1404 2003-02-07  Paolo Carlini  <pcarlini@unitus.it>
1406         * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
1407         unsigned char platforms.
1409 2003-02-06  Paolo Carlini  <pcarlini@unitus.it>
1411         PR libstdc++/9562
1412         * include/std/std_istream.h
1413         (basic_istream::sentry::operator bool()): Make const.
1414         * include/std/std_ostream.h
1415         (basic_ostream::sentry::operator bool()): Likewise.
1416         * testsuite/27_io/istream_sentry.cc (test03): Add.
1417         * testsuite/27_io/ostream_sentry.cc: Add.
1419 2003-02-06  Paolo Carlini  <pcarlini@unitus.it>
1421         PR libstdc++/9548
1422         Implement resolution of DR 231 (Ready)
1423         * include/bits/locale_facets.h (__num_base::_S_format_float):
1424         Change declaration: return void, remove __prec parameter.
1425         * src/locale.cc (__num_base::_S_format_float): Implement
1426         resolution of DR 231.
1427         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1428         Tweak uses. Check for negative precision.
1429         * testsuite/22_locale/num_put/put/char/6.cc: Add
1430         * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
1432 2003-02-06  Peter Soetens  <peter.soetens@mech.kuleuven.ac.be>
1434         * config/io/basic_file_libio.h: Fixups.
1435         * config/io/c_io_libio.h: Same.
1436         * libio/Makefile.am: Same.
1437         * libio/Makefile.in: Regenerated.
1439 2003-02-06  Benjamin Kosnik  <bkoz@redhat.com>
1441         * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
1442         Explicitly use the "C" locale.
1443         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
1445 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
1447         DR 75
1448         DR 305
1449         PR libstdc++/9028 (partial)
1450         PR libstdc++/9224
1451         PR libstdc++/9246
1452         PR libstdc++/9247
1454         * src/codecvt.cc
1455         (codecvt<wchar_t, char, mbstate_t>::do_encoding,
1456         codecvt<wchar_t, char, mbstate_t>::do_length,
1457         codecvt<wchar_t, char, mbstate_t>::do_max_length):
1458         Move...
1459         * config/locale/generic/codecvt_members.cc:  ...here.
1460         * config/locale/gnu/codecvt_members.cc:  ...and here.
1462         * config/locale/generic/codecvt_members.cc,
1463         * config/locale/gnu/codecvt_members.cc
1464         (codecvt<wchar_t, char, mbstate_t>::do_encoding
1465         codecvt<wchar_t, char, mbstate_t>::do_in,
1466         codecvt<wchar_t, char, mbstate_t>::do_length,
1467         codecvt<wchar_t, char, mbstate_t>::do_max_length,
1468         codecvt<wchar_t, char, mbstate_t>::do_out):
1469         New implementation that handles stateless encodings,
1470         including UTF-8.
1472         * config/locale/generic/codecvt_members.cc,
1473         * config/locale/gnu/codecvt_members.cc,
1474         * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
1475         * include/bits/codecvt.h,
1476         * src/codecvt.cc
1477         (codecvt::length, codecvt::do_length):
1478         Change type of first argument of length and do_length from
1479         'const state_type&' to 'state_type&' according to DR 75.
1481         * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc:  Cleanup.
1482         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc:  New test.
1483         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc:  New test.
1484         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc:  New test.
1485         * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
1486         Cleanup and check for correct return value from encoding
1487         for "C" locale.
1488         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc:  New test.
1489         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc:  New test.
1490         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc:  New test.
1491         * testsuite/22_locale/codecvt/in/wchar_t/1.cc:  Cleanup.
1492         * testsuite/22_locale/codecvt/in/wchar_t/2.cc:  New test.
1493         * testsuite/22_locale/codecvt/in/wchar_t/3.cc:  New test.
1494         * testsuite/22_locale/codecvt/in/wchar_t/4.cc:  New test.
1495         * testsuite/22_locale/codecvt/in/wchar_t/5.cc:  New test.
1496         * testsuite/22_locale/codecvt/in/wchar_t/6.cc:  New test.
1497         * testsuite/22_locale/codecvt/in/wchar_t/7.cc:  New test.
1498         * testsuite/22_locale/codecvt/in/wchar_t/8.cc:  New test.
1499         * testsuite/22_locale/codecvt/in/wchar_t/9.cc:  New test.
1500         * testsuite/22_locale/codecvt/length/char/1.cc:  Cleanup.
1501         * testsuite/22_locale/codecvt/length/char/2.cc:  New test.
1502         * testsuite/22_locale/codecvt/length/wchar_t/1.cc:  Cleanup.
1503         * testsuite/22_locale/codecvt/length/wchar_t/2.cc:  New test.
1504         * testsuite/22_locale/codecvt/length/wchar_t/3.cc:  New test.
1505         * testsuite/22_locale/codecvt/length/wchar_t/4.cc:  New test.
1506         * testsuite/22_locale/codecvt/length/wchar_t/5.cc:  New test.
1507         * testsuite/22_locale/codecvt/length/wchar_t/6.cc:  New test.
1508         * testsuite/22_locale/codecvt/length/wchar_t/7.cc:  New test.
1509         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc:  Cleanup.
1510         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc:  New test.
1511         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc:  New test.
1512         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc:  New test.
1513         * testsuite/22_locale/codecvt/out/wchar_t/1.cc:  Cleanup.
1514         * testsuite/22_locale/codecvt/out/wchar_t/2.cc:  New test.
1515         * testsuite/22_locale/codecvt/out/wchar_t/3.cc:  New test.
1516         * testsuite/22_locale/codecvt/out/wchar_t/4.cc:  New test.
1517         * testsuite/22_locale/codecvt/out/wchar_t/5.cc:  New test.
1518         * testsuite/22_locale/codecvt/out/wchar_t/6.cc:  New test.
1519         * testsuite/22_locale/codecvt/out/wchar_t/7.cc:  New test.
1520         * testsuite/22_locale/codecvt/unicode/1.cc:  New test.
1521         * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc:  Cleanup.
1522         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc:  New test.
1523         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc:  New test.
1524         * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc:  New test.
1526 2003-02-05  Benjamin Kosnik  <bkoz@redhat.com>
1528         * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
1529         (money_put::do_put): Same.
1531 2003-02-05  Jerry Quinn  <jlquinn@optonline.net>
1533         * include/bits/ios_base.h (ios_base): Document reserved storage.
1535         * include/bits/locale_facets.h: (struct __pad): Comment on
1536         implementation.
1537         (__verify_grouping): Same.
1538         (__add_grouping): Same.
1539         * include/bits/locale_facets.tcc (__verify_grouping): Move
1540         comments to declaration.
1541         (__add_grouping): Same.
1543         * include/bits/locale_facets.tcc:
1544         (__write<_CharT, _OutIter>): New function.
1545         (__write<_CharT>): New function specialization.
1546         (num_put::_M_insert): Remove explicit loop over iterator.  Use
1547         __write.
1548         (num_put::_M_widen_float): Remove __basefield.
1549         (num_put::_M_widen_int): Move __basefield to within grouping block.
1551         * include/bits/streambuf_iterator.h: Include <streambuf>.
1552         (ostreambuf_iterator::_M_put): Add.
1554 2003-02-05  Paolo Carlini  <pcarlini@unitus.it>
1556         * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
1558 2003-02-04  Nathan Myers  <ncm@cantrip.org>
1560         * testsuite/25_algorithms/min_max.cc (test02): Add.
1562 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
1564         PR libstdc++/9439, PR libstdc++/9425
1565         * config/io/basic_file_stdio.cc
1566         (__basic_file<char>::seekoff, seekpos): Return -1L if
1567         fseek fails.
1568         * include/bits/fstream.tcc (basic_filebuf::seekoff):
1569         Check _M_file.seekoff return value; always return
1570         pos_type(off_type(-1)) in case of failure.
1571         (basic_filebuf::pbackfail): Check this->seekoff return
1572         value and return traits_type::eof() in case of failure.
1573         * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
1575 2003-02-04  Jerry Quinn  <jlquinn@optonline.net>
1577         * include/std/std_ostream.h (ostream::_M_write): Declare.
1578         * ostream.tcc (ostream::_M_write): Define.
1579         (basic_ostream::write): Use it.
1580         (operator<<(basic_ostream, _CharT)): Ditto.
1581         (operator<<(basic_ostream, char)): Ditto.
1582         (operator<<(basic_ostream, _CharT*)): Ditto.
1583         (operator<<(basic_ostream, char*)): Ditto.
1584         (operator<<(basic_ostream, basic_string)): Ditto.
1586 2003-02-04  Benjamin Kosnik  <bkoz@redhat.com>
1588         * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
1590 2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>
1592         * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
1593         add HTML comment about updating links if numbering changes.
1595 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
1597         PR libstdc++/9538
1598         * include/bits/streambuf.tcc (sputbackc): Access
1599         this->gptr()[-1] only if _M_in_beg < _M_in_cur.
1600         * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
1602 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
1604         PR libstdc++/9507
1605         * include/bits/fstream.tcc (open): If the 'ate' repositioning
1606         operation fails, calls close _and_ returns a null pointer
1607         to indicate failure (27.8.1.3,4).
1608         * testsuite/27_io/filebuf_members.cc (test_06): Add.
1610 2003-02-04  Petur Runolfsson  <peturr02@ru.is>
1612         * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
1614 2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>
1616         * docs/html/27_io/howto.html: New section on stdio_filebuf.
1617         * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
1618         * docs/html/documentation.html: Regenerate.
1620 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
1622         * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
1623         * docs/html/17_intro/porting.html: Regenerate.
1625 2003-02-03  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
1626             Phil Edwards  <pme@gcc.gnu.org>
1628         * include/std/std_bitset.h:  Replace CHAR_BIT with __CHAR_BIT__, use
1629         numeric_limits for bits-per-word values.
1630         (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
1631         Use __builtin_popcountl instead.
1632         (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
1633         _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
1634         Use __builtin_ctzl instead.
1635         (_S_bit_count, _S_first_one):  Remove.
1636         * config/linker-map.gnu (GLIBCPP_3.4):  Remove std::_S_bit_count.
1637         * src/Makefile.am (sources):  Remove bitset.cc.
1638         * src/bitset.cc:  Delete file.
1639         * src/Makefile.in:  Regenerate.
1641 2003-02-03  Phil Edwards  <pme@gcc.gnu.org>
1643         PR libstdc++/9527, PR libstdc++/8713
1644         * docs/html/install.html:  Mention glibc version requirement.
1645         * docs/html/faq/index.html (3.8):  New note, glibc 2.2.5+ is needed
1646         with 3.2.1+ (formatting bugfixes).
1647         * docs/html/faq/index.txt:  Regenerate.
1649 2003-02-03  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
1651         PR libstdc++/9234
1652         * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
1653         operator.
1655         * include/bits/valarray_before.h (__not_equal_to): Use != instead
1656         of ==.
1658         * testsuite/26_numerics/valarray_operators.cc: New test.
1660 2003-02-01  Phil Edwards  <pme@gcc.gnu.org>
1662         * docs/html/faq/index.html:  Correct link to libg++ information.
1663         * docs/html/faq/index.txt:  Regenerated.
1665 2003-02-01  Paolo Carlini  <pcarlini@unitus.it>
1666             Benjamin Kosnik  <bkoz@redhat.com>
1668         Const correctness issue:
1669         http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
1670         * include/bits/locale_classes.h
1671         (locale::_Impl::_M_facets): Change type to const facet**.
1672         (locale::_Impl::_M_install_facet): Change declaration to
1673         take const facet*.
1674         (locale::facet::_M_references): Make mutable.
1675         (locale::facet::_M_add_reference): Declare const.
1676         (locale::facet::_M_remove_reference): Likewise.
1677         * include/bits/locale_facets.tcc
1678         (use_facet(const locale&)): Tweak for const facet** _M_facets.
1679         (has_facet(const locale&)): Likewise.
1680         * src/locale.cc
1681         (locale::facet::_M_add_reference): Adjust definition.
1682         (locale::facet::_M_remove_reference): Likewise.
1683         * src/localename.cc
1684         (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
1685         const facet** _M_facets.
1686         (locale::_Impl::_Impl(const char*, size_t)): Likewise.
1687         (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
1688         (locale::_Impl::_M_install_facet): Adjust definition to take
1689         const facet* and for const facet** _M_facets.
1690         * testsuite/22_locale/locale/cons/8.cc: Add.
1692 2003-01-29  Mark Mitchell  <mark@codesourcery.com>
1694         * include/std/std_limits.h (numeric_limits<float>::has_infinity):
1695         Use __FLT_HAS_INIFINITY__ to initialize.
1696         (numeric_limits<float>::has_quiet_NaN): Likewise.
1697         (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
1698         to initialize.
1699         (numeric_limits<double>::has_quiet_NaN): Likewise.
1700         (numeric_limits<long double>::has_infinity): Use
1701         __LDBL_HAS_INIFINITY__ to initialize.
1702         (numeric_limits<long_double>::has_quiet_NaN): Likewise.
1704 2003-01-28  Nathan Sidwell  <nathan@codesourcery.com>
1706         PR c++/9433
1707         * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
1708         with bases which are very ambiguous.
1710 2003-01-28  Danny Smith  <dannysmith@users.sourceforge.net>
1712         * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
1713         @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
1714         * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
1715         * src/Makefile.in: Regenerate.
1716         * libsupc++/Makefile.in: Regenerate.
1718 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
1720         * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
1721         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1722         version_specific_libs is enabled.
1723         * aclocal.m4, configure: Rebuilt.
1725 2003-01-24  Nathan Sidwell  <nathan@codesourcery.com>
1727         * include/bits/valarray_meta.h: Remove, split into ...
1728         * include/bits/valarray_before.h: ... this, and ...
1729         * include/bits/valarray_after.h: ... this.
1730         * include/std/std_valarray.h: Adjust.
1731         * include/Makefile.am (bits_headers): Adjust.
1732         * include/Makefile.in: Regenerate.
1734 2003-01-24  Andreas Schwab  <schwab@suse.de>
1736         * config/linker-map.gnu: Fix for size_t variance.
1738 2003-01-23  Petur Runolfsson  <peturr02@ru.is>
1740         PR libstdc++/9322
1741         * include/std/std_streambuf.h
1742         (basic_streambuf::basic_streambuf,
1743         basic_streambuf::~basic_streambuf,
1744         basic_streambuf::getloc, basic_streambuf::imbue):
1745         Remove _M_buf_locale_init
1746         * include/bits/fstream.tcc (basic_filebuf::imbue):  Likewise
1747         * testsuite/27_io/filebuf_virtuals.cc (test08):  Add.
1748         * testsuite/27_io/streambuf_members.cc (test08):  Add.
1749         * testsuite/27_io/stringbuf_virtuals.cc (test08):  Add.
1751 2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1753         Revert include ordering.
1754         * config/locale/generic/c_locale.h: Add include guards.
1755         * config/locale/gnu/c_locale.h: Same.
1756         * include/bits/locale_classes.h: Remove cctype include.
1757         * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
1758         * include/std/std_fstream.h: Remove streambuf include.
1759         * include/std/std_sstream.h: Remove streambuf include.
1761 2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1763         * configure.in (libtool_VERSION): To 6:0:0.
1764         * configure: Regenerated.
1765         * config/linker-map.gnu: Clean.
1767         * src/misc-inst.cc: Remove instantiations.
1769         * include/bits/stl_alloc.h (__malloc_alloc_template):
1770         To __malloc_alloc.
1771         (__default_alloc_template): To __pool_alloc.
1772         * src/stl-inst.cc: Same.
1773         * include/backward/alloc.h: Update.
1774         * testsuite/ext/allocators.cc: Update.
1776         * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
1777         really try to remove these if possible.
1778         * src/locale.cc (std): Same.
1780         * testsuite/abi_check.cc (check_version): Add.
1782 2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1783             Sysoltsev Slawa  <Vyatcheslav.Sysoltsev@intel.com>
1784             Mark Mitchell  <mark@codesourcery.com>
1786         PR libstdc++/9269
1787         * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
1788         (basic_filebuf::underflow): Declare.
1789         Move definitions.
1791 2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1793         * include/bits/locale_facets.h: Move non-facet classes requiring
1794         <string> to...
1795         * include/bits/locale_classes.h: New.
1796         * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
1797         * include/bits/Makefile.in: Regenerate.
1799         * include/bits/locale_facets.tcc (__convert_from_v): Move to...
1800         * config/locale/gnu/c_locale.h: ...here.
1801         * config/locale/generic/c_locale.h: Same.
1803         * include/bits/locale_facets.tcc: Move declarations to...
1804         * include/bits/locale_facets.h: ...here.
1805         * include/bits/basic_ios.h: Tweak includes accordingly.
1806         * include/std/std_sstream.h: Add streambuf include.
1807         * include/std/std_fstream.h: Ditto.
1808         * include/std/std_locale.h: Add locale_classes.h include.
1809         * include/std/std_iosfwd.h: Tweak.
1810         * src/concept-inst.cc: Add iterator include.
1812         * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
1813         bits as unexported in the future.
1815 2003-01-21  Benjamin Kosnik  <bkoz@redhat.com>
1817         Reshuffle 22_locale testsuite.
1818         * 22_locale/(codecvt.cc money_get.cc
1819         codecvt_members_char_char.cc money_get_members_char.cc
1820         codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
1821         codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
1822         codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
1823         moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
1824         collate_members_char.cc money_put.cc collate_members_wchar_t.cc
1825         money_put_members_char.cc ctor_copy_dtor.cc
1826         money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
1827         num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
1828         ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
1829         numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
1830         ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
1831         num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
1832         ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
1833         operators.cc ctype_widen_char.cc static_members.cc
1834         ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
1835         global_templates.cc time_get_members_wchar_t.cc, members.cc,
1836         time_put.cc, messages_byname.cc, time_put_members_char.cc,
1837         messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
1838         Split up into individual test cases...
1839         * 22_locale/codecvt/1.cc: New.
1840         * 22_locale/codecvt/2.cc: New.
1841         * 22_locale/codecvt/always_noconv/char/1.cc: New.
1842         * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
1843         * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
1844         * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
1845         * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
1846         * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
1847         * 22_locale/codecvt/encoding/char/1.cc: New.
1848         * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
1849         * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
1850         * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
1851         * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
1852         * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
1853         * 22_locale/codecvt/in/char/1.cc: New.
1854         * 22_locale/codecvt/in/char/wrapped_env.cc: New.
1855         * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
1856         * 22_locale/codecvt/in/wchar_t/1.cc: New.
1857         * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
1858         * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
1859         * 22_locale/codecvt/length/char/1.cc: New.
1860         * 22_locale/codecvt/length/char/wrapped_env.cc: New.
1861         * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
1862         * 22_locale/codecvt/length/wchar_t/1.cc: New.
1863         * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
1864         * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
1865         * 22_locale/codecvt/max_length/char/1.cc: New.
1866         * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
1867         * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
1868         * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
1869         * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
1870         * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
1871         * 22_locale/codecvt/out/char/1.cc: New.
1872         * 22_locale/codecvt/out/char/wrapped_env.cc: New.
1873         * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
1874         * 22_locale/codecvt/out/wchar_t/1.cc: New.
1875         * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
1876         * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
1877         * 22_locale/codecvt/unicode/char.cc: New.
1878         * 22_locale/codecvt/unicode/wchar_t.cc: New.
1879         * 22_locale/codecvt/unshift/char/1.cc: New.
1880         * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
1881         * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
1882         * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
1883         * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
1884         * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
1885         * 22_locale/collate/1.cc: New.
1886         * 22_locale/collate/2.cc: New.
1887         * 22_locale/collate/compare/char/1.cc: New.
1888         * 22_locale/collate/compare/char/2.cc: New.
1889         * 22_locale/collate/compare/char/wrapped_env.cc: New.
1890         * 22_locale/collate/compare/char/wrapped_locale.cc: New.
1891         * 22_locale/collate/compare/wchar_t/1.cc: New.
1892         * 22_locale/collate/compare/wchar_t/2.cc: New.
1893         * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
1894         * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
1895         * 22_locale/collate/hash/char/1.cc: New.
1896         * 22_locale/collate/hash/char/2.cc: New.
1897         * 22_locale/collate/hash/char/wrapped_env.cc: New.
1898         * 22_locale/collate/hash/char/wrapped_locale.cc: New.
1899         * 22_locale/collate/hash/wchar_t/1.cc: New.
1900         * 22_locale/collate/hash/wchar_t/2.cc: New.
1901         * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
1902         * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
1903         * 22_locale/collate/transform/char/2.cc: New.
1904         * 22_locale/collate/transform/char/wrapped_env.cc: New.
1905         * 22_locale/collate/transform/char/wrapped_locale.cc: New.
1906         * 22_locale/collate/transform/wchar_t/2.cc: New.
1907         * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
1908         * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
1909         * 22_locale/collate_byname/1.cc: New.
1910         * 22_locale/ctype/1.cc: New.
1911         * 22_locale/ctype/2.cc: New.
1912         * 22_locale/ctype/cons/char/1.cc: New.
1913         * 22_locale/ctype/cons/char/wrapped_env.cc: New.
1914         * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
1915         * 22_locale/ctype/is/char/1.cc: New.
1916         * 22_locale/ctype/is/char/2.cc: New.
1917         * 22_locale/ctype/is/char/3.cc: New.
1918         * 22_locale/ctype/is/char/wrapped_env.cc: New.
1919         * 22_locale/ctype/is/char/wrapped_locale.cc: New.
1920         * 22_locale/ctype/is/wchar_t/1.cc: New.
1921         * 22_locale/ctype/is/wchar_t/2.cc: New.
1922         * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
1923         * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
1924         * 22_locale/ctype/narrow/char/1.cc: New.
1925         * 22_locale/ctype/narrow/char/2.cc: New.
1926         * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
1927         * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
1928         * 22_locale/ctype/narrow/wchar_t/1.cc: New.
1929         * 22_locale/ctype/narrow/wchar_t/2.cc: New.
1930         * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
1931         * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
1932         * 22_locale/ctype/scan/char/1.cc: New.
1933         * 22_locale/ctype/scan/char/wrapped_env.cc: New.
1934         * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
1935         * 22_locale/ctype/scan/wchar_t/1.cc: New.
1936         * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
1937         * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
1938         * 22_locale/ctype/to/char/1.cc: New.
1939         * 22_locale/ctype/to/char/wrapped_env.cc: New.
1940         * 22_locale/ctype/to/char/wrapped_locale.cc: New.
1941         * 22_locale/ctype/to/wchar_t/1.cc: New.
1942         * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
1943         * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
1944         * 22_locale/ctype/widen/char/1.cc: New.
1945         * 22_locale/ctype/widen/char/wrapped_env.cc: New.
1946         * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
1947         * 22_locale/ctype/widen/wchar_t/1.cc: New.
1948         * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
1949         * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
1950         * 22_locale/facet/1.cc: New.
1951         * 22_locale/facet/2.cc: New.
1952         * 22_locale/global_templates/1.cc: New.
1953         * 22_locale/locale/cons/1.cc: New.
1954         * 22_locale/locale/cons/2.cc: New.
1955         * 22_locale/locale/cons/3.cc: New.
1956         * 22_locale/locale/cons/4.cc: New.
1957         * 22_locale/locale/cons/5.cc: New.
1958         * 22_locale/locale/cons/6.cc: New.
1959         * 22_locale/locale/cons/7.cc: New.
1960         * 22_locale/locale/global_locale_objects/1.cc: New.
1961         * 22_locale/locale/global_locale_objects/2.cc: New.
1962         * 22_locale/locale/global_locale_objects/3.cc: New.
1963         * 22_locale/locale/operations/1.cc: New.
1964         * 22_locale/locale/operations/2.cc: New.
1965         * 22_locale/messages/1.cc: New.
1966         * 22_locale/messages/2.cc: New.
1967         * 22_locale/messages/members/char/1.cc: New.
1968         * 22_locale/messages/members/char/2.cc: New.
1969         * 22_locale/messages/members/char/3.cc: New.
1970         * 22_locale/messages/members/char/wrapped_env.cc: New.
1971         * 22_locale/messages/members/char/wrapped_locale.cc: New.
1972         * 22_locale/messages_byname/1.cc: New.
1973         * 22_locale/money_get/1.cc: New.
1974         * 22_locale/money_get/2.cc: New.
1975         * 22_locale/money_get/get/char/1.cc: New.
1976         * 22_locale/money_get/get/char/2.cc: New.
1977         * 22_locale/money_get/get/char/3.cc: New.
1978         * 22_locale/money_get/get/char/4.cc: New.
1979         * 22_locale/money_get/get/char/5.cc: New.
1980         * 22_locale/money_get/get/char/6.cc: New.
1981         * 22_locale/money_get/get/char/7.cc: New.
1982         * 22_locale/money_get/get/char/8.cc: New.
1983         * 22_locale/money_get/get/char/wrapped_env.cc: New.
1984         * 22_locale/money_get/get/char/wrapped_locale.cc: New.
1985         * 22_locale/money_get/get/wchar_t/1.cc: New.
1986         * 22_locale/money_get/get/wchar_t/2.cc: New.
1987         * 22_locale/money_get/get/wchar_t/3.cc: New.
1988         * 22_locale/money_get/get/wchar_t/4.cc: New.
1989         * 22_locale/money_get/get/wchar_t/5.cc: New.
1990         * 22_locale/money_get/get/wchar_t/6.cc: New.
1991         * 22_locale/money_get/get/wchar_t/7.cc: New.
1992         * 22_locale/money_get/get/wchar_t/8.cc: New.
1993         * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
1994         * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
1995         * 22_locale/money_put/1.cc: New.
1996         * 22_locale/money_put/2.cc: New.
1997         * 22_locale/money_put/put/char/1.cc: New.
1998         * 22_locale/money_put/put/char/2.cc: New.
1999         * 22_locale/money_put/put/char/3.cc: New.
2000         * 22_locale/money_put/put/char/4.cc: New.
2001         * 22_locale/money_put/put/char/5.cc: New.
2002         * 22_locale/money_put/put/char/6.cc: New.
2003         * 22_locale/money_put/put/char/wrapped_env.cc: New.
2004         * 22_locale/money_put/put/char/wrapped_locale.cc: New.
2005         * 22_locale/money_put/put/wchar_t/1.cc: New.
2006         * 22_locale/money_put/put/wchar_t/2.cc: New.
2007         * 22_locale/money_put/put/wchar_t/3.cc: New.
2008         * 22_locale/money_put/put/wchar_t/4.cc: New.
2009         * 22_locale/money_put/put/wchar_t/5.cc: New.
2010         * 22_locale/money_put/put/wchar_t/6.cc: New.
2011         * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
2012         * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
2013         * 22_locale/moneypunct/1.cc: New.
2014         * 22_locale/moneypunct/2.cc: New.
2015         * 22_locale/moneypunct/3.cc: New.
2016         * 22_locale/moneypunct/members/char/1.cc: New.
2017         * 22_locale/moneypunct/members/char/2.cc: New.
2018         * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
2019         * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
2020         * 22_locale/moneypunct/members/wchar_t/1.cc: New.
2021         * 22_locale/moneypunct/members/wchar_t/2.cc: New.
2022         * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
2023         * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
2024         * 22_locale/moneypunct_byname/1.cc: New.
2025         * 22_locale/num_get/1.cc: New.
2026         * 22_locale/num_get/2.cc: New.
2027         * 22_locale/num_get/get/char/1.cc: New.
2028         * 22_locale/num_get/get/char/2.cc: New.
2029         * 22_locale/num_get/get/char/3.cc: New.
2030         * 22_locale/num_get/get/char/4.cc: New.
2031         * 22_locale/num_get/get/char/5.cc: New.
2032         * 22_locale/num_get/get/char/6.cc: New.
2033         * 22_locale/num_get/get/char/wrapped_env.cc: New.
2034         * 22_locale/num_get/get/char/wrapped_locale.cc: New.
2035         * 22_locale/num_get/get/wchar_t/1.cc: New.
2036         * 22_locale/num_get/get/wchar_t/2.cc: New.
2037         * 22_locale/num_get/get/wchar_t/3.cc: New.
2038         * 22_locale/num_get/get/wchar_t/4.cc: New.
2039         * 22_locale/num_get/get/wchar_t/5.cc: New.
2040         * 22_locale/num_get/get/wchar_t/6.cc: New.
2041         * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
2042         * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
2043         * 22_locale/num_put/1.cc: New.
2044         * 22_locale/num_put/2.cc: New.
2045         * 22_locale/num_put/put/char/1.cc: New.
2046         * 22_locale/num_put/put/char/2.cc: New.
2047         * 22_locale/num_put/put/char/3.cc: New.
2048         * 22_locale/num_put/put/char/4.cc: New.
2049         * 22_locale/num_put/put/char/5.cc: New.
2050         * 22_locale/num_put/put/char/wrapped_env.cc: New.
2051         * 22_locale/num_put/put/char/wrapped_locale.cc: New.
2052         * 22_locale/num_put/put/wchar_t/1.cc: New.
2053         * 22_locale/num_put/put/wchar_t/2.cc: New.
2054         * 22_locale/num_put/put/wchar_t/3.cc: New.
2055         * 22_locale/num_put/put/wchar_t/4.cc: New.
2056         * 22_locale/num_put/put/wchar_t/5.cc: New.
2057         * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
2058         * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
2059         * 22_locale/numpunct/1.cc: New.
2060         * 22_locale/numpunct/2.cc: New.
2061         * 22_locale/numpunct/members/char/1.cc: New.
2062         * 22_locale/numpunct/members/char/2.cc: New.
2063         * 22_locale/numpunct/members/char/wrapped_env.cc: New.
2064         * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
2065         * 22_locale/numpunct/members/wchar_t/1.cc: New.
2066         * 22_locale/numpunct/members/wchar_t/2.cc: New.
2067         * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
2068         * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
2069         * 22_locale/numpunct_byname/1.cc: New.
2070         * 22_locale/numpunct_byname/2.cc: New.
2071         * 22_locale/time_get/1.cc: New.
2072         * 22_locale/time_get/2.cc: New.
2073         * 22_locale/time_get/date_order/char/1.cc: New.
2074         * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
2075         * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
2076         * 22_locale/time_get/date_order/wchar_t/1.cc: New.
2077         * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
2078         * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
2079         * 22_locale/time_get/get_date/char/1.cc: New.
2080         * 22_locale/time_get/get_date/char/2.cc: New.
2081         * 22_locale/time_get/get_date/char/3.cc: New.
2082         * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
2083         * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
2084         * 22_locale/time_get/get_date/wchar_t/1.cc: New.
2085         * 22_locale/time_get/get_date/wchar_t/2.cc: New.
2086         * 22_locale/time_get/get_date/wchar_t/3.cc: New.
2087         * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
2088         * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
2089         * 22_locale/time_get/get_monthname/char/1.cc: New.
2090         * 22_locale/time_get/get_monthname/char/2.cc: New.
2091         * 22_locale/time_get/get_monthname/char/3.cc: New.
2092         * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
2093         * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
2094         * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
2095         * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
2096         * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
2097         * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
2098         * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
2099         * 22_locale/time_get/get_time/char/1.cc: New.
2100         * 22_locale/time_get/get_time/char/2.cc: New.
2101         * 22_locale/time_get/get_time/char/3.cc: New.
2102         * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
2103         * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
2104         * 22_locale/time_get/get_time/wchar_t/1.cc: New.
2105         * 22_locale/time_get/get_time/wchar_t/2.cc: New.
2106         * 22_locale/time_get/get_time/wchar_t/3.cc: New.
2107         * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
2108         * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
2109         * 22_locale/time_get/get_weekday/char/1.cc: New.
2110         * 22_locale/time_get/get_weekday/char/2.cc: New.
2111         * 22_locale/time_get/get_weekday/char/3.cc: New.
2112         * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
2113         * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
2114         * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
2115         * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
2116         * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
2117         * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
2118         * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
2119         * 22_locale/time_get/get_year/char/1.cc: New.
2120         * 22_locale/time_get/get_year/char/3.cc: New.
2121         * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
2122         * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
2123         * 22_locale/time_get/get_year/wchar_t/1.cc: New.
2124         * 22_locale/time_get/get_year/wchar_t/3.cc: New.
2125         * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
2126         * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
2127         * 22_locale/time_put/1.cc: New.
2128         * 22_locale/time_put/2.cc: New.
2129         * 22_locale/time_put/put/char/1.cc: New.
2130         * 22_locale/time_put/put/char/10.cc: New.
2131         * 22_locale/time_put/put/char/2.cc: New.
2132         * 22_locale/time_put/put/char/3.cc: New.
2133         * 22_locale/time_put/put/char/4.cc: New.
2134         * 22_locale/time_put/put/char/5.cc: New.
2135         * 22_locale/time_put/put/char/6.cc: New.
2136         * 22_locale/time_put/put/char/7.cc: New.
2137         * 22_locale/time_put/put/char/8.cc: New.
2138         * 22_locale/time_put/put/char/9.cc: New.
2139         * 22_locale/time_put/put/char/wrapped_env.cc: New.
2140         * 22_locale/time_put/put/char/wrapped_locale.cc: New.
2141         * 22_locale/time_put/put/wchar_t/1.cc: New.
2142         * 22_locale/time_put/put/wchar_t/10.cc: New.
2143         * 22_locale/time_put/put/wchar_t/2.cc: New.
2144         * 22_locale/time_put/put/wchar_t/3.cc: New.
2145         * 22_locale/time_put/put/wchar_t/4.cc: New.
2146         * 22_locale/time_put/put/wchar_t/5.cc: New.
2147         * 22_locale/time_put/put/wchar_t/6.cc: New.
2148         * 22_locale/time_put/put/wchar_t/7.cc: New.
2149         * 22_locale/time_put/put/wchar_t/8.cc: New.
2150         * 22_locale/time_put/put/wchar_t/9.cc: New.
2151         * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
2152         * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
2154 2003-01-16  Jeffrey D. Oldham  <oldham@codesourcery.com>
2156         * config/locale/generic/messages_members.h
2157         (messages_byname<_CharT>::messages_byname): Use this-> to refer to
2158         unqualified members of base clasess.
2160 2003-01-16  Mark Mitchell  <mark@codesourcery.com>
2161             Jeffrey Oldham <oldham@codesourcery.com>
2163         * config/locale/gnu/messages_members.h: Use this-> to refer to
2164         unqualified members of base clasess.
2165         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
2166         * include/bits/codecvt.h: Likewise.
2167         * include/bits/deque.tcc: Likewise.
2168         * include/bits/fstream.tcc: Likewise.
2169         * include/bits/istream.tcc: Likewise.
2170         * include/bits/list.tcc: Likewise.
2171         * include/bits/locale_facets.h: Likewise.
2172         * include/bits/ostream.tcc: Likewise.
2173         * include/bits/sstream.tcc: Likewise.
2174         * include/bits/stl_bvector.h: Likewise.
2175         * include/bits/stl_deque.h: Likewise.
2176         * include/bits/stl_list.h: Likewise.
2177         * include/bits/stl_tree.h: Likewise.
2178         * include/bits/stl_vector.h: Likewise.
2179         * include/bits/vector.tcc: Likewise.
2180         * include/ext/ropeimpl.h: Likewise.
2181         * include/ext/stdio_filebuf.h: Likewise.
2182         * include/ext/stl_rope.h: Likewise.
2183         * include/std/std_fstream.h: Likewise.
2184         * include/std/std_sstream.h: Likewise.
2186 2003-01-15  Phil Edwards  <pme@gcc.gnu.org>
2188         * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
2190 2003-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2192         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
2193         GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
2194         * aclocal.m4: Regenerate.
2195         * configure: Regenerate.
2196         * testsuite/Makefile.am (all-local): Add conditional rule to
2197         generate testsuite_wchar_t.
2198         * testsuite/Makefile.in: Regenerate.
2199         * testsuite/lib/libstdc++-v3-dg.exp
2200         (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
2201         testsuite_wchar_t is not present in the build directory.
2202         * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
2203         Remove setulimit bits.
2204         * testsuite/26_numerics/complex_value.cc: Set to noopts.
2205         * testsuite/Makefile.am (CLEANFILES): Add.
2206         * testsuite/Makefile.in: Regenerate.
2208 2003-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2210         * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
2211         __hppa__.
2213 2003-01-14  Jeffrey D. Oldham  <oldham@codesourcery.com>
2215         Further conform g++'s __vmi_class_type_info to the C++ ABI
2216         specification.
2217         * libsupc++/cxxabi.h
2218         (__vmi_class_type_info::__flags_masks): Remove enumerations not
2219         required by the specification.
2221 2003-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2223         Renames, namespaces for testsuite utilities.
2224         * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
2225         (gnu_allocator_tracker): Rename to allocation_tracker.
2226         (gnu_new_allocator): Rename to tracker_alloc.
2227         (__set_testsuite_memlimit): Rename to set_memory_limits.
2228         (gnu_assignment_operator): Rename to assignment_operator.
2229         (gnu_destructor): Rename to destructor.
2230         (gnu_copy_tracker): Rename to copy_tracker.
2231         (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
2232         (run_tests_wrapped_locale): New.
2233         (run_tests_wrapped_env): New.
2234         * testsuite/testsuite_hooks.cc: Same.
2235         (class locale_data): Add.
2236         (class enviornment_variable): Add.
2237         (class not_found): Add.
2238         * testsuite/testsuite_allocator.h: Same.
2239         * testsuite/testsuite_allocator.cc: Same.
2240         * testsuite/23_containers/deque_ctor.cc
2241         (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
2242         allocation_tracker.
2243         Change gnu_new_allocator to tracker_alloc.
2244         Change gnu_counting_struct to counter.
2245         Change gnu_copy_tracker to copy_tracker.
2246         Change gnu_copy_constructor to copy_constructor.
2247         Change gnu_assignment_operator to assignment_operator.
2248         Inject.
2249         * testsuite/23_containers/vector_capacity.cc: Same.
2250         * testsuite/23_containers/vector_ctor.cc (test01): Same.
2251         * testsuite/23_containers/list_modifiers.cc: Change
2252         gnu_copy_tracker to copy_tracker.
2253         * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
2254         __set_testsuite_memlimit to set_memory_limits.
2255         * testsuite/21_strings/insert.cc (main): Same.
2256         * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
2257         * testsuite/27_io/stringstream.cc: Same.
2258         * testsuite/27_io/stringbuf.cc: Same.
2259         * testsuite/27_io/streambuf.cc: Same.
2260         * testsuite/27_io/ostream.cc: Same.
2261         * testsuite/27_io/istream.cc: Same.
2262         * testsuite/27_io/fstream.cc: Same.
2263         * testsuite/lib/libstdc++-v3-dg.exp
2264         (libstdc++-v3-list-sourcefiles): Additionally handle files two and
2265         three levels deeper in glob patterns.
2267 2003-01-11  Phil Edwards  <pme@gcc.gnu.org>
2269         * docs/doxygen/tables.html:  Finished now.
2270         * docs/doxygen/user.cfg.in:  Update to latest version of Doxygen.
2271         * include/bits/basic_ios.h (basic_ios::rdbuf):  Add example to
2272         comments.
2274         * include/bits/deque.tcc, include/bits/stl_alloc.h,
2275         include/bits/stl_deque.h, include/bits/stl_list.h,
2276         include/bits/stl_vector.h:  Remove _GLIBCPP_DEPRECATED bits scheduled
2277         for 3.4 removal.
2279 2003-01-09  Benjamin Kosnik  <bkoz@redhat.com>
2281         * configure.in: Revert.
2282         * configure: Regenerate.
2284 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2286         * include/Makefile.am (install-data-local): Prepend
2287         $(DESTDIR) to destination paths in all (un)installation
2288         commands.  Use ${c_base_builddir} and ${std_builddir}
2289         as destination subdirectories to achieve consistency with
2290         preceding mkinstalldirs commands.  No effect because both
2291         variables contain "." only.
2292         * include/Makefile.in: Regenerate.
2294 2003-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2296         * include/Makefile.am (stamp-*): Add checks for existing stamps.
2297         * include/Makefile.in: Regenerate.
2299         * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
2300         * aclocal.m4: Regenerate.
2302         * configure.in: Don't add new multi-do rules every time the
2303         directory is reconfigured.
2304         * configure: Regenerate.
2306 2003-01-08  Brad Spencer  <spencer@infointeractive.com>
2307             Nathan Myers  <ncm@cantrip.org>
2309         * src/Makefile.am (stamp-debug): Clean.
2310         * src/Makefile.in: Regenerate.
2312 2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
2314         PR libstdc++/8707
2315         * Makefile.am (distclean-multi): Fix.
2316         * Makefile.in: Regenerate.
2318 2003-01-06  Benjamin Kosnik  <bkoz@redhat.com>
2320         * include/bits/locale_facets.h (messages): Move ctor, dtor
2321         definitions to..
2322         (__timepunct): Same.
2323         * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
2324         definitions. Conditionalize for GNU systems.
2325         * config/locale/generic/messages_members.h (messages): Add dtor, ctor
2326         definitions.
2327         * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
2328         definitions. Conditionalize for GNU systems.
2329         * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
2330         definitions.
2331         * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
2332         * src/locale.cc: Define.
2333         * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
2334         Use it.
2335         * config/locale/gnu/time_members.h: Use it.
2336         * config/locale/gnu/messages_members.h: Use it.
2337         * config/linker-map.gnu: Add locale::facets details.
2338         * include/Makefile.am (target_headers_extra): Add time_members.h.
2339         * include/Makefile.in: Regenerate.
2340         * acinclude.m4: Export CTIME_H.
2341         * aclocal.m4: Regenerate.
2342         * configure: Regnerate.
2344 2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
2346         * src/codecvt.cc
2347         (codecvt<char, char, mbstate_t>::do_in, do_out):
2348         Tweak parameters to avoid unused parameter warnings.
2350 2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
2352         PR libstdc++/9151
2353         * include/bits/locale_facets.cc (num_put::_M_convert_float):
2354         Limit __prec to digits10 + 2, not digits10 + 1, taking into
2355         account the possibility of %{g,G} conversion specifiers
2356         inside _S_format_float.
2357         * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
2359 2003-01-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2361         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
2362         libstdc++-v3-list-sourcefiles): Additionally handle files one
2363         level deeper in glob patterns.
2365         * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
2366         * testsuite/27_io/istream_extractor_arith/01.cc,
2367         testsuite/27_io/istream_extractor_arith/02.cc,
2368         testsuite/27_io/istream_extractor_arith/03.cc,
2369         testsuite/27_io/istream_extractor_arith/06.cc,
2370         testsuite/27_io/istream_extractor_arith/07.cc,
2371         testsuite/27_io/istream_extractor_arith/08.cc,
2372         testsuite/27_io/istream_extractor_arith/09.cc,
2373         testsuite/27_io/istream_extractor_arith/10.cc,
2374         testsuite/27_io/istream_extractor_arith/11.cc,
2375         testsuite/27_io/istream_extractor_arith/12.cc,
2376         testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
2377         * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
2378         sparc*-*-solaris2*.
2380 2003-01-05  Paolo Carlini <pcarlini@unitus.it>
2382         PR libstdc++/9168
2383         * src/codecvt.cc
2384         (codecvt<char, char, mbstate_t>::do_in, do_out):
2385         Implement the resolution of DR19 (TC).
2386         * testsuite/22_locale/codecvt_members_char_char.cc
2387         (test01): Tweak.
2389 2003-01-02  Jason Merrill  <jason@redhat.com>
2391         * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
2392         *__mem is also an output.
2393         * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.