1 2011-04-20 Jim Meyering <meyering@redhat.com>
3 * libsupc++/del_opnt.cc (operator delete): Remove useless
6 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
9 * include/std/type_traits (result_of): Handle pointer to member.
10 * include/std/functional (__invoke): Likewise.
11 (_Function_to_function_pointer): Remove.
12 (_Reference_wrapper_base): Provide nested types independent of
13 unary_function and binary_function.
14 (reference_wrapper::operator()): DR 2017.
15 (ref(const A&&), cref(const A&&): Define as deleted.
16 * include/std/future (async): Simplify SFINAE and use result_of to
17 support pointer to member.
18 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
20 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
21 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
22 instead of derivation from unary_function and binary_function.
23 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
24 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
25 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
26 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
28 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
31 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
32 this part if SAMPLES < 100000.
34 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
36 * include/std/type_traits (is_nothrow_default_constructible,
37 is_nothrow_copy_constructible, is_nothrow_move_constructible,
38 is_copy_constructible, is_move_constructible): Add.
39 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
41 (is_nothrow_constructible): Adjust.
43 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
44 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
45 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
46 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
48 * testsuite/20_util/has_nothrow_default_constructor: Remove.
49 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
51 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
52 * testsuite/20_util/is_nothrow_move_constructible/requirements/
53 typedefs.cc: Likewise.
54 * testsuite/20_util/is_nothrow_move_constructible/requirements/
55 explicit_instantiation.cc: Likewise.
56 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
57 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
58 typedefs.cc: Likewise.
59 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
60 explicit_instantiation.cc: Likewise.
61 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
63 * testsuite/20_util/is_nothrow_default_constructible/requirements/
64 typedefs.cc: Likewise.
65 * testsuite/20_util/is_nothrow_default_constructible/requirements/
66 explicit_instantiation.cc: Likewise.
67 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
68 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
70 * testsuite/20_util/is_move_constructible/requirements/
71 explicit_instantiation.cc: Likewise.
72 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
73 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
75 * testsuite/20_util/is_copy_constructible/requirements/
76 explicit_instantiation.cc: Likewise.
78 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
79 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
81 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
82 Adjust dg-error line numbers.
83 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
85 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
87 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
89 * testsuite/25_algorithms/partition/moveable.cc: Actually run
90 it in parallel-mode for check-parallel.
92 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
93 Paolo Carlini <paolo.carlini@oracle.com>
95 PR libstdc++/48635 (again)
96 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
97 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
98 unique_ptr<>::operator=(unique_ptr<>&&),
99 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
100 forward<_Dp>, to forward the deleter.
101 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
103 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
104 Paolo Carlini <paolo.carlini@oracle.com>
107 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
108 function call operator.
109 * testsuite/20_util/default_delete/48631_neg.cc: New.
110 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
113 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
114 Paolo Carlini <paolo.carlini@oracle.com>
117 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
118 unique_ptr<>::operator=(unique_ptr<>&&),
119 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
120 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
121 instead of moving it.
122 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
124 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
126 * scripts/extract_symvers.pl: Handle NOTY.
128 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
130 * include/std/istream: Fix comments in the light of DR60 + N3168.
132 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
133 Paolo Carlini <paolo.carlini@oracle.com>
136 * include/std/type_traits (struct is_constructible): Re-implement,
138 (struct is_default_constructible): Add.
139 (struct is_destructible): Likewise.
140 (struct __and_, __or_, __not_): Add and use throughout; reorder some
141 facilities, other minor tweaks.
142 * testsuite/util/testsuite_tr1.h: Add test types.
143 * testsuite/20_util/is_constructible/value-2.cc: New.
144 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
145 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
147 * testsuite/20_util/is_default_constructible/requirements/
148 explicit_instantiation.cc: Likewise.
149 * testsuite/20_util/is_destructible/value.cc: Likewise.
150 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
152 * testsuite/20_util/is_destructible/requirements/
153 explicit_instantiation.cc: Likewise.
154 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
155 dg-error line numbers.
156 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
158 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
159 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
161 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
163 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
165 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
166 * testsuite/20_util/is_function/requirements/
167 explicit_instantiation.cc: Likewise.
168 * testsuite/20_util/is_function/24808.cc: Likewise.
169 * testsuite/20_util/is_function/35637.cc: Likewise.
170 * testsuite/20_util/is_object/value.cc: Likewise.
171 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
172 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
174 * testsuite/20_util/is_object/24808.cc: Likewise.
175 * testsuite/20_util/is_compound/value.cc: Likewise.
176 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
177 * testsuite/20_util/is_compound/requirements/
178 explicit_instantiation.cc: Likewise.
179 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
180 * testsuite/20_util/is_member_object_pointer/requirements/
181 typedefs.cc: Likewise.
182 * testsuite/20_util/is_member_object_pointer/requirements/
183 explicit_instantiation.cc: Likewise.
184 * testsuite/20_util/is_fundamental/value.cc: Likewise.
185 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
186 * testsuite/20_util/is_fundamental/requirements/
187 explicit_instantiation.cc: Likewise.
188 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
189 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
191 * testsuite/20_util/is_member_pointer/requirements/
192 explicit_instantiation.cc: Likewise.
193 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
194 * testsuite/20_util/is_member_function_pointer/
195 requirements/typedefs.cc: Likewise.
196 * testsuite/20_util/is_member_function_pointer/requirements/
197 explicit_instantiation.cc: Likewise.
199 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
202 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
205 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
206 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
207 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
208 * testsuite/20_util/tuple/cons/48476.cc: New.
209 * testsuite/20_util/tuple/48476.cc: Likewise.
210 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
212 2011-04-12 Allan McRae <allan@archlinux.org>
215 * testsuite/tr1/6_containers/unordered_map/requirements/
216 iterator_null_neg.cc: Include <cstddef>.
217 * testsuite/tr1/6_containers/unordered_set/requirements/
218 iterator_null_neg.cc: Likewise.
219 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
221 * testsuite/util/testsuite_common_types.h: Include <limits>.
222 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
223 Adjust dg-error line numbers.
224 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
225 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
227 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
229 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
231 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
232 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
234 2011-04-11 Jason Merrill <jason@redhat.com>
236 * testsuite/20_util/is_convertible/value.cc: Adjust.
238 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
240 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
241 it in parallel-mode for check-parallel.
242 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
243 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
244 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
245 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
247 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
248 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
249 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
251 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
252 the tests based on std::lexicographical_compare for check-parallel.
253 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
255 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
258 * include/std/functional (_Base_manager::_M_get_pointer): Use
260 * testsuite/20_util/function/48541.cc: New.
262 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
265 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
266 * configure: Regenerate.
267 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
268 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
270 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
272 * include/ext/algorithm (is_sorted): In C++0x mode import from
274 * include/ext/numeric (iota): In C++0x mode import from
276 * testsuite/ext/is_sorted/cxx0x.cc: New.
277 * testsuite/ext/iota/cxx0x.cc: New.
279 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
282 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
283 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
284 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
285 unused parameter name.
287 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
289 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
290 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
291 redundant default argument from std::__throw_with_nested.
293 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
296 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
297 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
298 * src/Makefile.in: Regenerate.
299 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
300 * include/Makefile.in: Regenerate.
301 * doc/xml/manual/internals.xml: Update.
302 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
303 * config/os/newlib/ctype_configure_char.cc: ... this.
304 * config/os/aix/ctype_noninline.h: Likewise.
305 * config/os/aix/ctype_configure_char.cc: Likewise.
306 * config/os/vxworks/ctype_noninline.h: Likewise.
307 * config/os/vxworks/ctype_configure_char.cc
308 * config/os/hpux/ctype_noninline.h: Likewise.
309 * config/os/hpux/ctype_configure_char.cc: Likewise.
310 * config/os/gnu-linux/ctype_noninline.h: Likewise.
311 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
312 * config/os/mingw32/ctype_noninline.h: Likewise.
313 * config/os/mingw32/ctype_configure_char.cc: Likewise.
314 * config/os/tpf/ctype_noninline.h: Likewise.
315 * config/os/tpf/ctype_configure_char.cc: Likewise.
316 * config/os/uclibc/ctype_noninline.h: Likewise.
317 * config/os/uclibc/ctype_configure_char.cc: Likewise.
318 * config/os/bionic/ctype_noninline.h: Likewise.
319 * config/os/bionic/ctype_configure_char.cc: Likewise.
320 * config/os/djgpp/ctype_noninline.h: Likewise.
321 * config/os/djgpp/ctype_configure_char.cc: Likewise.
322 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
323 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
324 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
325 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
326 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
327 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
328 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
329 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
330 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
331 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
332 * config/os/generic/ctype_noninline.h: Likewise.
333 * config/os/generic/ctype_configure_char.cc: Likewise.
334 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
335 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
337 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
339 * include/std/future (future::share): Add.
340 (packaged_task::result_type): Remove as per LWG 2030.
341 (packaged_task::packaged_task): Remove redundant constructors, as per
343 * testsuite/30_threads/future/members/share.cc: New.
344 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
346 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
348 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
349 members which require a fully established result state.
350 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
352 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
354 * include/bits/random.h (negative_binomial_distribution<>::
355 negative_binomial_distribution(_IntType, double),
356 negative_binomial_distribution<>::
357 negative_binomial_distribution(const param_type&)): Tweak
358 construction of _M_gd.
359 * include/bits/random.tcc (negative_binomial_distribution<>::
362 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
364 * include/bits/random.h (negative_binomial_distribution<>::
365 negative_binomial_distribution(_IntType, double),
366 negative_binomial_distribution<>::
367 negative_binomial_distribution(const param_type&)): Fix
368 construction of _M_gd.
369 * include/bits/random.tcc (negative_binomial_distribution<>::
370 operator()): Fix computation, per Leger's algorithm.
371 * testsuite/util/testsuite_random.h (discrete_pdf,
372 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
373 (binomial_pdf): Swap last two parameters.
374 * testsuite/26_numerics/random/discrete_distribution/
375 operators/values.cc: New.
376 * testsuite/26_numerics/random/negative_binomial_distribution/
377 operators/values.cc: Likewise.
378 * testsuite/26_numerics/random/poisson_distribution/
379 operators/values.cc: Likewise.
380 * testsuite/26_numerics/random/uniform_int_distribution/
381 operators/values.cc: Likewise.
382 * testsuite/26_numerics/random/binomial_distribution/
383 operators/values.cc: Adjust.
385 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
387 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
388 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
389 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
390 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
391 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
393 2011-03-23 Matthias Klose <doko@ubuntu.com>
395 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
397 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
399 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
401 2011-03-22 Joseph Myers <joseph@codesourcery.com>
403 * configure.ac: Don't handle powerpc*-*-gnu*.
404 * configure: Regenerate.
406 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
408 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
410 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
413 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
415 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
417 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
418 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
419 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
420 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
421 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
422 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
423 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
425 2011-03-22 Jakub Jelinek <jakub@redhat.com>
427 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
428 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
429 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
430 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
431 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
432 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
433 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
434 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
435 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
436 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
438 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
439 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
440 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
441 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
442 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
443 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
444 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
445 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
448 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
450 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
451 create compact unwind for" warnings.
453 2011-03-21 Jakub Jelinek <jakub@redhat.com>
455 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
456 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
457 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
459 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
460 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
461 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
462 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
463 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
464 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
465 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
466 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
467 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
469 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
470 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
471 CXXABI_LDBL_1.3 versions.
473 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
475 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
477 2011-03-21 Jakub Jelinek <jakub@redhat.com>
479 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
480 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
482 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
484 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
485 sparc*-sun-solaris2.10 && lp64.
487 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
489 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
490 to check_v3_target_cmath.
491 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
493 * testsuite/26_numerics/random/binomial_distribution/
494 operators/values.cc: Adjust.
496 2011-03-18 Diego Novillo <dnovillo@google.com>
498 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
500 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
501 mixed-mode-arith_neg.cc
503 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
505 * testsuite/util/testsuite_random.h: New.
506 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
507 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
508 * testsuite/26_numerics/random/bernoulli_distribution/
509 operators/values.cc: New.
510 * testsuite/26_numerics/random/binomial_distribution/
511 operators/values.cc: Likewise.
512 * testsuite/26_numerics/random/geometric_distribution/
513 operators/values.cc: Likewise.
515 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
517 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
518 * testsuite/19_diagnostics/stdexcept.cc: New.
520 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
522 * include/std/thread: Revert.
523 * src/thread.cc: Same.
524 * config/abi/pre/gnu.ver: Same.
526 2011-03-15 Doug Kwan <dougkwan@google.com>
529 * include/Makefile.am (install-freestanding-headers): Install
531 * include/Makefile.in: Regenerate.
533 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
535 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
536 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
538 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
541 * src/future.cc: Guard definitions.
542 * libsupc++/nested_exception.cc: Same.
544 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
546 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
547 * src/Makefile.in: Regenerate.
548 * libsupc++/Makefile.am: Add nested_exception.cc.
549 * libsupc++/Makefile.in: Regenerate.
550 * src/system_error.cc: Add ctor and dtor definitions for error_category.
551 * src/functional.cc: New. Add dtor definition for bad_function_call.
552 * src/stdexcept.cc: Add dtor definitions for domain_error,
553 invalid_argument, length_error, out_of_range, range_error,
554 overflow_error, underflow_error.
555 * src/future.cc: Add dtor definition for __future_base::_Result_base.
556 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
557 * src/thread.cc: Add dtor for thread::_Impl_base.
558 * include/std/system_error: Adjust.
559 * include/std/stdexcept: Same.
560 * include/std/future: Same.
561 * include/std/functional: Same.
562 * include/std/thread: Same.
563 * include/bits/shared_ptr_base.h: Same.
564 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
565 * libsupc++/nested_exception.h: Adjust.
566 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
567 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
568 * config/abi/pre/gnu.ver: Add new exports.
570 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
572 * include/bits/regex_compiler.h: Nest namespace versioning.
573 * include/bits/regex_grep_matcher.tcc: Same.
574 * include/bits/regex_grep_matcher.h: Same.
575 * include/bits/regex_cursor.h: Same.
576 * include/bits/regex_nfa.h: Same.
577 * include/bits/regex_nfa.tcc: Same.
579 * include/bits/regex_grep_matcher.h: Version forward declarations.
580 * include/bits/c++config: Add namespace association for __regex.
581 * include/bits/regex.h: Make sub_match consistent.
583 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
585 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
587 * doc/html/manual/abi.html: Regenerate.
589 2011-03-14 Tom Tromey <tromey@redhat.com>
591 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
592 Try to import `gdb.printing' module.
593 (UniquePointerPrinter.__init__): Add 'typename' argument.
594 (StdSlistPrinter.__init__): Likewise.
595 (StdSlistIteratorPrinter.__init__): Likewise.
596 (StdVectorIteratorPrinter.__init__): Likewise.
597 (StdRbtreeIteratorPrinter.__init__): Likewise.
598 (StdDebugIteratorPrinter.__init__): Likewise.
599 (StdDequeIteratorPrinter.__init__): Likewise.
600 (StdStringPrinter.__init__): Likewise.
601 (RxPrinter, Printer): New class.
602 (libstdcxx_printer): New global.
603 (register_libstdcxx_printers): Rewrite.
604 (build_libstdcxx_dictionary): Rewrite.
605 (pretty_printers_dict): Remove.
607 2011-03-14 Andrey Zholos <aaz@althenia.net>
610 * include/bits/random.h (geometric_distribution): Correct formula
611 in comment, per C++0x.
612 (geometric_distribution<>::param_type::param_type(double)): Fix check.
613 (geometric_distribution<>::param_type::_M_initialize):
615 * include/bits/random.tcc (geometric_distribution<>::operator()):
617 (binomial_distribution<>::operator()): Likewise.
619 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
621 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
623 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
624 Chris Jefferson <chris@bubblescope.net>
625 Paolo Carlini <paolo.carlini@oracle.com>
627 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
629 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
631 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
633 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
635 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
637 2011-03-09 Chris Jefferson <chris@bubblescope.net>
640 * include/bits/stl_algo.h (__merge_backward): Rename to
641 __move_merge_backward and change to always move rather than copy.
642 (__move_merge): New function similar to std::merge except values
643 are moved instead of copied.
644 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
645 and __merge_backward to __move_merge and __move_merge_backward.
647 2011-03-07 Jason Merrill <jason@redhat.com>
649 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
652 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
653 Matthias Klose <doko@ubuntu.com>
654 Jonathan Wakely <redi@gcc.gnu.org>
657 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
658 * configure.ac: Use it.
659 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
660 * configure: Regenerate.
661 * doc/Makefile.in: Regenerate.
663 2011-03-04 Benjamin Kosnik <bkoz@chula>
665 * src/Makefile.am (inst_sources): Make source instantion files
667 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
668 * src/Makefile.in: Regenerate.
669 * src/valarray-inst.cc: Move to..
670 * src/valarray.cc: ...this.
671 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
672 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
673 * configure: Regenerate.
674 * include/Makefile.am (stamp-extern-template): Add.
675 * include/Makefile.in: Regenerate.
677 * doc/xml/manual/configure.xml: Document --enable-extern-template.
679 * include/bits/locale_classes.tcc: Adjust comment.
680 * include/bits/locale_facets.tcc: Same.
681 * include/bits/basic_ios.tcc: Same.
682 * include/bits/istream.tcc: Same.
683 * include/bits/codecvt.h: Same.
684 * include/bits/ostream.tcc: Same.
685 * include/bits/sstream.tcc: Same.
686 * include/bits/c++config: Same.
687 * include/bits/basic_string.tcc: Same.
688 * include/bits/ostream_insert.h: Same.
689 * include/bits/locale_facets_nonio.tcc: Same.
690 * include/bits/streambuf.tcc: Same.
691 * include/bits/allocator.h: Same.
692 * include/bits/fstream.tcc: Same.
694 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
696 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
698 * testsuite/Makefile.am: Make clean fixups.
699 * testsuite/Makefile.in: Regenerate.
701 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
703 * include/std/ratio (ratio_less): Add comments.
705 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
708 * include/std/ratio (ratio_add): Avoid denominator overflow.
709 * testsuite/20_util/ratio/operations/47913.cc: New.
711 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
713 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
714 * testsuite/20_util/hash/quality.cc: Same.
716 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
719 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
721 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
722 xputn): Use the latter.
723 * include/bits/streambuf_iterator.h: Likewise.
724 * src/strstream.cc: Likewise.
725 * src/streambuf.cc: Likewise.
726 * src/compatibility.cc: Likewise.
727 * src/istream.cc: Likewise.
728 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
730 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
731 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
732 seekpos, _M_sync): Use setg, setp, and _M_pbump.
733 * config/abi/pre/gnu.ver: Tweak.
735 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
737 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
739 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
742 * include/std/ratio (ratio_less): Reimplement to never overflow.
743 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
745 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
747 * testsuite/18_support/type_info/fundamental.cc: New.
749 * testsuite/Makefile.am: Make clean fixups.
750 * testsuite/Makefile.in: Regenerate.
752 2011-02-19 François Dumont <francois.cppdevs@free.fr>
754 * include/debug/string (basic_string::insert): Add iterator check and
755 pass normal iterator to normal insert.
756 * include/debug/macros.h (__glibcxx_check_heap,
757 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
760 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
763 * testsuite/ext/vstring/hash/char/1.cc: Fix.
764 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
766 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
768 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
769 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
770 (basic_regex::operator=(basic_regex&&)): Likewise.
771 (basic_regex::assign(basic_regex&&)): Likewise.
772 (operator==(sub_match,...)): Implement DR 1181.
773 (match_results::match_results(match_results&&)): Define.
774 (match_results::operator=(const match_results&)): Fix parameter type.
775 (match_results::operator=(match_results&&)): Define.
777 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
780 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
781 line anchors as metacharacters.
782 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
784 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
787 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
788 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
789 hash<__gnu_cxx::__u32vstring>): Add.
790 * testsuite/ext/vstring/hash/char/1.cc: New.
791 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
793 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
795 * include/bits/regex.h (match_results::format): Use char_traits.
797 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
799 * include/std/atomic: Remove atomic_address, uplift to N3225.
800 * include/bits/atomic_0.h: Same.
801 * include/bits/atomic_2.h: Same.
802 * include/bits/atomic_base.h: Same.
803 * testsuite/29_atomics/atomic_address/*: Delete.
805 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
807 * include/bits/regex.h (sub_match::sub_match): Add.
808 (match_results::ready): Add.
809 (match_results::empty): Adjust.
810 (match_results::length): Add missing dereference.
811 (match_results::operator[],prefix,suffix): Add debug mode checks.
812 (match_results::cend): Re-use end().
813 (match_results::format): Adjust signatures.
814 (operator==(match_results,match_results)): Implement.
815 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
816 * include/bits/regex_constants.h (syntax_option_type): Likewise.
817 * include/bits/regex_grep_matcher.h: Fix comment typo.
818 (_SpecializedResults::_SpecializedResults): Simplify.
819 * include/bits/regex_cursor.h: Fix comment typo.
820 * include/bits/regex_nfa.h: Likewise.
821 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
822 Fix error code, remove xfail.
823 * testsuite/28_regex/basic_regex/ctors/extended/
824 string_range_01_02_03.cc: Likewise.
826 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
828 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
829 * include/bits/regex_nfa.h: Remove unnecessary base classes.
831 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
833 * configure: Regenerate.
835 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
838 * include/ext/algorithm (is_heap): In C++0x mode import from
840 * testsuite/ext/is_heap/47709.cc: New.
842 2011-02-12 Jakub Jelinek <jakub@redhat.com>
843 Jonathan Wakely <jwakely.gcc@gmail.com>
846 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
847 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
849 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
851 * include/tr1/cmath (fabs): Define.
852 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
855 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
857 * testsuite/tr1/headers/c++200x/complex.cc: New.
859 2011-02-11 Johannes Singler <singler@kit.edu>
862 * include/parallel/losertree.h
863 (_LoserTreeUnguarded<>::__delete_min_insert):
864 Add missing "using std::swap;", as for other variants.
866 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
868 * src/Makefile.am (sources): Add regex.cc.
869 * src/Makefile.in: Regenerate.
871 * include/bits/regex_error.h (error_type): Use constexpr.
872 (regex_error): Move ctor and dtor out of line.
874 * testsuite/28_regex/03_requirements: To...
875 * testsuite/28_regex/requirements: ... this.
876 * testsuite/28_regex/04_header: To...
877 * testsuite/28_regex/headers: ... this.
878 * testsuite/28_regex/05_constants: To...
879 * testsuite/28_regex/constants: ... this.
880 * testsuite/28_regex/06_exception_type: To...
881 * testsuite/28_regex/regex_error: ... this.
882 * testsuite/28_regex/07_traits: To...
883 * testsuite/28_regex/traits: ... this.
884 * testsuite/28_regex/08_basic_regex: To...
885 * testsuite/28_regex/basic_regex: ... this.
886 * testsuite/28_regex/09_sub_match: To...
887 * testsuite/28_regex/sub_match: ... this.
888 * testsuite/28_regex/10_match_results: To...
889 * testsuite/28_regex/match_results: ... this.
890 * testsuite/28_regex/11_algorithms: To...
891 * testsuite/28_regex/algorithms: ... this.
892 * testsuite/28_regex/12_iterators: To...
893 * testsuite/28_regex/iterators: ... this.
895 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
898 * include/bits/c++config: Do not use alternative token.
899 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
901 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
903 * src/future.cc (future_error_category::message): Handle no_state.
905 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
907 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
908 not test in C++0x mode.
909 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
910 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
913 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
915 * doc/xml/manual/status_cxx200x.xml: Update.
916 * doc/html/*: Regenerate.
918 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
920 * doc/xml/manual/debug.xml: Improve data race docs.
922 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
925 * include/debug/map.h (map): Remove unnecessary using-declaration.
926 * include/debug/multimap.h (multimap): Likewise.
927 * include/profile/map.h (map): Likewise.
928 * include/profile/multimap.h (multimap): Likewise.
930 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
933 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
935 * libsupc++/guard_error.cc: ... new file.
936 * libsupc++/Makefile.am: Update.
937 * libsupc++/Makefile.in: Regenerate.
939 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
941 * include/std/future (packaged_task::operator bool): Rename to...
942 (packaged_task::valid): ...this.
943 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
944 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
945 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
946 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
947 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
948 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
949 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
950 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
951 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
952 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
953 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
955 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
957 * doc/xml/manual/io.xml: Fix typo.
958 * doc/html/manual/streambufs.html: Likewise.
960 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
962 * config/abi/pre/gnu.ver: Fix.
964 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
966 * doc/xml/manual/appendix_porting.xml: Add doc section.
967 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
968 * doc/xml/manual/documentation_hacking.xml: ...here.
970 * doc/xml/manual/debug_mode.xml: Adjust.
971 * doc/xml/manual/prerequisites.xml: Adjust.
972 * doc/Makefile.am (xml_sources): Add dot files,
973 documentation_hacking.xml.
974 * doc/Makefile.in: Regenerate.
976 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
977 * doc/xml/images/confdeps.pdf: Add.
979 * doc/html/*: Regenerate.
981 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
983 * doc/xml/gnu/fdl-1.2.xml: Remove.
984 * doc/xml/gnu/gpl-2.0.xml: Remove.
985 * doc/Makefile.am: Update.
986 * doc/Makefile.in: Regenerate.
988 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
991 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
992 iterator)): Add back in C++03 mode.
993 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
994 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
996 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
998 PR libstdc++/47560 try two
999 * config/os/hpux/os_defines.h: Guard for C++.
1001 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
1003 * doc/xml/faq.xml: Adjust link to bug database.
1004 Remove old item on broken header files.
1006 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
1008 * include/bits/regex_error.h (__throw_regex_error): Not inline.
1009 * src/functexcept.cc: Add definition.
1010 * config/abi/pre/gnu.ver: Export.
1012 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
1014 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
1015 * configure: Regenerate.
1017 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
1020 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
1021 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
1022 avoid name conflicts.
1024 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1027 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
1029 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1031 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
1032 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
1033 (COMPACT_LATEX): Enable.
1035 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
1036 * include/profile/impl/profiler_hash_func.h: Same.
1037 * include/bits/hashtable.h: Same.
1038 * include/backward/auto_ptr.h: Same.
1039 * include/backward/strstream: Same.
1040 * include/backward/backward_warning.h: Same.
1041 * include/backward/binders.h: Same.
1043 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
1045 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
1046 Adjust link to GDB manual.
1048 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
1050 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
1051 _GLIBCXX_USE_DEPRECATED.
1052 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
1053 * doc/xml/manual/using.xml: Same.
1054 * include/std/memory: Same.
1055 * include/std/streambuf: Same.
1056 * include/bits/shared_ptr.h: Same.
1057 * include/bits/unique_ptr.h: Same.
1058 * include/bits/shared_ptr_base.h: Same.
1059 * include/bits/stl_function.h: Same.
1060 * include/tr1/shared_ptr.h: Same.
1061 * include/backward/auto_ptr.h: Same.
1062 * include/backward/binders.h: Same.
1064 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
1066 * doc/html/ext/lwg-active.html: Update to Revision D73.
1067 * doc/html/ext/lwg-closed.html: Likewise.
1068 * doc/html/ext/lwg-defects.html: Likewise.
1069 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
1071 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
1073 PR libstdc++/36104 part four
1074 * include/bits/c++config (_GLIBCXX_STD): Remove.
1075 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
1076 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
1077 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
1078 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
1079 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
1080 _GLIBCXX_INLINE_PROFILE): Remove.
1081 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
1082 (_GLIBCXX_END_NAMESPACE): Remove.
1083 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
1084 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
1085 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
1086 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
1087 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
1088 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
1089 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
1090 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
1091 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
1092 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
1093 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
1094 * include/*: Use new macros for namespace scope.
1098 * src/Makefile.am (sources): Remove debug_list.cc, add
1099 compatibility-debug_list-2.cc.
1100 (parallel_sources): Remove parallel_list.cc, add
1101 compatibility-parallel_list-2.cc.
1102 (compatibility-parallel_list-2.[o,lo]): New rule.
1103 * src/Makefile.in: Regenerate.
1104 * src/debug_list.cc: Remove.
1105 * src/parallel_list.cc: Remove.
1106 * src/compatibility-list-2.cc: New.
1107 * src/compatibility-debug_list-2.cc: New.
1108 * src/compatibility-parallel_list-2.cc: New.
1110 * doc/doxygen/user.cfg.in: Adjust macros.
1112 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
1113 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
1114 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
1115 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
1116 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
1117 * testsuite/20_util/forward/c_neg.cc: Same.
1118 * testsuite/20_util/forward/f_neg.cc: Same.
1119 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
1120 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
1121 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
1122 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
1123 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
1124 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1125 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
1126 * testsuite/23_containers/deque/requirements/dr438/
1127 constructor_1_neg.cc: Same.
1128 * testsuite/23_containers/deque/requirements/dr438/
1129 constructor_2_neg.cc: Same.
1130 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
1131 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
1132 * testsuite/23_containers/forward_list/requirements/dr438/
1133 assign_neg.cc: Same.
1134 * testsuite/23_containers/forward_list/requirements/dr438/
1135 constructor_1_neg.cc: Same.
1136 * testsuite/23_containers/forward_list/requirements/dr438/
1137 constructor_2_neg.cc: Same.
1138 * testsuite/23_containers/forward_list/requirements/dr438/
1139 insert_neg.cc: Same.
1140 * testsuite/23_containers/list/capacity/29134.cc: Same.
1141 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
1142 * testsuite/23_containers/list/requirements/dr438/
1143 constructor_1_neg.cc: Same.
1144 * testsuite/23_containers/list/requirements/dr438/
1145 constructor_2_neg.cc: Same.
1146 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
1147 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
1148 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
1149 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
1150 * testsuite/23_containers/vector/requirements/dr438/
1151 constructor_1_neg.cc: Same.
1152 * testsuite/23_containers/vector/requirements/dr438/
1153 constructor_2_neg.cc: Same.
1154 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
1155 * testsuite/25_algorithms/sort/35588.cc: Same.
1156 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
1157 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1158 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
1159 * testsuite/ext/profile/profiler_algos.cc: Same.
1160 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
1161 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
1162 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
1163 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
1164 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
1166 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1168 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
1169 Improve description of one such reference.
1171 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1173 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
1174 Standards Revision Group.
1175 * doc/xml/manual/locale.xml: Ditto.
1176 * doc/xml/manual/messages.xml: Ditto.
1177 * doc/xml/manual/using_exceptions.xml: Ditto.
1179 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
1181 * include/bits/atomic_base.h: Do not include <stddef.h>.
1182 (kill_dependency): Uglify ret.
1184 2011-01-26 Johannes Singler <singler@kit.edu>
1186 * include/parallel/numeric (inner_product, partial_sum):
1187 Qualify subsequent call with __gnu_parallel instead of
1188 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
1189 * include/parallel/algobase.h (equal): Likewise.
1190 * include/parallel/algo.h (find_first_of, search_n, merge,
1191 nth_element, partial_sort, max_element, min_element): Likewise.
1192 * testsuite/25_algorithms/headers/algorithm/
1193 parallel_algorithm_mixed1.cc (main): Add respective test cases.
1194 * testsuite/25_algorithms/headers/algorithm/
1195 parallel_algorithm_mixed2.cc (main): Likewise.
1196 * testsuite/26_numerics/headers/numeric/
1197 parallel_numeric_mixed1.cc (main): Likewise.
1198 * testsuite/26_numerics/headers/numeric/
1199 parallel_numeric_mixed2.cc (main): Likewise.
1201 2011-01-24 Graham Reed <greed@pobox.com>
1204 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
1207 2011-01-24 Johannes Singler <singler@kit.edu>
1210 * include/parallel/losertree.h
1211 (_LoserTree<>::__delete_min_insert):
1212 Do not qualify swap with std:: for value type,
1213 but include a using directive instead.
1214 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
1215 * include/parallel/balanced_quicksort.h (__qsb_divide):
1216 Use std::iter_swap instead of std::swap.
1217 (__qsb_local_sort_with_helping): Likewise.
1218 * include/parallel/partition.h (__parallel_partition):
1219 Likewise. (__parallel_nth_element): Likewise.
1221 2011-01-24 Johannes Singler <singler@kit.edu>
1224 * include/parallel/multiway_merge.h (_UnguardedIterator):
1225 Remove useless "mutable" from reference declaration.
1227 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
1229 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
1230 * include/debug/safe_sequence.h: Same.
1231 * include/debug/safe_iterator.h: Same.
1232 * include/std/forward_list: Same.
1233 * include/std/deque: Same.
1234 * include/std/list: Same.
1235 * include/std/random: Same.
1236 * include/std/streambuf: Same.
1237 * include/std/fstream: Same.
1238 * include/std/istream: Same.
1239 * include/std/string: Same.
1240 * include/std/ostream: Same.
1241 * include/std/sstream: Same.
1242 * include/ext/vstring.h: Same.
1243 * include/bits/basic_ios.h: Same.
1244 * include/bits/locale_classes.h: Same.
1245 * include/bits/locale_facets.h: Same.
1246 * include/bits/valarray_array.h: Same.
1247 * include/bits/locale_facets_nonio.h: Same.
1248 * include/tr1/random: Same.
1250 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1252 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
1254 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1256 PR libstdc++/36104 part three
1257 * src/hashtable_c++0x.cc: Adjust namespace macros.
1258 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
1259 * config/abi/pre/gnu-versioned-namespace.ver: Update.
1261 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1263 * include/ext/pb_ds/detail/resize_policy/
1264 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
1265 * include/ext/pb_ds/detail/pat_trie_/
1266 constructors_destructor_fn_imps.hpp: Same.
1267 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
1268 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1269 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
1271 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
1272 iterations downward when testing in debug mode.
1273 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
1274 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
1275 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
1276 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
1277 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
1278 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
1279 reduce in debug mode.
1281 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
1283 PR libstdc++/36104 part two
1284 * include/bits/hashtable.h: Revert to non-nested macro usage.
1285 * include/bits/hashtable_policy.h: Same.
1287 2011-01-19 Graham Reed <greed@pobox.com>
1290 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
1292 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
1294 * doc/xml/images/confdeps.png: Regenerate.
1296 * include/std/chrono (duration): Mark copy constructor constexpr.
1297 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
1299 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
1301 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
1302 Declare defaulted per DR 1517.
1303 * testsuite/util/testsuite_common_types.h
1304 (constexpr_defaulted_default_constructible): Add.
1305 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
1307 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
1309 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
1311 * include/bits/stl_stack.h (stack<>::swap): Likewise.
1313 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1316 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
1317 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
1319 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1322 * testsuite/18_support/numeric_limits/lowest.cc:
1323 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
1325 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1328 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
1329 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
1331 2011-01-16 François Dumont <francois.cppdevs@free.fr>
1333 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
1334 to this. Use _neg suffix.
1335 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
1337 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
1339 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
1340 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
1342 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
1343 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
1345 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
1346 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
1348 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
1349 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
1351 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
1352 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
1354 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
1355 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
1357 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
1358 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
1360 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
1361 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
1363 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
1364 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
1366 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
1367 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
1369 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
1370 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
1372 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
1373 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
1375 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
1376 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
1378 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
1379 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
1381 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
1383 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
1386 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
1387 * include/Makefile.in: Regenerate.
1388 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
1389 (install-stdHEADERS, install-bitsHEADERS): New.
1390 * libsupc++/Makefile.in: Regenerate.
1392 * include/bits/c++config: Update for inline namespaces.
1393 * libsupc++/cxxabi-forced.h: To...
1394 * libsupc++/cxxabi_forced.h: ...this.
1395 * libsupc++/hash_bytes.h: Separate file.
1396 * libsupc++/typeinfo: Use it.
1397 * libsupc++/exception: Adjust for bits subdirectory.
1398 * libsupc++/eh_aux_runtime.cc: Same.
1399 * libsupc++/eh_ptr.cc: Same.
1400 * libsupc++/new_op.cc: Same.
1401 * libsupc++/exception_defines.h: Same.
1402 * libsupc++/nested_exception.h: Same.
1403 * libsupc++/eh_terminate.cc: Same.
1404 * libsupc++/vec.cc: Same.
1405 * libsupc++/vterminate.cc: Same.
1406 * libsupc++/exception_ptr.h: Same.
1407 * libsupc++/eh_personality.cc: Same.
1408 * libsupc++/eh_call.cc: Same.
1409 * libsupc++/new_opnt.cc: Same.
1410 * libsupc++/hash_bytes.cc: Same.
1411 * config/cpu/arm/cxxabi_tweaks.h: Same.
1412 * config/cpu/generic/cxxabi_tweaks.h: Same.
1413 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
1414 * include/std/bitset: Same.
1415 * include/ext/vstring.tcc: Same.
1416 * include/bits/hashtable.h: Same.
1417 * include/bits/functional_hash.h: Same.
1418 * include/bits/hashtable_policy.h: Same.
1419 * include/bits/basic_string.h: Same.
1420 * include/bits/istream.tcc: Same.
1421 * include/bits/ostream.tcc: Same.
1422 * include/bits/algorithmfwd.h: Same.
1423 * include/bits/basic_string.tcc: Same.
1424 * include/bits/ostream_insert.h: Same.
1425 * include/bits/fstream.tcc: Same.
1426 * include/bits/functexcept.h: Same.
1428 * doc/doxygen/user.cfg.in: Adjust names.
1430 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1432 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
1434 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
1436 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
1438 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
1440 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
1441 * testsuite/25_algorithms/is_permutation/requirements/
1442 explicit_instantiation/2.cc: Likewise.
1443 * testsuite/25_algorithms/is_permutation/requirements/
1444 explicit_instantiation/pod.cc: Likewise.
1445 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
1447 2011-01-13 John Lakos <jlakos@bloomberg.net>
1448 Pablo Halpern <phalpern@halpernwightsoftware.com>
1449 Paolo Carlini <paolo.carlini@oracle.com>
1451 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
1452 * include/bits/algorithmfwd.h: Add.
1454 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
1457 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
1459 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
1461 * aclocal.m4: Regenerate.
1463 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
1466 * src/placeholders.cc: New.
1467 * src/Makefile.am: Adjust.
1468 * src/Makefile.in: Regenerate.
1469 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
1471 * config/abi/pre/gnu.ver: Export.
1473 2011-01-05 François Dumont <francois.cppdevs@free.fr>
1475 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
1476 * include/src/debug.cc: Use latter
1477 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
1478 correctly handle before_begin iterators.
1479 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
1480 useless _GLIBCXX_DEBUG checks.
1482 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
1485 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
1486 * configure: Regenerated.
1488 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1491 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
1494 Copyright (C) 2011 Free Software Foundation, Inc.
1496 Copying and distribution of this file, with or without modification,
1497 are permitted in any medium without royalty provided the copyright
1498 notice and this notice are preserved.