aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2006-06-07util: New directory.Benjamin Kosnik19-8/+12
2006-06-06 Benjamin Kosnik <bkoz@redhat.com> * testsuite/util: New directory. * testsuite/testsuite_hooks.cc: Move to util sub-directory. * testsuite/testsuite_abi_check.cc: Same. * testsuite/testsuite_abi.cc: Same. * testsuite/testsuite_tr1.h: Same. * testsuite/testsuite_io.h: Same. * testsuite/testsuite_iterators.h: Same. * testsuite/testsuite_allocator.cc: Same. * testsuite/testsuite_allocator.h: Same. * testsuite/testsuite_hooks.h: Same. * testsuite/testsuite_character.cc: Same. * testsuite/testsuite_abi.h: Same. * testsuite/testsuite_character.h: Same. * testsuite/testsuite_visualization.h: Same. * testsuite/testsuite_performance.h: Same. * testsuite/testsuite_shared.cc: Same. * testsuite/testsuite_common_types.h: Same. * testsuite/lib/libstdc++.exp (v3-build_support): Adjust paths. * testsuite/libstdc++-abi/abi.exp: Same. * testsuite/libstdc++-dg/conformance.exp: Remove any files in the utilities subdirectory from the list of test cases. * scripts/testsuite_flags.in (build-includes): Adjust path for testsuite includes. * scripts/create_testsuite_files (dlist): Don't let utility files creep into the testsuite_files list. From-SVN: r114466
2006-06-07random (mersenne_twister<>::operator==, [...]): Implement.Paolo Carlini3-0/+159
2006-06-06 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (mersenne_twister<>::operator==, operator!=, operator<<, operator>>): Implement. * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/ operators/equal.cc: New. * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/ operators/not_equal.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/ operators/serialize.cc: Likewise. * include/tr1/random (subtract_with_carry<>::operator==): Fix, compare the whole state; use std::equal. * include/tr1/random: Minor formatting and style changes. From-SVN: r114459
2006-06-065_numerical_facilies: Move to...Benjamin Kosnik35-0/+0
2006-06-06 Benjamin Kosnik <bkoz@redhat.com> * testsuite/tr1/5_numerical_facilies: Move to... * testsuite/tr1/5_numerical_facilities: ...this. From-SVN: r114451
2006-06-05random (mersenne_twister<>::seed()): Fix per tr1/5.1.4.2, p8.Paolo Carlini2-2/+2
2006-06-05 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (mersenne_twister<>::seed()): Fix per tr1/5.1.4.2, p8. * include/tr1/random.tcc (mod_w): Add. (mersenne_twister<>::seed(unsigned long)): Fix per tr1/5.1.4.2, p9. (mersenne_twister<>::seed(Gen&, false_type)): Adjust to use mod_w. * testsuite/tr1/5_numerical_facilies/random/mt19937.cc: Fix expected result per tr1/5.1.5, p2. * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/ cons/default.cc: Adjust. * include/tr1/random (exponential_distribution<>::operator()()): Fix. From-SVN: r114412
2006-06-05[multiple changes]Paolo Carlini36-0/+1509
2006-06-05 Paolo Carlini <pcarlini@suse.de> * include/tr1/random.tcc (Max::value()): Cast 1 to Tp(1) and adjust shift count to w; rename as Max_w. (struct Mod_w): New. (mersenne_twister<>::seed(Gen&, false_type): Use the latter. (mersenne_twister<>::operator()()): Fix ~0ul to ~_UInt(). * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/ cons/default.cc: Fix ~0ul to 2^32-1. * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/ cons/gen1.cc: Likewise. 2006-06-05 Stephen M. Webb <stephen.webb@bregmasoft.com> * include/tr1/random: New. * include/tr1/random.tcc: Likewise. * include/Makefile.am: Add. * testsuite/tr1/5_numerical_facilies/random/ranlux3.cc: New. * testsuite/tr1/5_numerical_facilies/random/ranlux4.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/mt19937.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/variate_generator/ requirements/typedefs.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/ cons/seed1.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/ cons/seed2.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/ cons/default.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/ cons/gen1.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/ requirements/typedefs.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/ operators/equal.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/ operators/not_equal.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/ operators/serialize.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/uniform_real/ requirements/typedefs.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/discard_block/ requirements/requirements.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/linear_congruential/ cons/seed1.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/linear_congruential/ cons/seed2.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/linear_congruential/ cons/default.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/linear_congruential/ cons/gen1.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/linear_congruential/ requirements/non_uint_neg.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/linear_congruential/ requirements/typedefs.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/linear_congruential/ operators/equal.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/linear_congruential/ operators/not_equal.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/linear_congruential/ operators/serialize.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/xor_combine/ requirements/typedefs.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/minstd_rand.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/minstd_rand0.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/uniform_int/ cons/range.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/uniform_int/ cons/default.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/uniform_int/ cons/range_neg.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/uniform_int/ requirements/typedefs.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/ cons/seed1.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/ cons/seed2.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/ cons/default.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/ cons/gen1.cc: Likewise. * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/ requirements/typedefs.cc: Likewise. * include/Makefile.in: Regenerate. * testsuite/tr1/headers.cc: Update. From-SVN: r114384
2006-06-04re PR libstdc++/27867 (compile error in repeated application of ↵Paolo Carlini1-0/+53
valarray<>::operator==) 2006-06-04 Paolo Carlini <pcarlini@suse.de> PR libstdc++/27867 * include/bits/valarray_before.h (struct _BinClos<_Oper, _ValArray, _ValArray, _Tp, _Tp>): Fix value_type typedef. * testsuite/26_numerics/valarray/27867.cc: New. From-SVN: r114356
2006-05-23testsuite_shared.cc: Fix --enable-threads=single build.Paolo Carlini1-3/+2
2006-05-23 Paolo Carlini <pcarlini@suse.de> * testsuite/testsuite_shared.cc: Fix --enable-threads=single build. From-SVN: r114016
2006-05-199661-1.cc: Avoid leaking the semaphores if a VERIFY fails.Paolo Carlini10-63/+107
2006-05-19 Paolo Carlini <pcarlini@suse.de> * testsuite/27_io/objects/wchar_t/9661-1.cc: Avoid leaking the semaphores if a VERIFY fails. * testsuite/27_io/objects/wchar_t/7.cc: Likewise. * testsuite/27_io/objects/char/9661-1.cc: Likewise. * testsuite/27_io/objects/char/7.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/26777.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. * testsuite/27_io/basic_filebuf/close/char/4879.cc: Likewise. * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. From-SVN: r113916
2006-05-15hashtable (hashtable<>::m_find, [...]): Add.Paolo Carlini1-0/+61
2006-05-15 Paolo Carlini <pcarlini@suse.de> * include/tr1/hashtable (hashtable<>::m_find, m_insert_bucket): Add. (hashtable<>::find, m_insert(const value_type&, std::tr1::true_type), map_base<>::operator[]): Use the above. * testsuite/performance/23_containers/insert/unordered_map_array.cc: New. * include/tr1/hashtable (hashtable<>::find_node, insert(const value_type&, ...), erase_node): Rename to m_*, adjust callers. * include/tr1/hashtable: Minor cosmetic changes. From-SVN: r113800
2006-05-10libstdc++.exp (check_v3_target_cxa_atexit): Move to gcc subdir.Steve Ellcey2-103/+0
* testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Move to gcc subdir. * testsuite/lib/dg-options.exp (dg-require-iconv): Remove. (dg-require-cxa-atexit): Move to gcc subdir. From-SVN: r113685
2006-05-10hashtable (hashtable_iterator<>::hashtable_iterator(), [...]): Add.Paolo Carlini1-0/+32
2006-05-10 Paolo Carlini <pcarlini@suse.de> Peter Doerfler <gcc@pdoerfler.com> * include/tr1/hashtable (hashtable_iterator<>::hashtable_iterator(), hashtable_const_iterator<>::hashtable_const_iterator(), node_iterator<>::node_iterator(), node_const_iterator<>::node_const_iterator()): Add. (node_iterator<>::node_iterator(hash_node<>*), node_const_iterator<>::node_const_iterator(hash_node<>*)): Tweak, remove default. * testsuite/tr1/6_containers/unordered/hashtable/ iterators_default_constructor.c: New. Co-Authored-By: Peter Doerfler <gcc@pdoerfler.com> From-SVN: r113681
2006-05-07type_traits (integral_constant<>::value): Define.Paolo Carlini1-0/+37
2006-05-07 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits (integral_constant<>::value): Define. * testsuite/tr1/4_metaprogramming/helper_classes/static_definition.cc: New. From-SVN: r113605
2006-04-26re PR libstdc++/26875 (Array allocator use count is shared between ↵Benjamin Kosnik1-0/+46
array_allocator instances) 2006-04-26 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/26875 * include/ext/array_allocator.h (array_allocator): _M_used, new data member. * testsuite/ext/array_allocator/26875.cc: New. From-SVN: r113283
2006-04-10libjava.exp (libjava_init): Recognize multilib directory names containing ↵Matthias Klose1-1/+1
underscores. gcc/testsuite: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. libffi: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. libgomp: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. libjava: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. libmudflap: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. libstdc++: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. From-SVN: r112833
2006-04-10DR 538, [Ready]Paolo Carlini1-93/+0
2006-04-10 Paolo Carlini <pcarlini@suse.de> DR 538, [Ready] * include/bits/stl_algo.h (__unique_copy(,,, input_iterator_tag, output_iterator_tag), and predicated counterpart): Revert to the algorithm pre-DR 241, i.e., value_type of InputIterator is now required to be Assignable too. * testsuite/25_algorithms/unique_copy/3.cc: Remove. * docs/html/ext/howto.html: Add an entry for DR 538. From-SVN: r112818
2006-03-29sgetn.txt: Correct copyright holder.Benjamin Kosnik17-35/+35
2006-03-29 Benjamin Kosnik <bkoz@redhat.com> * testsuite/data/sgetn.txt: Correct copyright holder. * testsuite/data/wistream_extractor_other-1.tst: Same. * testsuite/data/wistream_extractor_other-2.tst: Same. * testsuite/data/istream_extractor_other-1.txt: Same. * testsuite/data/filebuf_virtuals-1.txt: Same. * testsuite/data/wostream_inserter_other-1.tst: Same. * testsuite/data/wostream_inserter_other-2.tst: Same. * testsuite/data/ostream_inserter_other-1.tst: Same. * testsuite/data/ostream_inserter_other-2.tst: Same. * testsuite/data/wistream_extractor_other-1.txt: Same. * testsuite/data/istream_extractor_other-1.tst: Same. * testsuite/data/istream_extractor_other-2.tst: Same. * testsuite/data/filebuf_virtuals-1.tst: Same. * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Adjust test conditions. * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Same. * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Same. * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Same. From-SVN: r112514
2006-03-24re PR libstdc++/20448 (locale testsuite fails when GCC is configured with ↵Mark Mitchell1-8/+17
--disable-nls) PR libstdc++/20448 PR libstdc++/20451 * scripts/testsuite_flags.in (--cxxflags): Don't define LOCALEDIR. * testsuite/lib/libstdc++.exp (libstdc++_init): Always define LOCALEDIR to ".". (v3-build_support): Build MO files. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r112346
2006-03-22re PR libstdc++/26777 (sync_with_stdio(false) triggers bug with sgetc and ↵Paolo Carlini1-0/+86
pubseekoff) 2006-03-22 Paolo Carlini <pcarlini@suse.de> PR libstdc++/26777 * include/bits/fstream.tcc (basic_filebuf<>::_M_seek): Check the return value of _M_file.seekoff. * testsuite/27_io/basic_filebuf/seekoff/char/26777.cc: New. From-SVN: r112286
2006-03-21re PR libstdc++/25482 (Specialize (overload) std::copy/find for streambuf ↵Paolo Carlini14-0/+1020
iterators) 2006-03-21 Paolo Carlini <pcarlini@suse.de> PR libstdc++/25482 * include/bits/stl_algobase.h (__copy_aux(_CharT*, _CharT*, ostreambuf_iterator<_CharT>), __copy_aux(const _CharT*, const _CharT*, ostreambuf_iterator<_CharT>), __copy_aux(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, _CharT*), copy(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, ostreambuf_iterator<_CharT>)): Declare. * include/bits/stl_algo.h (find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, _CharT)): Likewise. * include/bits/streambuf_iterator.h (copy(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, ostreambuf_iterator<_CharT>), __copy_aux(_CharT*, _CharT*, ostreambuf_iterator<_CharT>), __copy_aux(const _CharT*, const _CharT*, ostreambuf_iterator<_CharT>), __copy_aux(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, _CharT*), find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, _CharT)): Define. (class istreambuf_iterator<>, class ostreambuf_iterator<>): Declare friends. * include/std/std_streambuf.h (class basic_streambuf<>): Likewise. * include/bits/cpp_type_traits.h (struct __is_char<>): Add. * testsuite/25_algorithms/copy/streambuf_iterators/char/1.cc: New. * testsuite/25_algorithms/copy/streambuf_iterators/char/2.cc: New. * testsuite/25_algorithms/copy/streambuf_iterators/char/3.cc: New. * testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc: New. * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/1.cc: New. * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/2.cc: New. * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/3.cc: New. * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc: New. * testsuite/25_algorithms/find/istreambuf_iterators/char/1.cc: New. * testsuite/25_algorithms/find/istreambuf_iterators/char/2.cc: New. * testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/1.cc: New. * testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc: New. * testsuite/performance/25_algorithms/copy_streambuf_iterators.cc: New. * testsuite/performance/25_algorithms/find_istreambuf_iterators.cc: New. From-SVN: r112247
2006-03-13postypes.h (fpos<>::operator==, operator!=): Remove, exploit conversion to ↵Paolo Carlini1-0/+47
streamoff. 2006-03-13 Paolo Carlini <pcarlini@suse.de> * include/bits/postypes.h (fpos<>::operator==, operator!=): Remove, exploit conversion to streamoff. * testsuite/27_io/fpos/mbstate_t/5.cc: New. From-SVN: r112018
2006-03-1210097.cc: Fix race condition.Howard Hinnant3-17/+24
2006-03-12 Howard Hinnant <hhinnant@apple.com> * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Fix race condition. * testsuite/27_io/objects/char/9661-1.cc: Likewise. * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. From-SVN: r111978
2006-03-10cmath: Add atan2 and pow bits; add using declarations.Paolo Carlini6-395/+454
2006-03-10 Paolo Carlini <pcarlini@suse.de> * include/tr1/cmath: Add atan2 and pow bits; add using declarations. * include/tr1/math.h: Add using declarations. * include/tr1/complex: Add using declarations. * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Fully qualify calls. * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Likewise; add atan2 and pow bits. * testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: Likewise. * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Likewise; adjust polar bits. * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add checks for double_t and float_t typedefs. * include/tr1/cmath: Add double_t and float_t. * testsuite/tr1/8_c_compatibility/cmath/types.cc: New. * include/tr1/ctgmath: New. * include/tr1/tgmath.h: Likewise. * include/Makefile.am: Add. * testsuite/tr1/headers.cc: Update. * include/Makefile.in: Regenerate. * configure: Likewise. * docs/html/ext/tr1.html: Update. From-SVN: r111931
2006-03-08Implement the resolution of DR 455, [DR].Paolo Carlini2-0/+74
2006-03-08 Paolo Carlini <pcarlini@suse.de> Implement the resolution of DR 455, [DR]. * src/ios_init.cc (ios_base::Init::Init()): Do it. * testsuite/27_io/objects/char/dr455.cc: New. * testsuite/27_io/objects/wchar_t/dr455.cc: Likewise. * docs/html/ext/howto.html: Add an entry for DR 455. From-SVN: r111842
2006-03-07cmath: Add C99 overloads.Paolo Carlini3-8/+245
2006-03-07 Paolo Carlini <pcarlini@suse.de> * include/tr1/cmath: Add C99 overloads. * include/tr1/common.h (struct __promote_3): Add. * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: New. * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Tweak. * testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: Likewise. From-SVN: r111813
2006-03-03re PR libstdc++/26526 (std::__copy_streambufs link failure when ↵Paolo Carlini1-0/+1
_GLIBCXX_DEBUG is defined) 2006-03-03 Paolo Carlini <pcarlini@suse.de> PR libstdc++/26526 * config/abi/pre/gnu.ver (__copy_streambufs, 64-bit version): Add @GLIBCXX_3.4.8; move existing symbols @GLIBCXX_3.4.8 to 3.4.9. * configure.ac (libtool_VERSION): To 6:9:0. * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.9. * configure: Regenerate. From-SVN: r111690
2006-02-27re PR libstdc++/14866 (27_io/ios_base/sync_with_stdio/1.cc is broken on ↵Paolo Carlini1-11/+12
simulator testglue targets) 2006-02-27 Paolo Carlini <pcarlini@suse.de> PR libstdc++/14866 * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Redirect stderr instead. From-SVN: r111474
2006-02-26cmath: Add templates (8.16.3).Paolo Carlini2-0/+65
2006-02-26 Paolo Carlini <pcarlini@suse.de> * include/tr1/cmath: Add templates (8.16.3). * include/tr1/cstbool: New. * include/tr1/stdbool.h: Likewise. * include/Makefile.am: Add. * testsuite/tr1/8_c_compatibility/cmath/templates.cc: New. * testsuite/tr1/headers.cc: Update. * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <stdbool.h> check. * docs/html/ext/tr1.html: Update. * include/Makefile.in: Regenerate. * config.h.in: Likewise. * configure: Likewise. From-SVN: r111456
2006-02-24array (array<>::swap, assign): Implement.Paolo Carlini3-0/+145
2006-02-24 Paolo Carlini <pcarlini@suse.de> * include/tr1/array (array<>::swap, assign): Implement. * include/tr1/array (operator==, operator!=, operator<, operator>, operator>=, operator<=, swap, get): Inline. * testsuite/tr1/6_containers/array/requirements/member_swap.cc: New. * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise. * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc: Likewise. From-SVN: r111424
2006-02-231.cc (test01): Change int to size_t.Benjamin Kosnik4-14/+14
2006-02-23 Benjamin Kosnik <bkoz@redhat.com> * testsuite/22_locale/codecvt/in/wchar_t/1.cc (test01): Change int to size_t. Use explicit static_cast for casts. * testsuite/22_locale/codecvt/in/wchar_t/6.cc (test06): Same. * testsuite/22_locale/codecvt/in/wchar_t/5.cc (test05): Same. * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc (test01): Same. From-SVN: r111393
2006-02-22re PR libstdc++/26132 (tr1/hashtable: rehash not implemented)Paolo Carlini2-1/+58
2006-02-22 Paolo Carlini <pcarlini@suse.de> PR libstdc++/26132 * include/tr1/hashtable (hashtable<>::rehash): Define. * testsuite/tr1/6_containers/unordered/hashtable/26132.cc: New. * include/tr1/hashtable: Trivial formatting and stylistic fixes. * testsuite/tr1/headers.cc: remove <tr1/hashtable>, not a tr1 header, only an implementation detail. From-SVN: r111366
2006-02-22c++config: Simplify debug namespaces.Benjamin Kosnik4-12/+60
2006-02-21 Benjamin Kosnik <bkoz@redhat.com> * include/bits/c++config: Simplify debug namespaces. * include/ext/hash_set: Specialize insert_iterator after norm, debug containers have been (optionally) declared. Use nested namespaces. * include/ext/hash_map: Same. * include/debug/hash_map.h (insert): Add specialization for value pointer types. * include/debug/hash_set.h (insert): Same. * include/debug/hash_multimap.h: Change __gnu_debug_def to __debug. * include/debug/set.h: Same. * include/debug/bitset: Same. * include/debug/multiset.h: Same. * include/debug/hash_multiset.h: Same. * include/debug/vector: Same. * include/debug/map.h: Same. * include/debug/deque: Same. * include/debug/list: Same. * include/debug/multimap.h. Same. * include/debug/macros.h: Use __gnu_debug. * include/debug/debug.h: Same. * include/debug/formatter.h: Same. * include/debug/safe_sequence.h: Same. * include/debug/functions.h: Same. * include/debug/safe_base.h: Same. * include/debug/safe_iterator.h: Same. * include/debug/safe_iterator.tcc: Same. (_M_invalidate): Adjust compare order. * include/debug/string: Change std::__gnu_debug to __gnu_debug. * include/ext/hashtable.h: Formatting fixes. * include/bits/stl_map.h: Formatting fixes. * src/compatibility.cc: Adjust compatibility symbols for old debug mode model. * src/debug_list.cc: Tweak. * src/debug.cc: Adjust namespaces. * docs/html/debug_mode.html: Adjust namespace names. * testsuite/25_algorithms/heap/heap.cc: Restore _GLIBCXX_DEBUG macro guards, as count values differ when in debug mode. * testsuite/23_containers/vector/26412.cc: Move to... * testsuite/23_containers/vector/26412-1.cc: ... here. * testsuite/23_containers/vector/26412-2.cc: Add. * include/ext/pb_assoc/detail/standard_policies.hpp (PB_ASSOC_HASH_NAMESPACE): Remove, use __gnu_cxx::hash_map and std::equal_to. * configure.ac (libtool_VERSION): To 6:8:0. * configure: Regenerate. * config/abi/pre/gnu.ver: Revert to exporting __gnu_debug symbols. (GLIBCXX_3.4.8): New. * testsuite/testsuite_abi.cc: Add GLIBCXX_3.4.8 to known versions. From-SVN: r111356
2006-02-20Revert recent commit for libstdc++/26211, now suspended waiting for DR 342 ↵Paolo Carlini10-234/+0
(reopened) to reach a new resolution. 2006-02-20 Paolo Carlini <pcarlini@suse.de> Revert recent commit for libstdc++/26211, now suspended waiting for DR 342 (reopened) to reach a new resolution. * include/bits/istream.tcc (basic_istream<>::tellg, seekg(pos_type), seekg(off_type, ios_base::seekdir)): Remove sentry. * testsuite/27_io/basic_istream/seekg/char/26211.cc: Remove. * testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise. * testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise. * testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise. * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Revert changes. * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise. * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise. * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise. * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise. * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise. From-SVN: r111302
2006-02-17re PR libstdc++/26250 (stringbuf::overflow() fails to set egptr() same as ↵Paolo Carlini2-0/+116
epptr()) 2006-02-17 Paolo Carlini <pcarlini@suse.de> Howard Hinnant <hhinnant@apple.com> PR libstdc++/26250 * include/bits/sstream.tcc (basic_stringbuf<>::overflow): Tweak to leave epgtr() just past the new write position, as per the relevant bits of 27.7.1.3/8 (not changed by DR 432). * testsuite/27_io/basic_stringbuf/overflow/char/26250.cc: New. * testsuite/27_io/basic_stringbuf/overflow/wchar_t/26250.cc: Same. * docs/html/ext/howto.html: Add entries for DR 169 and DR 432. * include/std/std_sstream.h (basic_stringbuf<>::_M_sync): Move out of line... * include/bits/sstream.tcc: ... here. Co-Authored-By: Howard Hinnant <hhinnant@apple.com> From-SVN: r111177
2006-02-12re PR libstdc++/26211 ([DR 419, US 137 / US 139] basic_istream::tellg, seekg ↵Paolo Carlini10-6/+243
are unformatted input functions) 2006-02-12 Paolo Carlini <pcarlini@suse.de> PR libstdc++/26211 * include/bits/istream.tcc (basic_istream<>::tellg, seekg(pos_type), seekg(off_type, ios_base::seekdir)): Construct a sentry, as per 27.6.1.3/1. * testsuite/27_io/basic_istream/seekg/char/26211.cc: New. * testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise. * testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise. * testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise. * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Adjust. * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise. * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise. * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise. * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise. * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise. From-SVN: r110891
2006-02-10re PR libstdc++/26181 (istream::operator>>(streambuf*) fails to set eofbit)Paolo Carlini4-6/+107
2006-10-02 Paolo Carlini <pcarlini@suse.de> PR libstdc++/26181 * include/bits/streambuf.tcc (__copy_streambufs_eof): New, like the existing __copy_streambufs but reporting eof in input. (__copy_streambufs): Just use the latter. * src/streambuf.cc (__copy_streambufs_eof): Adjust specializations of __copy_streambufs. * include/bits/istream.tcc (operator>>(__streambuf_type*)): Use __copy_streambufs_eof instead. * include/std/std_streambuf.h: Adjust. * src/streambuf-inst.cc: Adjust. * config/abi/pre/gnu.ver: Export the new symbols. * testsuite/27_io/basic_istream/extractors_other/char/26181.cc: New. * testsuite/27_io/basic_istream/extractors_other/wchar_t/26181.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/char/1.cc: Adjust. * testsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc: Likewise. From-SVN: r110841
2006-02-09re PR libstdc++/26142 (global debug namespace clashes everywhere)Benjamin Kosnik1-0/+37
2006-02-08 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/26142 * include/debug/debug.h: Move debug alias inside namespace std, same with namespace __gnu_cxx. Add top-level __gnu_debug namespace. * include/debug/hash_multimap.h: Nest within __gnu_cxx, not std. Also, change nesting namespace name from __gnu_debug_def to __gnu_debug. * include/debug/hash_map.h: Same. * include/debug/hash_multiset.h: Same. * include/debug/hash_set.h: Same. * docs/html/debug.html: Same. * testsuite/23_containers/vector/26412.cc: New. * testsuite/23_containers/vector/invalidation/1.cc: Correct qualifications for debug namespace change. * testsuite/23_containers/vector/invalidation/2.cc: Same. * testsuite/23_containers/vector/invalidation/3.cc: Same. * testsuite/23_containers/vector/invalidation/4.cc: Same. * testsuite/23_containers/deque/invalidation/1.cc: Same. * testsuite/23_containers/deque/invalidation/2.cc: Same. * testsuite/23_containers/deque/invalidation/3.cc: Same. * testsuite/23_containers/deque/invalidation/4.cc: Same. * testsuite/23_containers/multiset/invalidation/1.cc: Same. * testsuite/23_containers/multiset/invalidation/2.cc: Same. * testsuite/23_containers/multimap/invalidation/1.cc: Same. * testsuite/23_containers/multimap/invalidation/2.cc: Same. * testsuite/23_containers/bitset/invalidation/1.cc: Same. * testsuite/23_containers/bitset/cons/16020.cc: Same. * testsuite/23_containers/bitset/operations/13838.cc: Same. * testsuite/23_containers/list/invalidation/1.cc: Same. * testsuite/23_containers/list/invalidation/2.cc: Same. * testsuite/23_containers/list/invalidation/3.cc: Same. * testsuite/23_containers/list/invalidation/4.cc: Same. * testsuite/23_containers/set/invalidation/1.cc: Same. * testsuite/23_containers/set/invalidation/2.cc: Same. * testsuite/23_containers/map/invalidation/1.cc: Same. * testsuite/23_containers/map/invalidation/2.cc: Same. * testsuite/23_containers/map/modifiers/insert/16813.cc: Same. * testsuite/21_strings/basic_string/2.cc: Same. From-SVN: r110787
2006-02-09re PR libstdc++/26142 (global debug namespace clashes everywhere)Benjamin Kosnik25-49/+50
2006-02-08 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/26142 * include/debug/debug.h: Move debug alias inside namespace std, same with namespace __gnu_cxx. Add top-level __gnu_debug namespace. * include/debug/hash_multimap.h: Nest within __gnu_cxx, not std. Also, change nesting namespace name from __gnu_debug_def to __gnu_debug. * include/debug/hash_map.h: Same. * include/debug/hash_multiset.h: Same. * include/debug/hash_set.h: Same. * docs/html/debug.html: Same. * testsuite/23_containers/vector/26412.cc: New. * testsuite/23_containers/vector/invalidation/1.cc: Correct qualifications for debug namespace change. * testsuite/23_containers/vector/invalidation/2.cc: Same. * testsuite/23_containers/vector/invalidation/3.cc: Same. * testsuite/23_containers/vector/invalidation/4.cc: Same. * testsuite/23_containers/deque/invalidation/1.cc: Same. * testsuite/23_containers/deque/invalidation/2.cc: Same. * testsuite/23_containers/deque/invalidation/3.cc: Same. * testsuite/23_containers/deque/invalidation/4.cc: Same. * testsuite/23_containers/multiset/invalidation/1.cc: Same. * testsuite/23_containers/multiset/invalidation/2.cc: Same. * testsuite/23_containers/multimap/invalidation/1.cc: Same. * testsuite/23_containers/multimap/invalidation/2.cc: Same. * testsuite/23_containers/bitset/invalidation/1.cc: Same. * testsuite/23_containers/bitset/cons/16020.cc: Same. * testsuite/23_containers/bitset/operations/13838.cc: Same. * testsuite/23_containers/list/invalidation/1.cc: Same. * testsuite/23_containers/list/invalidation/2.cc: Same. * testsuite/23_containers/list/invalidation/3.cc: Same. * testsuite/23_containers/list/invalidation/4.cc: Same. * testsuite/23_containers/set/invalidation/1.cc: Same. * testsuite/23_containers/set/invalidation/2.cc: Same. * testsuite/23_containers/map/invalidation/1.cc: Same. * testsuite/23_containers/map/invalidation/2.cc: Same. * testsuite/23_containers/map/modifiers/insert/16813.cc: Same. * testsuite/21_strings/basic_string/2.cc: Same. From-SVN: r110786
2006-02-08PR libstdc++/26133 (DR 241, [WP])Paolo Carlini4-11/+240
2006-02-08 Paolo Carlini <pcarlini@suse.de> PR libstdc++/26133 (DR 241, [WP]) * include/bits/stl_algo.h (__unique_copy(,,, forward_iterator_tag, output_iterator_tag), __unique_copy(,,, input_iterator_tag, output_iterator_tag), __unique_copy(,,, input_iterator_tag, forward_iterator_tag), and predicated counterparts): Add. (__unique_copy(,,, output_iterator_tag), __unique_copy(,,, forward_iterator_tag), and predicated counterparts): Remove. (unique_copy): Adjust, dispatch to the three helpers above. * testsuite/25_algorithms/unique_copy/2.cc: New. * testsuite/25_algorithms/unique_copy/26133.cc: Likewise. * testsuite/25_algorithms/unique_copy/3.cc: Likewise. * docs/html/ext/howto.html: Add an entry for DR 241. * testsuite/25_algorithms/unique_copy/1.cc: Minor cosmetic changes. From-SVN: r110772
2006-02-07configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check.Jakub Jelinek2-11/+18
2006-02-07 Jakub Jelinek <jakub@redhat.com> Benjamin Kosnik <bkoz@redhat.com> * configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. If true, set also port_specific_symbol_files and create as_symver_specs. (GLIBCXX_LDBL_COMPAT): New GLIBCXX_CONDITIONAL. * configure: Rebuilt. * config.h.in: Rebuilt. * config/os/gnu-linux/ldbl-extra.ver: New file. * config/abi/pre/gnu.ver: Make sure no __float128 symbols are exported. * include/bits/c++config (_GLIBCXX_LONG_DOUBLE_COMPAT, _GLIBCXX_LDBL_NAMESPACE, _GLIBCXX_BEGIN_LDBL_NAMESPACE, _GLIBCXX_END_LDBL_NAMESPACE): Define. * include/bits/localefwd.h: Use them to conditionally scope facets. * include/bits/locale_facets.h: Surround std::{money,num}_{get,put} with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE. Surround std::{money,num}_{get,put} with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE. [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::money_get): Add __do_get method. [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::money_put): Add __do_put method. [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::num_get): Add __do_get method. [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::num_put): Add __do_put method. * include/bits/locale_facets.tcc: Surround std::{money,num}_{get,put} with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE. (std::money_get::__do_get, std::money_put::__do_put, std::num_get::__do_get, std::num_put::__do_put): New specializations. * include/Makefile.am: Conditionally define _GLIBCXX_LONG_DOUBLE_COMPAT in c++config. * include/Makefile.in: Regenerate. * src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT] (_GLIBCXX_LOC_ID, _GLIBCXX_SYNC_ID): Define, use them. * src/compatibility-ldbl.cc: New file. * src/complex_io.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Add compatibility symbols. * src/limits.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise. * src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise. * src/locale-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise. * src/locale-misc-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise. * src/istream-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise. * src/ostream-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise. * src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise. * src/wlocale-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise. * src/compatibility.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise. * config/locale/generic/c_locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise. * config/locale/gnu/c_locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise. * src/Makefile.am (libstdc++-symbol.ver): Append instead of insert in the middle if port specific symbol file requests it. (ldbl_compat_sources): New variable. (sources): Use it. (compatibility-ldbl.lo, compatibility-ldbl.o): New rules. * src/Makefile.in: Rebuilt. * testsuite/testsuite_abi.cc: Recognize GLIBCXX_LDBL_3.4, GLIBCXX_LDBL_3.4.7, CXXABI_LDBL_1.3. Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com> From-SVN: r110725
2006-02-07[multiple changes]Paolo Carlini1-0/+39
2006-02-07 Paolo Carlini <pcarlini@suse.de> * include/tr1/hashtable: Trivial formatting fixes. 2006-02-07 Paolo Carlini <pcarlini@suse.de> Zak Kipling <zak@transversal.com> PR libstdc++/26127 * include/tr1/hashtable (hashtable<>::key_equal): Define. (hashtable<>::bucket, rehash_base<>::max_load_factor): Fix. * testsuite/tr1/6_containers/unordered/hashtable/26127.cc: New. Co-Authored-By: Zak Kipling <zak@transversal.com> From-SVN: r110697
2006-02-07cmath: New.Paolo Carlini6-8/+300
2006-02-07 Paolo Carlini <pcarlini@suse.de> * include/tr1/cmath: New. * include/tr1/cstdlib: Likewise. * include/tr1/ctime: Likewise. * include/tr1/math.h: Likewise. * include/tr1/stdlib.h: Likewise. * include/Makefile.am: Add. * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <math.h> checks. * testsuite/tr1/8_c_compatibility/cmath/functions.cc: New. * testsuite/tr1/8_c_compatibility/cstdlib/functions.cc: Likewise. * testsuite/tr1/8_c_compatibility/cstdlib/types.cc: Likewise. * testsuite/tr1/headers.cc: Update. * include/tr1/cinttypes: Do not provide abs and div, conflicting with the above overloads for _Longlong types. * include/tr1/inttypes.h: Adjust. * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Adjust. * docs/html/ext/tr1.html: Update. * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Tweak. * include/Makefile.in: Regenerate. * config.h.in: Likewise. * configure: Likewise. From-SVN: r110696
2006-02-07re PR c++/9737 ([DR150] Partial template specialisation selection failure ↵Mark Mitchell2-8/+22
involving template parameter defaults) PR c++/9737 * pt.c (coerce_template_template_parms): Do not templates with excess default arguments to match template template parameters with fewer parameters. (coerce_template_parms): Add use_default_args parameter; use default arguments only when true. (lookup_template_class): Adjust call to coerce_template_parms. (fn_type_unification): Likewise. (unify): Likewise. (get_bindings): Likewise. (dependent_type_p): Add assertions. PR c++/9737 * g++.dg/template/ttp15.C: New test. * g++.dg/template/ttp16.C: Likewise. * g++.dg/template/ttp17.C: Likewise. * g++.old-deja/g++.pt/ttp36.C: Remove. * g++.old-deja/g++.pt/ttp19.C: Likewise. * g++.old-deja/g++.pt/ttp37.C: Likewise. * g++.old-deja/g++.pt/ttp38.C: Likewise. * g++.old-deja/g++.pt/ttp39.C: Likewise. * g++.old-deja/g++.pt/ttp9.C: Likewise. * g++.old-deja/g++.pt/ttp40.C: Likewise. * g++.old-deja/g++.pt/ttp51.C: Likewise. * g++.old-deja/g++.pt/ttp26.C: Likewise. * g++.old-deja/g++.pt/ttp36.C: Likewise. * testsuite/testsuite_tr1.h (test_property): New function. * testsuite/tr1/4_metaprogramming/type_properties/extent/extent.cc (test01) From-SVN: r110693
2006-02-05cstdio: New.Paolo Carlini4-17/+90
2006-02-05 Paolo Carlini <pcarlini@suse.de> * include/tr1/cstdio: New. * include/tr1/stdio.h: Likewise. * include/Makefile.am: Add. * testsuite/tr1/8_c_compatibility/cstdio/functions.cc: New. * testsuite/tr1/headers.cc: Update. * docs/html/ext/tr1.html: Update. * include/tr1/cwchar: Simplify, use _GLIBCXX_USE_C99, consistently with the facilities in std::. * include/tr1/cwctype: Likewise. * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Tweak. * testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise. * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Remove <wchar.h> and <wctype.h> checks. * include/Makefile.in: Regenerate. * config.h.in: Likewise. * configure: Likewise. From-SVN: r110613
2006-02-04functions.cc: Fix.Paolo Carlini1-2/+3
2006-02-04 Paolo Carlini <pcarlini@suse.de> * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Fix. From-SVN: r110588
2006-02-0421955.cc: Avoid warning on string constant.Paolo Carlini1-2/+2
2006-02-04 Paolo Carlini <pcarlini@suse.de> * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: Avoid warning on string constant. From-SVN: r110587
2006-02-03cwchar: New.Paolo Carlini4-2/+109
2006-02-03 Paolo Carlini <pcarlini@suse.de> * include/tr1/cwchar: New. * include/tr1/cwctype: Likewise. * include/tr1/wchar.h: Likewise. * include/tr1/wctype.h: Likewise. * include/Makefile.am: Add. * testsuite/tr1/8_c_compatibility/cinttypes/functions: New. * testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise. * testsuite/tr1/headers.cc: Update. * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <wchar.h> and <wctype.h> checks. * docs/html/ext/tr1.html: Update. * include/Makefile.in: Regenerate. * config.h.in: Likewise. * configure: Likewise. * testsuite/tr1/8_c_compatibility/cctype/functions.cc: Cosmetic tweak. From-SVN: r110562
2006-02-02cfloat: New.Paolo Carlini1-0/+46
2006-02-02 Paolo Carlini <pcarlini@suse.de> * include/tr1/cfloat: New. * include/tr1/climits: Likewise. * include/tr1/cstdarg: Likewise. * include/tr1/ctype.h: Likewise. * include/tr1/fenv.h: Likewise. * include/tr1/float.h: Likewise. * include/tr1/inttypes.h: Likewise. * include/tr1/limits.h: Likewise. * include/tr1/stdint.h: Likewise. * include/tr1/stdarg.h: Likewise. * include/Makefile.am: Add. * include/Makefile.in: Regenerate. * docs/html/ext/tr1.html: Update. * testsuite/tr1/headers.cc: New. * include/tr1/cctype: Include <cctype> instead. From-SVN: r110519
2006-01-31re PR libstdc++/21554 (ext/array_allocator/2.cc execution fails)Paolo Carlini1-4/+1
2006-01-31 Paolo Carlini <pcarlini@suse.de> PR libstdc++/21554 * include/tr1/array (array<>::_M_instance): Maximally align. * testsuite/ext/array_allocator/2.cc: Do not xfail for powerpc. From-SVN: r110445
2006-01-30cinttypes: New.Paolo Carlini5-43/+134
2006-01-30 Paolo Carlini <pcarlini@suse.de> * include/tr1/cinttypes: New. * include/Makefile.am: Add. * testsuite/tr1/8_c_compatibility/cinttypes/functions: New. * testsuite/tr1/8_c_compatibility/cinttypes/types: Likewise. * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <inttypes.h> checks. * docs/html/ext/tr1.html: Update. * include/Makefile.in: Regenerate. * config.h.in: Likewise. * configure: Likewise. * testsuite/tr1/8_c_compatibility/cfenv/functions.cc: Cosmetic tweak. * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Likewise. * testsuite/tr1/8_c_compatibility/cstdint/types.cc: Fix, check in std::tr1. From-SVN: r110397
2006-01-29cstdint: New.Paolo Carlini2-2/+63
2006-01-29 Paolo Carlini <pcarlini@suse.de> * include/tr1/cstdint: New. * include/Makefile.am: Add. * testsuite/tr1/8_c_compatibility/cstdint/types: New. * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <stdint.h> checks. * docs/html/ext/tr1.html: Update. * include/Makefile.in: Regenerate. * config.h.in: Likewise. * configure: Likewise. * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Cosmetic tweak. From-SVN: r110378