]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/ChangeLog
[multiple changes]
[thirdparty/gcc.git] / libstdc++-v3 / ChangeLog
1 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
2
3 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
4 (money_put::do_put): Same.
5
6 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
7
8 * include/bits/ios_base.h (ios_base): Document reserved storage.
9
10 * include/bits/locale_facets.h: (struct __pad): Comment on
11 implementation.
12 (__verify_grouping): Same.
13 (__add_grouping): Same.
14 * include/bits/locale_facets.tcc (__verify_grouping): Move
15 comments to declaration.
16 (__add_grouping): Same.
17
18 * include/bits/locale_facets.tcc:
19 (__write<_CharT, _OutIter>): New function.
20 (__write<_CharT>): New function specialization.
21 (num_put::_M_insert): Remove explicit loop over iterator. Use
22 __write.
23 (num_put::_M_widen_float): Remove __basefield.
24 (num_put::_M_widen_int): Move __basefield to within grouping block.
25
26 * include/bits/streambuf_iterator.h: Include <streambuf>.
27 (ostreambuf_iterator::_M_put): Add.
28
29 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
30
31 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
32
33 2003-02-04 Nathan Myers <ncm@cantrip.org>
34
35 * testsuite/25_algorithms/min_max.cc (test02): Add.
36
37 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
38
39 PR libstdc++/9439, PR libstdc++/9425
40 * config/io/basic_file_stdio.cc
41 (__basic_file<char>::seekoff, seekpos): Return -1L if
42 fseek fails.
43 * include/bits/fstream.tcc (basic_filebuf::seekoff):
44 Check _M_file.seekoff return value; always return
45 pos_type(off_type(-1)) in case of failure.
46 (basic_filebuf::pbackfail): Check this->seekoff return
47 value and return traits_type::eof() in case of failure.
48 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
49
50 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
51
52 * include/std/std_ostream.h (ostream::_M_write): Declare.
53 * ostream.tcc (ostream::_M_write): Define.
54 (basic_ostream::write): Use it.
55 (operator<<(basic_ostream, _CharT)): Ditto.
56 (operator<<(basic_ostream, char)): Ditto.
57 (operator<<(basic_ostream, _CharT*)): Ditto.
58 (operator<<(basic_ostream, char*)): Ditto.
59 (operator<<(basic_ostream, basic_string)): Ditto.
60
61 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
62
63 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
64
65 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
66
67 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
68 add HTML comment about updating links if numbering changes.
69
70 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
71
72 PR libstdc++/9538
73 * include/bits/streambuf.tcc (sputbackc): Access
74 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
75 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
76
77 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
78
79 PR libstdc++/9507
80 * include/bits/fstream.tcc (open): If the 'ate' repositioning
81 operation fails, calls close _and_ returns a null pointer
82 to indicate failure (27.8.1.3,4).
83 * testsuite/27_io/filebuf_members.cc (test_06): Add.
84
85 2003-02-04 Petur Runolfsson <peturr02@ru.is>
86
87 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
88
89 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
90
91 * docs/html/27_io/howto.html: New section on stdio_filebuf.
92 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
93 * docs/html/documentation.html: Regenerate.
94
95 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
96
97 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
98 * docs/html/17_intro/porting.html: Regenerate.
99
100 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
101 Phil Edwards <pme@gcc.gnu.org>
102
103 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
104 numeric_limits for bits-per-word values.
105 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
106 Use __builtin_popcountl instead.
107 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
108 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
109 Use __builtin_ctzl instead.
110 (_S_bit_count, _S_first_one): Remove.
111 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
112 * src/Makefile.am (sources): Remove bitset.cc.
113 * src/bitset.cc: Delete file.
114 * src/Makefile.in: Regenerate.
115
116 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
117
118 PR libstdc++/9527, PR libstdc++/8713
119 * docs/html/install.html: Mention glibc version requirement.
120 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
121 with 3.2.1+ (formatting bugfixes).
122 * docs/html/faq/index.txt: Regenerate.
123
124 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
125
126 PR libstdc++/9234
127 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
128 operator.
129
130 * include/bits/valarray_before.h (__not_equal_to): Use != instead
131 of ==.
132
133 * testsuite/26_numerics/valarray_operators.cc: New test.
134
135 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
136
137 * docs/html/faq/index.html: Correct link to libg++ information.
138 * docs/html/faq/index.txt: Regenerated.
139
140 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
141 Benjamin Kosnik <bkoz@redhat.com>
142
143 Const correctness issue:
144 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
145 * include/bits/locale_classes.h
146 (locale::_Impl::_M_facets): Change type to const facet**.
147 (locale::_Impl::_M_install_facet): Change declaration to
148 take const facet*.
149 (locale::facet::_M_references): Make mutable.
150 (locale::facet::_M_add_reference): Declare const.
151 (locale::facet::_M_remove_reference): Likewise.
152 * include/bits/locale_facets.tcc
153 (use_facet(const locale&)): Tweak for const facet** _M_facets.
154 (has_facet(const locale&)): Likewise.
155 * src/locale.cc
156 (locale::facet::_M_add_reference): Adjust definition.
157 (locale::facet::_M_remove_reference): Likewise.
158 * src/localename.cc
159 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
160 const facet** _M_facets.
161 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
162 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
163 (locale::_Impl::_M_install_facet): Adjust definition to take
164 const facet* and for const facet** _M_facets.
165 * testsuite/22_locale/locale/cons/8.cc: Add.
166
167 2003-01-29 Mark Mitchell <mark@codesourcery.com>
168
169 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
170 Use __FLT_HAS_INIFINITY__ to initialize.
171 (numeric_limits<float>::has_quiet_NaN): Likewise.
172 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
173 to initialize.
174 (numeric_limits<double>::has_quiet_NaN): Likewise.
175 (numeric_limits<long double>::has_infinity): Use
176 __LDBL_HAS_INIFINITY__ to initialize.
177 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
178
179 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
180
181 PR c++/9433
182 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
183 with bases which are very ambiguous.
184
185 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
186
187 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
188 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
189 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
190 * src/Makefile.in: Regenerate.
191 * libsupc++/Makefile.in: Regenerate.
192
193 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
194
195 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
196 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
197 version_specific_libs is enabled.
198 * aclocal.m4, configure: Rebuilt.
199
200 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
201
202 * include/bits/valarray_meta.h: Remove, split into ...
203 * include/bits/valarray_before.h: ... this, and ...
204 * include/bits/valarray_after.h: ... this.
205 * include/std/std_valarray.h: Adjust.
206 * include/Makefile.am (bits_headers): Adjust.
207 * include/Makefile.in: Regenerate.
208
209 2003-01-24 Andreas Schwab <schwab@suse.de>
210
211 * config/linker-map.gnu: Fix for size_t variance.
212
213 2003-01-23 Petur Runolfsson <peturr02@ru.is>
214
215 PR libstdc++/9322
216 * include/std/std_streambuf.h
217 (basic_streambuf::basic_streambuf,
218 basic_streambuf::~basic_streambuf,
219 basic_streambuf::getloc, basic_streambuf::imbue):
220 Remove _M_buf_locale_init
221 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
222 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
223 * testsuite/27_io/streambuf_members.cc (test08): Add.
224 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
225
226 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
227
228 Revert include ordering.
229 * config/locale/generic/c_locale.h: Add include guards.
230 * config/locale/gnu/c_locale.h: Same.
231 * include/bits/locale_classes.h: Remove cctype include.
232 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
233 * include/std/std_fstream.h: Remove streambuf include.
234 * include/std/std_sstream.h: Remove streambuf include.
235
236 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
237
238 * configure.in (libtool_VERSION): To 6:0:0.
239 * configure: Regenerated.
240 * config/linker-map.gnu: Clean.
241
242 * src/misc-inst.cc: Remove instantiations.
243
244 * include/bits/stl_alloc.h (__malloc_alloc_template):
245 To __malloc_alloc.
246 (__default_alloc_template): To __pool_alloc.
247 * src/stl-inst.cc: Same.
248 * include/backward/alloc.h: Update.
249 * testsuite/ext/allocators.cc: Update.
250
251 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
252 really try to remove these if possible.
253 * src/locale.cc (std): Same.
254
255 * testsuite/abi_check.cc (check_version): Add.
256
257 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
258 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
259 Mark Mitchell <mark@codesourcery.com>
260
261 PR libstdc++/9269
262 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
263 (basic_filebuf::underflow): Declare.
264 Move definitions.
265
266 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
267
268 * include/bits/locale_facets.h: Move non-facet classes requiring
269 <string> to...
270 * include/bits/locale_classes.h: New.
271 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
272 * include/bits/Makefile.in: Regenerate.
273
274 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
275 * config/locale/gnu/c_locale.h: ...here.
276 * config/locale/generic/c_locale.h: Same.
277
278 * include/bits/locale_facets.tcc: Move declarations to...
279 * include/bits/locale_facets.h: ...here.
280 * include/bits/basic_ios.h: Tweak includes accordingly.
281 * include/std/std_sstream.h: Add streambuf include.
282 * include/std/std_fstream.h: Ditto.
283 * include/std/std_locale.h: Add locale_classes.h include.
284 * include/std/std_iosfwd.h: Tweak.
285 * src/concept-inst.cc: Add iterator include.
286
287 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
288 bits as unexported in the future.
289
290 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
291
292 Reshuffle 22_locale testsuite.
293 * 22_locale/(codecvt.cc money_get.cc
294 codecvt_members_char_char.cc money_get_members_char.cc
295 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
296 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
297 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
298 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
299 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
300 money_put_members_char.cc ctor_copy_dtor.cc
301 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
302 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
303 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
304 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
305 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
306 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
307 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
308 operators.cc ctype_widen_char.cc static_members.cc
309 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
310 global_templates.cc time_get_members_wchar_t.cc, members.cc,
311 time_put.cc, messages_byname.cc, time_put_members_char.cc,
312 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
313 Splint up into individual test cases...
314 * 22_locale/codecvt/1.cc: New.
315 * 22_locale/codecvt/2.cc: New.
316 * 22_locale/codecvt/always_noconv/char/1.cc: New.
317 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
318 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
319 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
320 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
321 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
322 * 22_locale/codecvt/encoding/char/1.cc: New.
323 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
324 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
325 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
326 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
327 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
328 * 22_locale/codecvt/in/char/1.cc: New.
329 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
330 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
331 * 22_locale/codecvt/in/wchar_t/1.cc: New.
332 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
333 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
334 * 22_locale/codecvt/length/char/1.cc: New.
335 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
336 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
337 * 22_locale/codecvt/length/wchar_t/1.cc: New.
338 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
339 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
340 * 22_locale/codecvt/max_length/char/1.cc: New.
341 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
342 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
343 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
344 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
345 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
346 * 22_locale/codecvt/out/char/1.cc: New.
347 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
348 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
349 * 22_locale/codecvt/out/wchar_t/1.cc: New.
350 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
351 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
352 * 22_locale/codecvt/unicode/char.cc: New.
353 * 22_locale/codecvt/unicode/wchar_t.cc: New.
354 * 22_locale/codecvt/unshift/char/1.cc: New.
355 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
356 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
357 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
358 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
359 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
360 * 22_locale/collate/1.cc: New.
361 * 22_locale/collate/2.cc: New.
362 * 22_locale/collate/compare/char/1.cc: New.
363 * 22_locale/collate/compare/char/2.cc: New.
364 * 22_locale/collate/compare/char/wrapped_env.cc: New.
365 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
366 * 22_locale/collate/compare/wchar_t/1.cc: New.
367 * 22_locale/collate/compare/wchar_t/2.cc: New.
368 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
369 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
370 * 22_locale/collate/hash/char/1.cc: New.
371 * 22_locale/collate/hash/char/2.cc: New.
372 * 22_locale/collate/hash/char/wrapped_env.cc: New.
373 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
374 * 22_locale/collate/hash/wchar_t/1.cc: New.
375 * 22_locale/collate/hash/wchar_t/2.cc: New.
376 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
377 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
378 * 22_locale/collate/transform/char/2.cc: New.
379 * 22_locale/collate/transform/char/wrapped_env.cc: New.
380 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
381 * 22_locale/collate/transform/wchar_t/2.cc: New.
382 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
383 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
384 * 22_locale/collate_byname/1.cc: New.
385 * 22_locale/ctype/1.cc: New.
386 * 22_locale/ctype/2.cc: New.
387 * 22_locale/ctype/cons/char/1.cc: New.
388 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
389 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
390 * 22_locale/ctype/is/char/1.cc: New.
391 * 22_locale/ctype/is/char/2.cc: New.
392 * 22_locale/ctype/is/char/3.cc: New.
393 * 22_locale/ctype/is/char/wrapped_env.cc: New.
394 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
395 * 22_locale/ctype/is/wchar_t/1.cc: New.
396 * 22_locale/ctype/is/wchar_t/2.cc: New.
397 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
398 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
399 * 22_locale/ctype/narrow/char/1.cc: New.
400 * 22_locale/ctype/narrow/char/2.cc: New.
401 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
402 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
403 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
404 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
405 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
406 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
407 * 22_locale/ctype/scan/char/1.cc: New.
408 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
409 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
410 * 22_locale/ctype/scan/wchar_t/1.cc: New.
411 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
412 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
413 * 22_locale/ctype/to/char/1.cc: New.
414 * 22_locale/ctype/to/char/wrapped_env.cc: New.
415 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
416 * 22_locale/ctype/to/wchar_t/1.cc: New.
417 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
418 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
419 * 22_locale/ctype/widen/char/1.cc: New.
420 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
421 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
422 * 22_locale/ctype/widen/wchar_t/1.cc: New.
423 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
424 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
425 * 22_locale/facet/1.cc: New.
426 * 22_locale/facet/2.cc: New.
427 * 22_locale/global_templates/1.cc: New.
428 * 22_locale/locale/cons/1.cc: New.
429 * 22_locale/locale/cons/2.cc: New.
430 * 22_locale/locale/cons/3.cc: New.
431 * 22_locale/locale/cons/4.cc: New.
432 * 22_locale/locale/cons/5.cc: New.
433 * 22_locale/locale/cons/6.cc: New.
434 * 22_locale/locale/cons/7.cc: New.
435 * 22_locale/locale/global_locale_objects/1.cc: New.
436 * 22_locale/locale/global_locale_objects/2.cc: New.
437 * 22_locale/locale/global_locale_objects/3.cc: New.
438 * 22_locale/locale/operations/1.cc: New.
439 * 22_locale/locale/operations/2.cc: New.
440 * 22_locale/messages/1.cc: New.
441 * 22_locale/messages/2.cc: New.
442 * 22_locale/messages/members/char/1.cc: New.
443 * 22_locale/messages/members/char/2.cc: New.
444 * 22_locale/messages/members/char/3.cc: New.
445 * 22_locale/messages/members/char/wrapped_env.cc: New.
446 * 22_locale/messages/members/char/wrapped_locale.cc: New.
447 * 22_locale/messages_byname/1.cc: New.
448 * 22_locale/money_get/1.cc: New.
449 * 22_locale/money_get/2.cc: New.
450 * 22_locale/money_get/get/char/1.cc: New.
451 * 22_locale/money_get/get/char/2.cc: New.
452 * 22_locale/money_get/get/char/3.cc: New.
453 * 22_locale/money_get/get/char/4.cc: New.
454 * 22_locale/money_get/get/char/5.cc: New.
455 * 22_locale/money_get/get/char/6.cc: New.
456 * 22_locale/money_get/get/char/7.cc: New.
457 * 22_locale/money_get/get/char/8.cc: New.
458 * 22_locale/money_get/get/char/wrapped_env.cc: New.
459 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
460 * 22_locale/money_get/get/wchar_t/1.cc: New.
461 * 22_locale/money_get/get/wchar_t/2.cc: New.
462 * 22_locale/money_get/get/wchar_t/3.cc: New.
463 * 22_locale/money_get/get/wchar_t/4.cc: New.
464 * 22_locale/money_get/get/wchar_t/5.cc: New.
465 * 22_locale/money_get/get/wchar_t/6.cc: New.
466 * 22_locale/money_get/get/wchar_t/7.cc: New.
467 * 22_locale/money_get/get/wchar_t/8.cc: New.
468 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
469 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
470 * 22_locale/money_put/1.cc: New.
471 * 22_locale/money_put/2.cc: New.
472 * 22_locale/money_put/put/char/1.cc: New.
473 * 22_locale/money_put/put/char/2.cc: New.
474 * 22_locale/money_put/put/char/3.cc: New.
475 * 22_locale/money_put/put/char/4.cc: New.
476 * 22_locale/money_put/put/char/5.cc: New.
477 * 22_locale/money_put/put/char/6.cc: New.
478 * 22_locale/money_put/put/char/wrapped_env.cc: New.
479 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
480 * 22_locale/money_put/put/wchar_t/1.cc: New.
481 * 22_locale/money_put/put/wchar_t/2.cc: New.
482 * 22_locale/money_put/put/wchar_t/3.cc: New.
483 * 22_locale/money_put/put/wchar_t/4.cc: New.
484 * 22_locale/money_put/put/wchar_t/5.cc: New.
485 * 22_locale/money_put/put/wchar_t/6.cc: New.
486 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
487 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
488 * 22_locale/moneypunct/1.cc: New.
489 * 22_locale/moneypunct/2.cc: New.
490 * 22_locale/moneypunct/3.cc: New.
491 * 22_locale/moneypunct/members/char/1.cc: New.
492 * 22_locale/moneypunct/members/char/2.cc: New.
493 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
494 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
495 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
496 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
497 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
498 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
499 * 22_locale/moneypunct_byname/1.cc: New.
500 * 22_locale/num_get/1.cc: New.
501 * 22_locale/num_get/2.cc: New.
502 * 22_locale/num_get/get/char/1.cc: New.
503 * 22_locale/num_get/get/char/2.cc: New.
504 * 22_locale/num_get/get/char/3.cc: New.
505 * 22_locale/num_get/get/char/4.cc: New.
506 * 22_locale/num_get/get/char/5.cc: New.
507 * 22_locale/num_get/get/char/6.cc: New.
508 * 22_locale/num_get/get/char/wrapped_env.cc: New.
509 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
510 * 22_locale/num_get/get/wchar_t/1.cc: New.
511 * 22_locale/num_get/get/wchar_t/2.cc: New.
512 * 22_locale/num_get/get/wchar_t/3.cc: New.
513 * 22_locale/num_get/get/wchar_t/4.cc: New.
514 * 22_locale/num_get/get/wchar_t/5.cc: New.
515 * 22_locale/num_get/get/wchar_t/6.cc: New.
516 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
517 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
518 * 22_locale/num_put/1.cc: New.
519 * 22_locale/num_put/2.cc: New.
520 * 22_locale/num_put/put/char/1.cc: New.
521 * 22_locale/num_put/put/char/2.cc: New.
522 * 22_locale/num_put/put/char/3.cc: New.
523 * 22_locale/num_put/put/char/4.cc: New.
524 * 22_locale/num_put/put/char/5.cc: New.
525 * 22_locale/num_put/put/char/wrapped_env.cc: New.
526 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
527 * 22_locale/num_put/put/wchar_t/1.cc: New.
528 * 22_locale/num_put/put/wchar_t/2.cc: New.
529 * 22_locale/num_put/put/wchar_t/3.cc: New.
530 * 22_locale/num_put/put/wchar_t/4.cc: New.
531 * 22_locale/num_put/put/wchar_t/5.cc: New.
532 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
533 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
534 * 22_locale/numpunct/1.cc: New.
535 * 22_locale/numpunct/2.cc: New.
536 * 22_locale/numpunct/members/char/1.cc: New.
537 * 22_locale/numpunct/members/char/2.cc: New.
538 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
539 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
540 * 22_locale/numpunct/members/wchar_t/1.cc: New.
541 * 22_locale/numpunct/members/wchar_t/2.cc: New.
542 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
543 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
544 * 22_locale/numpunct_byname/1.cc: New.
545 * 22_locale/numpunct_byname/2.cc: New.
546 * 22_locale/time_get/1.cc: New.
547 * 22_locale/time_get/2.cc: New.
548 * 22_locale/time_get/date_order/char/1.cc: New.
549 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
550 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
551 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
552 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
553 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
554 * 22_locale/time_get/get_date/char/1.cc: New.
555 * 22_locale/time_get/get_date/char/2.cc: New.
556 * 22_locale/time_get/get_date/char/3.cc: New.
557 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
558 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
559 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
560 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
561 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
562 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
563 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
564 * 22_locale/time_get/get_monthname/char/1.cc: New.
565 * 22_locale/time_get/get_monthname/char/2.cc: New.
566 * 22_locale/time_get/get_monthname/char/3.cc: New.
567 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
568 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
569 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
570 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
571 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
572 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
573 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
574 * 22_locale/time_get/get_time/char/1.cc: New.
575 * 22_locale/time_get/get_time/char/2.cc: New.
576 * 22_locale/time_get/get_time/char/3.cc: New.
577 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
578 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
579 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
580 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
581 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
582 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
583 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
584 * 22_locale/time_get/get_weekday/char/1.cc: New.
585 * 22_locale/time_get/get_weekday/char/2.cc: New.
586 * 22_locale/time_get/get_weekday/char/3.cc: New.
587 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
588 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
589 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
590 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
591 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
592 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
593 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
594 * 22_locale/time_get/get_year/char/1.cc: New.
595 * 22_locale/time_get/get_year/char/3.cc: New.
596 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
597 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
598 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
599 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
600 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
601 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
602 * 22_locale/time_put/1.cc: New.
603 * 22_locale/time_put/2.cc: New.
604 * 22_locale/time_put/put/char/1.cc: New.
605 * 22_locale/time_put/put/char/10.cc: New.
606 * 22_locale/time_put/put/char/2.cc: New.
607 * 22_locale/time_put/put/char/3.cc: New.
608 * 22_locale/time_put/put/char/4.cc: New.
609 * 22_locale/time_put/put/char/5.cc: New.
610 * 22_locale/time_put/put/char/6.cc: New.
611 * 22_locale/time_put/put/char/7.cc: New.
612 * 22_locale/time_put/put/char/8.cc: New.
613 * 22_locale/time_put/put/char/9.cc: New.
614 * 22_locale/time_put/put/char/wrapped_env.cc: New.
615 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
616 * 22_locale/time_put/put/wchar_t/1.cc: New.
617 * 22_locale/time_put/put/wchar_t/10.cc: New.
618 * 22_locale/time_put/put/wchar_t/2.cc: New.
619 * 22_locale/time_put/put/wchar_t/3.cc: New.
620 * 22_locale/time_put/put/wchar_t/4.cc: New.
621 * 22_locale/time_put/put/wchar_t/5.cc: New.
622 * 22_locale/time_put/put/wchar_t/6.cc: New.
623 * 22_locale/time_put/put/wchar_t/7.cc: New.
624 * 22_locale/time_put/put/wchar_t/8.cc: New.
625 * 22_locale/time_put/put/wchar_t/9.cc: New.
626 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
627 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
628
629 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
630
631 * config/locale/generic/messages_members.h
632 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
633 unqualified members of base clasess.
634
635 2003-01-16 Mark Mitchell <mark@codesourcery.com>
636 Jeffrey Oldham <oldham@codesourcery.com>
637
638 * config/locale/gnu/messages_members.h: Use this-> to refer to
639 unqualified members of base clasess.
640 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
641 * include/bits/codecvt.h: Likewise.
642 * include/bits/deque.tcc: Likewise.
643 * include/bits/fstream.tcc: Likewise.
644 * include/bits/istream.tcc: Likewise.
645 * include/bits/list.tcc: Likewise.
646 * include/bits/locale_facets.h: Likewise.
647 * include/bits/ostream.tcc: Likewise.
648 * include/bits/sstream.tcc: Likewise.
649 * include/bits/stl_bvector.h: Likewise.
650 * include/bits/stl_deque.h: Likewise.
651 * include/bits/stl_list.h: Likewise.
652 * include/bits/stl_tree.h: Likewise.
653 * include/bits/stl_vector.h: Likewise.
654 * include/bits/vector.tcc: Likewise.
655 * include/ext/ropeimpl.h: Likewise.
656 * include/ext/stdio_filebuf.h: Likewise.
657 * include/ext/stl_rope.h: Likewise.
658 * include/std/std_fstream.h: Likewise.
659 * include/std/std_sstream.h: Likewise.
660
661 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
662
663 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
664
665 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
666
667 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
668 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
669 * aclocal.m4: Regenerate.
670 * configure: Regenerate.
671 * testsuite/Makefile.am (all-local): Add conditional rule to
672 generate testsuite_wchar_t.
673 * testsuite/Makefile.in: Regenerate.
674 * testsuite/lib/libstdc++-v3-dg.exp
675 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
676 testsuite_wchar_t is not present in the build directory.
677 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
678 Remove setulimit bits.
679 * testsuite/26_numerics/complex_value.cc: Set to noopts.
680 * testsuite/Makefile.am (CLEANFILES): Add.
681 * testsuite/Makefile.in: Regenerate.
682
683 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
684
685 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
686 __hppa__.
687
688 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
689
690 Further conform g++'s __vmi_class_type_info to the C++ ABI
691 specification.
692 * libsupc++/cxxabi.h
693 (__vmi_class_type_info::__flags_masks): Remove enumerations not
694 required by the specification.
695
696 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
697
698 Renames, namespaces for testsuite utilities.
699 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
700 (gnu_allocator_tracker): Rename to allocation_tracker.
701 (gnu_new_allocator): Rename to tracker_alloc.
702 (__set_testsuite_memlimit): Rename to set_memory_limits.
703 (gnu_assignment_operator): Rename to assignment_operator.
704 (gnu_destructor): Rename to destructor.
705 (gnu_copy_tracker): Rename to copy_tracker.
706 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
707 (run_tests_wrapped_locale): New.
708 (run_tests_wrapped_env): New.
709 * testsuite/testsuite_hooks.cc: Same.
710 (class locale_data): Add.
711 (class enviornment_variable): Add.
712 (class not_found): Add.
713 * testsuite/testsuite_allocator.h: Same.
714 * testsuite/testsuite_allocator.cc: Same.
715 * testsuite/23_containers/deque_ctor.cc
716 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
717 allocation_tracker.
718 Change gnu_new_allocator to tracker_alloc.
719 Change gnu_counting_struct to counter.
720 Change gnu_copy_tracker to copy_tracker.
721 Change gnu_copy_constructor to copy_constructor.
722 Change gnu_assignment_operator to assignment_operator.
723 Inject.
724 * testsuite/23_containers/vector_capacity.cc: Same.
725 * testsuite/23_containers/vector_ctor.cc (test01): Same.
726 * testsuite/23_containers/list_modifiers.cc: Change
727 gnu_copy_tracker to copy_tracker.
728 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
729 __set_testsuite_memlimit to set_memory_limits.
730 * testsuite/21_strings/insert.cc (main): Same.
731 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
732 * testsuite/27_io/stringstream.cc: Same.
733 * testsuite/27_io/stringbuf.cc: Same.
734 * testsuite/27_io/streambuf.cc: Same.
735 * testsuite/27_io/ostream.cc: Same.
736 * testsuite/27_io/istream.cc: Same.
737 * testsuite/27_io/fstream.cc: Same.
738 * testsuite/lib/libstdc++-v3-dg.exp
739 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
740 three levels deeper in glob patterns.
741
742 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
743
744 * docs/doxygen/tables.html: Finished now.
745 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
746 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
747 comments.
748
749 * include/bits/deque.tcc, include/bits/stl_alloc.h,
750 include/bits/stl_deque.h, include/bits/stl_list.h,
751 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
752 for 3.4 removal.
753
754 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
755
756 * configure.in: Revert.
757 * configure: Regenerate.
758
759 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
760
761 * include/Makefile.am (install-data-local): Prepend
762 $(DESTDIR) to destination paths in all (un)installation
763 commands. Use ${c_base_builddir} and ${std_builddir}
764 as destination subdirectories to achieve consistency with
765 preceding mkinstalldirs commands. No effect because both
766 variables contain "." only.
767 * include/Makefile.in: Regenerate.
768
769 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
770
771 * include/Makefile.am (stamp-*): Add checks for existing stamps.
772 * include/Makefile.in: Regenerate.
773
774 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
775 * aclocal.m4: Regenerate.
776
777 * configure.in: Don't add new multi-do rules every time the
778 directory is reconfigured.
779 * configure: Regenerate.
780
781 2003-01-08 Brad Spencer <spencer@infointeractive.com>
782 Nathan Myers <ncm@cantrip.org>
783
784 * src/Makefile.am (stamp-debug): Clean.
785 * src/Makefile.in: Regenerate.
786
787 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
788
789 PR libstdc++/8707
790 * Makefile.am (distclean-multi): Fix.
791 * Makefile.in: Regenerate.
792
793 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
794
795 * include/bits/locale_facets.h (messages): Move ctor, dtor
796 definitions to..
797 (__timepunct): Same.
798 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
799 definitions. Conditionalize for GNU systems.
800 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
801 definitions.
802 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
803 definitions. Conditionalize for GNU systems.
804 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
805 definitions.
806 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
807 * src/locale.cc: Define.
808 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
809 Use it.
810 * config/locale/gnu/time_members.h: Use it.
811 * config/locale/gnu/messages_members.h: Use it.
812 * config/linker-map.gnu: Add locale::facets details.
813 * include/Makefile.am (target_headers_extra): Add time_members.h.
814 * include/Makefile.in: Regenerate.
815 * acinclude.m4: Export CTIME_H.
816 * aclocal.m4: Regenerate.
817 * configure: Regnerate.
818
819 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
820
821 * src/codecvt.cc
822 (codecvt<char, char, mbstate_t>::do_in, do_out):
823 Tweak parameters to avoid unused parameter warnings.
824
825 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
826
827 PR libstdc++/9151
828 * include/bits/locale_facets.cc (num_put::_M_convert_float):
829 Limit __prec to digits10 + 2, not digits10 + 1, taking into
830 account the possibility of %{g,G} conversion specifiers
831 inside _S_format_float.
832 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
833
834 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
835
836 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
837 libstdc++-v3-list-sourcefiles): Additionally handle files one
838 level deeper in glob patterns.
839
840 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
841 * testsuite/27_io/istream_extractor_arith/01.cc,
842 testsuite/27_io/istream_extractor_arith/02.cc,
843 testsuite/27_io/istream_extractor_arith/03.cc,
844 testsuite/27_io/istream_extractor_arith/06.cc,
845 testsuite/27_io/istream_extractor_arith/07.cc,
846 testsuite/27_io/istream_extractor_arith/08.cc,
847 testsuite/27_io/istream_extractor_arith/09.cc,
848 testsuite/27_io/istream_extractor_arith/10.cc,
849 testsuite/27_io/istream_extractor_arith/11.cc,
850 testsuite/27_io/istream_extractor_arith/12.cc,
851 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
852 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
853 sparc*-*-solaris2*.
854
855 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
856
857 PR libstdc++/9168
858 * src/codecvt.cc
859 (codecvt<char, char, mbstate_t>::do_in, do_out):
860 Implement the resolution of DR19 (TC).
861 * testsuite/22_locale/codecvt_members_char_char.cc
862 (test01): Tweak.
863
864 2003-01-02 Jason Merrill <jason@redhat.com>
865
866 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
867 *__mem is also an output.
868 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.