1169691Skan2004-12-31 Paolo Carlini <pcarlini@suse.de> 2169691Skan 3169691Skan * include/tr1/type_traits (is_member_function_pointer): Provide a 4169691Skan workaround for c++/19076, correct for functions with up to 15 5169691Skan arguments. 6169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 7169691Skan is_member_pointer/is_member_pointer.cc: Uncomment "XFAILed" tests; 8169691Skan add a test for variadic functions. 9169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 10169691Skan is_scalar/is_scalar.cc: Uncomment "XFAILed" tests. 11169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 12169691Skan is_enum/is_enum.cc: Likewise. 13169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 14169691Skan is_member_function_pointer/is_member_function_pointer.cc: Likewise; 15169691Skan add a test for variadic functions. 16169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 17169691Skan is_member_object_pointer/is_member_object_pointer.cc: Likewise. 18169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 19169691Skan has_nothrow_assign/has_nothrow_assign.cc: Uncomment "XFAILed" tests. 20169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 21169691Skan has_nothrow_constructor/has_nothrow_constructor.cc: Likewise. 22169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 23169691Skan has_nothrow_copy/has_nothrow_copy.cc: Likewise. 24169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 25169691Skan has_trivial_assign/has_trivial_assign.cc: Likewise. 26169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 27169691Skan has_trivial_constructor/has_trivial_constructor.cc: Likewise. 28169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 29169691Skan has_trivial_copy/has_trivial_copy.cc: Likewise. 30169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 31169691Skan has_trivial_destructor/has_trivial_destructor.cc: Likewise. 32169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 33169691Skan is_pod/is_pod.cc: Likewise. 34169691Skan 35169691Skan2004-12-30 Paolo Carlini <pcarlini@suse.de> 36169691Skan 37169691Skan * include/tr1/type_traits: Add has_trivial_copy, has_trivial_assign, 38169691Skan has_nothrow_copy, has_nothrow_assign. 39169691Skan * testsuite/testsuite_tr1.h: Add test_copy_property and 40169691Skan test_assign_property. 41169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 42169691Skan has_nothrow_assign/has_nothrow_assign.cc: New. 43169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 44169691Skan has_nothrow_assign/typedefs.cc: Likewise. 45169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 46169691Skan has_nothrow_copy/has_nothrow_copy.cc: Likewise. 47169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 48169691Skan has_nothrow_copy/typedefs.cc: Likewise. 49169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 50169691Skan has_trivial_assign/has_trivial_assign.cc: Likewise. 51169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 52169691Skan has_trivial_assign/typedefs.cc: Likewise. 53169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 54169691Skan has_trivial_copy/has_trivial_copy.cc: Likewise. 55169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 56169691Skan has_trivial_copy/typedefs.cc: Likewise. 57169691Skan 58146897Skan2004-12-29 Jonathan Wakely <redi@gcc.gnu.org> 59146897Skan 60146897Skan * include/bits/vector.tcc (erase(iterator, iterator), 61146897Skan operator=, _M_assign_aux(_ForwardIterator, _ForwardIterator, 62146897Skan forward_iterator_tag)): Qualify all calls to std::copy(). 63146897Skan 64169691Skan2004-12-29 Paolo Carlini <pcarlini@suse.de> 65146897Skan 66146897Skan Minimal fixes for -fno-exceptions. 67169691Skan * src/bitmap_allocator.cc (free_list::_M_get): Use 68169691Skan __throw_exception_again, instead of plain throw. 69146897Skan * testsuite/testsuite_abi.cc (get_symbol, examine_symbol, 70169691Skan create_symbols): Likewise. 71146897Skan * testsuite/testsuite_hooks.cc (verify_demangle, 72146897Skan run_tests_wrapped_locale, run_tests_wrapped_env): Likewise. 73146897Skan (try_named_locale): Wrap the whole catch in __EXCEPTIONS. 74146897Skan 75169691Skan2004-12-29 Paolo Carlini <pcarlini@suse.de> 76169691Skan 77169691Skan * include/tr1/type_traits: Add has_nothrow_constructor. 78169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 79169691Skan has_nothrow_constructor/has_nothrow_constructor.cc: New. 80169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 81169691Skan has_nothrow_constructor/typedefs.cc: Likewise. 82169691Skan 83169691Skan2004-12-28 David Edelsohn <edelsohn@gnu.org> 84169691Skan 85169691Skan * configure.host (aix4*|aix5*): Add atomic_word_dir. 86169691Skan * config/os/aix/atomic_word.h: New file. 87169691Skan 88169691Skan2004-12-27 Jason Merrill <jason@redhat.com> 89169691Skan 90169691Skan Add memory barriers to the double-checked locking used for static 91169691Skan initialization. 92169691Skan * libsupc++/guard.cc (__test_and_acquire): Define default. 93169691Skan (_GLIBCXX_GUARD_TEST_AND_ACQUIRE, __set_and_release) 94169691Skan (_GLIBCXX_GUARD_SET_AND_RELEASE): Likewise. 95169691Skan (recursion_push, recursion_pop): New abstraction functions. 96169691Skan (__cxa_guard_acquire): Use _GLIBCXX_GUARD_TEST_AND_ACQUIRE. 97169691Skan (__cxa_guard_release): Use _GLIBCXX_GUARD_SET_AND_RELEASE. 98169691Skan * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_TEST): Rename 99169691Skan from _GLIBCXX_GUARD_ACQUIRE and reverse sense. 100169691Skan (_GLIBCXX_GUARD_SET): Rename from _GLIBCXX_GUARD_RELEASE. 101169691Skan * config/cpu/arm/cxxabi_tweaks.h: Likewise. 102169691Skan * config/cpu/alpha/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER) 103169691Skan (_GLIBCXX_WRITE_MEM_BARRIER): Define. 104169691Skan * config/cpu/powerpc/atomic_word.h: Likewise. 105169691Skan * config/cpu/sparc/atomic_word.h: Likewise. 106169691Skan * config/cpu/generic/atomic_word.h: Define them, commented out. 107169691Skan * include/bits/atomicity.h: Define defaults. 108169691Skan * config/cpu/ia64/atomic_word.h (__test_and_acquire) 109169691Skan (__set_and_release): New inlines. 110169691Skan (_GLIBCXX_GUARD_TEST_AND_ACQUIRE): Define. 111169691Skan (_GLIBCXX_GUARD_SET_AND_RELEASE): Define. 112169691Skan 113169691Skan * libsupc++/guard.cc (acquire_1): Use __builtin_trap instead of 114169691Skan abort(); 115169691Skan 116169691Skan2004-12-27 Paolo Carlini <pcarlini@suse.de> 117169691Skan 118169691Skan * include/tr1/type_traits: Rework the _DEFINE_SPEC* macros. 119169691Skan 120169691Skan2004-12-26 Paolo Carlini <pcarlini@suse.de> 121169691Skan 122169691Skan * include/tr1/type_traits (__is_enum_helper): Slightly simplify, 123169691Skan make __convert non template. 124169691Skan 125169691Skan2004-12-26 Paolo Carlini <pcarlini@suse.de> 126169691Skan 127169691Skan * include/tr1/type_traits: Implement is_pod, has_trivial_constructor, 128169691Skan and has_trivial_destructor. 129169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 130169691Skan has_trivial_constructor/has_trivial_constructor.cc: New. 131169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 132169691Skan has_trivial_constructor/typedefs.cc: Likewise. 133169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 134169691Skan has_trivial_destructor/has_trivial_destructor.cc: Likewise. 135169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 136169691Skan has_trivial_destructor/typedefs.cc: Likewise. 137169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 138169691Skan is_pod/is_pod.cc: Likewise. 139169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 140169691Skan is_pod/typedefs.cc: Likewise. 141169691Skan 142169691Skan2004-12-25 Paolo Carlini <pcarlini@suse.de> 143169691Skan 144169691Skan * include/tr1/type_traits (is_enum): Minor tweak. 145169691Skan 146169691Skan2004-12-25 Paolo Carlini <pcarlini@suse.de> 147169691Skan 148169691Skan * include/tr1/type_traits: Implement is_enum (usual caveats about 149169691Skan the nasty consequences of c++/19076...). 150169691Skan * testsuite/testsuite_tr1.h: Add ConvType. 151169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 152169691Skan is_scalar/is_scalar.cc: New. 153169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 154169691Skan is_scalar/typedefs.cc: Likewise. 155169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 156169691Skan is_enum/is_enum.cc: Likewise. 157169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 158169691Skan is_enum/typedefs.cc: Likewise. 159169691Skan 160169691Skan2004-12-24 Paolo Carlini <pcarlini@suse.de> 161169691Skan 162169691Skan * include/tr1/type_traits: Add missing undef. 163169691Skan 164169691Skan2004-12-24 Paolo Carlini <pcarlini@suse.de> 165169691Skan 166169691Skan * include/tr1/type_traits: Implement is_member_object_pointer, 167169691Skan is_member_function_pointer. N.B. Due to c++/19076, the latter 168169691Skan doesn't really work at the moment (a rather ugly work around 169169691Skan will be provided in case the front-end bug doesn't get fixed 170169691Skan soon); generalize and extend the _DEFINE_SPEC macros. 171169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 172169691Skan is_member_pointer/is_member_pointer.cc: New. 173169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 174169691Skan is_member_pointer/typedefs.cc: Likewise. 175169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 176169691Skan is_member_function_pointer/is_member_function_pointer.cc: Likewise. 177169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 178169691Skan is_member_function_pointer/typedefs.cc: Likewise. 179169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 180169691Skan is_member_object_pointer/is_member_object_pointer.cc: Likewise. 181169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 182169691Skan is_member_object_pointer/typedefs.cc: Likewise. 183169691Skan 184169691Skan2004-12-22 Paolo Carlini <pcarlini@suse.de> 185169691Skan 186169691Skan * include/tr1/type_traits_fwd.h: New, forward declarations. 187169691Skan * include/tr1/type_traits: Clean-up. 188169691Skan * include/Makefile.am: Add. 189169691Skan * include/Makefile.in: Regenerate. 190169691Skan 191169691Skan2004-12-20 Paolo Carlini <pcarlini@suse.de> 192169691Skan 193169691Skan * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: New. 194169691Skan * testsuite/27_io/basic_istream/peek/wchar_t/12296.cc: Likewise. 195169691Skan * testsuite/27_io/basic_istream/peek/wchar_t/6414.cc: Likewise. 196169691Skan * testsuite/27_io/basic_istream/putback/wchar_t/1.cc: Likewise. 197169691Skan * testsuite/27_io/basic_istream/read/wchar_t/1.cc: Likewise. 198169691Skan * testsuite/27_io/basic_istream/read/wchar_t/2.cc: Likewise. 199169691Skan * testsuite/27_io/basic_istream/read/wchar_t/3.cc: Likewise. 200169691Skan * testsuite/27_io/basic_istream/readsome/wchar_t/6746-1.cc: Likewise. 201169691Skan * testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Likewise. 202169691Skan * testsuite/27_io/basic_istream/readsome/wchar_t/8258.cc: Likewise. 203169691Skan * testsuite/27_io/basic_istream/seekg/wchar_t/2.cc: Likewise. 204169691Skan * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise. 205169691Skan * testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise. 206169691Skan * testsuite/27_io/basic_istream/seekg/wchar_t/ 207169691Skan exceptions_badbit_throw.cc: Likewise. 208169691Skan * testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise. 209169691Skan * testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: Likewise. 210169691Skan * testsuite/27_io/basic_istream/sentry/wchar_t/1.cc: Likewise. 211169691Skan * testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise. 212169691Skan * testsuite/27_io/basic_istream/sentry/wchar_t/2.cc: Likewise. 213169691Skan * testsuite/27_io/basic_istream/sentry/wchar_t/3.cc: Likewise. 214169691Skan * testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise. 215169691Skan * testsuite/27_io/basic_istream/tellg/wchar_t/2.cc: Likewise. 216169691Skan * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise. 217169691Skan * testsuite/27_io/basic_istream/tellg/wchar_t/ 218169691Skan exceptions_badbit_throw.cc: Likewise. 219169691Skan * testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise. 220169691Skan * testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: Likewise. 221169691Skan * testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise. 222169691Skan 223169691Skan * testsuite/data/wistream_extractor_other-1.tst: New. 224169691Skan * testsuite/data/wistream_extractor_other-1.txt: Likewise. 225169691Skan * testsuite/data/wistream_extractor_other-2.tst: Likewise. 226169691Skan * testsuite/data/wistream_seeks-1.tst: Likewise. 227169691Skan * testsuite/data/wistream_seeks-1.txt: Likewise. 228169691Skan * testsuite/data/wistream_unformatted-1.tst: Likewise. 229169691Skan * testsuite/data/wistream_unformatted-1.txt: Likewise. 230169691Skan 231169691Skan * testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc: 232169691Skan Use wistream_extractor_other-1.txt. 233169691Skan 234169691Skan * testsuite/27_io/basic_istream/peek/char/6414.cc: Minor clean-up. 235169691Skan * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise. 236169691Skan * testsuite/27_io/basic_istream/read/char/1.cc: Likewise. 237169691Skan * testsuite/27_io/basic_istream/read/char/2.cc: Likewise. 238169691Skan 239169691Skan2004-12-19 Paolo Carlini <pcarlini@suse.de> 240169691Skan 241169691Skan * testsuite/27_io/basic_istream/exceptions/wchar_t/9561.cc: New. 242169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 243169691Skan 01.cc: Likewise. 244169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 245169691Skan 02.cc: Likewise. 246169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 247169691Skan 03.cc: Likewise. 248169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 249169691Skan 06.cc: Likewise. 250169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 251169691Skan 07.cc: Likewise. 252169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 253169691Skan 08.cc: Likewise. 254169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 255169691Skan 09.cc: Likewise. 256169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 257169691Skan 10.cc: Likewise. 258169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 259169691Skan 11.cc: Likewise. 260169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 261169691Skan 12.cc: Likewise. 262169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 263169691Skan 13.cc: Likewise. 264169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 265169691Skan 9555-ia.cc: Likewise. 266169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 267169691Skan exceptions_badbit_throw.cc: Likewise. 268169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 269169691Skan exceptions_failbit.cc: Likewise. 270169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 271169691Skan exceptions_failbit_throw.cc: Likewise. 272169691Skan * testsuite/27_io/basic_istream/extractors_character/wchar_t/ 273169691Skan 1.cc: Likewise. 274169691Skan * testsuite/27_io/basic_istream/extractors_character/wchar_t/ 275169691Skan 11095-i.cc: Likewise. 276169691Skan * testsuite/27_io/basic_istream/extractors_character/wchar_t/ 277169691Skan 2.cc: Likewise. 278169691Skan * testsuite/27_io/basic_istream/extractors_character/wchar_t/ 279169691Skan 3.cc: Likewise. 280169691Skan * testsuite/27_io/basic_istream/extractors_character/wchar_t/ 281169691Skan 9555-ic.cc: Likewise. 282169691Skan * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 283169691Skan 1.cc: Likewise. 284169691Skan * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 285169691Skan 2.cc: Likewise. 286169691Skan * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 287169691Skan 3.cc: Likewise. 288169691Skan * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 289169691Skan 9318-in.cc: Likewise. 290169691Skan * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 291169691Skan 9424-in.cc: Likewise. 292169691Skan * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 293169691Skan 9555-io.cc: Likewise. 294169691Skan * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 295169691Skan error_failbit.cc: Likewise. 296169691Skan * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 297169691Skan exceptions_badbit_throw.cc: Likewise. 298169691Skan * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 299169691Skan exceptions_failbit_throw.cc: Likewise. 300169691Skan * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 301169691Skan exceptions_null.cc: Likewise. 302169691Skan 303169691Skan * testsuite/27_io/basic_istream/extractors_other/char/2.cc: Minor 304169691Skan tweaks. 305169691Skan 306169691Skan * testsuite/testsuite_io.h (struct fail_buf): Fix type of 307169691Skan dummy return values. 308169691Skan 309169691Skan2004-12-19 Dhruv Matani <dhruvbird@gmx.net> 310169691Skan 311169691Skan * include/ext/bitmap_allocator.h: Make doxygen style comments for 312169691Skan internal functions and classes. 313169691Skan 314169691Skan2004-12-19 Dhruv Matani <dhruvbird@gmx.net> 315169691Skan 316169691Skan * docs/html/20_util/allocator.html: Correct link. 317169691Skan * docs/html/ext/ballocator_doc.txt: Remove. 318169691Skan * docs/html/ext/ballocator_doc.html: Add. 319169691Skan 320169691Skan2004-12-16 Danny Smith <dannysmith@users.sourceforge.net> 321169691Skan 322169691Skan PR target/18997 323169691Skan * config/os/newlib/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): 324169691Skan Define to 0 for __CYGWIN__. 325169691Skan 326169691Skan2004-12-16 Paolo Carlini <pcarlini@suse.de> 327169691Skan 328169691Skan * include/tr1/type_traits: Implement add_const, add_volatile, 329169691Skan and add_cv. 330169691Skan * testsuite/tr1/4_metaprogramming/const_volatile_modifications/ 331169691Skan add_const.cc: New. 332169691Skan * testsuite/tr1/4_metaprogramming/const_volatile_modifications/ 333169691Skan add_cv.cc: Likewise. 334169691Skan * testsuite/tr1/4_metaprogramming/const_volatile_modifications/ 335169691Skan add_volatile.cc: Likewise. 336169691Skan 337169691Skan2004-12-16 Paolo Carlini <pcarlini@suse.de> 338169691Skan 339169691Skan * include/tr1/type_traits: Implement is_function. 340169691Skan (struct __sfinae_types, struct __is_function_helper): New. 341169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 342169691Skan is_object/is_object.cc: New. 343169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 344169691Skan is_object/typedefs.cc: Likewise. 345169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 346169691Skan is_function/is_function.cc: Likewise. 347169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 348169691Skan is_function/typedefs.cc: Likewise. 349169691Skan 350169691Skan2004-12-13 Paolo Carlini <pcarlini@suse.de> 351169691Skan 352169691Skan * include/tr1/type_traits (extent): Minor tweak (i.e., public). 353169691Skan 354169691Skan2004-12-12 Paolo Carlini <pcarlini@suse.de> 355169691Skan 356169691Skan * include/tr1/type_traits: Minor tweak. 357169691Skan * testsuite/tr1/4_metaprogramming/type_properties/extent/ 358169691Skan typedefs.cc: Fix date. 359169691Skan 360169691Skan2004-12-12 Paolo Carlini <pcarlini@suse.de> 361169691Skan 362169691Skan * include/tr1/type_traits: Implement extent. 363169691Skan * testsuite/tr1/4_metaprogramming/type_properties/extent/ 364169691Skan extent.cc: New. 365169691Skan * testsuite/tr1/4_metaprogramming/type_properties/extent/ 366169691Skan typedefs.cc: Likewise. 367169691Skan 368169691Skan2004-12-12 Paolo Carlini <pcarlini@suse.de> 369169691Skan 370169691Skan * include/tr1/type_traits: Implement is_pointer, remove_pointer, 371169691Skan and add_pointer; reformat. 372169691Skan (_DEFINE_PRIMARY_SPEC_HELPER, _DEFINE_PRIMARY_SPEC): Generalize 373169691Skan and rename to _DEFINE_SPEC_HELPER and _DEFINE_SPEC; update uses. 374169691Skan * testsuite/tr1/4_metaprogramming/pointer_modifications/ 375169691Skan add_pointer.cc: New. 376169691Skan * testsuite/tr1/4_metaprogramming/pointer_modifications/ 377169691Skan remove_pointer.cc: Likewise. 378169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 379169691Skan is_pointer/is_pointer.cc: Likewise. 380169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 381169691Skan is_pointer/typedefs.cc: Likewise. 382169691Skan 383169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 384169691Skan is_reference/is_reference.cc: Slightly tweak consistently. 385169691Skan 386169691Skan2004-12-11 Paolo Carlini <pcarlini@suse.de> 387169691Skan 388169691Skan * include/tr1/type_traits: Implement rank. 389169691Skan * testsuite/testsuite_tr1.h (test_property): Generalize to any 390169691Skan value_type. 391169691Skan (test_category, test_relationship): Slightly tweak consistently. 392169691Skan * testsuite/tr1/4_metaprogramming/type_properties/rank/ 393169691Skan rank.cc: New. 394169691Skan * testsuite/tr1/4_metaprogramming/type_properties/rank/ 395169691Skan typedefs.cc: Likewise. 396169691Skan 397169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 398169691Skan is_compound/is_compound.cc: New. 399169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 400169691Skan is_compound/typedefs.cc: Likewise. 401169691Skan 402169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 403169691Skan is_arithmetic/is_arithmetic.cc: Tweak consistently with the 404169691Skan testsuite_tr1.h changes. 405169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 406169691Skan is_fundamental/is_fundamental.cc: Likewise. 407169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 408169691Skan is_array/is_array.cc: Likewise. 409169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 410169691Skan is_floating_point/is_floating_point.cc: Likewise. 411169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 412169691Skan is_integral/is_integral.cc: Likewise. 413169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 414169691Skan is_reference/is_reference.cc: Likewise. 415169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 416169691Skan is_void/is_void.cc: Likewise. 417169691Skan * testsuite/tr1/4_metaprogramming/relationships_between_types/ 418169691Skan is_same/is_same.cc: Likewise. 419169691Skan * testsuite/tr1/4_metaprogramming/type_properties/is_const/ 420169691Skan is_const.cc: Likewise. 421169691Skan * testsuite/tr1/4_metaprogramming/type_properties/is_volatile/ 422169691Skan is_volatile.cc: Likewise. 423169691Skan 424169691Skan2004-12-10 Paolo Carlini <pcarlini@suse.de> 425169691Skan 426169691Skan * include/tr1/type_traits: Implement remove_const, remove_volatile, 427169691Skan and remove_cv. 428169691Skan * testsuite/tr1/4_metaprogramming/const_volatile_modifications/ 429169691Skan remove_const.cc: New. 430169691Skan * testsuite/tr1/4_metaprogramming/const_volatile_modifications/ 431169691Skan remove_cv.cc: Likewise. 432169691Skan * testsuite/tr1/4_metaprogramming/const_volatile_modifications/ 433169691Skan remove_volatile.cc: Likewise. 434169691Skan 435169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 436169691Skan is_array/is_array.cc: Slightly tweak consistently, remove typedefs, 437169691Skan add a few tests. 438169691Skan 439169691Skan2004-12-09 Paolo Carlini <pcarlini@suse.de> 440169691Skan 441169691Skan * include/tr1/type_traits: Implement remove_extent and 442169691Skan remove_all_extents. 443169691Skan * testsuite/tr1/4_metaprogramming/array_modifications/ 444169691Skan remove_all_extents.cc: New. 445169691Skan * testsuite/tr1/4_metaprogramming/array_modifications/ 446169691Skan remove_extent.cc: Likewise. 447169691Skan 448169691Skan2004-12-08 Paolo Carlini <pcarlini@suse.de> 449169691Skan 450169691Skan * include/tr1/type_traits: Implement is_same, add_reference and 451169691Skan remove_reference. 452169691Skan * testsuite/testsuite_tr1.h (test_relationship): New. 453169691Skan * testsuite/tr1/4_metaprogramming/reference_modifications/ 454169691Skan add_reference.cc: New. 455169691Skan * testsuite/tr1/4_metaprogramming/reference_modifications/ 456169691Skan remove_reference.cc: Likewise. 457169691Skan * testsuite/tr1/4_metaprogramming/relationships_between_types/ 458169691Skan is_same/is_same.cc: Likewise. 459169691Skan * testsuite/tr1/4_metaprogramming/relationships_between_types/ 460169691Skan is_same/typedefs.cc: Likewise. 461169691Skan 462169691Skan * testsuite/tr1/4_metaprogramming/type_properties/is_const/ 463169691Skan is_const.cc: Minor tweaks. 464169691Skan * testsuite/tr1/4_metaprogramming/type_properties/is_volatile/ 465169691Skan is_volatile.cc: Likewise. 466169691Skan 467169691Skan2004-12-08 David Edelsohn <edelsohn@gnu.org> 468169691Skan 469169691Skan * Makefile.am (AM_MAKEFLAGS): Remove duplicate LIBCFLAGS and 470169691Skan PICFLAG. 471169691Skan * Makefile.in: Regenerated. 472169691Skan 473169691Skan2004-12-07 Paolo Carlini <pcarlini@suse.de> 474169691Skan 475169691Skan * include/tr1/type_traits: Implement is_const and is_volatile. 476169691Skan * testsuite/testsuite_tr1.h (test_property): New. 477169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 478169691Skan is_const/is_const.c: New. 479169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 480169691Skan is_const/typedefs.cc: Likewise. 481169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 482169691Skan is_volatile/is_volatile.cc: Likewise. 483169691Skan * testsuite/tr1/4_metaprogramming/type_properties/ 484169691Skan is_volatile/typedefs.cc: Likewise. 485169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 486169691Skan is_arithmetic/is_arithmetic.cc: Slightly tweak to use ClassType 487169691Skan from testsuite_tr1.h. 488169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 489169691Skan is_fundamental/is_fundamental.cc: Likewise. 490169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 491169691Skan is_array/is_array.cc: Likewise. 492169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 493169691Skan is_floating_point/is_floating_point.cc: Likewise. 494169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 495169691Skan is_integral/is_integral.cc: Likewise. 496169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 497169691Skan is_reference/is_reference.cc: Likewise. 498169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 499169691Skan is_void/is_void.cc: Likewise. 500169691Skan 501146897Skan2004-12-06 Paolo Carlini <pcarlini@suse.de> 502146897Skan 503169691Skan * include/tr1/type_traits: Implement is_reference. 504169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 505169691Skan is_reference/is_reference.cc: New. 506169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 507169691Skan is_reference/typedefs.cc: Likewise. 508169691Skan 509169691Skan2004-12-05 Paolo Carlini <pcarlini@suse.de> 510169691Skan 511146897Skan PR libstdc++/18837 512146897Skan * testsuite/testsuite_performance.h: Fix mallinfo macros for 513146897Skan hpux. 514146897Skan 515169691Skan2004-12-04 Richard Henderson <rth@redhat.com> 516146897Skan 517169691Skan * testsuite/26_numerics/complex/pow.cc: Use -mieee on alpha. 518146897Skan 519169691Skan2004-12-04 Richard Henderson <rth@redhat.com> 520169691Skan 521169691Skan * include/ext/malloc_allocator.h: Include cstdlib. 522169691Skan 523169691Skan2004-12-04 Paolo Carlini <pcarlini@suse.de> 524169691Skan 525169691Skan * include/tr1/type_traits: New. 526169691Skan * include/Makefile.am: Add. 527169691Skan * include/Makefile.in: Regenerate. 528169691Skan * testsuite/testsuite_tr1.h: New. 529169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 530169691Skan is_arithmetic/is_arithmetic.cc: New. 531169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 532169691Skan is_arithmetic/typedefs.cc: Likewise. 533169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 534169691Skan is_fundamental/is_fundamental.cc: Likewise. 535169691Skan * testsuite/tr1/4_metaprogramming/composite_type_traits/ 536169691Skan is_fundamental/typedefs.cc: Likewise. 537169691Skan * testsuite/tr1/4_metaprogramming/helper_classes/ 538169691Skan true_false_type.cc: Likewise. 539169691Skan * testsuite/tr1/4_metaprogramming/helper_classes/ 540169691Skan true_false_type_typedefs.cc: Likewise. 541169691Skan * testsuite/tr1/4_metaprogramming/helper_classes/ 542169691Skan typedefs.cc: Likewise. 543169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 544169691Skan is_array/is_array.cc: Likewise. 545169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 546169691Skan is_array/typedefs.cc: Likewise. 547169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 548169691Skan is_floating_point/is_floating_point.cc: Likewise. 549169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 550169691Skan is_floating_point/typedefs.cc: Likewise. 551169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 552169691Skan is_integral/is_integral.cc: Likewise. 553169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 554169691Skan is_integral/typedefs.cc: Likewise. 555169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 556169691Skan is_void/is_void.cc: Likewise. 557169691Skan * testsuite/tr1/4_metaprogramming/primary_type_categories/ 558169691Skan is_void/typedefs.cc: Likewise. 559169691Skan 560169691Skan2004-12-02 Paolo Carlini <pcarlini@suse.de> 561169691Skan 562169691Skan * testsuite/testsuite_io.h (class sync_buf): New, templatized 563169691Skan version of sync_streambuf; add typedefs for streambuf/wstreambuf. 564169691Skan (class fail_buf): Likewise, for fail_streambuf. 565169691Skan (class fail_num_get): Templatize and add char/wchar_t typedefs. 566169691Skan (class fail_num_put): Likewise. 567169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/ 568169691Skan exceptions_badbit_throw.cc: Use the latter. 569169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/ 570169691Skan exceptions_failbit_throw.cc: Likewise. 571169691Skan * testsuite/27_io/basic_ostream/inserters_arithmetic/char/ 572169691Skan exceptions_badbit_throw.cc: Likewise. 573169691Skan * testsuite/27_io/basic_ostream/inserters_arithmetic/char/ 574169691Skan exceptions_failbit_throw.cc: Likewise. 575169691Skan 576169691Skan2004-12-01 Paolo Carlini <pcarlini@suse.de> 577169691Skan 578169691Skan * testsuite/27_io/basic_istream/get/wchar_t/1.cc: New. 579169691Skan * testsuite/27_io/basic_istream/get/wchar_t/2.cc: Likewise. 580169691Skan * testsuite/27_io/basic_istream/get/wchar_t/3.cc: Likewise. 581169691Skan * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise. 582169691Skan * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Likewise. 583169691Skan * testsuite/27_io/basic_istream/ignore/wchar_t/3.cc: Likewise. 584169691Skan * testsuite/27_io/basic_istream/ignore/wchar_t/6360.cc: Likewise. 585169691Skan * testsuite/27_io/basic_istream/ignore/wchar_t/7220.cc: Likewise. 586169691Skan 587169691Skan2004-11-29 Paolo Carlini <pcarlini@suse.de> 588169691Skan 589169691Skan * testsuite/21_strings/basic_string/capacity/char/18654.cc: Use 590169691Skan better names. 591169691Skan * testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: Same. 592169691Skan 593169691Skan2004-11-29 Paolo Carlini <pcarlini@suse.de> 594169691Skan 595169691Skan PR libstdc++/18654 596169691Skan * include/bits/basic_string.tcc (_Rep::_S_create): When shrinking, 597169691Skan do not round to pagesize. 598169691Skan * testsuite/21_strings/basic_string/capacity/char/18654.cc: New. 599169691Skan * testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: New. 600169691Skan 601169691Skan2004-11-27 Paolo Carlini <pcarlini@suse.de> 602169691Skan 603169691Skan PR libstdc++/18690 604169691Skan * include/tr1/utility (get(pair), get(const pair)): Change 605169691Skan occurrences of _I to _Int. 606169691Skan 607169691Skan2004-11-27 Paolo Carlini <pcarlini@suse.de> 608169691Skan 609169691Skan * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: Fix typo. 610169691Skan * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: Likewise. 611169691Skan 612169691Skan * testsuite/22_locale/time_put/put/char/17038.cc: Use VERIFY. 613169691Skan * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise. 614169691Skan * testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: Likewise. 615169691Skan * testsuite/27_io/basic_ios/exceptions/char/2.cc: Likewise. 616169691Skan 617169691Skan2004-11-26 Paolo Carlini <pcarlini@suse.de> 618169691Skan 619169691Skan DR 243. get and getline when sentry reports failure [WP] 620169691Skan * include/bits/istream.tcc (istream<>::get, istream<>::getline): 621169691Skan Store a null character only if the array has a non-zero size. 622169691Skan * src/istream.cc (istream<char>::getline, istream<wchar_t>::getline): 623169691Skan Likewise. 624169691Skan * testsuite/27_io/basic_istream/get/char/3.cc: New. 625169691Skan * testsuite/27_io/basic_istream/getline/char/6.cc: New. 626169691Skan * testsuite/27_io/basic_istream/getline/wchar_t/6.cc: New. 627169691Skan * docs/html/ext/howto.html: Add an entry for DR 243. 628169691Skan 629169691Skan * testsuite/27_io/basic_istream/getline/wchar_t/1.cc: New. 630169691Skan * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: New. 631169691Skan * testsuite/27_io/basic_istream/getline/wchar_t/3.cc: New. 632169691Skan * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: New. 633169691Skan * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: New. 634169691Skan 635169691Skan2004-11-24 Kelley Cook <kcook@gcc.gnu.org> 636169691Skan 637169691Skan * configure: Regenerate for libtool change. 638169691Skan 639169691Skan2004-11-24 Kelley Cook <kcook@gcc.gnu.org> 640169691Skan 641169691Skan * Makefile.in, aclocal.m4: Regenerate with automake 1.9.3. 642169691Skan * include/Makefile.in: Likewise. 643169691Skan * libmath/Makefile.in: Likewise. 644169691Skan * libsupc++/Makefile.in: Likewise. 645169691Skan * po/Makefile.in: Likewise. 646169691Skan * src/Makefile.in: Likewise. 647169691Skan * testsuite/Makefile.in: Likewise. 648169691Skan 649146897Skan2004-11-24 Jonathan Wakely <redi@kayari.org> 650146897Skan 651146897Skan * docs/html/ext/howto.html: Fix incorrect link. 652146897Skan * docs/html/documentation.html: Regenerate. 653146897Skan 654169691Skan2004-11-24 Nathan Myers <ncm@cantrip.org> 655169691Skan 656169691Skan * include/bits/streambuf_iterator.h 657169691Skan (istreambuf_iterator<>::operator++(), operator++(int)): Don't 658169691Skan check unnecessarily the return value of _M_sbuf->sbumpc(). 659169691Skan 660169691Skan2004-11-24 Benjamin Kosnik <bkoz@redhat.com> 661169691Skan 662169691Skan * include/Makefile.am (tr1_headers): Add utility, functional. 663169691Skan * include/Makefile.in: Regenerate. 664169691Skan 665169691Skan2004-11-24 Chris Jefferson <chris@bubblescope.net> 666169691Skan 667169691Skan * include/tr1/tuple(operator!=): Change operator 668169691Skan definition to match (draft) technical report. 669169691Skan (operator>): Same. 670169691Skan (operator<=): Same. 671169691Skan (operator>=): Same. 672169691Skan (ref): Move to include/tr1/functional. 673169691Skan (cref): Same. 674169691Skan (tuple_size<pair>): Move to include/tr1/utility. 675169691Skan (tuple_element<,pair>): Same. 676169691Skan * include/tr1/functional: New. 677169691Skan * include/tr1/utility: New. 678169691Skan * testsuite/tr1/6_container/utility/pair.cc: New. 679169691Skan 680169691Skan2004-11-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de> 681169691Skan 682169691Skan * config/locale/ieee_1003.1-2001/codecvt_specializations.h 683169691Skan (do_out, do_unshift, do_in): Remove redundant typedef. 684169691Skan 685169691Skan2004-11-23 Chris Jefferson <chris@bubblescope.net> 686169691Skan 687169691Skan * testsuite/testsuite_iterators.h: New. 688169691Skan * testsuite/25_algorithms/search_n/iterator.cc: New. 689169691Skan * testsuite/performance/25_algorithms/search_n.cc: New. 690169691Skan 691169691Skan2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 692169691Skan 693169691Skan * testsuite/lib/libstdc++.exp: Use new procs in target-libpath.exp. 694169691Skan 695169691Skan2004-11-23 Benjamin Kosnik <bkoz@redhat.com> 696169691Skan 697169691Skan * docs/doxygen/doxygroups.cc: Add std::tr1 namespace. 698169691Skan * docs/doxygen/run_doxygen: Renames for std::tr1. 699169691Skan * docs/doxygen/user.cfg.in: Add cxxabi.h. 700169691Skan * include/bits/*.tcc: Add file markup. 701169691Skan * include/bits/allocator.h: Add link to allocator.html. 702169691Skan * include/bits/atomicity.h: Add file markup. 703169691Skan * include/bits/concurrence.h: Same. 704169691Skan * include/bits/functexcept.h: Same. 705169691Skan * include/ext*: Adjust file markup, remove GCC3 bits. 706169691Skan * include/std/*: Adjust file markup, remove bits about renamed files. 707169691Skan * libsupc++/cxxabi.h: Add file markup. 708169691Skan * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust line numbers. 709169691Skan 710169691Skan2004-11-22 Benjamin Kosnik <bkoz@redhat.com> 711169691Skan 712169691Skan * include/bits/locale_facets.h (isspace, isprint, isupper, 713169691Skan islower, isalpha, isdigit, ispunct, isxdigit, isalnum, isgraph, 714169691Skan toupper, tolower): Add doxygen markup. 715169691Skan (codecvt_byname, ctype_byname, numpunct_byname, collate_byname, 716169691Skan time_get_byname, time_put_byname, moneypunct_byname, 717169691Skan messages_byname): Same. 718169691Skan * include/std/std_fstream.h: Remove superfluous markup. 719169691Skan * include/std/std_sstream.h: Same. 720169691Skan * include/std/std_streambuf.h: Same. 721169691Skan * include/ext/enc_filebuf.h: Adjust markup. 722169691Skan * include/ext/stdio_filebuf.h: Same. 723169691Skan * include/ext/stdio_sync_filebuf.h: Same. 724169691Skan * include/bits/codecvt.h: Same. 725169691Skan * config/os/gnu-linux/ctype_base.h: Same. 726169691Skan * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same. 727169691Skan * include/tr1/array: Add markup. 728169691Skan * include/tr1/tuple: Same. 729169691Skan 730169691Skan * docs/doxygen/run_doxygen: Print arguments. 731169691Skan 732169691Skan * docs/doxygen/user.cfg.in: Tweaks. 733169691Skan 734169691Skan2004-11-19 Jonathan Wakely <redi@gcc.gnu.org> 735169691Skan 736169691Skan * include/bits/basic_string.h, include/bits/locale_classes.h, 737169691Skan include/bits/valarray_after.h, include/bits/valarray_before.h, 738169691Skan include/ext/stdio_sync_filebuf.h, include/std/std_algorithm.h, 739169691Skan include/std/std_functional.h, include/std/std_memory.h, 740169691Skan include/std/std_numeric.h: Doxygen fixes. 741169691Skan 742169691Skan2004-11-19 Paolo Carlini <pcarlini@suse.de> 743169691Skan 744169691Skan * testsuite/22_locale/time_get/get_date/char/1.cc: In the checks 745169691Skan use, more correctly (and consistently with other testcases) the 746169691Skan return value of the facet (the iterator arguments are by value). 747169691Skan * testsuite/22_locale/time_get/get_date/char/12791.cc: Likewise. 748169691Skan * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise. 749169691Skan * testsuite/22_locale/time_get/get_date/wchar_t/12791.cc: Likewise. 750169691Skan * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise. 751169691Skan * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise. 752169691Skan * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise. 753169691Skan * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise. 754169691Skan * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise. 755169691Skan * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise. 756169691Skan * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise. 757169691Skan * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise. 758169691Skan 759169691Skan2004-11-19 Jonathan Wakely <redi@gcc.gnu.org> 760169691Skan 761169691Skan * Makefile.am (doxygen, doxygen-maint, doxygen-man): Remove extra '$' 762169691Skan from host_alias variable. 763169691Skan * Makefile.in: Regenerate. 764169691Skan 765169691Skan2004-11-19 Chris Jefferson <chris@bubblescope.net> 766169691Skan 767169691Skan * include/bits/stl_list.h (list::back, list::back const): 768169691Skan Don't decrement temporary. 769169691Skan 770169691Skan2004-11-19 Paolo Carlini <pcarlini@suse.de> 771169691Skan 772169691Skan * include/bits/stl_deque.h (deque::front, deque::front const, 773169691Skan deque::back, deque::back const): Slightly tweak for stylistic 774169691Skan consistency. 775169691Skan 776146897Skan2004-11-18 Paolo Carlini <pcarlini@suse.de> 777146897Skan 778169691Skan * testsuite/26_numerics/numeric/sum_diff.cc: Use VERIFY. 779169691Skan * testsuite/ext/array_allocator/1.cc: Likewise. 780169691Skan * testsuite/ext/array_allocator/2.cc: Likewise. 781169691Skan * testsuite/ext/array_allocator/3.cc: Likewise. 782169691Skan * testsuite/ext/enc_filebuf/char/13598.cc: Likewise. 783146897Skan 784169691Skan2004-11-18 Paolo Carlini <pcarlini@suse.de> 785146897Skan 786169691Skan * include/bits/locale_facets.tcc (num_get<>::do_get(void*&)): 787169691Skan If the failbit is set, don't set it again. 788169691Skan (money_get<>::_M_extract): Minor stylistic tweak: consistently 789169691Skan with the other functions, take care of eofbit at the end. 790169691Skan 791169691Skan2004-11-18 Paolo Carlini <pcarlini@suse.de> 792169691Skan 793169691Skan DR 434. bitset::to_string() hard to use [Ready] 794169691Skan * include/std/std_bitset.h (to_string): Add three overloads, taking 795169691Skan fewer template arguments. 796169691Skan * docs/html/ext/howto.html: Add an entry for DR 434. 797169691Skan * testsuite/23_containers/bitset/to_string/1.cc: New. 798169691Skan 799169691Skan2004-11-17 Paolo Carlini <pcarlini@suse.de> 800169691Skan 801169691Skan * include/bits/istream.tcc (getline(basic_istream<>&, basic_string<>&, 802169691Skan _CharT)): Remove temporary kludge for libstdc++/15002. 803169691Skan * include/std/std_streambuf.h (class basic_streambuf): Declare 804169691Skan getline(basic_istream<>&, basic_string<>&, _CharT) as friend. 805169691Skan * include/bits/basic_string.h (getline(basic_istream<>&, 806169691Skan basic_string<>&, _CharT)): Declare optimized specializations for 807169691Skan char and wchar_t, using protected members of basic_streambuf. 808169691Skan * src/istream.cc: Define the latter. 809169691Skan 810146897Skan2004-11-16 Jonathan Wakely <redi@gcc.gnu.org> 811146897Skan 812146897Skan * docs/html/19_diagnostics/howto.html: Document change from 813146897Skan _GLIBCPP_CONCEPT_CHECKS to _GLIBCXX_CONCEPT_CHECKS in 3.4. 814146897Skan 815169691Skan2004-11-16 Matthias Klose <doko@debian.org> 816169691Skan 817169691Skan * docs/doxygen/user.cfg.in: Set HAVE_DOT to NO. 818169691Skan 819169691Skan2004-11-16 Matthias Klose <doko@debian.org> 820169691Skan 821169691Skan * Makefile.am (doxygen, doxygen-maint, doxygen-man): Use host_alias 822169691Skan instead of build_alias. 823169691Skan * docs/doxygen/run_doxygen: Likewise. 824169691Skan * docs/doxygen/user.cfg.in: Likewise. 825169691Skan * Makefile.in: Regenerate. 826169691Skan 827169691Skan2004-11-15 Paolo Carlini <pcarlini@suse.de> 828169691Skan 829169691Skan * include/bits/streambuf.tcc (__copy_streambufs): Provide 830169691Skan a generic version of the function, not using the protected 831169691Skan members of basic_streambuf. 832169691Skan * include/std/std_streambuf.h (__copy_streambufs): Declare 833169691Skan optimized specializations for char and wchar_t. 834169691Skan * src/streambuf.cc: New file, define the latter. 835169691Skan * src/Makefile.am: Add. 836169691Skan * src/Makefile.in: Regenerate. 837169691Skan 838169691Skan2004-11-15 Matthias Klose <doko@debian.org> 839169691Skan 840169691Skan * docs/doxygen/run_doxygen: Add --build_alias option, 841169691Skan substitute it in docs/doxygen/user.cfg.in. 842169691Skan * docs/doxygen/user.cfg.in: Use build_alias. 843169691Skan * Makefile.am: Pass --build_alias to run_doxygen 844169691Skan * Makefile.in: Regenerate. 845169691Skan 846169691Skan2004-11-15 Benjamin Kosnik <bkoz@redhat.com> 847169691Skan 848169691Skan * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.4. 849169691Skan 850169691Skan2004-11-15 Paolo Carlini <pcarlini@suse.de> 851169691Skan 852169691Skan * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 33. 853169691Skan 854169691Skan2004-11-14 Paolo Carlini <pcarlini@suse.de> 855169691Skan 856169691Skan * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): 857169691Skan Slightly tweak for clarity (also leads to measurably better code). 858169691Skan 859169691Skan2004-11-12 Andrew Pinski <pinskia@physics.uc.edu> 860169691Skan 861169691Skan PR other/14264 862169691Skan * testsuite/lib/libstdc++.exp: Set LC_ALL and LANG to C. 863169691Skan 864169691Skan2004-11-09 Paolo Carlini <pcarlini@suse.de> 865169691Skan 866169691Skan * include/bits/locale_facets.tcc (time_get<>::do_get_weekday, 867169691Skan time_get<>::do_get_monthname): Absolutely avoid dereferencing 868169691Skan end iterators. 869169691Skan 870169691Skan * include/bits/locale_facets.tcc (time_get<>::_M_extract_name): 871169691Skan Minor tweak. 872169691Skan 873146897Skan2004-11-08 Benjamin Kosnik <bkoz@redhat.com> 874146897Skan Doug Gregor <dgregor@cs.indiana.edu> 875146897Skan 876146897Skan PR libstdc++/17664 877146897Skan * src/debug.cc : Just use one mutex. 878146897Skan 879146897Skan2004-11-08 Benjamin Kosnik <bkoz@redhat.com> 880169691Skan 881169691Skan * configure.ac (libtool_VERSION): To 6:4:0. 882169691Skan * configure: Regenerate. 883169691Skan 884169691Skan * config/linker-map.gnu: Slide new symbols into GLIBCXX_3.4.4. 885169691Skan 886169691Skan * docs/doxygen/user.cfg.in: Add more extension files. 887169691Skan 888169691Skan2004-11-08 Paolo Carlini <pcarlini@suse.de> 889169691Skan 890169691Skan * include/bits/streambuf_iterator.h (class istreambuf_iterator): 891169691Skan Consistently use _M_c to cache the current char, i.e., not only 892169691Skan when operator++(int) is involved; change _M_c to mutable. 893169691Skan (_M_get()): Always save the return value of _M_sbuf->sgetc() into 894169691Skan _M_c. 895169691Skan * testsuite/22_locale/time_get/get_monthname/char/1.cc: Fix 896169691Skan (long standing) typo. 897169691Skan * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise. 898169691Skan * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise. 899169691Skan * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise. 900169691Skan 901169691Skan2004-11-08 Paolo Carlini <pcarlini@suse.de> 902169691Skan 903169691Skan * include/bits/istream.tcc (getline(char_type*, streamsize, 904169691Skan char_type), ignore(streamsize), ignore(streamsize, int_type)): 905169691Skan Restore a generic version of the functions, not using the 906169691Skan protected members of basic_streambuf. 907169691Skan * include/std/std_istream.h (getline(char_type*, streamsize, 908169691Skan char_type), ignore(streamsize), ignore(streamsize, int_type)): 909169691Skan Declare optimized specializations for char and wchar_t. 910169691Skan * src/istream.cc: New file, define the latter. 911169691Skan * src/Makefile.am: Add. 912169691Skan * src/Makefile.in: Regenerate. 913169691Skan 914169691Skan2004-11-07 Paolo Carlini <pcarlini@suse.de> 915169691Skan 916169691Skan * testsuite/performance/27_io/ifstream_getline-2.cc: New. 917169691Skan 918169691Skan2004-11-05 Benjamin Kosnik <bkoz@redhat.com> 919169691Skan 920169691Skan PR libstdc++/17218 921169691Skan PR libstdc++/17223 922169691Skan * docs/doxygen/filter: Remove. 923169691Skan * docs/doxygen/filter.sed: Remove. 924169691Skan * docs/doxygen/mainpage.html: Add link to functions. 925169691Skan * docs/doxygen/run_doxygen: Changes due to new source filtering. 926169691Skan * docs/doxygen/user.cfg.in: Update to doxygen 1.3.9.1, tweak. 927169691Skan * include/bits/allocator.h: Tweaks for doxygen. 928169691Skan * include/bits/char_traits.h: Same. 929169691Skan * include/bits/codecvt.h: Same. 930169691Skan * include/bits/concurrence.h: Same. 931169691Skan * include/bits/locale_facets.h: Same. 932169691Skan * include/ext/array_allocator.h: Same. 933169691Skan * include/ext/debug_allocator.h: Same. 934169691Skan * include/ext/malloc_allocator.h: Same. 935169691Skan * include/ext/mt_allocator.h: Same. 936169691Skan * include/ext/new_allocator.h: Same. 937169691Skan * include/ext/pool_allocator.h: Same. 938169691Skan * include/ext/stdio_sync_filebuf.h: Same. 939169691Skan * include/std/std_memory.h: Same. 940169691Skan * include/tr1/array: Same. 941169691Skan * include/tr1/tuple: Same. 942169691Skan * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same. 943169691Skan * config/os/gnu-linux/ctype_base.h: Same. 944169691Skan 945169691Skan2004-11-04 Paolo Carlini <pcarlini@suse.de> 946169691Skan 947169691Skan * include/bits/locale_facets.tcc (num_get<>::do_get(bool&)): 948169691Skan Evaluate __beg == __end the exact strict minimum number of times. 949169691Skan 950169691Skan2004-11-03 Jonathan Wakely <redi@gcc.gnu.org> 951169691Skan 952169691Skan * include/bits/stl_numeric.h (partial_sum, adjacent_difference): 953169691Skan Avoid dereferencing two times __first in the prologue. 954169691Skan 955169691Skan2004-11-03 Paolo Carlini <pcarlini@suse.de> 956169691Skan 957169691Skan * include/bits/stl_numeric.h: Trivial formatting fixes. 958169691Skan 959169691Skan2004-11-03 Benjamin Kosnik <bkoz@redhat.com> 960169691Skan 961169691Skan * include/bits/c++config: Spacing. 962169691Skan * libsupc++/del_op.cc: Include c++config.h. 963169691Skan * libsupc++/del_opnt.cc: Same. 964169691Skan * libsupc++/del_opv.cc: Same. 965169691Skan * libsupc++/del_opvnt.cc: Same. 966169691Skan * libsupc++/new_op.cc: Same. 967169691Skan * libsupc++/new_opnt.cc: Same. 968169691Skan * libsupc++/new_opv.cc: Same. 969169691Skan * libsupc++/new_opvnt.cc: Same. 970169691Skan 971169691Skan2004-11-03 Aaron W. LaFramboise <aaronavay62@aaronwl.com> 972169691Skan 973169691Skan * config/os/bsd/darwin/os_defines.h 974169691Skan (_GLIBCXX_WEAK_DEFINITION): Define. 975169691Skan * include/bits/c++config (_GLIBCXX_WEAK_DEFINITION): Define. 976169691Skan * libsupc++/del_op.cc (operator delete(void *)): Use 977169691Skan _GLIBCXX_WEAK_DEFINITION. 978169691Skan * libsupc++/del_opnt.cc 979169691Skan (operator delete(void *, const std::nothrow_t&)): Same. 980169691Skan * libsupc++/del_opv.cc (operator delete[](void *)): Same. 981169691Skan * libsupc++/del_opvnt.cc 982169691Skan (operator delete[](void *, const std::nothrow_t&)): Same. 983169691Skan * libsupc++/new_op.cc (operator new(std::size_t)): Same. 984169691Skan * libsupc++/new_opnt.cc 985169691Skan (operator new(std::size_t, const std::nothrow_t&)): Same 986169691Skan * libsupc++/new_opv.cc (operator new[](std::size_t)): Same. 987169691Skan * libsupc++/new_opvnt.cc 988169691Skan (operator new[](std::size_t, const std::nothrow_t&)): Same. 989169691Skan 990169691Skan2004-11-02 Paolo Carlini <pcarlini@suse.de> 991169691Skan 992169691Skan * include/bits/locale_facets.tcc (num_get<>::_M_extract_int): 993169691Skan Evaluate *__beg the exact strict minimum number of times; likewise 994169691Skan for __beg != __end; slightly simplify main parsing loop. 995169691Skan 996169691Skan2004-11-02 Benjamin Kosnik <bkoz@redhat.com> 997146897Skan Lothar Werzinger <lothar@xcerla.com> 998146897Skan 999146897Skan PR libstdc++/17664 1000146897Skan * src/debug.cc: Include concurrence, use mutexes. 1001146897Skan (_Safe_iterator_base::_M_attach): Here. 1002146897Skan (_Safe_iterator_base::_M_detach): Here. 1003169691Skan 1004169691Skan2004-11-02 Benjamin Kosnik <bkoz@redhat.com> 1005146897Skan 1006146897Skan PR libstdc++/17922 1007146897Skan * include/bits/ios_base.h : Add enum values. 1008146897Skan * testsuite/testsuite_hooks.h (bitmask_operators): Add function. 1009146897Skan * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: New. 1010146897Skan * testsuite/27_io/ios_base/types/fmtflags/case_label.cc: New. 1011146897Skan * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: New. 1012146897Skan * testsuite/27_io/ios_base/types/iostate/case_label.cc: New. 1013146897Skan * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: New. 1014146897Skan * testsuite/27_io/ios_base/types/openmode/case_label.cc: New. 1015146897Skan * testsuite/27_io/ios_base/types/seekdir/case_label.cc: New. 1016146897Skan 1017146897Skan * config/io/c_io_stdio.h (__ios_flags): Mark deprecated. 1018146897Skan * src/ios.cc: Same. 1019146897Skan 1020146897Skan * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers. 1021146897Skan * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. 1022146897Skan 1023169691Skan2004-11-01 Momchil Velikov <velco@fadata.bg> 1024146897Skan 1025146897Skan PR libstdc++/18185 1026146897Skan * libsupc++/eh_globals.cc (get_globals_dtor): Delete unhandled 1027146897Skan exceptions. 1028146897Skan * testsuite/thread/18185.cc: New. 1029169691Skan 1030169691Skan2004-11-01 Chris Jefferson <chris@bubblescope.net> 1031146897Skan 1032169691Skan PR libstdc++/18159 1033169691Skan * include/tr1/tuple (get(pair)): Change occurrences of _I to _Int. 1034169691Skan (get(const pair)): Likewise. 1035146897Skan 1036169691Skan2004-11-01 Paolo Carlini <pcarlini@suse.de> 1037146897Skan 1038169691Skan * include/bits/locale_facets.tcc (num_get<>::_M_extract_float): 1039169691Skan Evaluate *__beg the exact strict minimum number of times; likewise 1040169691Skan for __beg != __end; in the main parsing loop, call ++__beg in two 1041169691Skan places only. The former is also a correctness issue, because, 1042169691Skan according to the standard (22.2.2.1.2, Stage 2), 'in' shall be 1043169691Skan dereferenced only one time for each increment. 1044146897Skan 1045169691Skan2004-10-31 Benjamin Kosnik <bkoz@redhat.com> 1046146897Skan 1047169691Skan PR c++/16728 1048169691Skan * testsuite/23_containers/set/modifiers/16728.cc: New. 1049146897Skan 1050169691Skan2004-10-30 Paolo Carlini <pcarlini@suse.de> 1051146897Skan 1052169691Skan * include/ext/bitmap_allocator.h (allocate(size_type)): Minor tweak. 1053169691Skan 1054169691Skan * testsuite/ext/bitmap_allocator/check_delete.cc: New. 1055169691Skan * testsuite/ext/bitmap_allocator/check_new.cc: Likewise. 1056169691Skan 1057169691Skan2004-10-29 Geoffrey Keating <geoffk@apple.com> 1058169691Skan 1059169691Skan * configure.host (darwin*): Set os_include_dir to a separate directory 1060169691Skan for Darwin. 1061169691Skan * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale kind, 1062169691Skan 'darwin'. 1063169691Skan * config/locale/darwin/ctype_members.cc: New. 1064169691Skan * config/os/bsd/darwin/ctype_base.h: New. 1065169691Skan * config/os/bsd/darwin/ctype_inline.h: New. 1066169691Skan * config/os/bsd/darwin/ctype_noninline.h: New. 1067169691Skan * config/os/bsd/darwin/os_defines.h: New. 1068169691Skan 1069169691Skan * testsuite/22_locale/locale/cons/12658_thread-1.cc: Only xfail 1070169691Skan on Linux. 1071169691Skan 1072146897Skan2004-10-29 Chris Jefferson <chris@bubblescope.net> 1073146897Skan 1074146897Skan * include/bit/stl_algo.h (find_first_of(,,,,pred)): 1075146897Skan Remove invalid EqualOpConcept. 1076146897Skan * testsuite/25_algorithms/find_first_of/concept_check_1.cc: New. 1077146897Skan 1078169691Skan2004-10-29 Benjamin Kosnik <bkoz@redhat.com> 1079146897Skan 1080169691Skan * testsuite/testsuite_allocator.h (check_delete): New. 1081169691Skan (check_new): Simplify. 1082169691Skan * testsuite/ext/array_allocator/check_delete.cc: New. 1083169691Skan * testsuite/ext/array_allocator/check_new.cc: Simplify. 1084169691Skan * testsuite/ext/debug_allocator/check_delete.cc: New. 1085169691Skan * testsuite/ext/debug_allocator/check_new.cc: Simplify. 1086169691Skan * testsuite/ext/malloc_allocator/check_delete.cc: New. 1087169691Skan * testsuite/ext/malloc_allocator/check_new.cc: Simplify. 1088169691Skan * testsuite/ext/mt_allocator/check_delete.cc: New. 1089169691Skan * testsuite/ext/mt_allocator/check_new.cc: Simplify. 1090169691Skan * testsuite/ext/new_allocator/check_delete.cc: New. 1091169691Skan * testsuite/ext/new_allocator/check_new.cc: Simplify. 1092169691Skan * testsuite/ext/pool_allocator/check_delete.cc: New. 1093169691Skan * testsuite/ext/pool_allocator/check_new.cc: Simplify. 1094146897Skan 1095169691Skan2004-10-28 Chris Jefferson <chris@bubblescope.net> 1096146897Skan 1097169691Skan PR libstdc++/18159 1098169691Skan * include/tr1/tuple: Fix, change formatting. 1099146897Skan 1100169691Skan2004-10-28 Benjamin Kosnik <bkoz@redhat.com> 1101169691Skan 1102169691Skan * include/ext/mt_allocator.h (__common_pool_policy): Add template 1103169691Skan template parameter for pool class type. 1104169691Skan (__per_type_pool_policy): Same. 1105169691Skan (__mt_allocator): Don't inherit policy. Qualify policy_type calls. 1106169691Skan * testsuite/ext/mt_allocator/check_deallocate_null.cc: Fix. 1107169691Skan * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: Same. 1108169691Skan * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same. 1109169691Skan * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same. 1110169691Skan * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same. 1111169691Skan * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same. 1112169691Skan * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same. 1113169691Skan * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same. 1114169691Skan * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same. 1115169691Skan * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same. 1116169691Skan * testsuite/ext/mt_allocator/instantiate.cc: Same. 1117169691Skan * testsuite/ext/mt_allocator/tune-1.cc: Same. 1118169691Skan * testsuite/ext/mt_allocator/tune-2.cc: Same. 1119169691Skan * testsuite/ext/mt_allocator/tune-3.cc: Same. 1120169691Skan * testsuite/ext/mt_allocator/tune-4.cc: Same. 1121169691Skan 1122146897Skan2004-10-28 Paolo Carlini <pcarlini@suse.de> 1123146897Skan 1124169691Skan * include/bits/locale_facets.tcc (num_get<>::_M_extract_float): 1125169691Skan Cache *__beg in __c when parsing exponent sign too. 1126169691Skan (num_get<>::do_get(..., bool&)): Cache *__beg. 1127169691Skan (money_get<>::_M_extract)): Likewise, in money_base::value. 1128146897Skan 1129169691Skan2004-10-27 Paolo Carlini <pcarlini@suse.de> 1130169691Skan 1131169691Skan * include/bits/basic_string.h (assign(const basic_string&)): 1132169691Skan Move out of line... 1133169691Skan * include/bits/basic_string.tcc: ... here. 1134169691Skan 1135169691Skan2004-10-27 Paolo Carlini <pcarlini@suse.de> 1136169691Skan 1137169691Skan * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe): 1138169691Skan Move out of line... 1139169691Skan * include/bits/basic_string.tcc: ... here. 1140169691Skan 1141169691Skan2004-10-26 Paolo Carlini <pcarlini@suse.de> 1142169691Skan 1143169691Skan * include/bits/basic_string.h (append(const basic_string&), 1144169691Skan append(size_type, _CharT)): Move out of line... 1145169691Skan * include/bits/basic_string.tcc: ... here. 1146169691Skan 1147169691Skan2004-10-26 Paolo Carlini <pcarlini@suse.de> 1148169691Skan 1149169691Skan * include/bits/basic_string.h (erase(size_type, size_type), 1150169691Skan erase(iterator), erase(iterator, iterator)): Call _M_mutate 1151169691Skan instead of _M_replace_safe, equivalent when the fourth argument 1152169691Skan is zero and simpler. 1153169691Skan 1154169691Skan2004-10-26 Benjamin Kosnik <bkoz@redhat.com> 1155169691Skan 1156169691Skan * include/ext/array_allocator.h (array::allocate): Check for valid 1157169691Skan array object, use its size member function directly. 1158169691Skan * testsuite/ext/array_allocator/3.cc: New. 1159169691Skan * docs/html/20_util/allocator.html: Add docs. 1160169691Skan 1161169691Skan2004-10-25 Geoffrey Keating <geoffk@apple.com> 1162169691Skan 1163169691Skan * configure.host (darwin*): Build libstdc++ single module 1164169691Skan and flat namespace. 1165169691Skan * libsupc++/new_op.cc (new): Make weak. 1166169691Skan * libsupc++/new_opnt.cc (new): Make weak. 1167169691Skan * libsupc++/new_opv.cc (new): Make weak. 1168169691Skan * libsupc++/new_opvnt.cc (new): Make weak. 1169169691Skan * libsupc++/delete_op.cc (delete): Make weak. 1170169691Skan * libsupc++/delete_opnt.cc (delete): Make weak. 1171169691Skan * libsupc++/delete_opv.cc (delete): Make weak. 1172169691Skan * libsupc++/delete_opvnt.cc (delete): Make weak. 1173169691Skan 1174169691Skan2004-10-25 Benjamin Kosnik <bkoz@redhat.com> 1175169691Skan 1176169691Skan * testsuite/Makefile.am (GLIBCXX_INCLUDES): Add. 1177169691Skan (AUTOMAKE_OPTIONS): Add nostdinc. 1178169691Skan * testsuite/Makefile.in: Regenerate. 1179169691Skan * scripts/testsuite_flags.in (build-includes): Remove redundant 1180169691Skan search for libsupc++. 1181169691Skan * fragment.am: Clean. 1182169691Skan 1183169691Skan2004-10-25 Benjamin Kosnik <bkoz@redhat.com> 1184169691Skan 1185169691Skan * include/Makefile.am (tr1_headers): Add tuple. 1186169691Skan * include/Makefile.in: Regenerate. 1187169691Skan 1188169691Skan2004-10-25 Chris Jefferson <chris@bubblescope.net> 1189169691Skan 1190169691Skan * include/tr1/tuple: Implementation of tuple from library TR. 1191169691Skan * testsuite/tr1/6_containers/tuple/tuple_element.cc: New. 1192169691Skan * testsuite/tr1/6_containers/tuple/tuple_size.cc: New. 1193169691Skan * testsuite/tr1/6_containers/tuple/comparison_operators/comparisons.cc: 1194169691Skan New. 1195169691Skan * testsuite/tr1/6_containers/tuple/cons/assignment.cc: New. 1196169691Skan * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: New. 1197169691Skan * testsuite/tr1/6_containers/tuple/cons/constructor.cc: New. 1198169691Skan * testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc: 1199169691Skan New. 1200169691Skan * testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: New. 1201169691Skan * testsuite/tr1/6_containers/tuple/element_access/get.cc: New. 1202169691Skan 1203169691Skan2004-10-25 Paolo Carlini <pcarlini@suse.de> 1204169691Skan 1205169691Skan * include/bits/basic_string.h (_Rep::_M_is_safe): Move to 1206169691Skan basic_string as _M_disjunct, adjust to take only __s. 1207169691Skan * include/bits/basic_string.tcc: Adjust consistently callers. 1208169691Skan 1209169691Skan2004-10-25 Paolo Carlini <pcarlini@suse.de> 1210169691Skan 1211169691Skan * include/bits/basic_string.tcc (assign(const _CharT*, size_type)): 1212169691Skan Adjust bit missing from the previous commit. 1213169691Skan 1214146897Skan2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr> 1215146897Skan 1216146897Skan PR other/18138 1217146897Skan * testsuite/lib/libstdc++.exp: Accept more than one multilib libgcc. 1218146897Skan 1219169691Skan2004-10-25 Paolo Carlini <pcarlini@suse.de> 1220169691Skan 1221169691Skan * include/bits/basic_string.h (_Rep::_M_is_safe, _M_check_length, 1222169691Skan _M_move, _M_copy, _M_assign): New, use througout. 1223169691Skan (operator+=(_CharT)): Define in terms of push_back. 1224169691Skan (append(const basic_string&)): Define here, inline, and simplify, 1225169691Skan don't use the full _M_replace_safe. 1226169691Skan (append(size_type, _CharT)): Likewise, don't use _M_replace_aux. 1227169691Skan (push_back): Likewise. 1228169691Skan (assign(const basic_string&)): Define here, inline. 1229169691Skan * include/bits/basic_string.tcc (append(const _CharT* s, size_type): 1230169691Skan Fix: when s points inside the _Rep, upon reallocation (reserve) we 1231169691Skan were copying from deallocated memory. 1232169691Skan (append(const basic_string&, size_type, size_type)): Simplify, 1233169691Skan don't use _M_replace_safe. 1234169691Skan (replace(size_type, size_type, const _CharT*, size_type)): Slightly 1235169691Skan tweak. 1236169691Skan (reserve): Likewise. 1237169691Skan * testsuite/21_strings/basic_string/append/char/2.cc: New. 1238169691Skan * testsuite/21_strings/basic_string/append/char/3.cc: Likewise. 1239169691Skan * testsuite/21_strings/basic_string/append/wchar_t/2.cc: Likewise. 1240169691Skan * testsuite/21_strings/basic_string/append/wchar_t/3.cc: Likewise. 1241169691Skan 1242169691Skan * testsuite/21_strings/basic_string/assign/char/3.cc: Remove junk. 1243169691Skan * testsuite/21_strings/basic_string/assign/wchar_t/3.cc: Likewise. 1244169691Skan 1245169691Skan2004-10-23 Andrew Pinski <pinskia@physics.uc.edu> 1246169691Skan 1247169691Skan * testsuite/ext/mt_allocator/deallocate_global-2.c: 1248169691Skan s/value_t/value_type/. s/traits_t/traits_type/. 1249169691Skan s/policy_t/policy_type/. s/allocator_t/allocator_type/. 1250169691Skan s/string_t/string_type/. s/list_t/list_type/. 1251169691Skan * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise. 1252169691Skan * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise. 1253169691Skan * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise. 1254169691Skan * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise. 1255169691Skan * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise. 1256169691Skan * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise. 1257169691Skan * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise. 1258169691Skan 1259169691Skan2004-10-21 Benjamin Kosnik <bkoz@redhat.com> 1260169691Skan 1261169691Skan * include/tr1/array (array): Make safe for zero-sized arrays. 1262169691Skan (array::end): Return one past the end. 1263169691Skan (array::at): Use __throw_out_of_range, include functexcept.h. 1264169691Skan (operator==): Implement. 1265169691Skan (operator!=): Same. 1266169691Skan (operator<): Same. 1267169691Skan (operator>): Same. 1268169691Skan (operator>=): Same. 1269169691Skan (operator<=): Same. 1270169691Skan * testsuite/tr1/6_containers/array/capacity/(empty.cc, 1271169691Skan max_size.cc, size.cc): New. 1272169691Skan * testsuite/tr1/6_containers/array/comparison_operators/(equal.cc, 1273169691Skan greater.cc, greater_or_equal.cc, less.cc, less_or_equal.cc, 1274169691Skan not_equal): New. 1275169691Skan * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc: 1276169691Skan New. 1277169691Skan * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc: 1278169691Skan New. 1279169691Skan * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc: New. 1280169691Skan * testsuite/tr1/6_containers/array/requirements/(contiguous.cc, 1281169691Skan instantiate, typedefs, zero_size_arrays): New. 1282169691Skan 1283169691Skan2004-10-21 Paolo Carlini <pcarlini@suse.de> 1284169691Skan Benjamin Kosnik <bkoz@redhat.com> 1285169691Skan 1286169691Skan * include/bits/basic_string.h (_M_set_length_and_sharable): New. 1287169691Skan * include/bits/basic_string.tcc (_S_construct, assign(const _CharT*, 1288169691Skan size_type), _M_mutate, _M_clone): Use it. 1289169691Skan (_Rep::_S_create): Don't set/call _M_length/_M_set_sharable here. 1290169691Skan 1291169691Skan2004-10-21 Paolo Carlini <pcarlini@suse.de> 1292169691Skan Dhruv Matani <dhruvbird@gmx.net> 1293169691Skan Nathan Myers <ncm@cantrip.org> 1294169691Skan 1295169691Skan * include/bits/vector.tcc (_M_insert_aux, _M_fill_insert, 1296169691Skan _M_range_insert): Check at the outset that we are not trying 1297169691Skan to exceed max_size, then deal properly with __len overflows. 1298169691Skan * testsuite/23_containers/vector/modifiers/insert/1.cc: New. 1299169691Skan 1300169691Skan * testsuite/testsuite_allocator.h: Remove redundant include. 1301169691Skan 1302169691Skan2004-10-20 Paolo Carlini <pcarlini@suse.de> 1303169691Skan 1304169691Skan * include/ext/bitmap_allocator.h (allocate): Throw std::bad_alloc 1305169691Skan when n > max_size(). 1306169691Skan * include/ext/malloc_allocator.h (allocate): Likewise. 1307169691Skan * include/ext/mt_allocator.h (allocate): Likewise. 1308169691Skan * include/ext/new_allocator.h (allocate): Likewise. 1309169691Skan * include/ext/array_allocator.h: Use __throw_bad_alloc(). 1310169691Skan * include/ext/pool_allocator.h: Use __builtin_expect. 1311169691Skan * testsuite/ext/array_allocator/check_allocate_max_size.cc: New. 1312169691Skan * testsuite/ext/bitmap_allocator/check_allocate_max_size.cc: Likewise. 1313169691Skan * testsuite/ext/malloc_allocator/check_allocate_max_size.cc: Likewise. 1314169691Skan * testsuite/ext/mt_allocator/check_allocate_max_size.cc: Likewise. 1315169691Skan * testsuite/ext/new_allocator/check_allocate_max_size.cc: Likewise. 1316169691Skan * testsuite/ext/pool_allocator/check_allocate_max_size.cc: Likewise. 1317169691Skan * testsuite/testsuite_allocator.h (check_allocate_max_size): New test. 1318169691Skan 1319169691Skan2004-10-19 Paolo Carlini <pcarlini@suse.de> 1320169691Skan 1321169691Skan * testsuite/performance/20_util/allocator/list_sort_search.cc: 1322169691Skan Include <ext/new_allocator.h>. 1323169691Skan * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise. 1324169691Skan 1325169691Skan2004-10-18 Paolo Carlini <pcarlini@suse.de> 1326169691Skan 1327169691Skan * include/bits/basic_string.tcc (_M_mutate): Do not reallocate 1328169691Skan unnecessarily when _M_rep() == &_S_empty_rep() and __new_size 1329169691Skan == capacity() (== 0): is ok to just leave everything unchanged. 1330169691Skan 1331169691Skan * include/bits/basic_string.h: Minor formatting fixes. 1332169691Skan * include/bits/basic_string.tcc: Likewise. 1333169691Skan 1334169691Skan2004-10-17 Benjamin Kosnik <bkoz@redhat.com> 1335169691Skan 1336169691Skan * include/ext/mt_allocator.h (__pool::_M_get_align): New. 1337169691Skan (__mt_alloc::allocate): Use it. 1338169691Skan * src/mt_allocator.cc (__pool::_M_reclaim_block): Use it. 1339169691Skan (__pool::_M_reserve_block): Simplify block allocation. 1340169691Skan 1341169691Skan2004-10-17 Dhruv Matani <dhruvbird@gmx.net> 1342169691Skan Paolo Carlini <pcarlini@suse.de> 1343169691Skan 1344169691Skan * include/ext/bitmap_allocator.h: Change unsigned int -> size_t: this 1345169691Skan makes the code 64-bit correct and also fixes (together with using at 1346169691Skan the beginning a bitmap 2 * size_t bytes wide) alignment issues: now 1347169691Skan 8 is guaranteed, easily tunable to 16 via _BALLOC_ALIGN_BYTES. 1348169691Skan Fix pthread-rope7.cc fail by nulling out __mini_vector<> destructor. 1349169691Skan * src/bitmap_allocator.cc: Change to size_t. 1350169691Skan * config/linker-map.gnu: Adjust. 1351169691Skan 1352169691Skan2004-10-16 Benjamin Kosnik <bkoz@redhat.com> 1353169691Skan 1354169691Skan * include/tr1/array: Don't use layout_type. 1355169691Skan 1356169691Skan2004-10-16 Sashan Govender <sashang@gmail.com> 1357169691Skan 1358169691Skan * include/tr1/array (array::end const): Fix casting from iterator 1359169691Skan to const_iterator. 1360169691Skan 1361169691Skan2004-10-15 Paolo Carlini <pcarlini@suse.de> 1362169691Skan 1363169691Skan * include/ext/bitmap_allocator.h: Qualify ::operator delete. 1364169691Skan * src/bitmap_allocator.cc: Likewise. 1365169691Skan * src/mt_allocator.cc: Use ::operator delete, not delete, 1366169691Skan consistently with ::operator new. 1367169691Skan 1368169691Skan * include/ext/bitmap_allocator.h (deallocate): Check for null 1369169691Skan pointer. 1370169691Skan * testsuite/ext/bitmap_allocator/check_deallocate_null.cc: New. 1371169691Skan * testsuite/testsuite_allocator.h (check_deallocate_null): Add test. 1372169691Skan 1373169691Skan2004-10-14 Benjamin Kosnik <bkoz@redhat.com> 1374169691Skan 1375169691Skan * include/ext/mt_allocator.h (__mt_alloc::deallocate): Check for 1376169691Skan null pointer. 1377169691Skan * include/ext/pool_allocator.h (debug_allocator::deallocate): 1378169691Skan Check pointer value. 1379169691Skan * include/ext/debug_allocator.h (debug_allocator::deallocate): 1380169691Skan Throw exceptions, don't abort. 1381169691Skan * include/ext/array_allocator.h 1382169691Skan (array_allocator_base::deallocate): Remove unused parameters. 1383169691Skan * testsuite/testsuite_allocator.h (check_deallocate_null): New. 1384169691Skan * testsuite/ext/mt_allocator/check_deallocate_null.cc: New. 1385169691Skan * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: New. 1386169691Skan * testsuite/ext/array_allocator/check_deallocate_null.cc: New. 1387169691Skan * testsuite/ext/debug_allocator/check_deallocate_null.cc: New. 1388169691Skan * testsuite/ext/malloc_allocator/check_deallocate_null.cc: New. 1389169691Skan * testsuite/ext/new_allocator/check_deallocate_null.cc: New. 1390169691Skan * testsuite/ext/pool_allocator/check_deallocate_null.cc: New. 1391169691Skan 1392169691Skan * testsuite/testsuite_allocator.h (check_new): Add instance argument. 1393169691Skan * testsuite/ext/array_allocator/check_new.cc: New. 1394169691Skan 1395146897Skan2004-10-14 Paolo Carlini <pcarlini@suse.de> 1396146897Skan 1397169691Skan * include/ext/bitmap_allocator.h (bitmap_allocator::_Alloc_block): 1398169691Skan Rename __unused to __M_unused. 1399146897Skan 1400169691Skan2004-10-14 Benjamin Kosnik <bkoz@redhat.com> 1401169691Skan 1402169691Skan * testsuite/ext/headers.cc: Add includes, compile only. 1403169691Skan * testsuite/ext/hash_map.cc: Move to... 1404169691Skan * testsuite/ext/hash_map/1.cc: ...here. 1405169691Skan * testsuite/ext/14648.cc: Move to... 1406169691Skan * testsuite/ext/hash_map/14648.cc: ...here. 1407169691Skan * testsuite/ext/hash_map/instantiate.cc: Add. 1408169691Skan * testsuite/ext/hash_set.cc: Move to... 1409169691Skan * testsuite/ext/hash_set/1.cc: ...here. 1410169691Skan * testsuite/ext/hash_set_explicit_instantiation.cc: Move to... 1411169691Skan * testsuite/ext/hash_set/instantiate.cc: ...here. 1412169691Skan * testsuite/ext/hash_check_construct_destroy.cc: Move to... 1413169691Skan * testsuite/ext/hash_set/check_construct_destroy.cc: ...here. 1414169691Skan * testsuite/ext/slist_check_construct_destroy.cc: Move to... 1415169691Skan * testsuite/ext/slist/check_construct_destroy.cc: ...here. 1416169691Skan * testsuite/ext/slist_explicit_instantiation.cc: Move to... 1417169691Skan * testsuite/ext/slist/instantiate.cc: ...here. 1418169691Skan 1419169691Skan2004-10-14 Benjamin Kosnik <bkoz@redhat.com> 1420169691Skan 1421169691Skan * include/ext/mt_allocator.h: Tweaks. 1422169691Skan * src/mt_allocator.cc: Same. 1423169691Skan 1424169691Skan2004-10-14 Dhruv Matani <dhruvbird@gmx.net> 1425169691Skan 1426169691Skan * ext/bitmap_allocator.h: Clean-up add/remove functions. 1427169691Skan * src/bitmap_allocator.cc: New file. Contains the out-of-line 1428169691Skan function definitions, static initialization of variables, and 1429169691Skan explicit instantiations needed for the allocator. 1430169691Skan * src/Makefile.am: Add. 1431169691Skan * src/Makefile.in: Regenerate. 1432169691Skan * config/linker.map.gnu: Add the necessary symbols. 1433169691Skan 1434169691Skan2004-10-13 Paolo Carlini <pcarlini@suse.de> 1435169691Skan 1436169691Skan * include/bits/basic_string.tcc (_S_create): Use consistently 1437169691Skan the exponential policy, simplify. 1438169691Skan * testsuite/performance/21_strings/string_append_2.cc: New. 1439169691Skan 1440169691Skan * include/ext/array_allocator.h (allocate): Fix bad_alloc check. 1441169691Skan * testsuite/ext/array_allocator/2.cc: Fix wrt 64-bit archs (in 1442169691Skan that case sizeof(_Rep) == 24). 1443169691Skan 1444169691Skan2004-10-12 Paolo Carlini <pcarlini@suse.de> 1445169691Skan 1446169691Skan PR libstdc++/17948 1447169691Skan * include/bits/stl_tree.h (erase(iterator, iterator)): Revert 1448169691Skan wrong commit of 2004-10-07. 1449169691Skan 1450169691Skan2004-10-12 Scott Snyder <snyder@fnal.gov> 1451169691Skan 1452169691Skan PR libstdc++/17948 1453169691Skan * testsuite/23_containers/set/modifiers/17948.cc: New. 1454169691Skan 1455169691Skan2004-10-11 Benjamin Kosnik <bkoz@redhat.com> 1456169691Skan 1457169691Skan * include/bits/stl_deque.h: Correct for over-long lines. 1458169691Skan 1459169691Skan2004-10-11 Benjamin Kosnik <bkoz@redhat.com> 1460169691Skan 1461169691Skan PR libstdc++/17937 1462169691Skan * include/ext/mt_allocator.h (__pool::_M_destroy): New. 1463169691Skan * src/mt_allocator.cc (__pool::~__pool): Change definitions to 1464169691Skan _M_destroy. 1465169691Skan * acconfig.h: Remove _GLIBCXX_USE___CXA_ATEXIT. 1466169691Skan * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): Remove. 1467169691Skan * configure.ac: Remove call to GLIBCXX_ENABLE_CXA_EXIT. 1468169691Skan * configure: Regenerate. 1469169691Skan * config/linker-map.gnu: Tweak exports. 1470169691Skan * docs/html/ext/mt_allocator.html: Update docs. 1471169691Skan * testsuite/ext/mt_allocator/deallocate_global-2.cc: Fix. 1472169691Skan * testsuite/ext/mt_allocator/deallocate_global-4.cc: Fix. 1473169691Skan * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Fix. 1474169691Skan * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Fix. 1475169691Skan * testsuite/ext/mt_allocator/deallocate_local-2.cc: Fix. 1476169691Skan * testsuite/ext/mt_allocator/deallocate_local-4.cc: Fix. 1477169691Skan * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Fix. 1478169691Skan * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Fix. 1479169691Skan 1480169691Skan2004-10-11 Benjamin Kosnik <bkoz@redhat.com> 1481169691Skan 1482169691Skan PR libstdc++/16614 continued. 1483169691Skan * include/ext/mt_allocator.h 1484169691Skan (__per_type_pool_policy::_S_get_pool): Use saner defaults based on 1485169691Skan specific type characteristics. 1486169691Skan (__pool_base): Add constructor that takes a _Tune argument. 1487169691Skan (__pool): Same. 1488169691Skan * testsuite/ext/mt_allocator/tune-2.cc: Adjust default. 1489169691Skan * testsuite/ext/mt_allocator/tune-4.cc: Same. 1490169691Skan * testsuite/ext/mt_allocator/tune-3.cc: Same. 1491169691Skan 1492146897Skan2004-10-11 Joachim Kuebart <kuebart@mathematik.uni-ulm.de> 1493146897Skan Paolo Carlini <pcarlini@suse.de> 1494146897Skan 1495169691Skan * src/pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk): 1496146897Skan Deal properly with exceptions thrown by ::operator new(size_t). 1497146897Skan * testsuite/ext/pool_allocator/allocate_chunk.cc: New. 1498146897Skan 1499146897Skan * include/ext/pool_allocator.h: Include <cstdlib>. 1500146897Skan 1501169691Skan2004-10-10 Benjamin Kosnik <bkoz@redhat.com> 1502169691Skan 1503169691Skan * include/bits/functexcept.h: Add guards. 1504169691Skan 1505169691Skan * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Tweak test. 1506169691Skan * configure: Regenerate. 1507169691Skan 1508146897Skan2004-10-10 Paolo Carlini <pcarlini@suse.de> 1509146897Skan 1510146897Skan * config/locale/gnu/monetary_members.cc (_S_construct_pattern): 1511146897Skan Give __ret a default value, thus avoiding spurious warnings. 1512146897Skan 1513146897Skan * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: Open either 1514146897Skan words or linux.words, otherwise exit. 1515146897Skan * testsuite/performance/27_io/ifstream_getline.cc: Slighlty tweak. 1516146897Skan 1517169691Skan2004-10-09 Paolo Carlini <pcarlini@suse.de> 1518146897Skan 1519169691Skan * include/std/std_memory.h (__get_temporary_buffer): Don't use 1520169691Skan INT_MAX, prefer numeric_limits<ptrdiff_t>::max(), ok on 64-bit 1521169691Skan platforms too. 1522169691Skan * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust dg-error 1523169691Skan line numbers. 1524146897Skan 1525169691Skan2004-10-08 Benjamin Kosnik <bkoz@redhat.com> 1526169691Skan 1527169691Skan * acconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT. 1528169691Skan * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): New. 1529169691Skan * configure.ac: Call GLIBCXX_ENABLE_CXA_EXIT. 1530169691Skan * configure: Regenerate. 1531169691Skan * src/mt_allocator.cc (__pool::~__pool): Make conditional on 1532169691Skan _GLIBCXX_USE___CXA_ATEXIT macro. 1533169691Skan * docs/html/ext/mt_allocator.html: Add note about deallocation. 1534169691Skan * testsuite/ext/mt_allocator/deallocate_local-2.cc: Guard checks 1535169691Skan with _GLIBCXX_USE___CXA_ATEXIT. 1536169691Skan * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same. 1537169691Skan * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same. 1538169691Skan * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same. 1539169691Skan * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same. 1540169691Skan * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same. 1541169691Skan * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same. 1542169691Skan * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same. 1543169691Skan 1544169691Skan2004-10-07 Phil Edwards <phil@codesourcery.com> 1545169691Skan 1546169691Skan * testsuite/lib/libstdc++.exp: Update list of undefined functions. 1547169691Skan 1548169691Skan2004-10-07 Paolo Carlini <pcarlini@suse.de> 1549169691Skan 1550169691Skan * include/bits/list.tcc (operator=): Avoid iterator postincrement. 1551169691Skan * include/bits/stl_tree.h (erase(iterator, iterator)): Likewise. 1552169691Skan 1553169691Skan2004-10-07 Benjamin Kosnik <bkoz@redhat.com> 1554169691Skan 1555169691Skan * include/tr1: New. 1556169691Skan * include/tr1/array: New. 1557169691Skan * include/Makefile.am (tr1_headers): New. 1558169691Skan (stamp-tr1): New. 1559169691Skan (install-headers): New. 1560169691Skan (allstamped): Add stamp-tr1. 1561169691Skan 1562169691Skan * include/ext/array_allocator.h: New. 1563169691Skan * include/Makefile.am: Add. 1564169691Skan * include/Makefile.in: Regenerate. 1565169691Skan * testsuite/ext/array_allocator/1.cc: New. 1566169691Skan * testsuite/ext/array_allocator/2.cc: New. 1567169691Skan 1568169691Skan2004-10-07 Richard Earnshaw <rearnsha@arm.com> 1569169691Skan 1570169691Skan * testsuite/lib/libstdc++.exp (libstdc++_exit): New proc. 1571169691Skan 1572146897Skan2004-10-07 Roger Sayle <roger@eyesopen.com> 1573146897Skan 1574146897Skan PR libstdc++/17850 1575146897Skan * configure.ac: Newlib does not provide strtold. 1576146897Skan * configure: Regenerate. 1577146897Skan 1578169691Skan2004-10-06 Benjamin Kosnik <bkoz@redhat.com> 1579146897Skan 1580169691Skan * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread. 1581169691Skan (GLIBCXX_CONFIGURE_TESTSUITE): Use it. 1582169691Skan * configure: Regenerated. 1583169691Skan * testsuite/Makefile.am (CLEANFILES): Add TEST for 1584169691Skan check-performance executables. 1585169691Skan (stamp_thread): New. 1586169691Skan (all-local): Use it. 1587169691Skan * testsuite/Makefile.in: Regenerate. 1588169691Skan * scripts/create_testsuite_files: Filter thread tests. 1589146897Skan 1590169691Skan * testsuite/thread/pthread1.cc: Remove macro conditionals: this 1591169691Skan file will only be run by thread enabled configurations. 1592169691Skan * testsuite/thread/pthread7-rope.cc: Same, add rope_type typedef. 1593169691Skan * testsuite/thread/pthread6.cc: Same. 1594169691Skan * testsuite/thread/pthread5.cc: Same. 1595169691Skan * testsuite/thread/pthread4.cc: Same. 1596169691Skan * testsuite/thread/pthread3.cc: Same. 1597169691Skan * testsuite/thread/pthread2.cc: Same. 1598169691Skan 1599169691Skan * testsuite/ext/mt_allocator/instantiate.cc: Add in __GTHREADS guard. 1600169691Skan * testsuite/ext/mt_allocator/deallocate_global-1.cc: Move to... 1601169691Skan * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: ...here. 1602169691Skan * testsuite/ext/mt_allocator/deallocate_global-3.cc: Move to... 1603169691Skan * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: ...here. 1604169691Skan * testsuite/ext/mt_allocator/deallocate_local-1.cc: Move to... 1605169691Skan * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: ...here. 1606169691Skan * testsuite/ext/mt_allocator/deallocate_local-3.cc: Move to... 1607169691Skan * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: ...here. 1608169691Skan 1609169691Skan2004-10-06 Benjamin Kosnik <bkoz@redhat.com> 1610169691Skan Paolo Carlini <pcarlini@suse.de> 1611169691Skan 1612169691Skan PR libstdc++/17780 1613169691Skan * src/mt_allocator.cc (__pool<true>::_M_reserve_block): Revert 1614169691Skan to old locking order. 1615169691Skan 1616169691Skan2004-10-06 Paolo Carlini <pcarlini@suse.de> 1617169691Skan 1618169691Skan * include/std/std_sstream.h (_M_sync): When the caller is 1619169691Skan setbuf, don't trust _M_string.capacity() to be the size of 1620169691Skan the buffer area, use _M_string.size() in this case. 1621169691Skan * testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: New. 1622169691Skan * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise. 1623169691Skan 1624169691Skan * include/bits/sstream.tcc (overflow): Avoid calling string::assign 1625169691Skan unnecessarily when the current _M_string is empty. 1626169691Skan 1627169691Skan2004-10-06 Paolo Carlini <pcarlini@suse.de> 1628169691Skan 1629169691Skan * include/bits/stl_algo.h (__reverse(bidirectional_iterator_tag)): 1630169691Skan Avoid iterator postincrement. 1631169691Skan (__rotate): Likewise. 1632169691Skan 1633169691Skan * include/bits/stl_algo.h: Minor formatting tweaks. 1634169691Skan 1635169691Skan2004-10-06 Christopher Jefferson <caj@cs.york.ac.uk> 1636169691Skan 1637169691Skan * include/bits/stl_algo.h (__reverse(random_access_iterator_tag)): 1638169691Skan Avoid iterator postincrement; fix swapping middle element with 1639169691Skan itself on odd-length inputs. 1640169691Skan 1641169691Skan2004-10-05 Benjamin Kosnik <bkoz@redhat.com> 1642169691Skan 1643169691Skan PR libstdc++/17780 1644169691Skan * include/ext/mt_allocator.h (__pool_base::_Tune): Add default 1645169691Skan options as compile-time constant enums. 1646169691Skan (__pool_base::_Tune::is_default): New. 1647169691Skan (__pool_base::_Block_address): New. 1648169691Skan (__pool_base): Rearrange data members. 1649169691Skan (__pool::_M_reserve_memory): To _M_reserve_block. 1650169691Skan (__pool::_M_reclaim_memory): To _M_reclaim_block. 1651169691Skan (__pool::_Bin_record): Add _Block_address data member. 1652169691Skan (__pool<false>): Add _M_thread_freelist_initial. 1653169691Skan (__pool::~__pool): Declare. 1654169691Skan (__common_pool_policy): Move static data member to... 1655169691Skan (__common_pool_policy::_S_get_pool): ...here, make static local. 1656169691Skan (__per_type_pool_policy): Move static data member to... 1657169691Skan (__per_type_pool_policy::_S_get_pool): ...here, make static local. 1658169691Skan (__mt_alloc::__mt_alloc): Call __policy_type::_S_get_pool. 1659169691Skan Remove static member definitions. Use define for __default_policy. 1660169691Skan * src/mt_allocator.cc: Same. 1661169691Skan * config/linker-map.gnu: Don't export _S_get_pool. Renames. 1662169691Skan * testsuite/ext/new_allocator: New. 1663169691Skan * testsuite/ext/new_allocator/instantiate.cc: New. 1664169691Skan * testsuite/ext/new_allocator/check_new.cc: New. 1665169691Skan * testsuite/ext/new_allocator/deallocate_global.cc: New. 1666169691Skan * testsuite/ext/new_allocator/deallocate_local.cc: New. 1667169691Skan * testsuite/ext/mt_allocator/instantiate.cc: Instantiate all 1668169691Skan template arguments. 1669169691Skan * testsuite/ext/mt_allocator/deallocate_global-1.cc: New. 1670169691Skan * testsuite/ext/mt_allocator/deallocate_global-2.cc: New. 1671169691Skan * testsuite/ext/mt_allocator/deallocate_global-3.cc: New. 1672169691Skan * testsuite/ext/mt_allocator/deallocate_global-4.cc: New. 1673169691Skan * testsuite/ext/mt_allocator/deallocate_local-1.cc: New. 1674169691Skan * testsuite/ext/mt_allocator/deallocate_local-2.cc: New. 1675169691Skan * testsuite/ext/mt_allocator/deallocate_local-3.cc: New. 1676169691Skan * testsuite/ext/mt_allocator/deallocate_local-4.cc: New. 1677169691Skan * testsuite/ext/mt_allocator/deallocate.cc: New. 1678169691Skan * testsuite/ext/malloc_allocator/deallocate.cc: New. 1679169691Skan * testsuite/ext/malloc_allocator/deallocate_global.cc: New. 1680169691Skan * testsuite/ext/malloc_allocator/deallocate_local.cc: New. 1681169691Skan 1682146897Skan2004-10-05 Ulrich Weigand <uweigand@de.ibm.com> 1683146897Skan 1684146897Skan * configure.host (abi_baseline_pair): Define for s390-*-linux* and 1685146897Skan s390x-*-linux*. 1686146897Skan * config/abi/s390-linux-gnu/baseline_symbols.txt: Add missing symbols. 1687146897Skan * config/abi/s390x-linux-gnu/baseline_symbols.txt: New file. 1688146897Skan 1689169691Skan2004-10-05 Christopher Jefferson <caj@cs.york.ac.uk> 1690146897Skan 1691169691Skan * include/bits/stl_algobase.h (iter_swap): delegate to swap via 1692169691Skan __iter_swap when iterator's value_types are equal. 1693169691Skan (struct __iter_swap): New. 1694146897Skan 1695146897Skan2004-10-04 Benjamin Kosnik <bkoz@redhat.com> 1696146897Skan 1697146897Skan * configure.ac (libtool_VERSION): To 6:3:0. 1698146897Skan * configure: Regnerate. 1699146897Skan * testsuite/testsuite_abi.cc (check_version): Add 3.4.3. 1700146897Skan 1701169691Skan2004-10-04 Roger Sayle <roger@eyesopen.com> 1702169691Skan Eric Botcazou <ebotcazou@libertysurf.fr> 1703169691Skan 1704169691Skan PR libstdc++/17505 1705169691Skan * config/linker-map.gnu: Synchronize the current list of stub 1706169691Skan functions from libmath. 1707169691Skan 1708146897Skan2004-10-03 Roger Sayle <roger@eyesopen.com> 1709146897Skan 1710146897Skan * config/locale/generic/c_locale.cc (__convert_to_v): Use 1711146897Skan _GLIBCXX_HAVE_STRTOF instead _GLIBCXX_USE_C99 to check for strtof. 1712146897Skan Likewise, use _GLIBCXX_HAVE_STRTOLD instead of _GLIBCXX_USE_C99 1713146897Skan to check for presence of strtold. 1714146897Skan 1715169691Skan2004-10-03 Paolo Carlini <pcarlini@suse.de> 1716146897Skan 1717169691Skan * include/bits/stl_list.h: Trivial formatting fixes. 1718169691Skan * include/bits/stl_tree.h: Likewise. 1719169691Skan 1720169691Skan2004-10-03 Paolo Carlini <pcarlini@suse.de> 1721169691Skan 1722169691Skan * include/bits/sstream.tcc (seekpos): In case of success, just 1723169691Skan return __sp. 1724169691Skan 1725169691Skan2004-10-01 Paolo Carlini <pcarlini@suse.de> 1726169691Skan 1727169691Skan * include/bits/sstream.tcc (pbackfail): Implement correctly 1728169691Skan 27.7.1.3/2, bullet 2: if mode & ios_base::out is false do not 1729169691Skan write in the buffer. 1730169691Skan * testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc: New. 1731169691Skan * testsuite/27_io/basic_stringbuf/pbackfail/char/2.cc: Likewise. 1732169691Skan * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/1.cc: Likewise. 1733169691Skan * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/2.cc: Likewise. 1734169691Skan * testsuite/27_io/basic_istream/putback/char/1.cc: Tweak consistently. 1735169691Skan 1736169691Skan2004-10-01 Paolo Carlini <pcarlini@suse.de> 1737169691Skan 1738169691Skan * include/bits/sstream.tcc (seekpos): Minor rearrangement of two 1739169691Skan conditionals consistently with seekoff. 1740169691Skan * include/std/std_sstream.h (setbuf): Avoid a string temporary. 1741169691Skan (_M_sync): Simplify a bit, clean-up comment. 1742169691Skan 1743169691Skan2004-09-30 Paolo Carlini <pcarlini@suse.de> 1744169691Skan 1745169691Skan PR libstdc++/10975 (DR 453) 1746169691Skan * include/bits/sstream.tcc (seekoff): Don't fail if __beg == 0 1747169691Skan and __off == 0. 1748169691Skan * docs/html/ext/howto.html: Add an entry for DR 453. 1749169691Skan * testsuite/27_io/basic_stringbuf/seekoff/char/10975.cc: New. 1750169691Skan * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/10975.cc: Likewise. 1751169691Skan * testsuite/27_io/basic_istream/tellg/char/1.cc: Tweak consistently. 1752169691Skan * testsuite/27_io/basic_ostream/tellp/char/1.cc: Likewise. 1753169691Skan * testsuite/27_io/basic_ostream/tellp/char/2.cc: Likewise. 1754169691Skan * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc: Fix and 1755169691Skan move to... 1756169691Skan * testsuite/27_io/basic_istream/seekp/char/2346-fstream.cc: ... here. 1757169691Skan * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc: Fix and 1758169691Skan move to... 1759169691Skan * testsuite/27_io/basic_istream/seekp/char/2346-sstream.cc: ... here. 1760169691Skan 1761169691Skan2004-09-29 Paolo Carlini <pcarlini@suse.de> 1762169691Skan 1763146897Skan * include/std/std_sstream.h (basic_stringbuf(ios_base::openmode)): 1764146897Skan Don't use _M_stringbuf_init, keep the pointers null, per 27.7.1.1. 1765146897Skan (str()): Slightly tweak, protect from pptr() == 0. 1766146897Skan (_M_update_egptr()): Likewise. 1767146897Skan * include/bits/sstream.tcc (ssekoff, seekpos): In order to check 1768146897Skan for an empty buffer use __beg instead of _M_string.capacity(). 1769146897Skan * testsuite/27_io/basic_stringbuf/cons/char/1.cc: New. 1770169691Skan * testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc: Likewise. 1771146897Skan 1772146897Skan * testsuite/27_io/basic_filebuf/cons/char/1.cc: New. 1773169691Skan * testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc: Likewise. 1774146897Skan * testsuite/27_io/basic_streambuf/cons/char/1.cc: Update. 1775169691Skan * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: Likewise. 1776146897Skan 1777169691Skan2004-09-29 Paolo Carlini <pcarlini@suse.de> 1778146897Skan Benjamin Kosnik <bkoz@redhat.com> 1779146897Skan 1780146897Skan * testsuite/testsuite_io.h (class constraint_buf): New, extended 1781146897Skan and templatized version of constraint_filebuf; add typedefs for 1782146897Skan streambuf/stringbuf/filebuf and wchar_t counterparts. 1783146897Skan 1784169691Skan2004-09-28 Paolo Carlini <pcarlini@suse.de> 1785146897Skan 1786169691Skan PR libstdc++/16612 1787169691Skan * include/bits/basic_string.h (_M_dispose, _M_refcopy, 1788169691Skan basic_string()): When _GLIBCXX_FULLY_DYNAMIC_STRING is defined, 1789169691Skan don't deal with _S_empty_rep. 1790169691Skan * include/bits/basic_string.tcc (_S_construct, _M_destroy, 1791169691Skan _M_leak_hard, _M_mutate): Likewise. 1792169691Skan * acinclude.m4 (GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING): New. 1793169691Skan * acconfig.h: Add corresponding undef. 1794169691Skan * configure.ac: Use GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING. 1795169691Skan * docs/html/configopts.html: Document --enable-fully-dynamic-string. 1796169691Skan * configure: Regenerate. 1797169691Skan * config.h.in: Likewise. 1798146897Skan 1799169691Skan2004-09-28 Benjamin Kosnik <bkoz@redhat.com> 1800169691Skan Paolo Carlini <pcarlini@suse.de> 1801169691Skan 1802169691Skan * testsuite/21_strings/basic_string/operations/char/1.cc: New. 1803169691Skan * testsuite/21_strings/basic_string/operations/wchar_t/1.cc: New. 1804169691Skan * testsuite/21_strings/basic_string/element_access/char/empty.cc: New. 1805169691Skan * testsuite/21_strings/basic_string/element_access/wchar_t/empty.cc: 1806169691Skan New. 1807169691Skan 1808169691Skan2004-09-28 Paolo Carlini <pcarlini@suse.de> 1809169691Skan 1810169691Skan * README: Remove obsolete entry about include/c_shadow. 1811169691Skan 1812146897Skan2004-09-24 H.J. Lu <hongjiu.lu@intel.com> 1813146897Skan 1814146897Skan PR libstdc++/17469 1815146897Skan * testsuite/lib/libstdc++.exp: Don't use global ld_library_path. 1816146897Skan 1817146897Skan2004-09-24 Paolo Carlini <pcarlini@suse.de> 1818169691Skan 1819169691Skan * src/localename.cc (locale::locale(const char*)): Minor tweaks: 1820169691Skan rename a variable, move an assignment. 1821169691Skan (locale::_Impl::_Impl(const char*, size_t)): Likewise, minor tweak. 1822169691Skan 1823169691Skan2004-09-24 Paul Brook <paul@codesourcery.com> 1824169691Skan 1825169691Skan * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: XFAIL more arm 1826169691Skan simulator targets. 1827169691Skan * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. 1828169691Skan * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Ditto. 1829169691Skan * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Ditto. 1830169691Skan * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Ditto. 1831169691Skan * testsuite/ext/stdio_filebuf/char/10063-2.cc: Ditto. 1832169691Skan * testsuite/ext/stdio_filebuf/char/10063-3.cc: Ditto. 1833169691Skan 1834169691Skan2004-09-23 Zack Weinberg <zack@codesourcery.com> 1835169691Skan 1836169691Skan * testsuite/20_util/memory/auto_ptr/assign_neg.cc 1837169691Skan * testsuite/23_containers/map/operators/1_neg.cc 1838169691Skan * testsuite/23_containers/set/operators/1_neg.cc: 1839169691Skan Update locations and/or regexps of dg-error markers. 1840169691Skan 1841169691Skan2004-09-23 P.J. Darcy <darcypj@us.ibm.com> 1842169691Skan 1843169691Skan * include/Makefile.am (thread_host_headers): Add gthr-tpf.h. 1844169691Skan Add rule to build ${host_builddir}/gthr-tpf.h. 1845169691Skan * include/Makefile.in: Regenerate. 1846169691Skan 1847169691Skan2004-09-23 Paolo Carlini <pcarlini@suse.de> 1848146897Skan Magnus Fromreide <magfr@lysator.liu.se> 1849169691Skan 1850146897Skan * include/bits/boost_concept_check.h (struct _SequenceConcept): 1851146897Skan Remove wrong requirement, i.e., not present in Table 67. 1852146897Skan 1853169691Skan2004-09-21 Paolo Carlini <pcarlini@suse.de> 1854146897Skan 1855169691Skan PR libstdc++/12882 (cont) 1856169691Skan * acinclude.m4 (GLIBCXX_CHECK_LFS): Check for fstat64 too. 1857169691Skan * configure: Regenerate. 1858169691Skan * config/io/basic_file_stdio.cc (__basic_file<>::showmanyc): When 1859169691Skan _GLIBCXX_USE_LFS use fstat64 and lseek64, thus providing a non 1860169691Skan trivial showmanyc for large files too. 1861146897Skan 1862169691Skan2004-09-17 Jonathan Wakely <redi@gcc.gnu.org> 1863146897Skan 1864146897Skan * include/bits/stl_algo.h (remove): Remove too restrictive 1865146897Skan concept-check. 1866146897Skan 1867169691Skan2004-09-17 Paolo Carlini <pcarlini@suse.de> 1868146897Skan 1869146897Skan * include/bits/fstream.tcc (xsgetn): Slightly tweak conditional, 1870146897Skan as per Nathan's original suggestion. 1871146897Skan 1872169691Skan2004-09-17 Paolo Carlini <pcarlini@suse.de> 1873146897Skan 1874169691Skan * testsuite/ext/mt_allocator/tune-1.cc: Use VERIFY, clean 1875169691Skan up a bit. 1876169691Skan * testsuite/ext/mt_allocator/tune-2.cc: Likewise. 1877169691Skan * testsuite/ext/mt_allocator/tune-3.cc: Likewise. 1878169691Skan * testsuite/ext/mt_allocator/tune-4.cc: Likewise. 1879169691Skan 1880169691Skan2004-09-17 Paolo Carlini <pcarlini@suse.de> 1881169691Skan Andrea Arcangeli <andrea@suse.de> 1882169691Skan 1883169691Skan * config/io/basic_file_stdio.cc (__basic_file<>::close)): Don't 1884169691Skan call unnecessarily sync, that is fflush: the library, since 3.4.0 1885169691Skan does not use buffered fread/fwrite. 1886169691Skan * include/bits/fstream.tcc (basic_filebuf<>::overflow): Likewise. 1887169691Skan 1888169691Skan2004-09-15 Mark Mitchell <mark@codesourcery.com> 1889169691Skan 1890169691Skan * config/cpu/arm/cxxabi_tweaks.h (__cxa_cdtor_return_type): 1891169691Skan Define. 1892169691Skan * config/cpu/generic/cxxabi_tweaks.h (__cxa_cdtor_return_type): 1893169691Skan Define. 1894169691Skan * libsupc++/cxxabi.h (__cxa_cdtor_return_type): New type. 1895169691Skan (__cxa_vec_new): Use it. 1896169691Skan (__cxa_vec_new2): Likewise. 1897169691Skan (__cxa_vec_new3): Likewise. 1898169691Skan (__cxa_vec_cdtor): Likewise. 1899169691Skan (__cxa_vec_cctor): Likeiwse. 1900169691Skan (__cxa_vec_dtor): Likewise. 1901169691Skan (__cxa_vec_cleanup): Likewise. 1902169691Skan (__cxa_vec_delete2): Likewise. 1903169691Skan (__cxa_vec_delete3): Likewise. 1904169691Skan * libsupc++/vec.cc (__cxa_vec_new): Likewise. 1905169691Skan (__cxa_vec_new2): Likewise. 1906169691Skan (__cxa_vec_new3): Likewise. 1907169691Skan (__cxa_vec_cdtor): Likewise. 1908169691Skan (__cxa_vec_cctor): Likeiwse. 1909169691Skan (__cxa_vec_dtor): Likewise. 1910169691Skan (__cxa_vec_cleanup): Likewise. 1911169691Skan (__cxa_vec_delete2): Likewise. 1912169691Skan (__cxa_vec_delete3): Likewise. 1913169691Skan (__aeabi_vec_ctor_nocookie_nodtor): New function. 1914169691Skan (__aeabi_vec_ctor_cookie_nodtor): Likewise. 1915169691Skan (__aeabi_vec_cctor_nocookie_nodtor): Likewise. 1916169691Skan (__aeabi_vec_new_cookie_noctor): Likewise. 1917169691Skan (__aeabi_vec_new_nocookie): Likewise. 1918169691Skan (__aeabi_vec_new_cookie_nodtor): Likewise. 1919169691Skan (__aeabi_vec_new_cookie): Likewise. 1920169691Skan (__aeabi_vec_dtor): Likewise. 1921169691Skan (__aeabi_vec_dtor_cookie): Likewise. 1922169691Skan (__aeabi_vec_delete): Likewise. 1923169691Skan (__aeabi_vec_delete3): Likewise. 1924169691Skan (__aeabi_vec_delete3_nodtor): Likewise. 1925169691Skan (__aeabi_atexit): Likewise. 1926169691Skan 1927169691Skan2004-09-14 Nathan Myers <ncm@cantrip.org> 1928169691Skan 1929146897Skan * include/bits/fstream.tcc (xsgetn): Slightly tweak the recent fix 1930146897Skan for 11722: copy can replace move; the common case is __avail == 0. 1931146897Skan 1932169691Skan2004-09-14 Paolo Carlini <pcarlini@suse.de> 1933146897Skan 1934169691Skan * include/bits/cpp_type_traits.h: Rename __is_trivially_copyable 1935169691Skan to __is_scalar, more clear and consistent with "tr1" naming. 1936169691Skan * include/bits/stl_algobase.h: Update consistently throughout. 1937169691Skan 1938169691Skan2004-09-13 Paolo Carlini <pcarlini@suse.de> 1939169691Skan 1940146897Skan PR libstdc++/11722 1941146897Skan * include/std/std_fstream.h (xsgetn): Declare only. 1942146897Skan * include/bits/fstream.tcc (xsgetn): Define, optimize for the 1943146897Skan always_noconv() case: when __n > __buflen, copy the available 1944146897Skan buffer and issue a direct read. 1945146897Skan * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: New. 1946146897Skan 1947146897Skan * include/bits/fstream.tcc (xsputn): Minor tweak, reorder a 1948146897Skan conditional. 1949146897Skan 1950169691Skan2004-09-13 Hans-Peter Nilsson <hp@bitrange.com> 1951146897Skan 1952169691Skan * testsuite/lib/libstdc++.exp: Use gcc wrapper.exp and call 1953169691Skan libstdc++_maybe_build_wrapper instead of using local code. 1954146897Skan 1955169691Skan2004-09-08 Benjamin Kosnik <bkoz@redhat.com> 1956146897Skan 1957169691Skan * config/linker-map.gnu (GLIBCXX_3.4.3): New, adjust symbol exports. 1958169691Skan 1959169691Skan2004-09-03 Jan Beulich <jbeulich@novell.com> 1960169691Skan 1961169691Skan * crossconfig.m4: Add NetWare as a target. 1962169691Skan * configure: Regenerate. 1963169691Skan 1964169691Skan2004-09-02 Mark Mitchell <mark@codesourcery.com> 1965169691Skan 1966169691Skan * libsupc++/typeinfo: Honor __GXX_MERGED_TYPEINFO_NAMES if already 1967169691Skan defined. 1968169691Skan 1969169691Skan2004-09-02 Benjamin Kosnik <bkoz@redhat.com> 1970169691Skan Simon Richter <Simon.Richter@hogyros.de> 1971169691Skan 1972169691Skan PR libstdc++/16715 1973169691Skan * include/bits/istream.tcc: Add extern template for iostream 1974169691Skan char and wchar_t instantiations. 1975169691Skan 1976169691Skan2004-09-02 Benjamin Kosnik <bkoz@redhat.com> 1977169691Skan Leland Wang <llwang@infor.org> 1978169691Skan 1979169691Skan PR libstdc++/17259 1980169691Skan * include/ext/ropeimpl.h (rope::_S_compare): Use 1981169691Skan _Rope_constants::_S_leaf. 1982169691Skan 1983169691Skan2004-09-02 Benjamin Kosnik <bkoz@redhat.com> 1984169691Skan 1985169691Skan PR libstdc++/16848 1986169691Skan * include/Makefile.am (ext_headers): Remove demangle.h. 1987169691Skan * include/Makefile.in: Regenerate. 1988169691Skan * include/ext/demangle.h: Remove. 1989169691Skan 1990169691Skan2004-09-01 Benjamin Kosnik <bkoz@redhat.com> 1991169691Skan 1992169691Skan PR libstdc++/16614 1993169691Skan * include/ext/mt_allocator.h (__mt_base): Not type dependent, 1994169691Skan split into.. 1995169691Skan (__pool): New, specialize. 1996169691Skan (__common_pool): New, static bits here. 1997169691Skan (__per_type_pool): New, and here. 1998169691Skan (__mt_alloc_base): New. 1999169691Skan (__mt_alloc): Add template parameter, inherit from it. 2000169691Skan * src/allocator.cc: Split this... 2001169691Skan * src/allocator-inst.cc: And this... 2002169691Skan * src/pool_allocator.cc: ...into this. 2003169691Skan * src/mt_allocator.cc: ... and this. Add definitions for 2004169691Skan __mt_base. 2005169691Skan * src/Makefile.am (sources): Split allocator.cc to 2006169691Skan pool_allocator.cc and mt_allocator.cc. 2007169691Skan * src/Makefile.in: Regenerate. 2008169691Skan * config/linker-map.gnu: Add symbols. 2009169691Skan * docs/html/ext/mt_allocator.html: Document new design. 2010169691Skan * testsuite/ext/mt_allocator/tune-1.cc: New. 2011169691Skan * testsuite/ext/mt_allocator/tune-2.cc: New. 2012169691Skan * testsuite/ext/mt_allocator/tune-3.cc: New. 2013169691Skan * testsuite/ext/mt_allocator/tune-4.cc: New. 2014169691Skan 2015169691Skan * testsuite/testsuite_allocator.h (__gnu_test::check_new): New. 2016169691Skan * testsuite/ext/allocators.cc: Use check_new, split into... 2017169691Skan * testsuite/ext/mt_allocator/check_new.cc: this. 2018169691Skan * testsuite/ext/pool_allocator/check_new.cc: this. 2019169691Skan * testsuite/ext/malloc_allocator/check_new.cc: this. 2020169691Skan * testsuite/ext/debug_allocator/check_new.cc: this. 2021169691Skan * testsuite/ext/mt_allocator/instantiate.cc: this. 2022169691Skan * testsuite/ext/pool_allocator/instantiate.cc: this. 2023169691Skan * testsuite/ext/malloc_allocator/instantiate.cc: this. 2024169691Skan * testsuite/ext/debug_allocator/instantiate.cc: this. 2025169691Skan 2026169691Skan2004-08-30 Phil Edwards <phil@codesourcery.com> 2027169691Skan 2028169691Skan * docs/html/install.html: Update locales list (from Paolo). 2029169691Skan Remove other redundant information and point to the GCC install 2030169691Skan documentation. 2031169691Skan 2032169691Skan2004-08-30 Benjamin Kosnik <bkoz@redhat.com> 2033169691Skan 2034169691Skan * include/ext/pool_allocator.h: Rename __pool_base to 2035169691Skan __pool_alloc_base. 2036169691Skan * src/allocator.cc: Same. 2037169691Skan * config/linker-map.gnu: Same. 2038169691Skan 2039169691Skan2004-08-30 Paolo Carlini <pcarlini@suse.de> 2040169691Skan Kenneth C. Schalk <ken@xorian.net> 2041169691Skan 2042169691Skan PR libstdc++/17215 2043169691Skan * config/io/basic_file_stdio.cc (__basic_file<char>::close()): 2044169691Skan Check the return value of fclose/sync, loop on EINTR. 2045169691Skan (__basic_file<char>::sys_open): Likewise, for sync. 2046169691Skan 2047169691Skan2004-08-29 Paolo Carlini <pcarlini@suse.de> 2048169691Skan 2049146897Skan * include/bits/locale_facets.tcc (time_get<>::_M_extract_via_format, 2050146897Skan case 'S'): Allow for at least one leap-second (as per C99, 7.23.1 2051146897Skan and 7.23.3.5), two if !_GLIBCXX_USE_C99. 2052146897Skan * testsuite/22_locale/time_get/get_time/char/4.cc: New. 2053146897Skan * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise. 2054146897Skan 2055169691Skan2004-08-27 Jason Merrill <jason@redhat.com> 2056146897Skan 2057169691Skan PR c++/13684 2058169691Skan * libsupc++/guard.cc (static_mutex): Internal class implementing a 2059169691Skan recursive mutex which controls initialization of local statics. 2060169691Skan (__gnu_cxx::recursive_init): New exception class. 2061169691Skan (__cxa_guard_acquire): Deal with locking and recursion detection. 2062169691Skan (acquire_1, __cxa_guard_abort, __cxa_guard_release): Likewise. 2063146897Skan 2064169691Skan2004-08-27 Matthias Klose <doko@debian.org> 2065146897Skan 2066169691Skan * configure.host: For mips*-*-linux* update cpu_include_dir 2067169691Skan after atomicity_dir is set. 2068146897Skan 2069169691Skan2004-08-27 Matthias Klose <doko@debian.org> 2070146897Skan 2071169691Skan * config/abi/arm-linux-gnu/baseline_symbols.txt: New. 2072169691Skan * config/abi/mips-linux-gnu/baseline_symbols.txt: Update to 3.4.0. 2073169691Skan * configure.host: Set abi_baseline_pair for arm*-*-linux* and 2074169691Skan mips*-*-linux*. 2075169691Skan 2076169691Skan2004-08-27 Paolo Carlini <pcarlini@suse.de> 2077169691Skan 2078169691Skan * testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc: New. 2079169691Skan * testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc: Likewise. 2080169691Skan * testsuite/27_io/manipulators/basefield/wchar_t/1.cc: Likewise. 2081169691Skan * testsuite/27_io/manipulators/standard/wchar_t/1.cc: Likewise. 2082169691Skan * testsuite/27_io/manipulators/standard/wchar_t/2.cc: Likewise. 2083169691Skan 2084169691Skan * testsuite/27_io/manipulators/adjustfield/char/1.cc: Minor 2085169691Skan formatting fixes. 2086169691Skan * testsuite/27_io/manipulators/adjustfield/char/2.cc: Likewise. 2087169691Skan * testsuite/27_io/manipulators/basefield/char/1.cc: Likewise. 2088169691Skan * testsuite/27_io/manipulators/standard/char/1.cc: Likewise. 2089169691Skan * testsuite/27_io/manipulators/standard/char/2.cc: Likewise. 2090169691Skan 2091169691Skan2004-08-25 Paolo Carlini <pcarlini@suse.de> 2092169691Skan 2093146897Skan PR libstdc++/17038 (partial) 2094146897Skan * include/bits/locale_facets.tcc (time_put<>::do_put): Increase 2095146897Skan __maxlen to 128. 2096169691Skan * include/bits/locale_facets.h (class __timepunct): Add FIXME 2097169691Skan comment about _M_put. 2098146897Skan * config/locale/generic/time_members.cc (_M_put): Always null 2099146897Skan terminate __s. 2100146897Skan * config/locale/gnu/time_members.cc (_M_put): Likewise. 2101146897Skan * testsuite/22_locale/time_put/put/char/17038.cc: New. 2102146897Skan * testsuite/22_locale/time_put/put/wchar_t/17038.cc: New. 2103146897Skan 2104169691Skan2004-08-24 Paolo Carlini <pcarlini@suse.de> 2105146897Skan 2106169691Skan * testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc: New. 2107169691Skan * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise. 2108169691Skan * testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc: Likewise. 2109169691Skan * testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc: Likewise. 2110169691Skan * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise. 2111169691Skan * testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc: Likewise. 2112146897Skan 2113169691Skan * testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc: Trim excess 2114169691Skan newlines. 2115169691Skan * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise. 2116146897Skan 2117146897Skan2004-08-22 Matthias Klose <doko@debian.org> 2118146897Skan 2119146897Skan * config/abi/m68k-linux-gnu/baseline_symbols.txt: New. 2120146897Skan * config/abi/sparc-linux-gnu/baseline_symbols.txt: Update to 3.4.0. 2121146897Skan 2122169691Skan2004-08-23 Paolo Carlini <pcarlini@suse.de> 2123169691Skan 2124169691Skan * configure.ac: Specify version 1.9.1 in AM_INIT_AUTOMAKE. 2125169691Skan * aclocal.m4: Regenerate with automake-1.9.1. 2126169691Skan * configure: Regenerate. 2127169691Skan * Makefile.in: Likewise. 2128169691Skan * include/Makefile.in: Likewise. 2129169691Skan * libmath/Makefile.in: Likewise. 2130169691Skan * libsupc++/Makefile.in: Likewise. 2131169691Skan * po/Makefile.in: Likewise. 2132169691Skan * src/Makefile.in: Likewise. 2133169691Skan * testsuite/Makefile.in: Likewise. 2134169691Skan 2135146897Skan2004-08-22 Paolo Carlini <pcarlini@suse.de> 2136146897Skan 2137146897Skan * include/bits/locale_facets.tcc (num_put<>::do_put(bool)): Cast 2138146897Skan to a signed type, long according to the resolution of DR 359. 2139146897Skan * testsuite/22_locale/num_put/put/char/9.cc: New. 2140146897Skan * testsuite/22_locale/num_put/put/wchar_t/9.cc: New. 2141146897Skan 2142146897Skan * include/bits/locale_facets.tcc (num_put<>::do_put(const void*)): 2143146897Skan Simplify a bit: no need to clear showpos. 2144146897Skan 2145169691Skan2004-08-21 Paolo Carlini <pcarlini@suse.de> 2146169691Skan 2147169691Skan * include/bits/char_traits.h (struct _Char_traits_match): Remove, 2148169691Skan unused. 2149169691Skan 2150169691Skan2004-08-21 Paolo Carlini <pcarlini@suse.de> 2151169691Skan 2152169691Skan * testsuite/22_locale/money_put/put/wchar_t/1.cc: Use proper 2153169691Skan wchar_t type for the fill argument; minor formatting tweaks. 2154169691Skan * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise. 2155169691Skan * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise. 2156169691Skan * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise. 2157169691Skan * testsuite/22_locale/money_put/put/wchar_t/4.cc: Likewise. 2158169691Skan * testsuite/22_locale/money_put/put/wchar_t/5.cc: Likewise. 2159169691Skan * testsuite/22_locale/money_put/put/wchar_t/6.cc: Likewise. 2160169691Skan 2161169691Skan2004-08-21 Paolo Carlini <pcarlini@suse.de> 2162169691Skan 2163169691Skan * include/bits/basic_ios.tcc (basic_ios<>::copyfmt): Don't deal 2164169691Skan with _M_word != _M_local_word two times, redundantly. 2165169691Skan 2166169691Skan2004-08-20 Jason Merrill <jason@redhat.com> 2167169691Skan 2168169691Skan * include/Makefile.am (${host_builddir}/gthr.h): Don't add 2169169691Skan _GLIBCXX_ to #pragma lines. 2170169691Skan * include/Makefile.in: Update. 2171169691Skan 2172169691Skan2004-08-20 Paolo Carlini <pcarlini@suse.de> 2173169691Skan 2174169691Skan PR libstdc++/7219 (continued) 2175169691Skan * include/bits/ios_base.h (class ios_base): Expose Annex D.6 2176169691Skan typedefs by default. 2177169691Skan * testsuite/27_io/types/1.cc: Remove #if _GLIBCXX_DEPRECATED. 2178169691Skan * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak dg-error 2179169691Skan line number. 2180169691Skan * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise. 2181169691Skan 2182169691Skan2004-08-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 2183169691Skan 2184169691Skan * cpu/hppa/atomicity.h (__exchange_and_add, __atomic_add): Add memory 2185169691Skan barrier to locking asm. 2186169691Skan 2187169691Skan2004-08-20 Paolo Carlini <pcarlini@suse.de> 2188169691Skan 2189169691Skan * include/c_std/cmath.tcc (__cmath_power): Revert previous commit: 2190169691Skan actually the warning is a front-end bug (c++/17120). 2191169691Skan 2192146897Skan2004-08-20 Matthias Klose <doko@debian.org> 2193146897Skan 2194146897Skan * config/abi/s390-linux-gnu/baseline_symbols.txt: New. 2195146897Skan 2196146897Skan2004-08-20 Paolo Carlini <pcarlini@suse.de> 2197146897Skan 2198169691Skan * include/c_std/cmath.tcc (__cmath_power): Suppress assignment 2199169691Skan used as truth value warning. 2200169691Skan 2201169691Skan2004-08-20 Paolo Carlini <pcarlini@suse.de> 2202169691Skan 2203146897Skan * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Add 32 bit 2204146897Skan baseline. 2205146897Skan 2206146897Skan2004-08-20 Paolo Carlini <pcarlini@suse.de> 2207146897Skan 2208146897Skan * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Fix it. 2209146897Skan 2210169691Skan2004-08-19 Benjamin Kosnik <bkoz@redhat.com> 2211169691Skan 2212169691Skan * testsuite/22_locale/time_put/put/char/3.cc (test03): Don't check 2213169691Skan timezone. 2214169691Skan * testsuite/22_locale/time_put/put/wchar_t/3.cc (test03): Same. 2215169691Skan 2216146897Skan2004-08-19 Paolo Carlini <pcarlini@suse.de> 2217146897Skan 2218146897Skan * testsuite/performance/20_util/allocator/insert.cc: For std::map 2219146897Skan instantiate the allocator for a correct pair type. 2220146897Skan * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise. 2221146897Skan * testsuite/performance/20_util/allocator/map_thread.cc: Likewise. 2222146897Skan * testsuite/performance/20_util/allocator/producer_consumer.cc: 2223146897Skan Likewise. 2224146897Skan 2225146897Skan * testsuite/performance/20_util/allocator/list_sort_search.cc: Very 2226146897Skan minor formatting fixes. 2227169691Skan * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise. 2228146897Skan 2229146897Skan2004-08-19 Paolo Carlini <pcarlini@suse.de> 2230146897Skan 2231169691Skan * testsuite/22_locale/time_put/put/char/1.cc: Add VERIFY on the 2232169691Skan results. 2233169691Skan * testsuite/22_locale/time_put/put/char/2.cc: Likewise. 2234169691Skan * testsuite/22_locale/time_put/put/char/3.cc: Likewise. 2235169691Skan * testsuite/22_locale/time_put/put/char/4.cc: Likewise. 2236169691Skan * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise. 2237169691Skan * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise. 2238169691Skan * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise. 2239169691Skan * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise. 2240169691Skan 2241169691Skan2004-08-19 Paolo Carlini <pcarlini@suse.de> 2242169691Skan 2243146897Skan * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update to 3.4.0. 2244146897Skan 2245146897Skan2004-08-18 Matthias Klose <doko@debian.org> 2246146897Skan 2247146897Skan * config/abi/hppa-linux-gnu/baseline_symbols.txt: Update to 3.4.0. 2248146897Skan * config/abi/i386-linux-gnu/baseline_symbols.txt: New. 2249146897Skan * config/abi/powerpc-linux-gnu/baseline_symbols.txt: New. 2250146897Skan 2251146897Skan2004-08-17 Paolo Carlini <pcarlini@suse.de> 2252146897Skan 2253146897Skan * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update to 3.4.0. 2254146897Skan 2255146897Skan2004-08-17 Paolo Carlini <pcarlini@suse.de> 2256146897Skan 2257146897Skan * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update to 3.4.0. 2258146897Skan 2259146897Skan2004-08-17 Benjamin Kosnik <bkoz@redhat.com> 2260146897Skan 2261146897Skan * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.4.0. 2262146897Skan 2263146897Skan2004-08-16 Paolo Carlini <pcarlini@suse.de> 2264146897Skan 2265169691Skan * include/bits/indirect_array.h: Trivial formatting fixes. 2266169691Skan * include/bits/valarray_after.h: Likewise. 2267169691Skan * include/bits/valarray_array.h: Likewise. 2268169691Skan * src/valarray-inst.cc: Likewise. 2269146897Skan 2270169691Skan2004-08-15 Paolo Carlini <pcarlini@suse.de> 2271169691Skan 2272169691Skan * testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Remove junk. 2273169691Skan * testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise. 2274169691Skan * testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise. 2275169691Skan 2276169691Skan * testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: New. 2277169691Skan * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise. 2278169691Skan * testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise. 2279169691Skan * testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise. 2280169691Skan * testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise. 2281169691Skan 2282169691Skan2004-08-15 Paolo Carlini <pcarlini@suse.de> 2283169691Skan 2284169691Skan * include/bits/deque.tcc: Trivial formatting fixes. 2285169691Skan 2286169691Skan2004-08-15 Paolo Carlini <pcarlini@suse.de> 2287169691Skan 2288169691Skan * include/bits/deque.tcc: Trivial formatting fixes. 2289169691Skan 2290169691Skan * include/bits/locale_facets.tcc (num_get<>::do_get(&bool)): 2291169691Skan Remove unneded typedef. 2292169691Skan 2293169691Skan * include/bits/locale_facets.tcc: Very minor tweaks. 2294169691Skan 2295169691Skan * testsuite/22_locale/time_put/put/wchar_t/1.cc: Use proper 2296169691Skan type for the fill argument. 2297169691Skan * testsuite/22_locale/time_put/put/wchar_t/10.cc: Likewise. 2298169691Skan * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise. 2299169691Skan * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise. 2300169691Skan * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise. 2301169691Skan * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise. 2302169691Skan * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise. 2303169691Skan * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise. 2304169691Skan * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise. 2305169691Skan 2306146897Skan2004-08-13 Paolo Carlini <pcarlini@suse.de> 2307169691Skan 2308146897Skan * src/debug.cc (_Error_formatter::_M_print_string): Fix thinko, 2309146897Skan memmove is not needed, memcpy suffices. 2310146897Skan 2311169691Skan2004-08-13 Paolo Carlini <pcarlini@suse.de> 2312169691Skan 2313169691Skan * include/std/std_fstream.h (class basic_ifstream, 2314169691Skan class basic_ofstream, class basic_fstream): Add const overloads 2315169691Skan of is_open, as per DR 365 [WP]. 2316169691Skan * docs/html/ext/howto.html: Add an entry for DR 365. 2317169691Skan 2318146897Skan2004-08-12 Paolo Carlini <pcarlini@suse.de> 2319169691Skan 2320169691Skan * configure.ac: Specify version 1.8.5 in AM_INIT_AUTOMAKE. 2321169691Skan 2322169691Skan2004-08-12 Paolo Carlini <pcarlini@suse.de> 2323169691Skan 2324169691Skan PR libstdc++/16956 2325169691Skan * include/bits/sstream.tcc (basic_stringbuf<>::seekoff): Add __off 2326169691Skan to the returned value, reorganize a bit. 2327169691Skan * testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: New. 2328169691Skan * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: New. 2329169691Skan 2330169691Skan * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Remove junk. 2331169691Skan * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise. 2332169691Skan * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise. 2333169691Skan * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise. 2334169691Skan 2335169691Skan2004-08-12 Paul Brook <paul@codesourcery.com> 2336169691Skan 2337169691Skan * config/cpu/arm/cxxabi_tweaks.h: Define __cxa_vec_ctor_return and 2338169691Skan _GLIBCXX_CXA_VEC_CTOR_RETURN. 2339169691Skan * config/cpu/generic/cxxabi_tweaks.h: Ditto. 2340169691Skan * libsupc++/cxxabi.h (__cxa_vec_ctor, __cxa_vec_cctor): Use 2341169691Skan __cxa_vec_ctor_return. 2342169691Skan * libsupc++/vec.cc (__cxa_vec_ctor, __cxa_vec_cctor): Ditto. 2343169691Skan Use _GLIBCXX_CXA_VEC_CTOR_RETURN. 2344169691Skan 2345169691Skan2004-08-12 Kelley Cook <kcook@gcc.gnu.org> 2346169691Skan 2347169691Skan * Makefile.in, aclocal.m4, configure, include/Makefile.in, 2348169691Skan libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, 2349169691Skan src/Makefile.in, testsuite/Makefile.in: Regenerate 2350169691Skan 2351169691Skan2004-08-12 Jan Beulich <jbeulich@novell.com> 2352169691Skan 2353169691Skan * config/locale/generic/ctype_members.cc 2354169691Skan (ctype<wchar_t>::_M_convert_to_wmask): Default case must not use 0 as 2355169691Skan initializer for return value, as that is invalid for enumerated types. 2356169691Skan * config/locale/gnu/ctype_members.cc 2357169691Skan (ctype<wchar_t>::_M_convert_to_wmask): Likewise. 2358169691Skan 2359169691Skan2004-08-11 Paolo Carlini <pcarlini@suse.de> 2360169691Skan 2361169691Skan * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Fix typo. 2362169691Skan 2363169691Skan2004-08-11 Paolo Carlini <pcarlini@suse.de> 2364169691Skan 2365169691Skan * testsuite/27_io/basic_stringbuf/imbue/char/1.cc: Declare test 2366169691Skan variable. 2367169691Skan * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc: Ditto. 2368169691Skan * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Remove junk. 2369169691Skan * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Ditto. 2370169691Skan * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Ditto. 2371169691Skan * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Ditto. 2372169691Skan * testsuite/27_io/basic_stringbuf/setbuf/char/1.cc: Ditto. 2373169691Skan * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc: Ditto. 2374169691Skan * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Ditto. 2375169691Skan * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Ditto. 2376169691Skan * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Ditto. 2377169691Skan * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Ditto. 2378169691Skan * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Ditto. 2379169691Skan * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Ditto. 2380169691Skan * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Ditto. 2381169691Skan * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Ditto. 2382169691Skan * testsuite/27_io/basic_stringbuf/sputc/char/1.cc: Ditto. 2383169691Skan * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc: Ditto. 2384169691Skan * testsuite/27_io/basic_stringbuf/sputn/char/1.cc: Ditto. 2385169691Skan * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc: Ditto. 2386169691Skan * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Ditto. 2387169691Skan * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Ditto. 2388169691Skan 2389169691Skan2004-08-11 Paolo Carlini <pcarlini@suse.de> 2390146897Skan Petur Runolfsson <peturr02@ru.is> 2391146897Skan 2392146897Skan PR libstdc++/16959 2393146897Skan * src/ios_init.cc (ios_base::sync_with_stdio): Make sure the 2394146897Skan standard streams are constructed. 2395146897Skan * testsuite/27_io/ios_base/sync_with_stdio/16959.cc: New. 2396146897Skan 2397169691Skan2004-08-09 Paolo Carlini <pcarlini@suse.de> 2398169691Skan 2399169691Skan * include/bits/stl_bvector.h: Trivial formatting fixes. 2400169691Skan 2401169691Skan2004-08-09 Paolo Carlini <pcarlini@suse.de> 2402169691Skan 2403169691Skan * src/ios.cc (ios_base::_M_grow_words): Uglify the names. 2404169691Skan 2405169691Skan2004-08-07 Jonathan Wakely <redi@gcc.gnu.org> 2406146897Skan Paolo Carlini <pcarlini@suse.de> 2407169691Skan 2408146897Skan * src/debug.cc (_Error_formatter::_M_print_string): In order 2409146897Skan to print individual words from __string, _M_format_word can't 2410146897Skan be called since may be just sprintf, thus ignoring completely 2411146897Skan __n: instead, use memmove and append '\0' by hand. 2412146897Skan 2413169691Skan2004-08-07 Paolo Carlini <pcarlini@suse.de> 2414146897Skan 2415169691Skan * config/locale/generic/c_locale.h (__convert_from_v): Don't 2416169691Skan use a default for __prec, assume __prec >= 0 and simplify. 2417169691Skan * config/locale/gnu/c_locale.h (__convert_from_v): Likewise. 2418169691Skan * include/bits/locale_facets.tcc (money_put<>::do_put(long double)): 2419169691Skan Pass format "%.*Lf" + precision == 0, equivalent to "%.0Lf". 2420146897Skan 2421169691Skan2004-08-04 Phil Edwards <phil@codesourcery.com> 2422146897Skan 2423169691Skan * docs/html/configopts.html: Emphasize that options change. 2424169691Skan * docs/html/17_intro/configury.html: Update links. 2425146897Skan 2426169691Skan2004-08-03 Paolo Carlini <pcarlini@suse.de> 2427146897Skan 2428169691Skan * include/bits/list.tcc: Trivial formatting fixes. 2429146897Skan 2430169691Skan2004-08-03 Mark Mitchell <mark@codesourcery.com> 2431169691Skan 2432169691Skan * libsupc++/new_op.cc: Update comments. 2433169691Skan * libsupc++/del_op.cc: Likewise. 2434169691Skan 2435169691Skan2004-08-02 Mark Mitchell <mark@codesourcery.com> 2436169691Skan 2437169691Skan * libsupc++/cxxabi.h: Make all declarations have default 2438169691Skan visibility. 2439169691Skan * libsupc++/exception: Likewise. 2440169691Skan * libsupc++/new: Likewise. 2441169691Skan * libsupc++/typeinfo: Likewise. 2442169691Skan * libsupc++/unwind-cxx.h: Likewise. 2443169691Skan * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Put it into 2444169691Skan the __cxxabiv1 namespace. 2445169691Skan (__cxa_free_exception): Likewise. 2446169691Skan * libsupc++/eh_aux_runtime.cc (__cxa_bad_cast): Likewise. 2447169691Skan (__cxa_bad_typeid): Likewise. 2448169691Skan * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise. 2449169691Skan (__cxa_end_catch): Likewise. 2450169691Skan * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Likewise. 2451169691Skan (__cxa_get_globals): Likewise. 2452169691Skan * libsupc++/eh_throw.cc (__cxa_throw): Likewise. 2453169691Skan (__cxa_rethrow): Likewise. 2454169691Skan * libsupc++/pure.cc (__cxa_pure_virtual): Likewise. 2455169691Skan * libsupc++/eh_type.cc: Include <cxxabi.h>. 2456169691Skan 2457169691Skan * Makefile.am (hosted_source): Add libmath and testsuite. 2458169691Skan (SUBDIRS): Remove them. 2459169691Skan * acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding 2460169691Skan on arm*-*-symbianelf*. 2461169691Skan * crossconfig.m4: Add arm*-*-symbianelf* support. 2462169691Skan * include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it 2463169691Skan when freestanding. Do not bring names into std:: namespace with 2464169691Skan "using" when freestanding. Declare required functions and macros 2465169691Skan when freestanding. 2466169691Skan * libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c 2467169691Skan when freestanding. 2468169691Skan * libsupc++/del_op.cc: Declare "free" only when freestanding. 2469169691Skan * libsupc++/eh_alloc.cc (cstring): Include it only when hosted. 2470169691Skan (malloc): Declare when freestanding. 2471169691Skan (free): Likewise. 2472169691Skan (memset): Likewise. 2473169691Skan (__cxa_allocate_exception): Call malloc, not std::malloc. Likewise 2474169691Skan for memset. 2475169691Skan (__cxa_free_exception): Likewise for free. 2476169691Skan * libsupc++/new_op.cc: Declare "malloc" when freestanding. 2477169691Skan * libsupc++/pure.cc (writestr): Define to nothing when 2478169691Skan freestanding. 2479169691Skan * libsupc++/vterminate.cc: Do not define anything when 2480169691Skan freestanding. 2481169691Skan * Makefile.in: Regenerated. 2482169691Skan * aclocal.m4: Likewise. 2483169691Skan * configure: Likewise. 2484169691Skan * include/Makefile.in: Likewise. 2485169691Skan * libmath/Makefile.in: Likewise. 2486169691Skan * libsupc++/Makefile.in: Likewise. 2487169691Skan * po/Makefile.in: Likewise. 2488169691Skan * src/Makefile.in: Likewise. 2489169691Skan * testsuite/Makefile.in: Likewise. 2490169691Skan 2491169691Skan2004-08-01 Matt Austern <austern@apple.com> 2492169691Skan 2493169691Skan PR libstdc++/16844 2494169691Skan * include/bits/stl_list.h (_M_create_node): Remove unused 2495169691Skan zero-argument version. 2496169691Skan * include/ext/slist (_M_create_node): Pass two arguments to 2497169691Skan allocator's construct() member function. 2498169691Skan * testsuite/23_containers/deque/explicit_instantiation.cc: New. 2499169691Skan * testsuite/23_containers/list/explicit_instantiation.cc: New. 2500169691Skan * testsuite/23_containers/vector/explicit_instantiation.cc: New. 2501169691Skan * testsuite/23_containers/map/explicit_instantiation.cc: New. 2502169691Skan * testsuite/23_containers/set/explicit_instantiation.cc: New. 2503169691Skan * testsuite/23_containers/multimap/explicit_instantiation.cc: New. 2504169691Skan * testsuite/23_containers/multiset/explicit_instantiation.cc: New. 2505169691Skan * testsuite/ext/hash_set_explicit_instantiation.cc: New. 2506169691Skan * testsuite/ext/slist_explicit_instantiation.cc: New. 2507169691Skan 2508146897Skan2004-07-30 Paolo Carlini <pcarlini@suse.de> 2509146897Skan 2510169691Skan * include/bits/locale_facets.tcc (num_get<>::_M_extract_float, 2511169691Skan num_get<>::_M_extract_int): In the main parsing loop delay the 2512169691Skan life of __q to the actual use point. 2513169691Skan 2514169691Skan2004-07-29 Paolo Carlini <pcarlini@suse.de> 2515169691Skan 2516169691Skan PR libstdc++/14220 2517169691Skan * include/bits/locale_facets.tcc (num_put<>::_M_insert_float): 2518169691Skan Don't clip the precision passed down to __convert_from_v: 2519169691Skan 22.2.2.2.2 nowhere says so. 2520169691Skan * testsuite/22_locale/num_put/put/char/14220.cc: New. 2521146897Skan * testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise. 2522146897Skan 2523169691Skan2004-07-29 Paolo Carlini <pcarlini@suse.de> 2524146897Skan 2525146897Skan * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 31. 2526146897Skan 2527146897Skan2004-07-29 Paolo Carlini <pcarlini@suse.de> 2528169691Skan Petur Runolfsson <peturr02@ru.is> 2529146897Skan 2530169691Skan PR libstdc++/12658 (continued) 2531169691Skan * src/locale_init.cc (locale::locale, locale::global): Use 2532169691Skan a single locale_mutex instead of two separate mutexes. 2533169691Skan 2534169691Skan2004-07-29 Paolo Carlini <pcarlini@suse.de> 2535169691Skan 2536146897Skan PR libstdc++/16813 2537146897Skan * include/debug/map.h (insert(_InputIterator, _InputIterator)): 2538146897Skan Fix typo. 2539146897Skan * testsuite/23_containers/map/insert/16813.cc: New. 2540146897Skan 2541169691Skan2004-07-29 Phil Edwards <phil@codesourcery.com> 2542169691Skan 2543169691Skan * docs/html/faq/index.html: Update version references. Make 2544169691Skan clear that code from SGI has diverged greatly. Remove references 2545169691Skan to library snapshots and what's-new sections. 2546169691Skan * docs/html/faq/index.txt: Regenerate. 2547169691Skan 2548169691Skan2004-07-28 Matt Austern <austern@apple.com> 2549169691Skan 2550169691Skan * include/bits/stl_construct.h (_Destroy): New three-argument 2551169691Skan overload that takes an allocator argument. Another inline 2552169691Skan three-argument overload that takes std::allocator and dispatches 2553169691Skan to the two-argument version. 2554169691Skan * include/bits/stl_uninitialized.h (__uninitialized_fill_n_aux): 2555169691Skan Change return type to void to match uninitialized_fill_n. 2556169691Skan (__uninitialized_copy_a_): New function. Like uninitialized_copy 2557169691Skan except that it takes an allocator and uses it for construct and 2558169691Skan destroy. If the allocator is std::allocator, dispatches to 2559169691Skan uninitialized_copy. 2560169691Skan (__uninitialized_fill_a): Likewise. 2561169691Skan (__uninitialized_fill_n_a): Likewise. 2562169691Skan (__uninitialized_copy_copy): Give it an allocator argument. 2563169691Skan (__uninitialized_fill_copy): Likewise. 2564169691Skan (__uninitialized_copy_fill): Likewise. 2565169691Skan * include/bits/deque.tcc: Use new forms defined in stl_construct.h 2566169691Skan and stl_uninitialized.h. Replace use of single-argument _Construct 2567169691Skan and _Destroy with use of allocator's construct and destroy methods. 2568169691Skan * include/bits/list.tcc: Likewise. 2569169691Skan * include/bits/stl_deque.h: Likewise. 2570169691Skan * include/bits/stl_list.h: Likewise. 2571169691Skan * include/bits/stl_tree.h: Likewise. 2572169691Skan * include/bits/stl_vector.h: Likewise. 2573169691Skan * include/bits/vector.tcc: Likewise. 2574169691Skan * include/ext/hashtable.h: Use rebind so that allocator_type 2575169691Skan has correct type for a container's allocator. Replace use of 2576169691Skan single-argument _Construct and _Destroy with use of allocator's 2577169691Skan construct and destroy methods. 2578169691Skan * include/ext/memory (__uninitialized_copy_n_a): New function. 2579169691Skan Like uninitialized_copy_n except that it takes an extra parameter, 2580169691Skan an allocator, and uses it for construct and destroy operations. 2581169691Skan * include/ext/rope: Use new forms defined in stl_construct.h, 2582169691Skan stl_uninitialized.h, and ext/memory. Replace use of single-argument 2583169691Skan _Construct and _Destroy with allocator construct and destroy methods. 2584169691Skan * include/ext/ropeimpl.h: Likewise. 2585169691Skan * include/ext/slist.h: Likewise. 2586169691Skan * testsuite/testsuite_allocator.h (check_construct_destroy): New. 2587169691Skan * testsuite/testsuite_allocator.cc (check_construct_destroy): New. 2588169691Skan * testsuite/23_containers/deque/check_construct_destroy.cc: New. 2589169691Skan * testsuite/23_containers/list/check_construct_destroy.cc: New. 2590169691Skan * testsuite/23_containers/set/check_construct_destroy.cc: New. 2591169691Skan * testsuite/23_containers/vector/check_construct_destroy.cc: New. 2592169691Skan * testsuite/ext/hash_check_construct_destroy.cc: New. 2593169691Skan * testsuite/ext/slist_check_construct_destroy.cc: New. 2594169691Skan 2595169691Skan2004-07-28 Alexandre Oliva <aoliva@redhat.com> 2596169691Skan 2597169691Skan 2003-10-01 Eric Christopher <echristo@redhat.com> 2598169691Skan * config/cpu/sh/atomicity.h (__exchange_and_add): Remove 'm' 2599169691Skan constraint. 2600169691Skan 2003-07-09 Alexandre Oliva <aoliva@redhat.com> 2601169691Skan * config/cpu/sh/atomicity.h: New. Use movli and movco on SH4a. 2602169691Skan 2603169691Skan2004-07-23 Benjamin Kosnik <bkoz@redhat.com> 2604169691Skan 2605169691Skan PR libstdc++/16678 2606169691Skan * include/bits/locale_facets.tcc: Fix for -Werror. 2607169691Skan 2608169691Skan2004-07-23 Jonathan Wakely <redi@gcc.gnu.org> 2609169691Skan 2610169691Skan * docs/html/debug.html: Say debug mode only available since 3.4.0. 2611169691Skan 2612169691Skan2004-07-21 Benjamin Kosnik <bkoz@redhat.com> 2613169691Skan 2614169691Skan * docs/doxygen/mainpage.html: Clarify links. 2615169691Skan * docs/doxygen/stdheader.cc: Add files. 2616169691Skan * docs/doxygen/style.css: Remove bolds, add h2, h3 styles. 2617169691Skan * docs/doxygen/user.cfg.in: New options, wrap. 2618169691Skan 2619146897Skan2004-07-20 Danny Smith <dannysmith@users.sourceforge.net> 2620146897Skan 2621146897Skan * include/c_std/std_cwchar.h (wcsstr): Correct signature. 2622146897Skan 2623146897Skan2004-07-19 Benjamin Kosnik <bkoz@redhat.com> 2624146897Skan 2625146897Skan PR libstdc++/15488 2626146897Skan * testsuite/lib/libstdc++.exp (v3-copy-files): Revert. 2627169691Skan 2628146897Skan2004-07-17 Richard Sandiford <rsandifo@redhat.com> 2629146897Skan 2630146897Skan PR bootstrap/16469 2631146897Skan * scripts/create_testsuite_files: Pass -print to find. 2632146897Skan 2633146897Skan2004-07-15 Paolo Carlini <pcarlini@suse.de> 2634146897Skan 2635146897Skan * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 30. 2636146897Skan * docs/html/ext/howto.html: Tweak entries for DRs 167/253/389/402. 2637146897Skan 2638146897Skan2004-07-15 Jakub Jelinek <jakub@redhat.com> 2639146897Skan 2640146897Skan PR libstdc++/14697 2641146897Skan * acinclude.m4 (glibcxx_shared_libgcc): Correct 2642146897Skan glibcxx_shared_libgcc test for multilibs. 2643146897Skan * configure: Rebuilt. 2644146897Skan 2645146897Skan2004-07-14 Paolo Carlini <pcarlini@suse.de> 2646146897Skan 2647169691Skan PR libstdc++/16505 2648169691Skan * include/bits/stl_uninitialized.h (uninitialized_fill_n): Fix 2649169691Skan the signature to return void, as per 20.4.4.3. 2650169691Skan * include/bits/stl_vector.h (vector::vector(size_type, 2651169691Skan const value_type&, const allocator_type&), vector::vector(size_type), 2652169691Skan vector::_M_initialize_dispatch): Adjust callers. 2653169691Skan * include/bits/vector.tcc (vector<>::_M_fill_assign, 2654169691Skan vector<>::_M_fill_insert): Likewise. 2655169691Skan * testsuite/20_util/memory/16505.cc: New. 2656146897Skan 2657146897Skan2004-07-14 Paolo Carlini <pcarlini@suse.de> 2658146897Skan 2659169691Skan * testsuite/22_locale/locale/cons/12658_thread-1.cc, 2660169691Skan 12658_thread-2.cc: Use __gnu_test::try_named_locale. 2661169691Skan 2662169691Skan2004-07-13 Benjamin Kosnik <bkoz@redhat.com> 2663169691Skan 2664169691Skan * docs/html/ext/mt_allocator.html: Add docs for _Tune. 2665169691Skan * include/ext/mt_allocator.h (__mt_alloc::_S_get_options): Make public. 2666169691Skan (__mt_alloc::_S_set_options): Same. 2667169691Skan Add to comments. 2668169691Skan 2669169691Skan2004-07-13 Benjamin Kosnik <bkoz@redhat.com> 2670169691Skan 2671169691Skan * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add allocator defaults 2672169691Skan for linux. 2673169691Skan * configure: Regenerated. 2674169691Skan 2675169691Skan2004-07-13 Paolo Carlini <pcarlini@suse.de> 2676169691Skan 2677169691Skan * testsuite/22_locale/locale/cons/12658_thread.cc: Move/rename 2678169691Skan to 12658_thread-1.cc and xfail. 2679169691Skan * testsuite/22_locale/locale/cons/12658_thread-2.c: New, much 2680169691Skan simpler version of 12658_thread-1.cc, still failing on 3_3 and 2681169691Skan not failing on 3_4/mainline - both on single processor and 2682169691Skan multiprocessor machines. 2683169691Skan 2684169691Skan2004-07-12 Benjamin Kosnik <bkoz@redhat.com> 2685169691Skan 2686169691Skan * docs/html/abi.html: Remove non-public qualification. 2687169691Skan 2688169691Skan * include/bits/concurrence.h: Tweak comments. 2689169691Skan 2690169691Skan2004-07-11 Paolo Carlini <pcarlini@suse.de> 2691169691Skan 2692169691Skan Add wchar_t counterparts of the basic_streambbuf<char> tests. 2693169691Skan * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: New. 2694169691Skan * testsuite/27_io/basic_streambuf/imbue/wchar_t/1.cc, 9322.cc: 2695169691Skan Likewise. 2696169691Skan * testsuite/27_io/basic_streambuf/in_avail/wchar_t/9701-3.cc: Likewise. 2697169691Skan * testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc, 2.cc, 2698169691Skan 3599.cc: Likewise. 2699169691Skan * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise. 2700169691Skan * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise. 2701169691Skan * testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc: Likewise. 2702169691Skan * testsuite/27_io/basic_streambuf/sputc/wchar_t/1057.cc: Likewise. 2703169691Skan * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc, 1057.cc: 2704169691Skan Likewise. 2705169691Skan * testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc: Likewise. 2706169691Skan 2707169691Skan * testsuite/27_io/basic_streambuf/imbue/char/1.cc, 9322.cc: Minor 2708169691Skan tweaks. 2709169691Skan * testsuite/27_io/basic_streambuf/overflow/char/2.cc, 3599.cc: 2710169691Skan Likewise. 2711169691Skan * testsuite/27_io/basic_streambuf/sputn/char/1057.cc: Likewise. 2712169691Skan * testsuite/27_io/basic_streambuf/sync/char/1057.cc: Likewise. 2713169691Skan 2714169691Skan2004-07-11 Phil Edwards <phil@codesourcery.com> 2715169691Skan 2716169691Skan * acinclude.m4: Cosmetic shell syntax fixes. 2717169691Skan * configure.ac: Bring comment inline with reality. 2718169691Skan * configure.host: Both of the above. Move 'arm' case to right 2719169691Skan place in host_cpu switch. 2720169691Skan * aclocal.m4, configure: Regenerate. 2721169691Skan 2722169691Skan2004-07-09 Paolo Carlini <pcarlini@suse.de> 2723169691Skan 2724169691Skan Add wchar_t counterparts of the basic_stringbuf<char> tests. 2725169691Skan * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc, 9322.cc: New. 2726169691Skan * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Likewise. 2727169691Skan * testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc, 2.cc, 2728169691Skan 3599.cc, 9988.cc: Likewise. 2729169691Skan * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc, 9825.cc: 2730169691Skan Likewise. 2731169691Skan * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc: 2732169691Skan Likewise. 2733169691Skan * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc, 3.cc: 2734169691Skan Likewise. 2735169691Skan * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc, 2.cc, 3.cc: 2736169691Skan Likewise. 2737169691Skan * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise. 2738169691Skan * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise. 2739169691Skan * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise. 2740169691Skan * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc, 9425.cc: 2741169691Skan Likewise. 2742169691Skan * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc, 1057.cc, 2743169691Skan 9404-1.cc: Likewise. 2744169691Skan * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc, 1057.cc, 2745169691Skan 9404-2.cc: Likewise. 2746169691Skan * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc, 2.cc, 3.cc, 2747169691Skan 3955.cc: Likewise. 2748169691Skan * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise. 2749169691Skan * testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc: Likewise. 2750169691Skan 2751169691Skan2004-07-08 Paolo Carlini <pcarlini@suse.de> 2752169691Skan 2753169691Skan * include/bits/gslice.h: Trivial formatting fixes. 2754169691Skan * include/bits/gslice_array.h: Likewise. 2755169691Skan * include/bits/indirect_array.h: Likewise. 2756169691Skan * include/bits/mask_array.h: Likewise. 2757169691Skan * include/bits/slice_array.h: Likewise. 2758169691Skan * include/bits/valarray_after.h: Likewise. 2759169691Skan * include/bits/valarray_array.h: Likewise. 2760169691Skan * include/bits/valarray_before.h: Likewise. 2761169691Skan * include/std/std_valarray.h: Likewise. 2762169691Skan 2763169691Skan2004-07-08 Benjamin Kosnik <bkoz@redhat.com> 2764169691Skan 2765169691Skan PR c++/16169 2766169691Skan * include/bits/basic_string.h (basic_string::operator=): Revert. 2767169691Skan 2768169691Skan2004-07-07 Benjamin Kosnik <bkoz@redhat.com> 2769169691Skan 2770169691Skan * configure.ac (libtool_VERSION): To 6:2:0. 2771169691Skan * configure: Regenerated. 2772169691Skan 2773169691Skan * testsuite/testsuite_abi.cc (check_version): Add 3.4.2. 2774169691Skan 2775169691Skan2004-07-07 Aaron W. LaFramboise <aaronraolete36@aaronwl.com> 2776169691Skan 2777169691Skan PR libstdc++/16411 2778169691Skan * config/linker-map.gnu: Add stdio_sync_filebuf::file exports. 2779169691Skan 2780169691Skan2004-07-07 Benjamin Kosnik <bkoz@redhat.com> 2781169691Skan 2782169691Skan * docs/html/abi.html: Updates for 3.4.1 release. Add summary of 2783169691Skan -Weffc++ issues. 2784169691Skan 2785169691Skan2004-07-07 Paolo Carlini <pcarlini@suse.de> 2786169691Skan 2787146897Skan PR libstdc++/16401 2788146897Skan * include/bits/sstream.tcc (overflow): When reallocating _M_string 2789146897Skan use an exponential grow policy. 2790146897Skan * testsuite/27_io/basic_stringbuf/overflow/char/1.cc: New. 2791146897Skan * testsuite/performance/27_io/stringbuf_overflow.cc: New. 2792146897Skan 2793169691Skan2004-07-06 Anssi Hannula <anssi.hannula@mbnet.fi> 2794146897Skan 2795169691Skan PR libstdc++/15928 2796169691Skan * crossconfig.m4: Add in bits for djgpp. 2797169691Skan * configure: Regenerate. 2798146897Skan 2799169691Skan2004-07-05 Jonathan Wakely <redi@gcc.gnu.org> 2800169691Skan 2801169691Skan * testsuite/23_containers/{set,multiset}/14340.cc: Fix typos in 2802169691Skan instantiation of set and multiset (functor param given as int). 2803169691Skan 2804169691Skan2004-07-04 Paolo Carlini <pcarlini@suse.de> 2805169691Skan 2806169691Skan * include/bits/basic_string.h: Trivial formatting fixes and/or 2807169691Skan const-ification of some variables. 2808169691Skan * include/bits/deque.tcc: Likewise. 2809169691Skan * include/bits/stl_algobase.h: Likewise. 2810169691Skan * include/bits/stl_bvector.h: Likewise. 2811169691Skan * include/bits/stl_construct.h: Likewise. 2812169691Skan * include/bits/stl_deque.h: Likewise. 2813169691Skan * include/bits/stl_pair.h: Likewise. 2814169691Skan * include/bits/stl_vector.h: Likewise. 2815169691Skan * include/bits/vector.tcc: Likewise. 2816169691Skan 2817169691Skan2004-07-04 Paolo Carlini <pcarlini@suse.de> 2818169691Skan 2819169691Skan * testsuite/25_algorithms/copy/1.cc: Add instantiations for 2820169691Skan systems with no COMDAT or weak support. 2821169691Skan * testsuite/25_algorithms/copy/2.cc: Likewise. 2822169691Skan * testsuite/25_algorithms/copy/3.cc: Likewise. 2823169691Skan * testsuite/25_algorithms/copy/4.cc: Likewise. 2824169691Skan 2825169691Skan2004-07-03 Paul Brook <paul@codesourcery.com> 2826169691Skan 2827169691Skan * configure.ac: Set ABI_TWEAKS_SRCDIR. 2828169691Skan * configure.host: Set abi_tweaks_dir. Check for atomicity.h when 2829169691Skan setting atomicity_dir. Override type_cpu for arm based targets. 2830169691Skan * include/Makefile.am (host_headers): Add cxxabi_tweaks.h. 2831169691Skan * libsupc++/cxxabi.h: Include bits/cxxabi.h. Don't declare __guard. 2832169691Skan * libsupc++/guard.cc: Use definitions from cxxabi_tweaks.h. 2833169691Skan * libsupc++/vec.cc: Ditto. 2834169691Skan * config/cpu/arm/cxxabi_tweaks.h: New file. 2835169691Skan * config/cpu/generic/cxxabi_tweaks.h: New file. 2836169691Skan * */Makefile.in: Regenerate. 2837169691Skan * configure: Regenerate. 2838169691Skan 2839169691Skan2004-07-02 Paolo Carlini <pcarlini@suse.de> 2840169691Skan 2841169691Skan * include/bits/type_traits.h (_Is_normal_iterator): Move... 2842169691Skan * include/bits/cpp_type_traits.h: ... here, renamed to 2843169691Skan __is_normal_iterator and consistent with the other traits. 2844169691Skan * include/bits/stl_algobase.h (__copy_ni1, __copy_ni2): Convert 2845169691Skan to the struct __copy_normal and three specializations. 2846169691Skan (__copy_backward_output_normal_iterator, 2847169691Skan __copy_backward_input_normal_iterator): Likewise, convert to 2848169691Skan the struct __copy_backward_normal and three specializations. 2849169691Skan (copy, copy_backward): Use the latter. 2850169691Skan (__copy_aux, __copy_backward_aux): Very minor tweaks. 2851169691Skan 2852169691Skan2004-07-01 Paolo Carlini <pcarlini@suse.de> 2853169691Skan 2854169691Skan * include/bits/stl_algobase.h (__copy_trivial): Remove. 2855169691Skan (__copy_aux2): Rewrite as __copy_aux to use __is_pointer, 2856169691Skan __is_trivially_copyable, __are_same and __copy::copy. 2857169691Skan (__copy): Rewrite as a class template and two specializations. 2858169691Skan (__copy_ni2): Simplify, just call __copy_aux. 2859169691Skan 2860169691Skan * include/bits/stl_algobase.h (__copy_backward_aux): Add __are_same 2861169691Skan check. 2862169691Skan * testsuite/25_algorithms/copy/1.cc, 2.cc, 3.cc, 4.cc: Test also 2863169691Skan for destination value type != source value type. 2864169691Skan 2865169691Skan2004-07-01 Benjamin Kosnik <bkoz@redhat.com> 2866169691Skan Per Bothner <per@bothner.com> 2867146897Skan Mohan Embar <gnustuff@thisiscool.com> 2868146897Skan 2869146897Skan PR libstdc++/16248 2870146897Skan * include/bits/concurrence.h (__glibcxx_mutex_type): New. 2871146897Skan (__glibcxx_mutex): Encapsulate mutex init function into type for 2872146897Skan threaded configurations without __GTHREAD_MUTEX_INIT. 2873146897Skan (lock::lock): Make device member a reference. 2874146897Skan (lock::~lock): Same. 2875146897Skan * include/ext/pool_allocator.h (__pool_base::_M_get_mutex): Change 2876146897Skan to mutex_type. 2877146897Skan * src/allocator.cc: Same. 2878146897Skan 2879169691Skan2004-06-30 Brad Spencer <spencer@infointeractive.com> 2880146897Skan 2881146897Skan * include/ext/mt_allocator.h: Handle allocations at static 2882146897Skan initialization that happen before _S_options is (automatically) 2883146897Skan constructed; set _S_init even if _M_force_new is true. 2884146897Skan 2885169691Skan2004-06-30 Benjamin Kosnik <bkoz@redhat.com> 2886146897Skan 2887169691Skan * config/linker-map.gnu: Revert new exports. 2888146897Skan 2889169691Skan2004-06-30 Benjamin Kosnik <bkoz@redhat.com> 2890169691Skan Stuart Anderson <anderson@netsweng.com> 2891146897Skan 2892169691Skan * config/linker-map.gnu: Add destructor exports for abstract base 2893169691Skan classes to conform to LSB. 2894146897Skan 2895169691Skan2004-06-30 Gabriel Dos Reis <gdr@integrable-solutions.net> 2896169691Skan Paolo Carlini <pcarlini@suse.de> 2897146897Skan 2898169691Skan * include/bits/cpp_type_traits.h: Add __is_pointer and 2899169691Skan __is_trivially_copyable. 2900169691Skan * include/bits/stl_algobase.h (fill, fill_n): Slightly 2901169691Skan tweak to use the latter. 2902169691Skan (__copy_backward_dispatch): Remove. 2903169691Skan (__copy_backward_aux): Rewrite to use __is_pointer and 2904169691Skan __is_trivially_copyable and __copy_backward::copy_b. 2905169691Skan (__copy_backward): Rewrite as a class template and two 2906169691Skan specializations. 2907146897Skan 2908169691Skan2004-06-30 Paolo Carlini <pcarlini@suse.de> 2909146897Skan 2910169691Skan * testsuite/25_algorithms/copy.cc: Move to... 2911169691Skan * testsuite/25_algorithms/copy/1.cc: ... here, extend. 2912169691Skan * testsuite/25_algorithms/copy/2.cc: New. 2913169691Skan * testsuite/25_algorithms/copy/3.cc: New. 2914169691Skan * testsuite/25_algorithms/copy/4.cc: New. 2915146897Skan 2916169691Skan2004-06-29 Paul Brook <paul@codesourcery.com> 2917146897Skan 2918169691Skan * libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Store the 2919169691Skan element size in the cookie. 2920146897Skan 2921169691Skan2004-06-28 Paolo Carlini <pcarlini@suse.de> 2922146897Skan 2923169691Skan * include/bits/cpp_type_traits.h: Move the additions to 2924169691Skan namespace __gnu_internal outside of namespace std; trivial 2925169691Skan formatting fixes. 2926146897Skan 2927169691Skan2004-06-28 Benjamin Kosnik <bkoz@redhat.com> 2928146897Skan 2929169691Skan * include/debug/safe_base.h (__gnu_debug::_Safe_sequence_base): 2930169691Skan Revert -Weffc++ changes that defined copy ctory and or assignment 2931169691Skan operator. 2932169691Skan * libsupc++/tinfo.cc (__upcast_result): Same. 2933146897Skan 2934169691Skan2004-06-28 Paolo Carlini <pcarlini@suse.de> 2935146897Skan 2936169691Skan * src/localename.cc (locale::_Impl::_Impl): Slightly improve 2937169691Skan the algorithm used to name the categories. 2938146897Skan 2939169691Skan2004-06-28 Paolo Bonzini <bonzini@gnu.org> 2940146897Skan 2941169691Skan * include/Makefile.am: Give a .gch extension to 2942169691Skan the PCH files, not only to the directory. 2943169691Skan * include/Makefile.in: Regenerate. 2944146897Skan 2945169691Skan2004-06-28 Paolo Carlini <pcarlini@suse.de> 2946169691Skan 2947169691Skan * config/locale/gnu/monetary_members.cc 2948169691Skan (moneypunct<wchar_t>::_M_initialize_moneypunct): Clean up 2949169691Skan assignments of _M_decimal_point and _M_thousands_sep. 2950169691Skan 2951169691Skan2004-06-27 Paolo Carlini <pcarlini@suse.de> 2952169691Skan 2953146897Skan * docs/html/17_intro/contribute.html: Update some links. 2954146897Skan * docs/html/17_intro/porting-howto.html: Likewise. 2955146897Skan * docs/html/17_intro/porting-howto.xml: Likewise. 2956146897Skan * docs/html/18_support/howto.html: Likewise. 2957146897Skan * docs/html/21_strings/howto.html: Likewise. 2958146897Skan * docs/html/27_io/howto.html: Likewise. 2959146897Skan * docs/html/configopts.html: Likewise. 2960146897Skan * docs/html/ext/howto.html: Likewise. 2961146897Skan * docs/html/faq/index.html: Likewise. 2962146897Skan * docs/html/install.html: Don't mention 2.x compilers. 2963146897Skan 2964169691Skan2004-06-27 Paolo Carlini <pcarlini@suse.de> 2965146897Skan 2966169691Skan * include/ext/rope: Trivial formatting fixes. 2967169691Skan * include/ext/ropeimpl.h: Likewise. 2968146897Skan 2969169691Skan2004-06-26 Paolo Carlini <pcarlini@suse.de> 2970146897Skan 2971169691Skan PR libstdc++/16210 2972169691Skan * acinclude.m4 (GLIBCXX_ENABLE_LONG_LONG): Do not check for the 2973169691Skan availability of strto(u)ll, not used anymore in the iostreams. 2974169691Skan * configure: Regenerate. 2975169691Skan 2976146897Skan2004-06-25 Benjamin Kosnik <bkoz@redhat.com> 2977146897Skan 2978169691Skan PR libstdc++/16182 2979146897Skan * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Revert to 2980146897Skan AC_DEFINE_UNQUOTED. 2981146897Skan * configure: Regenerate. 2982146897Skan 2983169691Skan2004-06-25 Paul Brook <paul@codesourcery.com> 2984169691Skan 2985169691Skan * libsupc++/cxxabi.h: Define __ARM_EABI__ 2986169691Skan (__guard): Use it. 2987169691Skan * libsupc++/guard.h (__cxa_guard_acquire, __cxa_guard_release): Ditto. 2988169691Skan 2989169691Skan2004-06-25 Paul Brook <paul@codesourcery.com> 2990169691Skan 2991169691Skan * include/bits/concurrence.h: Still create mutex object when 2992169691Skan single-threaded. 2993169691Skan 2994169691Skan2004-06-25 Paolo Carlini <pcarlini@suse.de> 2995169691Skan 2996169691Skan * include/bits/stl_algobase.h (fill, fill_n): Revert last 2997169691Skan change: actually we need to copy construct an object of type 2998169691Skan _Tp, not of type iterator_traits<>::value_type, therefore the 2999169691Skan code is ok. 3000169691Skan 3001169691Skan2004-06-25 Paolo Carlini <pcarlini@suse.de> 3002169691Skan 3003169691Skan * include/bits/stl_algobase.h (fill, fill_n): Tighten the 3004169691Skan dispatch: use iterator_traits<>::value_type, not _Tp. 3005169691Skan 3006169691Skan2004-06-25 Paolo Carlini <pcarlini@suse.de> 3007169691Skan 3008169691Skan * testsuite/25_algorithms/fill/1.cc: Tweak instantiations. 3009169691Skan * testsuite/25_algorithms/fill/2.cc: Likewise. 3010169691Skan 3011169691Skan2004-06-25 Dan Nicolaescu <dann@ics.uci.edu> 3012169691Skan Paolo Carlini <pcarlini@suse.de> 3013169691Skan 3014169691Skan * include/bits/stl_algobase.h (__fill, __fill_n): New helpers 3015169691Skan for fill and fill_n, respectively: when copying is cheap, use a 3016169691Skan temporary to avoid a memory read in each iteration. 3017169691Skan 3018169691Skan2004-06-25 Paolo Carlini <pcarlini@suse.de> 3019169691Skan 3020169691Skan * testsuite/25_algorithms/fill/1.cc: New. 3021169691Skan * testsuite/25_algorithms/fill/2.cc: Likewise. 3022169691Skan 3023146897Skan2004-06-25 Benjamin Kosnik <bkoz@redhat.com> 3024146897Skan 3025146897Skan * include/debug/formatter.h (__gnu_debug::_Error_formatter): 3026146897Skan Remove copy constructor and assignment operator. 3027169691Skan 3028169691Skan2004-06-24 Benjamin Kosnik <bkoz@redhat.com> 3029169691Skan 3030169691Skan * include/bits/concurrence.h (__gnu_cxx::lock): New. 3031169691Skan * include/ext/pool_allocator.h (__pool_base::_Lock::_S_lock): Remove. 3032169691Skan (__pool_base::_M_get_mutex): New. 3033169691Skan * include/bits/allocator.h: Tweak. 3034169691Skan * src/allocator.cc (__pool_base::_M_get_free_list): Correct offset. 3035169691Skan * config/linker-map.gnu: Remove __pool_base::_Lock::_S_lock. 3036169691Skan * include/bits/stl_threads.h: Remove. 3037169691Skan * include/Makefile.am: Also here. 3038169691Skan * include/Makefile.in: Regenerate. 3039169691Skan 3040169691Skan * src/locale_init.cc: Use __gnu_cxx::lock. 3041169691Skan 3042169691Skan * src/allocator.cc: Move all instantiations... 3043169691Skan * src/allocator-inst.cc: ...here. 3044169691Skan 3045169691Skan2004-06-23 Andrew Pinski <apinski@apple.com> 3046169691Skan 3047169691Skan * linkage.m4: Remove check for libmx. 3048169691Skan * configure: Regenerate. 3049169691Skan 3050146897Skan2004-06-23 Paolo Carlini <pcarlini@suse.de> 3051146897Skan 3052146897Skan PR libstdc++/16154 3053146897Skan * include/bits/boost_concept_check.h (struct _TrivialIteratorConcept): 3054146897Skan Don't require the _DefaultConstructibleConcept. 3055146897Skan (struct _ForwardIteratorConcept): Require it here. 3056146897Skan 3057169691Skan2004-06-22 Alexandre Oliva <aoliva@redhat.com> 3058169691Skan 3059169691Skan * include/bits/istream.tcc (getline): Make sure arguments passed 3060169691Skan to min/max have the same type. 3061169691Skan * include/bits/locale_facets.tcc (__verify_grouping): Likewise. 3062169691Skan * include/bits/stl_deque.h (_Deque_base::_Deque_base): Likewise. 3063169691Skan 3064169691Skan2004-06-22 Benjamin Kosnik <bkoz@redhat.com> 3065169691Skan 3066169691Skan * docs/html/abi.html: Update links. 3067169691Skan 3068169691Skan2004-06-22 Paolo Carlini <pcarlini@suse.de> 3069169691Skan 3070169691Skan * testsuite/26_numerics/complex_inserters_extractors.cc, 3071169691Skan complex_value.cc, buggy_complex.cc: Move to... 3072169691Skan * testsuite/26_numerics/complex/: ... here. 3073169691Skan * testsuite/26_numerics/c99_classification_macros_c++.cc, 3074169691Skan c99_classification_macros_c.cc, c_math.cc, c_math_dynamic.cc, 3075169691Skan fabs_inline.cc: Move to... 3076169691Skan * testsuite/26_numerics/cmath/: ... here. 3077169691Skan * testsuite/26_numerics/binary_closure.cc, slice.cc, 3078169691Skan slice_array_assignment.cc, valarray.cc, valarray_const_bracket.cc, 3079169691Skan valarray_name_lookup.cc, valarray_operators.cc, 3080169691Skan valarray_subset_assignment.cc: Move to... 3081169691Skan * testsuite/26_numerics/valarray/: ... here (new dir). 3082169691Skan * testsuite/26_numerics/sum_diff.cc: Move to... 3083169691Skan * testsuite/26_numerics/numeric/: ... here (new dir). 3084169691Skan 3085169691Skan2004-06-22 Paolo Carlini <pcarlini@suse.de> 3086169691Skan 3087169691Skan * include/std/std_istream.h (ignore(streamsize __n = 1, 3088169691Skan int_type __delim = traits_type::eof())): Split into... 3089169691Skan (ignore(), ignore(streamsize __n), ignore(streamsize __n, 3090169691Skan int_type __delim)): The first two can be much more simpler 3091169691Skan and efficient than the fully general case; also, the last 3092169691Skan two can take advantage of the same mechanism already used 3093169691Skan for getline. 3094169691Skan * include/bits/istream.tcc (ignore(streamsize __n = 1, 3095169691Skan int_type __delim = traits_type::eof()): Remove. 3096169691Skan (ignore(), ignore(streamsize __n), ignore(streamsize __n, 3097169691Skan int_type __delim)): New. 3098169691Skan 3099146897Skan2004-06-21 Loren J. Rittle <ljrittle@acm.org> 3100146897Skan 3101146897Skan * config/linker-map.gnu: Use wildcards for 3102146897Skan __basic_file::sys_open(FILE*, _Ios_Openmode). 3103146897Skan 3104169691Skan2004-06-20 Paolo Carlini <pcarlini@suse.de> 3105169691Skan 3106169691Skan * testsuite/27_io/basic_istream/ignore/char/3.cc: New. 3107169691Skan 3108146897Skan2004-06-18 Paolo Carlini <pcarlini@suse.de> 3109146897Skan 3110146897Skan * include/ext/mt_allocator (__mt_alloc<>::_Tune): Add _M_align, 3111146897Skan the alignment requested. 3112146897Skan (__mt_alloc<>::_Tune::_Tune): Tweak consistently. 3113146897Skan (__mt_alloc<>::allocate): Use it instead of sizeof(_Block_record). 3114146897Skan (__mt_alloc<>::deallocate): Likewise. 3115146897Skan 3116146897Skan2004-06-18 Paolo Carlini <pcarlini@suse.de> 3117146897Skan 3118146897Skan PR libstdc++/16020 3119146897Skan * include/debug/safe_base.h 3120146897Skan (_Safe_sequence_base::_Safe_sequence_base(const _Safe_sequence_base&), 3121146897Skan _Safe_sequence_base::operator=): Provide definitions. 3122146897Skan * testsuite/23_containers/bitset/cons/16020.cc: New. 3123146897Skan 3124169691Skan2004-06-18 Benjamin Kosnik <bkoz@redhat.com> 3125169691Skan 3126169691Skan * include/ext/pool_allocator.h: Qualify __throw_bad_alloc. 3127169691Skan (__pool_base): Remove unused template parameter. Add 3128169691Skan protected. Move lock data into __pool_base::_Lock. Remove static 3129169691Skan on member functions. 3130169691Skan (__pool_base::_M_get_free_list): New. 3131169691Skan (__pool_alloc): Move _S_force new here. 3132169691Skan * src/allocator.cc: Move out of line __pool_base definitions here. 3133169691Skan * config/linker-map.gnu: Export bits from __pool_base. 3134169691Skan 3135146897Skan2004-06-18 Paolo Carlini <pcarlini@suse.de> 3136146897Skan 3137169691Skan * config/locale/gnu/numeric_members.cc 3138169691Skan (numpunct<wchar_t>::_M_initialize_numpunct): Clean up 3139169691Skan assignments of _M_decimal_point and _M_thousands_sep. 3140169691Skan * config/locale/gnu/time_members.cc 3141169691Skan (__timepunct<wchar_t>::_M_initialize_timepunct): Clean up 3142169691Skan and reformat assignments of date and time fields. 3143169691Skan 3144169691Skan2004-06-16 Paolo Carlini <pcarlini@suse.de> 3145169691Skan 3146146897Skan * include/ext/rope (rope(_CharT, const allocator_type&)): Fix 3147146897Skan to use _Data_allocate. 3148146897Skan * include/ext/ropeimpl.h (rope<>::_S_leaf_concat_char_iter): Likewise. 3149146897Skan (rope<>::_S_substring): Likewise. 3150146897Skan (rope<>::rope(size_t, _CharT, const allocator_type&)): Likewise. 3151146897Skan (rope<>::c_str()): Likewise. 3152146897Skan (rope<>::replace_with_c_str()): Likewise. 3153146897Skan 3154146897Skan * include/ext/ropeimpl.h (_Rope_iterator_base<>::_S_setbuf): 3155146897Skan Correctly qualify _S_leaf, _S_function, etc., with _Rope_constants::, 3156146897Skan not _RopeRep. 3157146897Skan (_Rope_iterator_base<>::_S_setcache): Likewise. 3158146897Skan (_Rope_iterator_base<>::_S_setcache_for_incr): Likewise. 3159146897Skan (rope<>::_S_substring): Likewise. 3160146897Skan (rope<>::_S_dump): Likewise. 3161146897Skan (rope<>::_S_fetch_ptr): Likewise. 3162146897Skan (rope<>::_S_compare): Likewise. 3163169691Skan (rope<>::replace_with_c_str()): Likewise. 3164146897Skan 3165146897Skan * testsuite/ext/rope.cc: Rename to testsuite/ext/rope/1.cc. 3166146897Skan * testsuite/ext/rope/2.cc: New. 3167146897Skan 3168169691Skan2004-06-16 Paolo Carlini <pcarlini@suse.de> 3169146897Skan Matt Austern <austern@apple.com> 3170146897Skan 3171146897Skan * testsuite/ext/rope/3.cc: New. 3172146897Skan 3173169691Skan2004-06-15 Paolo Bonzini <bonzini@gnu.org> 3174146897Skan 3175169691Skan * acinclude.m4: Remove useless multilib configury. 3176169691Skan * Makefile.am: Remove useless multilib rules. 3177169691Skan * aclocal.m4: Regenerate. 3178169691Skan * Makefile.in: Regenerate. 3179169691Skan * configure: Regenerate. 3180169691Skan 3181169691Skan2004-06-15 Paolo Carlini <pcarlini@suse.de> 3182169691Skan 3183169691Skan * include/ext/hashtable.h: Trivial formatting fixes. 3184169691Skan * include/ext/rb_tree: Likewise. 3185169691Skan 3186169691Skan2004-06-14 Paolo Carlini <pcarlini@suse.de> 3187169691Skan 3188169691Skan * include/ext/hash_map: Trivial formatting fixes. 3189169691Skan * include/ext/hash_set: Likewise. 3190169691Skan * include/ext/memory: Likewise. 3191169691Skan * include/ext/numeric: Likewise. 3192169691Skan 3193169691Skan2004-06-14 Benjamin Kosnik <bkoz@redhat.com> 3194169691Skan 3195169691Skan * Makefile.in: Regenerate with automake 1.8.5. 3196169691Skan * aclocal.m4: Same. 3197169691Skan * include/Makefile.in: Same. 3198169691Skan * libmath/Makefile.in: Same. 3199169691Skan * libsupc++/Makefile.in: Same. 3200169691Skan * po/Makefile.in: Same. 3201169691Skan * src/Makefile.in: Same. 3202169691Skan * testsuite/Makefile.in: Same. 3203169691Skan 3204169691Skan2004-06-14 Paolo Carlini <pcarlini@suse.de> 3205169691Skan 3206169691Skan * include/ext/slist: Trivial formatting fixes. 3207169691Skan 3208169691Skan2004-06-14 Paolo Carlini <pcarlini@suse.de> 3209169691Skan 3210146897Skan * include/bits/locale_facets.tcc (time_get<>::_M_extract_name): 3211146897Skan Don't use the 'magic number' 10 in the computation of __minlen; 3212146897Skan never access __name past __minlen; in the loop over __i3, don't 3213146897Skan decrease __nmatches and increase __i3 at once, only either of 3214146897Skan the two; tidy. 3215146897Skan 3216169691Skan2004-06-13 Paolo Carlini <pcarlini@suse.de> 3217146897Skan 3218169691Skan * include/bits/locale_facets.tcc (time_get<>::do_get_time, 3219169691Skan time_get<>::do_get_date): Use only once _M_extract_via_format, 3220169691Skan instead of going through "%X"/"%x" and calling it two times 3221169691Skan (+ using widen). 3222146897Skan 3223169691Skan2004-06-12 Paolo Carlini <pcarlini@suse.de> 3224146897Skan 3225169691Skan * include/ext/algorithm: Trivial formatting fixes. 3226169691Skan * include/ext/functional: Likewise. 3227169691Skan * include/ext/hash_fun.h: Likewise. 3228169691Skan * include/ext/iterator: Likewise. 3229169691Skan 3230169691Skan2004-06-12 Paolo Carlini <pcarlini@suse.de> 3231169691Skan 3232169691Skan * include/bits/basic_string.tcc (find(const _CharT*, size_type, 3233169691Skan size_type)): Reimplement using std::search. 3234169691Skan * src/string-inst.cc: Instantiate std::search for char/wchar_t. 3235169691Skan 3236169691Skan2004-06-12 Dhruv Matani <dhruvbird@gmx.net> 3237169691Skan 3238169691Skan * testsuite/performance/21_strings/string_find.cc: New. 3239169691Skan 3240169691Skan2004-06-10 Aaron W. LaFramboise <aaronraolete36@aaronwl.com> 3241169691Skan 3242169691Skan * include/bits/istream.tcc (istream::ignore): Fix for -Wuninitialized. 3243169691Skan 3244169691Skan2004-06-10 Jan van Dijk <jan@etpmod.phys.tue.nl> 3245169691Skan 3246169691Skan * include/std/std_complex.h (sin(const complex<_Tp>& __z)): Make 3247169691Skan this function return a value. 3248169691Skan 3249169691Skan2004-06-09 Paolo Carlini <pcarlini@suse.de> 3250169691Skan 3251146897Skan PR libstdc++/15775 3252146897Skan * include/bits/stl_deque.h: Consistently with stl_set.h, define 3253146897Skan pointer as allocator's pointer, likewise for reference, 3254146897Skan const_pointer, and const_reference. 3255146897Skan * include/bits/stl_list.h: Likewise. 3256146897Skan * include/bits/stl_map.h: Likewise. 3257146897Skan * include/bits/stl_multimap.h: Likewise. 3258146897Skan * include/bits/stl_vector.h: Likewise. 3259146897Skan 3260169691Skan2004-06-09 Benjamin Kosnik <bkoz@redhat.com> 3261146897Skan 3262169691Skan * crossconfig.m4: Remove signbit, signbitf, signbitl. 3263146897Skan * linkage.m4: Comment LIBMATHOBJS, tweak others. AC_DEFINES for 3264146897Skan builtin math functions instead of AC_DEFINE_UNQUOTED. 3265146897Skan * configure: Regenerate. 3266146897Skan 3267169691Skan2004-06-08 Benjamin Kosnik <bkoz@redhat.com> 3268146897Skan 3269146897Skan * docs/doxygen/filter.sed: Rename _GLIBCXX_STD to std. 3270146897Skan * docs/doxygen/mainpage.html: Remove links. 3271146897Skan 3272146897Skan2004-06-08 Jason Merrill <jason@redhat.com> 3273146897Skan 3274146897Skan * config/linker-map.gnu: Use wildcards for 3275146897Skan __basic_file::{xsgetn,xsputn,seekoff,xsputn_2}. 3276146897Skan 3277169691Skan2004-06-08 Paolo Carlini <pcarlini@suse.de> 3278169691Skan 3279169691Skan * include/ext/pool_allocator.h: Convert to a global free-list, 3280169691Skan as per the original SGI/HP design: move the implementation 3281169691Skan details to struct __pool_base, from which __pool_alloc derives. 3282169691Skan * src/allocator.cc: Instantiate __pool_base. 3283169691Skan 3284169691Skan2004-06-07 Dhruv Matani <dhruvbird@gmx.net> 3285169691Skan Paolo Carlini <pcarlini@suse.de> 3286169691Skan 3287169691Skan * testsuite/testsuite_performance.h 3288169691Skan (resource_counter::allocated_memory): Make it return the right 3289169691Skan number of bytes requested by the allocators/application. This is 3290169691Skan the sbrk+mmaped memory. 3291169691Skan 3292169691Skan2004-06-02 Gabriel Dos Reis <gdr@integrable-solutions.net> 3293169691Skan 3294169691Skan * include/std/std_complex.h (log): Tidy. 3295169691Skan 3296146897Skan2004-05-31 Benjamin Kosnik <bkoz@redhat.com> 3297146897Skan 3298146897Skan * config/linker-map.gnu (GLIBCXX_3.4.1): Add. 3299146897Skan * testsuite/testsuite_abi.cc: Same. 3300146897Skan * configure.ac (libtool_VERSION): Bump to 6:1:0. 3301146897Skan * configure: Regenerate. 3302146897Skan * aclocal.m4: Regenerate. 3303146897Skan 3304169691Skan2004-05-30 Gabriel Dos Reis <gdr@integrable-solutions.net> 3305169691Skan 3306169691Skan * include/std/std_complex.h (complex<_Tp>): Properly indent 3307169691Skan to follow C++STYLE. 3308169691Skan (complex<>::__rep): New. 3309169691Skan (__complex_abs): New. Dispatch to built-ins. 3310169691Skan (abs): Use them. 3311169691Skan (__complex_arg): New. Dispatch to built-ins. 3312169691Skan (arg): Use it. 3313169691Skan (__complex_cos): New. Dispatch to built-ins. 3314169691Skan (cos): Use it. 3315169691Skan (__complex_cosh): New. Dispatch to built-ins. 3316169691Skan (cosh): Use it. 3317169691Skan (__complex_exp): New. Dispatch to built-ins. 3318169691Skan (exp): Use it. 3319169691Skan (__complex_log): New. Dispatch to built-ins. 3320169691Skan (log): Use it. 3321169691Skan (__complex_sin): New. Dispatch to built-ins. 3322169691Skan (sin): Use it. 3323169691Skan (__complex_sinh): New. Dispatch to built-ins. 3324169691Skan (sinh): Use it. 3325169691Skan (__complex_sqrt): New. Dispatch to built-ins. 3326169691Skan (sqrt): Use it. 3327169691Skan (__complex_tan): New. Dispatch to built-ins. 3328169691Skan (tan): Use it. 3329169691Skan (__complex_tanh): New. Dispatch to built-ins. 3330169691Skan (tanh): Use it. 3331169691Skan (__complex_pow): New. Dispatch to built-ins. 3332169691Skan (pow): Use it. 3333169691Skan 3334169691Skan2004-05-29 Richard B. Kreckel <Richard.Kreckel@Framatome-ANP.com> 3335169691Skan Benjamin Kosnik <bkoz@redhat.com> 3336169691Skan 3337146897Skan PR libstdc++/14600 3338146897Skan * include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::file): New. 3339146897Skan * include/ext/stdio_filebuf.h (stdio_filebuf::file): New. 3340146897Skan * config/io/basic_file_stdio.cc (__basic_file::file): New. 3341146897Skan * config/io/basic_file_stdio.h: Define. 3342146897Skan 3343169691Skan2004-05-27 Benjamin Kosnik <bkoz@redhat.com> 3344146897Skan 3345146897Skan PR libstdc++/15675 3346146897Skan * docs/html/documentation.html: Update doxygen links for 3.4.0. 3347146897Skan 3348169691Skan2004-05-27 Jan Beulich <jbeulich@novell.com> 3349146897Skan 3350146897Skan * scripts/create_testsuite_files: Tweak. 3351146897Skan 3352169691Skan2004-05-25 Benjamin Kosnik <bkoz@redhat.com> 3353146897Skan 3354169691Skan PR libstdc++/15489 3355169691Skan * scripts/create_testsuite_files: Revert xtype change, add non-GNU 3356169691Skan bits to do the same thing. 3357146897Skan 3358169691Skan2004-05-24 Paolo Carlini <pcarlini@suse.de> 3359146897Skan 3360146897Skan * include/bits/istream.tcc (ignore): Correctly deal with 3361146897Skan n == numeric_limits<streamsize>::max(). 3362146897Skan * testsuite/27_io/basic_istream/ignore/char/2.cc: New. 3363146897Skan 3364146897Skan * include/bits/istream.tcc (basic_istream<>::getline): Prefer 3365146897Skan '_M_gcount + 1 < __n' to '--__n; _M_gcount < __n', just in case 3366146897Skan __n == numeric_limits<>::min(). 3367146897Skan 3368146897Skan * include/bits/istream.tcc: Minor tweaks. 3369146897Skan 3370146897Skan * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: 3371146897Skan Tighten. 3372146897Skan * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc: 3373146897Skan Likewise. 3374146897Skan * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc: 3375146897Skan Likewise. 3376146897Skan * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc: 3377146897Skan Likewise. 3378146897Skan * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise. 3379146897Skan 3380169691Skan2004-05-22 Benjamin Kosnik <bkoz@redhat.com> 3381146897Skan 3382146897Skan PR libstdc++/12854 3383169691Skan Fixups for -Weffc++. 3384146897Skan * include/bits/basic_string.h (basic_string::operator=): Return 3385146897Skan pointer to this instead of result of assign. Although redundant, 3386146897Skan this doesn't impact resultant codegen. 3387169691Skan 3388146897Skan * include/bits/locale_facets.h (__numpunct_cache): Declare 3389146897Skan assignment opxserator and copy constructor private. 3390146897Skan (__timepunct_cache): Same. 3391146897Skan (__moneypunct_cache): Same. 3392146897Skan (collate): Use member initialization list for _M_c_locale_collate. 3393146897Skan * config/locale/gnu/messages_members.h: Same. 3394169691Skan * config/locale/gnu/time_members.h (__timepunct): Same. 3395146897Skan * src/codecvt.cc: Use member initialization list to initialize 3396169691Skan _M_c_locale_codecvt. 3397146897Skan * src/ctype.cc: Same, with _M_c_locale_ctype and _M_narrow_ok. 3398146897Skan * config/os/gnu-linux/ctype_noninline.h: Same. 3399146897Skan * src/locale.cc (_Impl): Same. 3400146897Skan * src/locale_init.cc: Same. 3401169691Skan * src/localename.cc: Same. 3402146897Skan 3403146897Skan * include/bits/basic_ios.h (basic_ios): Complete member 3404146897Skan initialization list. 3405146897Skan * include/bits/istream.tcc (basic_istream::sentry): Same. 3406146897Skan * include/bits/ostream.tcc (basic_ostream::sentry): Same. 3407146897Skan * include/bits/fstream.tcc (basic_filebuf): Add _M_lock and 3408146897Skan _M_pback to member initialization list. 3409146897Skan * include/std/std_streambuf.h: Same. 3410146897Skan * include/std/std_sstream.h: Same, for _M_mode. 3411146897Skan * src/ios.cc (ios_base): Same. 3412169691Skan 3413146897Skan * include/ext/rope: Make derived classes match exception 3414146897Skan 3415146897Skan specifications. Add copy constructors and assignment operators. 3416146897Skan 3417146897Skan * include/debug/safe_base.h (_Safe_sequence_base): Declare copy 3418146897Skan constructor and assignment operator protected. 3419146897Skan (_Safe_iterator_base): Same. 3420146897Skan * include/debug/formatter.h (_Error_formatter): Define copy 3421146897Skan constructor and assignment operator. 3422146897Skan 3423146897Skan * include/backward/strstream: Declare assignment operator and copy 3424146897Skan constructor private. 3425146897Skan 3426169691Skan2004-05-22 Benjamin Kosnik <bkoz@redhat.com> 3427146897Skan 3428146897Skan * testsuite/testsuite_hooks.h (func_callback): Declare copy 3429169691Skan constructor and assignment operator private. 3430146897Skan * testsuite/23_containers/deque/cons/clear_allocator.cc: Match 3431146897Skan exception specifications of base class. 3432146897Skan * testsuite/23_containers/list/cons/clear_allocator.cc: Same. 3433146897Skan * testsuite/23_containers/vector/cons/clear_allocator.cc: Same. 3434146897Skan * testsuite/23_containers/vector/bool/clear_allocator.cc: New. 3435146897Skan 3436169691Skan2004-05-22 Benjamin Kosnik <bkoz@redhat.com> 3437169691Skan 3438146897Skan * libsupc++/cxxabi.h: Remove duplicated and useless public and 3439169691Skan private keywords in class declarations. Format. Use 3440169691Skan stddef.h. Expose declarations to "C" compilation. 3441169691Skan * libsupc++/tinfo.cc (__upcast_result): Add copy constructor and 3442169691Skan assignment operator. 3443169691Skan (__dyncast_result): Same. 3444169691Skan * libsupc++/vec.cc (uncatch_exception): Same, use member 3445169691Skan initialization list. 3446169691Skan 3447146897Skan2004-05-22 Benjamin Kosnik <bkoz@redhat.com> 3448146897Skan 3449146897Skan * testsuite/abi_check.cc: Add unistd.h. 3450146897Skan 3451169691Skan2004-05-22 Paolo Carlini <pcarlini@suse.de> 3452169691Skan 3453169691Skan PR libstdc++/15565 3454169691Skan * include/bits/locale_facets.tcc (__int_to_char(unsigned long), 3455169691Skan __int_to_char(unsigned long long)): Showpos is not relevant 3456169691Skan for unsigned types. 3457169691Skan * testsuite/22_locale/num_put/put/char/15565.cc: New. 3458169691Skan * testsuite/22_locale/num_put/put/wchar_t/15565.cc: New. 3459169691Skan 3460169691Skan * testsuite/22_locale/num_put/put/wchar_t/1.cc: Use L for the fill 3461169691Skan char. 3462169691Skan * testsuite/22_locale/num_put/put/wchar_t/2.cc: Likewise. 3463169691Skan * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise. 3464169691Skan * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise. 3465169691Skan * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise. 3466169691Skan * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise. 3467169691Skan * testsuite/22_locale/num_put/put/wchar_t/8.cc: Likewise. 3468169691Skan 3469146897Skan2004-05-21 Matthias Klose <doko@debian.org> 3470169691Skan 3471146897Skan * docs/doxygen/run_doxygen: Bump required version. 3472146897Skan 3473146897Skan2004-05-21 Benjamin Kosnik <bkoz@redhat.com> 3474146897Skan 3475146897Skan * docs/html/abi.html (libgcc_s): Additions suggested by Matthias Klose. 3476146897Skan * docs/doxygen/Intro.3: Subtractions suggested by Phil Edwards. 3477146897Skan 3478169691Skan2004-05-21 Paolo Carlini <pcarlini@suse.de> 3479146897Skan 3480169691Skan * include/bits/istream.tcc (ignore): Remove redundant line. 3481169691Skan (readsome): Tidy, closely following 27.6.1.3, p30. 3482169691Skan 3483169691Skan2004-05-20 Paolo Carlini <pcarlini@suse.de> 3484169691Skan 3485169691Skan * include/bits/istream.tcc (operator>>(basic_istream<>&, 3486169691Skan basic_string<>&)): Use a temporary buffer, thus avoiding 3487169691Skan reallocation for common case. 3488169691Skan * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc: 3489169691Skan New. 3490169691Skan * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc: 3491169691Skan Likewise. 3492169691Skan 3493169691Skan * include/bits/istream.tcc: Const-ification of a few variables. 3494169691Skan 3495169691Skan * include/bits/ostream.tcc: Trivial formatting fixes and 3496169691Skan const-ification of some variables. 3497169691Skan 3498169691Skan2004-05-20 Benjamin Kosnik <bkoz@redhat.com> 3499169691Skan 3500146897Skan PR libstdc++/15123 3501146897Skan PR libstdc++/13928 3502146897Skan * docs/doxygen/Intro.3: Remove Allocators.3. 3503146897Skan Add new extension headers, extension namespace list. 3504146897Skan * docs/doxygen/run_doxygen (problematic): Remove Allocators.3 3505146897Skan Rename GLIBCXXSTD names to std::. Rename __gnu_debug to 3506146897Skan __gnu_debug::. Remove __policy_ renames. 3507146897Skan * docs/doxygen/guide.html: Add dot note. 3508146897Skan * docs/doxygen/stdheader.cc: Edit, add files. 3509146897Skan * docs/doxygen/user.cfg.in: Regenerate with Doxygen 1.3.7. 3510146897Skan 3511169691Skan2004-05-18 Jonathan Wakely <redi@gcc.gnu.org> 3512146897Skan 3513169691Skan * include/ext/stdio_filebuf.h: Update comments to reflect PR 11691. 3514146897Skan 3515169691Skan2004-05-18 Jan Beulich <jbeulich@novell.com> 3516169691Skan 3517169691Skan PR libstdc++/15489 3518169691Skan * scripts/create_testsuite_files: Also find source files through 3519169691Skan symbolic links. 3520169691Skan 3521169691Skan2004-05-18 Jan Beulich <jbeulich@novell.com> 3522169691Skan 3523146897Skan PR libstdc++/15488 3524146897Skan * testsuite/lib/libstdc++.exp: Make test files writable. 3525146897Skan 3526169691Skan2004-05-18 Paolo Carlini <pcarlini@suse.de> 3527169691Skan 3528169691Skan * include/ext/mt_allocator.h:(__mt_alloc::allocate): Minor 3529169691Skan tweaks. 3530169691Skan 3531169691Skan2004-05-18 Dhruv Matani <dhruvbird@gmx.net> 3532169691Skan 3533169691Skan * include/ext/mt_allocator.h:(__mt_alloc::allocate): Re-write 3534169691Skan allocation loop which removes blocks from the global free list 3535169691Skan from O(N) to O(1) when the required blocks are <= the number 3536169691Skan available. 3537169691Skan 3538146897Skan2004-05-18 Jonathan Wakely <redi@gcc.gnu.org> 3539146897Skan 3540169691Skan * include/ext/enc_filebuf.h: Move concept-check macro to class scope. 3541146897Skan 3542169691Skan2004-05-17 Benjamin Kosnik <bkoz@redhat.com> 3543146897Skan 3544146897Skan * testsuite/testsuite_hooks.h (__gnu_test::conversion): New class. 3545146897Skan * testsuite/23_containers/deque/14340.cc: New. 3546146897Skan * testsuite/23_containers/list/14340.cc: New. 3547146897Skan * testsuite/23_containers/map/14340.cc: New. 3548146897Skan * testsuite/23_containers/multimap/14340.cc: New. 3549146897Skan * testsuite/23_containers/multiset/14340.cc: New. 3550146897Skan * testsuite/23_containers/set/14340.cc: New. 3551146897Skan * testsuite/23_containers/vector/14340.cc: New. 3552146897Skan 3553169691Skan2004-05-17 Douglas Gregor <gregod@cs.rpi.edu> 3554146897Skan 3555169691Skan PR libstdc++/14340 3556169691Skan * include/debug/safe_iterator.h (_Safe_iterator converting 3557169691Skan constructor): Only allow declaration to instantiate when the 3558146897Skan incoming _Safe_iterator has exactly the right iterator type. 3559146897Skan 3560146897Skan2004-05-17 Jonathan Wakely <redi@gcc.gnu.org> 3561146897Skan 3562146897Skan * include/bits/boost_concept_check.h: Fix old attribute syntax. 3563146897Skan * testsuite/23_containers/map/modifiers/swap.cc: Define operator< 3564146897Skan to pass concept-checks. 3565146897Skan * testsuite/23_containers/multimap/modifiers/swap.cc: Same. 3566146897Skan * testsuite/23_containers/set/modifiers/swap.cc: Same. 3567146897Skan * testsuite/23_containers/multiset/modifiers/swap.cc: Same. 3568146897Skan 3569169691Skan2004-05-16 Paolo Carlini <pcarlini@suse.de> 3570146897Skan 3571169691Skan * include/std/std_bitset.h: Minor formatting fixes. 3572169691Skan 3573169691Skan2004-05-16 Paolo Carlini <pcarlini@suse.de> 3574169691Skan 3575169691Skan * include/ext/mt_allocator.h (__mt_alloc<>::deallocate): 3576169691Skan Consistently update __bin._M_free[0]. 3577169691Skan (__mt_alloc<>::allocate): When __bin._M_first[0] != NULL use 3578169691Skan __bin._M_free[0] to simplify the while loop (i.e., the number 3579169691Skan of iterations becomes known at the outset). 3580169691Skan 3581169691Skan2004-05-15 Paolo Carlini <pcarlini@suse.de> 3582169691Skan 3583169691Skan * include/std/std_bitset.h: Trivial formatting fixes. 3584169691Skan 3585169691Skan2004-05-14 Paolo Carlini <pcarlini@suse.de> 3586169691Skan Ivan Godard <igodard@pacbell.net> 3587169691Skan 3588169691Skan PR libstdc++/15361 3589169691Skan * include/std/std_bitset.h (_Base_bitset<_Nw>::_M_do_find_next): Fix. 3590169691Skan * testsuite/23_containers/bitset/ext/15361.cc: New. 3591169691Skan 3592169691Skan2004-05-13 Benjamin Kosnik <bkoz@redhat.com> 3593169691Skan 3594146897Skan PR libstdc++/15046 3595146897Skan * crossconfig.m4: Add C99 math bits for linux crosses. 3596146897Skan * configure: Regenerate. 3597146897Skan 3598169691Skan2004-05-13 Simon Marshall <simon.marshall@misys.com> 3599169691Skan Benjamin Kosnik <bkoz@redhat.com> 3600146897Skan 3601169691Skan PR libstdc++/15090 3602169691Skan * include/bits/locale_facets.h: Fix for -fno-for-scope. 3603169691Skan * include/debug/safe_sequence.h: Same. 3604169691Skan * include/debug/safe_iterator.tcc: Same. 3605169691Skan * src/debug.cc: Same. 3606169691Skan * src/locale.cc: Same. 3607169691Skan * src/locale_init.cc: Same. 3608169691Skan * src/localename.cc: Same. 3609169691Skan * config/locale/gnu/ctype_members.cc: Same. 3610169691Skan * config/locale/gnu/numeric_members.cc: Same. 3611169691Skan * testsuite/testsuite_abi.cc: Same. 3612169691Skan * testsuite/testsuite_hooks.cc: Same. 3613169691Skan 3614169691Skan2004-05-13 Jonathan Wakely <redi@gcc.gnu.org> 3615169691Skan 3616146897Skan * docs/html/abi.html: Document effect of -fabi-version on value 3617146897Skan of __GXX_ABI_VERSION, and that it's defined in c-cppbuiltin.c. 3618146897Skan Fix markup. 3619146897Skan 3620169691Skan2004-05-13 Benjamin Kosnik <bkoz@redhat.com> 3621169691Skan 3622169691Skan PR libstdc++/15074 3623169691Skan * docs/html/faq/index.html: Update docs for libsupc++ usage. 3624169691Skan 3625169691Skan2004-05-13 Benjamin Kosnik <bkoz@redhat.com> 3626169691Skan 3627169691Skan PR libstdc++/15412 3628169691Skan * include/bits/stl_threads.h (_GLIBCXX_mutex): Move to namespace 3629169691Skan __gnu_internal. 3630169691Skan (_GLIBCXX_mutex_address): Same. 3631169691Skan (_GLIBCXX_once): Same. 3632169691Skan (_GLIBCXX_mutex_init): Same. 3633169691Skan (_GLIBCXX_mutex_address_init): Same. 3634169691Skan 3635169691Skan2004-05-13 Benjamin Kosnik <bkoz@redhat.com> 3636169691Skan 3637146897Skan * docs/html/abi.html: New. 3638146897Skan * docs/html/abi.txt: Remove. 3639146897Skan * docs/html/documentation.html: Add link. 3640146897Skan * testsuite/Makefile.am: Add files. 3641146897Skan * testsuite/Makefile.in: Regenerated. 3642146897Skan * testsuite/abi_check.cc: Move and modify code into... 3643146897Skan * testsuite/testsuite_abi.cc: Add. 3644146897Skan * testsuite/testsuite_abi.h: Add. 3645146897Skan 3646146897Skan * docs/html/17_intro/TODO: Update. 3647146897Skan * include/bits/stl_pair.h: Format. 3648146897Skan 3649169691Skan2004-05-06 Matthias Klose <doko@debian.org> 3650146897Skan 3651169691Skan * include/backward/iterator.h: Add GPL copyright info, 3652169691Skan with exception clause. 3653169691Skan * include/bits/boost_concept_check.h: Likewise. 3654169691Skan * include 3655169691Skan * libsupc++/tinfo.h: Likewise. 3656169691Skan * po/string_literals.cc: Likewise. 3657146897Skan 3658169691Skan2004-05-03 Andreas Tobler <a.tobler@schweiz.ch> 3659146897Skan 3660169691Skan * acinclude.m4: Replace -W with more speaking -Wextra. 3661169691Skan * configure: Rebuilt. 3662146897Skan 3663169691Skan2004-05-03 Paolo Carlini <pcarlini@suse.de> 3664146897Skan 3665169691Skan Optimize locale::_M_impl->_M_names for the most common cases: 3666169691Skan !_M_names[0] means unnamed; !_M_names[1] means all the categories 3667169691Skan the same name (_M_names[0] && _M_names[1] means that the full set 3668169691Skan of _M_names must be processed, the general case). 3669169691Skan * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name): 3670169691Skan Tweak, saving work when !_M_names[1]. 3671169691Skan (locale::locale(const locale&, _Facet*): Simplify: now just setting 3672169691Skan _M_names[0] = 0 means unnamed. 3673169691Skan * src/locale.cc (locale::operator==): Deal first with the common, 3674169691Skan easy cases, otherwise fall back to locale::name(). 3675169691Skan (locale::name()): Tweak, if !_M_names[0] just return "*". 3676169691Skan (locale::_Impl::_Impl(const _Impl&, size_t): Tweak, early stop 3677169691Skan copying __imp._M_names if !__imp._M_names[0] or !__imp._M_names[1]. 3678169691Skan * src/locale_init.cc (locale::_Impl::_Impl(size_t)): Tweak. 3679169691Skan * src/localename.cc (locale::_Impl::_Impl(const char*, size_t): 3680169691Skan Simplify when !std::strchr, just updating _M_names[0]; clean up. 3681169691Skan (locale::_Impl::_M_replace_categories): When !_M_names[1] prepare 3682169691Skan for the general case (full set of names), then do the usual work; 3683169691Skan clean up. 3684146897Skan 3685169691Skan * src/locale.cc (locale::name()): Reserve space in __ret. 3686169691Skan * src/locale_init.cc (locale::global(const locale&)): Save 3687169691Skan the name in a temporary. 3688169691Skan * src/localename.cc (locale::locale(const char*)): Reserve space 3689169691Skan in __str. 3690146897Skan 3691169691Skan2004-04-29 Paolo Carlini <pcarlini@suse.de> 3692146897Skan 3693169691Skan * src/locale.cc (locale::operator==): Always avoid constructing 3694169691Skan locale::name(), directly compare pairs of _M_names. 3695146897Skan 3696169691Skan2004-04-26 Paolo Carlini <pcarlini@suse.de> 3697146897Skan 3698169691Skan * include/bits/istream.tcc: Fix comment. 3699169691Skan 3700169691Skan2004-04-26 Paolo Carlini <pcarlini@suse.de> 3701169691Skan 3702169691Skan * include/bits/stl_vector.h: Trivial formatting fixes. 3703169691Skan * include/bits/vector.tcc: Likewise. 3704169691Skan 3705169691Skan2004-04-25 Paolo Carlini <pcarlini@suse.de> 3706169691Skan 3707146897Skan PR libstdc++/15002 (continued again) 3708146897Skan * include/bits/istream.tcc (getline(basic_istream<>&, 3709146897Skan basic_string<>&, _CharT)): Use a temporary buffer, thus 3710146897Skan avoiding reallocation for common case. 3711146897Skan 3712146897Skan * include/bits/basic_string.tcc (_S_construct(_InIterator, 3713146897Skan _InIterator, const _Alloc&, input_iterator_tag)): Tweak size 3714146897Skan of temporary buffer to a power of two. 3715146897Skan 3716146897Skan * testsuite/27_io/basic_istream/getline/char/4.cc: Add comment. 3717146897Skan 3718169691Skan2004-04-25 Paolo Carlini <pcarlini@suse.de> 3719169691Skan 3720169691Skan * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: 3721169691Skan New. 3722169691Skan * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc: 3723169691Skan Likewise. 3724169691Skan * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise. 3725169691Skan 3726169691Skan2004-04-24 Paolo Carlini <pcarlini@suse.de> 3727146897Skan Petur Runolfsson <peturr02@ru.is> 3728146897Skan 3729146897Skan PR libstdc++/15002 (continued) 3730146897Skan * include/bits/istream.tcc (basic_istream<>::getline(char_type*, 3731146897Skan streamsize, char_type)): Use traits::find/copy in a loop to speed 3732146897Skan up greatly the function in the common case (I/O buffer size >> 1). 3733146897Skan 3734169691Skan2004-04-24 Paolo Carlini <pcarlini@suse.de> 3735146897Skan 3736169691Skan * testsuite/27_io/basic_istream/getline/char/4.cc: New. 3737146897Skan 3738146897Skan * include/bits/istream.tcc (getline(basic_istream<>&, 3739146897Skan basic_string<>&, _CharT)): Change to use sgetc()/snextc() instead 3740146897Skan of sbumpc(), consistently with the other functions, thus also 3741146897Skan dealing correctly with the case of exceeded string::max_size(). 3742146897Skan 3743169691Skan2004-04-24 Matthias Klose <doko@debian.org> 3744146897Skan 3745169691Skan Jonathan Wakely <cow@compsoc.man.ac.uk> 3746169691Skan * docs/html/configopts.html: Fix reference to allocator config option. 3747146897Skan 3748169691Skan2004-04-23 Andrew Pinski <pinskia@physics.uc.edu> 3749146897Skan 3750169691Skan * linkage.m4 (GLIBCXX_CHECK_MATH_SUPPORT): Check for libmx also. 3751146897Skan * configure: Regenerate. 3752146897Skan 3753169691Skan2004-04-23 Daniel Jacobowitz <drow@mvista.com> 3754146897Skan 3755169691Skan PR libstdc++/15047, libstdc++/11610 3756169691Skan * testsuite/lib/libstdc++.exp (v3-copy-files): Use remote_download. 3757169691Skan (libstdc++_init): Don't pass outdir to v3-copy-files. 3758146897Skan 3759169691Skan2004-04-21 Paolo Carlini <pcarlini@suse.de> 3760146897Skan 3761169691Skan * include/bits/deque.tcc: Trivial formatting fixes. 3762169691Skan * include/bits/stl_deque.h: Likewise. 3763169691Skan * include/bits/stl_list.h: Likewise. 3764169691Skan * include/bits/stl_tree.h: Likewise. 3765169691Skan 3766169691Skan2004-04-21 Paolo Carlini <pcarlini@suse.de> 3767169691Skan Andrew Pinski <pinskia@physics.uc.edu> 3768169691Skan 3769169691Skan * include/bits/basic_string.tcc (_M_mutate): Don't compute 3770169691Skan __src unnecessarily. 3771169691Skan 3772169691Skan2004-04-19 Benjamin Kosnik <bkoz@redhat.com> 3773169691Skan 3774169691Skan * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc: 3775146897Skan Clarify assertion, set test variable to false before assert. 3776146897Skan * testsuite/27_io/basic_istringstream/str/char/1.cc: Same. 3777146897Skan * testsuite/27_io/basic_stringstream/str/char/1.cc: Same. 3778146897Skan * testsuite/27_io/ios_base/storage/2.cc: Same. 3779169691Skan 3780146897Skan * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Fix 3781146897Skan function returns. 3782146897Skan * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Same. 3783146897Skan * testsuite/27_io/fpos/14320-3.cc: Same. 3784169691Skan 3785146897Skan * testsuite/27_io/basic_filebuf/2.cc: Instantiate in namespace std. 3786146897Skan * testsuite/27_io/fpos/1.cc: Same. 3787146897Skan * testsuite/27_io/basic_stringstream/2.cc: Same. 3788146897Skan * testsuite/27_io/basic_stringbuf/4.cc: Same. 3789146897Skan * testsuite/27_io/basic_stringbuf/1.cc: Same. 3790146897Skan * testsuite/27_io/basic_stringbuf/2.cc: Same. 3791146897Skan * testsuite/27_io/basic_streambuf/2.cc: Same. 3792146897Skan * testsuite/27_io/basic_ostringstream/2.cc: Same. 3793146897Skan * testsuite/27_io/basic_ostream/2.cc: Same. 3794146897Skan * testsuite/27_io/basic_ofstream/2.cc: Same. 3795146897Skan * testsuite/27_io/basic_istringstream/2.cc: Same. 3796146897Skan * testsuite/27_io/basic_istream/2.cc: Same. 3797146897Skan * testsuite/27_io/basic_iostream/2.cc: Same. 3798146897Skan * testsuite/27_io/basic_ios/2.cc: Same. 3799146897Skan * testsuite/27_io/basic_ifstream/2.cc: Same. 3800146897Skan * testsuite/27_io/basic_fstream/2.cc: Same. 3801146897Skan * testsuite/ext/stdio_filebuf/char/1.cc: Same, in namespace __gnu_cxx. 3802146897Skan 3803146897Skan * testsuite/21_strings/basic_string/capacity/1.cc: Don't compare 3804146897Skan unsigned against zero. 3805146897Skan * testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Same. 3806146897Skan * testsuite/21_strings/basic_string/capacity/char/1.cc: Same. 3807146897Skan 3808146897Skan * testsuite/18_support/new_delete_placement.cc: Initialize 3809146897Skan variables before first use. 3810146897Skan * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc: Same. 3811146897Skan * testsuite/21_strings/char_traits/requirements/char/1.cc: Same. 3812146897Skan * testsuite/21_strings/char_traits/requirements/short/1.cc: Same. 3813169691Skan * testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc: 3814146897Skan Same. 3815146897Skan * testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_badbit_throw.cc: Same. 3816169691Skan * testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc: 3817146897Skan Same. 3818146897Skan * testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_failbit_throw.cc: Same. 3819146897Skan * testsuite/27_io/types/2.cc: Same. 3820146897Skan 3821146897Skan * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Fix temporary 3822169691Skan file name. 3823169691Skan * testsuite/27_io/fpos/14775.cc: Same. 3824146897Skan 3825169691Skan2004-04-19 Paolo Carlini <pcarlini@suse.de> 3826146897Skan 3827169691Skan PR libstdc++/15002 (partial) 3828169691Skan * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe): 3829169691Skan Special case __n2 == 1, not calling traits_type::assign/copy. 3830146897Skan 3831169691Skan2004-04-17 Benjamin Kosnik <bkoz@redhat.com> 3832146897Skan 3833169691Skan * include/bits/stl_bvector.h: Use _M_impl._M_start. 3834146897Skan 3835169691Skan2004-04-16 Benjamin Kosnik <bkoz@redhat.com> 3836146897Skan 3837169691Skan * include/bits/c++config (_GLIBCXX_STD): New. 3838169691Skan * src/list.cc: Use it. 3839169691Skan * include/std/std_bitset.h: Same. 3840169691Skan * include/bits/vector.tcc: Same. 3841169691Skan * include/bits/stl_set.h: Same. 3842169691Skan * include/bits/stl_multiset.h: Same. 3843169691Skan * include/bits/stl_multimap.h: Same. 3844169691Skan * include/bits/stl_map.h: Same. 3845169691Skan * include/bits/stl_list.h: Same. 3846169691Skan * include/bits/stl_vector.h: Same. 3847169691Skan * include/bits/stl_bvector.h: Same. 3848169691Skan * include/bits/stl_deque.h: Same. 3849169691Skan * include/bits/deque.tcc: Same. 3850169691Skan * include/bits/list.tcc: Same. 3851169691Skan * include/debug/vector: Same. 3852169691Skan * include/debug/set.h: Same. 3853169691Skan * include/debug/multiset.h: Same. 3854169691Skan * include/debug/multimap.h: Same. 3855169691Skan * include/debug/map.h: Same. 3856169691Skan * include/debug/list: Same. 3857169691Skan * include/debug/deque: Same. 3858169691Skan * include/debug/bitset: Same. 3859169691Skan * include/debug/formatter.h (__gnu_debug): Remove using directive. 3860169691Skan Add using declaration for std::type_info. 3861169691Skan * include/debug/safe_iterator.h: Add using declaration for 3862169691Skan std::iterator_traits and std::pair. 3863169691Skan * src/debug_list.cc: New. 3864169691Skan * src/Makefile.am: Add debug_list.cc. 3865169691Skan * src/Makefile.in: Regenerate. 3866169691Skan * config/linker-map.gnu: Add _List_node_base exports for std and 3867169691Skan __gnu_norm. 3868146897Skan 3869169691Skan * include/bits/stl_bvector.h (_Bvector_base): Use _Bvector_impl 3870169691Skan idiom that other containers use. 3871169691Skan * testsuite/23_containers/vector/bool/clear_allocator.cc: New. 3872146897Skan 3873169691Skan2004-04-16 Paolo Carlini <pcarlini@suse.de> 3874146897Skan 3875146897Skan PR libstdc++/14975 3876146897Skan * include/bits/fstream.tcc (basic_filebuf::imbue): Zero _M_codecvt 3877146897Skan in case of error. 3878146897Skan * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: New. 3879146897Skan * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: New. 3880146897Skan 3881169691Skan2004-04-16 Paolo Carlini <pcarlini@suse.de> 3882146897Skan 3883169691Skan * acconfig.h: Remove _GLIBCXX_USE_LONG_DOUBLE entry, not 3884169691Skan used anymore. 3885169691Skan * config.h.in: Regenerate. 3886146897Skan 3887169691Skan2004-04-16 Paolo Carlini <pcarlini@suse.de> 3888146897Skan 3889169691Skan * config/locale/generic/monetary_members.cc 3890169691Skan (moneypunct<wchar_t>::_M_initialize_moneypunct): Avoid calling 3891169691Skan btowc unnecessarily, just cast to wchar_t (the concerned chars 3892169691Skan all belong to the basic character set). 3893169691Skan * config/locale/generic/numeric_members.cc 3894169691Skan (numpunct<wchar_t>::_M_initialize_numpunct): Likewise. 3895169691Skan * config/locale/gnu/monetary_members.cc 3896169691Skan (moneypunct<wchar_t>::_M_initialize_moneypunct): Likewise. 3897169691Skan * config/locale/gnu/numeric_members.cc 3898169691Skan (numpunct<wchar_t>::_M_initialize_numpunct): Likewise. 3899169691Skan 3900169691Skan2004-04-15 Paolo Carlini <pcarlini@suse.de> 3901169691Skan 3902146897Skan * src/locale.cc (locale::operator==): When _M_impl == __rhs._M_impl 3903146897Skan avoid constructing unnecessarily this->name(). 3904146897Skan 3905169691Skan2004-04-14 Zack Weinberg <zack@codesourcery.com> 3906146897Skan 3907169691Skan * testsuite/Makefile.am: Add definition of AM_CXXFLAGS. 3908169691Skan Change definition of CXX to use $(shell) instead of backticks. 3909169691Skan * testsuite/Makefile.in: Regenerate. 3910146897Skan 3911169691Skan2004-04-12 Dhruv Matani <dhruvbird@gmx.net> 3912146897Skan 3913169691Skan * testsuite/performance/20_util/allocator/list_sort_search.cc: 3914169691Skan Minor formatting fixes. 3915169691Skan * testsuite/performance/20_util/allocator/map_mt_find.cc: 3916169691Skan Likewise. 3917146897Skan 3918169691Skan2004-04-12 Paolo Carlini <pcarlini@suse.de> 3919146897Skan 3920169691Skan * config/locale/gnu/numeric_members.cc 3921169691Skan (numpunct<wchar_t>::_M_initialize_numpunct): No need to wrap 3922169691Skan in __uselocale, since btowc is called for chars belonging to 3923169691Skan the basic character set. 3924169691Skan 3925169691Skan2004-04-09 Paolo Carlini <pcarlini@suse.de> 3926169691Skan 3927169691Skan * testsuite/22_locale/messages/members/char/1.cc: Remove junk. 3928169691Skan * testsuite/22_locale/messages/members/char/2.cc: Ditto. 3929169691Skan * testsuite/22_locale/messages/members/char/3.cc: Ditto. 3930169691Skan * testsuite/22_locale/num_get/get/char/1.cc: Ditto. 3931169691Skan * testsuite/22_locale/num_get/get/char/2.cc: Ditto. 3932169691Skan * testsuite/22_locale/num_get/get/char/3.cc: Ditto. 3933169691Skan * testsuite/22_locale/num_get/get/wchar_t/1.cc: Ditto. 3934169691Skan * testsuite/22_locale/num_get/get/wchar_t/2.cc: Ditto. 3935169691Skan * testsuite/22_locale/num_get/get/wchar_t/3.cc: Ditto. 3936169691Skan * testsuite/22_locale/num_put/put/char/1.cc: Ditto. 3937169691Skan * testsuite/22_locale/num_put/put/char/2.cc: Ditto. 3938169691Skan * testsuite/22_locale/num_put/put/char/3.cc: Ditto. 3939169691Skan * testsuite/22_locale/num_put/put/wchar_t/1.cc: Ditto. 3940169691Skan * testsuite/22_locale/num_put/put/wchar_t/2.cc: Ditto. 3941169691Skan * testsuite/22_locale/num_put/put/wchar_t/3.cc: Ditto. 3942169691Skan * testsuite/22_locale/numpunct/members/char/1.cc: Ditto. 3943169691Skan * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Ditto. 3944169691Skan 3945169691Skan2004-04-07 Paolo Carlini <pcarlini@suse.de> 3946169691Skan 3947146897Skan * config/locale/generic/time_members.cc 3948146897Skan (__timepunct<char>::_M_initialize_timepunct, 3949169691Skan __timepunct<wchar_t>::_M_initialize_timepunct): the correct 3950146897Skan _M_amonth07 in the "C" locale is "Jul" and L"Jul", respectively. 3951146897Skan * config/locale/gnu/time_members.cc 3952146897Skan (__timepunct<char>::_M_initialize_timepunct, 3953146897Skan __timepunct<wchar_t>::_M_initialize_timepunct): Ditto. 3954146897Skan * testsuite/22_locale/time_get/get_monthname/char/4.cc: New. 3955146897Skan * testsuite/22_locale/time_get/get_monthname/wchar_t/4.cc: New. 3956146897Skan 3957169691Skan * testsuite/22_locale/time_get/date_order/char/1.cc: Remove junk. 3958169691Skan * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Ditto. 3959169691Skan * testsuite/22_locale/time_get/get_date/char/1.cc: Ditto. 3960169691Skan * testsuite/22_locale/time_get/get_date/char/2.cc: Ditto. 3961169691Skan * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Ditto. 3962169691Skan * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Ditto. 3963169691Skan * testsuite/22_locale/time_get/get_monthname/char/1.cc: Ditto. 3964169691Skan * testsuite/22_locale/time_get/get_monthname/char/2.cc: Ditto. 3965169691Skan * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto. 3966169691Skan * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Ditto. 3967169691Skan * testsuite/22_locale/time_get/get_time/char/1.cc: Ditto. 3968169691Skan * testsuite/22_locale/time_get/get_time/char/2.cc: Ditto. 3969169691Skan * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto. 3970169691Skan * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Ditto. 3971169691Skan * testsuite/22_locale/time_get/get_weekday/char/1.cc: Ditto. 3972169691Skan * testsuite/22_locale/time_get/get_weekday/char/2.cc: Ditto. 3973169691Skan * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto. 3974169691Skan * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Ditto. 3975169691Skan * testsuite/22_locale/time_get/get_year/char/1.cc: Ditto. 3976169691Skan * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto. 3977169691Skan * testsuite/22_locale/time_put/put/char/1.cc: Ditto. 3978169691Skan * testsuite/22_locale/time_put/put/char/2.cc: Ditto. 3979169691Skan * testsuite/22_locale/time_put/put/char/3.cc: Ditto. 3980169691Skan * testsuite/22_locale/time_put/put/char/4.cc: Ditto. 3981169691Skan * testsuite/22_locale/time_put/put/char/5.cc: Ditto. 3982169691Skan * testsuite/22_locale/time_put/put/char/6.cc: Ditto. 3983169691Skan * testsuite/22_locale/time_put/put/char/7.cc: Ditto. 3984169691Skan * testsuite/22_locale/time_put/put/char/8.cc: Ditto. 3985169691Skan * testsuite/22_locale/time_put/put/wchar_t/1.cc: Ditto. 3986169691Skan * testsuite/22_locale/time_put/put/wchar_t/2.cc: Ditto. 3987169691Skan * testsuite/22_locale/time_put/put/wchar_t/3.cc: Ditto. 3988169691Skan * testsuite/22_locale/time_put/put/wchar_t/4.cc: Ditto. 3989169691Skan * testsuite/22_locale/time_put/put/wchar_t/5.cc: Ditto. 3990169691Skan * testsuite/22_locale/time_put/put/wchar_t/6.cc: Ditto. 3991169691Skan * testsuite/22_locale/time_put/put/wchar_t/7.cc: Ditto. 3992169691Skan * testsuite/22_locale/time_put/put/wchar_t/8.cc: Ditto. 3993146897Skan 3994169691Skan * testsuite/22_locale/time_put/put/char/9780-1.cc: Fix typos. 3995146897Skan 3996169691Skan2004-04-07 Paolo Carlini <pcarlini@suse.de> 3997146897Skan 3998146897Skan * config/locale/gnu/monetary_members.cc 3999146897Skan (moneypunct<wchar_t>::_M_initialize_moneypunct): Prefer 4000146897Skan _NL_MONETARY_DECIMAL_POINT_WC, _NL_MONETARY_THOUSANDS_SEP_WC, 4001146897Skan and __MON_GROUPING to _NL_NUMERIC_DECIMAL_POINT_WC, 4002146897Skan _NL_NUMERIC_THOUSANDS_SEP_WC, and GROUPING. 4003146897Skan * config/locale/gnu/numeric_members.cc 4004146897Skan (numpunct<char>::_M_initialize_numpunct): Prefer DECIMAL_POINT 4005146897Skan and THOUSANDS_SEP to the deprecated RADIXCHAR and THOUSEP. 4006146897Skan 4007169691Skan2004-04-06 Benjamin Kosnik <bkoz@redhat.com> 4008146897Skan 4009169691Skan Fixups for EDG front end. 4010169691Skan * include/ext/rope: Instead of non-existent function 4011169691Skan _Data_allocate, use allocator's allocate. Use this. 4012169691Skan (namespace _Rope_constants): Move _S_max_rope_depth, and _Tag 4013169691Skan enumerations from _Rope_RopeRep here. 4014169691Skan * include/ext/ropeimpl.h: Same. 4015169691Skan * src/ext-inst.cc (_S_min_len): Fix up definition. 4016146897Skan 4017169691Skan * config/locale/gnu/ctype_members.cc: Qualify base class members 4018169691Skan with this. 4019169691Skan * config/locale/generic/ctype_members.cc: Same. 4020169691Skan * config/locale/gnu/messages_members.h: Same. 4021169691Skan * config/locale/generic/messages_members.h: Same. 4022169691Skan * src/ctype.cc: Same. 4023169691Skan * include/bits/codecvt.h: Same. 4024169691Skan 4025169691Skan * include/bits/boost_concept_check.h: Declare. 4026169691Skan (__error_type_must_be_an_unsigned_integer_type): Remove this. 4027169691Skan (__error_type_must_be_an_integer_type): Remove this. 4028169691Skan (__error_type_must_be_a_signed_integer_type): Remove this. 4029169691Skan 4030169691Skan * config/io/basic_file_stdio.cc (__basic_file::sys_open): Remove cast. 4031169691Skan 4032169691Skan * libsupc++/eh_alloc.cc (__cxa_free_exception): Add exception 4033169691Skan specification to definition. 4034169691Skan (__cxa_allocate_exception): Same. 4035169691Skan * libsupc++/eh_catch.cc (__cxa_begin_catch): Same. 4036169691Skan * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Same. 4037169691Skan (__cxa_get_globals): Same. 4038169691Skan 4039169691Skan * libsupc++/del_op.cc: Add comment about freestanding. 4040169691Skan 4041169691Skan2004-04-05 Paolo Carlini <pcarlini@suse.de> 4042169691Skan 4043169691Skan * include/ext/mt_allocator.h (__mt_alloc<>::deallocate): 4044169691Skan The critical section is actually very small, only two assignments. 4045169691Skan 4046169691Skan2004-04-04 Paolo Carlini <pcarlini@suse.de> 4047146897Skan Petur Runolfsson <peturr02@ru.is> 4048146897Skan 4049169691Skan * testsuite/performance/27_io/filebuf_sputn_unbuf.cc: New, 4050169691Skan adapted from libstdc++/11378. 4051146897Skan 4052169691Skan2004-04-03 Paolo Carlini <pcarlini@suse.de> 4053146897Skan 4054169691Skan * include/ext/mt_allocator.h (__mt_alloc<>::allocate): Factor out 4055169691Skan some duplicated code. 4056169691Skan (__mt_alloc<>::_Bin_record): Spare the space of _M_free and _M_used 4057169691Skan in the single threaded case. 4058169691Skan * testsuite/performance/20_util/allocator/list_sort_search.cc: 4059169691Skan Reorder and renumber the tests consistently with the other testfiles. 4060169691Skan * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto. 4061169691Skan * testsuite/performance/20_util/allocator/map_thread.cc: Ditto. 4062169691Skan * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto. 4063146897Skan 4064169691Skan2004-04-02 Paolo Carlini <pcarlini@suse.de> 4065146897Skan 4066169691Skan * include/ext/mt_allocator.h (__mt_alloc<>::deallocate): 4067169691Skan Rearrange arithmetic to avoid computing two divisions at 4068169691Skan each deallocation. 4069146897Skan 4070169691Skan2004-04-01 Paolo Carlini <pcarlini@suse.de> 4071146897Skan 4072169691Skan * include/ext/mt_allocator.h (__mt_alloc<>::_S_initialize): 4073169691Skan Streamline the second half, wrapping it in a single 4074169691Skan '#ifdef __GTHREADS if (__gthread_active_p())' and avoiding 4075169691Skan conditionals inside loops. 4076146897Skan 4077169691Skan2004-04-01 Paolo Carlini <pcarlini@suse.de> 4078146897Skan 4079169691Skan PR libstdc++/14775 4080169691Skan * acconfig.h: Rename _GLIBCXX_MEM_LIMITS to _GLIBCXX_RES_LIMITS. 4081169691Skan * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT): Call 4082169691Skan GLIBCXX_CHECK_SETRLIMIT_ancilliary for FSIZE too, adjust define 4083169691Skan to _GLIBCXX_RES_LIMITS. 4084169691Skan (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Rename HAVE_MEMLIMIT_* to 4085169691Skan HAVE_LIMIT_*. 4086169691Skan * testsuite/testsuite_hooks.h: Declare set_file_limit. 4087169691Skan * testsuite/testsuite_hooks.cc: Define it, using getrlimit 4088169691Skan and setrlimit(RLIMIT_FSIZE). 4089169691Skan * testsuite/27_io/fpos/14775.cc: New. 4090169691Skan * config.h.in: Regenerate. 4091169691Skan * configure: Likewise. 4092169691Skan 4093169691Skan2004-03-31 Paolo Carlini <pcarlini@suse.de> 4094169691Skan 4095169691Skan * config/locale/generic/c_locale.cc (__convert_to_v(long double&)): 4096169691Skan In v3 uses of sscanf, the special floating-point numbers INF, 4097169691Skan INFINITY, etc., cannot occur in input, therefore, if the latter 4098169691Skan is too large, ERANGE is always stored in errno, no need of finitel. 4099169691Skan 4100146897Skan2004-03-30 Benjamin Kosnik <bkoz@redhat.com> 4101146897Skan 4102146897Skan PR libstdc++/14783 4103146897Skan * include/bits/stl_tree.h: Adjust initialization list order. 4104146897Skan 4105169691Skan2004-03-29 Loren J. Rittle <ljrittle@acm.org> 4106146897Skan 4107169691Skan * testsuite/thread/pthread7-rope.cc: Update comment to reflect test. 4108169691Skan 4109169691Skan2004-03-29 Paolo Carlini <pcarlini@suse.de> 4110169691Skan 4111169691Skan * testsuite/thread/pthread7-rope.cc: Fix, unpredictably, depending 4112169691Skan on allocator behavior, the memory pointed by data2 may well be not 4113169691Skan trashed. 4114169691Skan 4115169691Skan2004-03-28 Chavdar Botev <cbotev@yahoo.com> 4116169691Skan 4117169691Skan PR libstdc++/14245 4118169691Skan * include/bits/basic_string.tcc 4119169691Skan (basic_string::basic_string(const basic_string&)): Pass to 4120169691Skan _Rep::_M_grab the actual allocator of the string being constructed 4121169691Skan not the default constructed one. 4122169691Skan 4123169691Skan2004-03-27 Benjamin Kosnik <bkoz@redhat.com> 4124169691Skan 4125146897Skan libstdc++ PR/13598 4126146897Skan * config/locale/ieee_1003.1-2001/codecvt_specializations.h 4127146897Skan (__enc_traits::_M_destroy): New. 4128146897Skan (__enc_traits::~__enc_traits): Use it. 4129146897Skan (__enc_traits::operator=): Use _M_destroy, _M_init. 4130146897Skan (__enc_traits::__enc_traits): Same. 4131146897Skan 4132169691Skan2004-03-27 Petur Runolfsson <peturr02@ru.is> 4133146897Skan 4134146897Skan * testsuite/ext/enc_filebuf/char/13598.cc: New. 4135146897Skan 4136169691Skan2004-03-27 Paolo Carlini <pcarlini@suse.de> 4137169691Skan 4138169691Skan * include/ext/mt_allocator.h: Uglify consistently names of 4139169691Skan variables, members and classes; tidy. 4140169691Skan 4141169691Skan2004-03-27 Dhruv Matani <dhruvbird@gmx.net> 4142169691Skan 4143169691Skan * include/ext/mt_allocator.h (__mt_alloc<>::deallocate): 4144169691Skan Deallocation loop rewrote. 4145169691Skan 4146169691Skan2004-03-26 Paolo Carlini <pcarlini@suse.de> 4147169691Skan 4148169691Skan * include/ext/mt_allocator.h (__mt_alloc<>::allocate, 4149169691Skan __mt_alloc<>::deallocate): Protect two instances of 4150169691Skan block->thread_id with __GTHREADS. 4151169691Skan 4152146897Skan2004-03-25 Gawain Bolton <gp.bolton@computer.org> 4153146897Skan 4154146897Skan * include/bits/stl_tree.h (_Rb_tree_impl): Add _Node_allocator 4155146897Skan default argument in constructors. 4156146897Skan (_Rb_tree::_M_empty_initialize): Remove. 4157146897Skan 4158146897Skan2004-03-25 Benjamin Kosnik <bkoz@redhat.com> 4159146897Skan 4160146897Skan * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers. 4161146897Skan * testsuite/23_containers/set/operators/1_neg.cc: Same. 4162146897Skan 4163146897Skan2004-03-25 Dhruv Matani <dhruvbird@gmx.net> 4164146897Skan 4165146897Skan * include/bits/cpp_type_traits.h: Changed __is_pod 4166146897Skan completely. Now, it does not use any of the previous type_traits 4167146897Skan to detect the pod types, and it also detects function pointers as 4168146897Skan POD types. 4169146897Skan 4170146897Skan * include/bits/stl_tree.h: Introduced a new class _Rb_tree_impl, 4171146897Skan which encapsulates the internal implementation of an rb_tree. Made 4172146897Skan the allocator a base class of this class instead of the rb_tree, 4173146897Skan which was not conforming. This _Rb_tree_impl class is also 4174146897Skan specialized on whether the _Compare parameter is a POD type or 4175146897Skan not. If so, then it maintains the comparison function as a data 4176146897Skan member, otherwise it makes the _Compare parameter a base class of 4177146897Skan itself. Also, _M_key_compare is now a function instead of a data 4178146897Skan member, so that the above trick can work properly. Delegated the 4179146897Skan initialization of the other data members to this newly created 4180146897Skan class. Also, now other member functions of rb_tree must refer to 4181146897Skan _M_key_compare as _M_impl._M_key_compare(). The other data members 4182146897Skan (*) can be referenced to as _M_impl.(*), where 4183146897Skan (*) includes _M_header, and _M_node_count. 4184146897Skan 4185169691Skan2004-03-25 Paolo Carlini <pcarlini@suse.de> 4186169691Skan 4187169691Skan * include/ext/mt_allocator.h (__mt_alloc<>::tune): 4188169691Skan Add _M_min_bin, the size in bytes of the smallest bin. 4189169691Skan (__mt_alloc<>::tune()): Tweak accordingly. 4190169691Skan (__mt_alloc<>::tune(size_t, ...)): Likewise. 4191169691Skan (__mt_alloc<>::block_record): Change to a union: members next 4192169691Skan and thread_id are never used at the same time. 4193169691Skan (__mt_alloc<>::allocate): Update consistently. 4194169691Skan (__mt_alloc<>::deallocate): Likewise. 4195169691Skan (__mt_alloc<>::_S_initialize): Update setups of _S_binmap and 4196169691Skan _S_bin_size for the configurable _M_min_size. 4197169691Skan 4198146897Skan2004-03-25 Dhruv Matani <dhruvbird@gmx.net> 4199146897Skan 4200146897Skan * include/bits/stl_list.h: Created a _List_impl class and made it 4201146897Skan derive from the allocator, instead of the list deriving from the 4202146897Skan allocator class, which was not conformant. Changed all references 4203146897Skan from this->_M_node to this->_M_impl._M_node * bits/list.tcc: Same 4204146897Skan as above (changed all references to the concerned variables). 4205146897Skan 4206146897Skan2004-03-25 Dhruv Matani <dhruvbird@gmx.net> 4207146897Skan 4208146897Skan * include/bits/stl_deque.h: Created a _Deque_impl class and made 4209146897Skan it derive from the allocator, instead of the deque deriving from 4210146897Skan the allocator class, which was not conformant. Changed all 4211146897Skan references to the _M_start, _M_finish, _M_map, and _M_map_size to 4212146897Skan _M_impl.*. 4213146897Skan (_Deque_base<_Tp,_Alloc>::~_Deque_base()): Added this-> 4214146897Skan qualification in 2 places where it was missing. 4215146897Skan (_Deque_base<_Tp,_Alloc>::_M_initialize_map(size_t)): Same as 4216146897Skan above. 4217146897Skan * include/bits/deque.tcc: Same as above (changed all references to 4218146897Skan the concerned variables). 4219146897Skan 4220146897Skan2004-03-25 Dhruv Matani <dhruvbird@gmx.net> 4221146897Skan 4222146897Skan * include/bits/stl_vector.h: Created a _Vector_impl class and made 4223146897Skan it derive from the allocator, instead of the _Vector_base class, 4224146897Skan deriving from the allocator which was not conformant. Changed all 4225146897Skan references to the _M_start, _M_finish, and _M_end_of_storage to 4226146897Skan _M_impl.*. 4227146897Skan * include/bits/vector.tcc: Same as above (changed all references 4228146897Skan to the concerned variables). 4229146897Skan 4230146897Skan2004-03-25 Dhruv Matani <dhruvbird@gmx.net> 4231146897Skan 4232146897Skan * testsuite/23_containers/deque/cons/clear_allocator.cc: New. 4233146897Skan * testsuite/23_containers/list/cons/clear_allocator.cc: New. 4234146897Skan * testsuite/23_containers/vector/cons/clear_allocator.cc: New. 4235146897Skan 4236169691Skan2004-03-24 Dhruv Matani <dhruvbird@gmx.net> 4237169691Skan 4238169691Skan * include/ext/malloc_allocator.h: Fixed the construct function to 4239169691Skan call global placement new instead of assignment. Added a check 4240169691Skan after the return from malloc to check whether returned pointer is 4241169691Skan NULL, and if so, throw std::bad_alloc(). 4242169691Skan * include/ext/debug_allocator.h: Added a check in the deallocate 4243169691Skan function to check whether the user has passed a NULL pointer or 4244169691Skan not. 4245169691Skan 4246169691Skan2004-03-24 Benjamin Kosnik <bkoz@redhat.com> 4247169691Skan 4248169691Skan * docs/html/20_util/allocator.html: Add bitmap_allocator links. 4249169691Skan 4250169691Skan2004-03-24 Andreas Schwab <schwab@suse.de> 4251169691Skan 4252169691Skan * testsuite/lib/prune.exp (prune_g++_output): Ignore errata 4253169691Skan warning from IA64 assembler. 4254169691Skan 4255169691Skan2004-03-24 Dhruv Matani <dhruvbird@gmx.net> 4256169691Skan 4257169691Skan * include/ext/bitmap_allocator.h: (_Bit_scan_forward) -> Made this 4258169691Skan function call __builtin_ctz instead of the while loop. 4259169691Skan (allocate) -> If condition has __builtin_expect. 4260169691Skan (deallocate) -> Ditto. 4261169691Skan Renamed a few left-over variables and typedefs according to the 4262169691Skan C++STYLE mentioned in the documentation. 4263169691Skan Protected calls to __gthread* by __gthread_active_p(), whose value 4264169691Skan is cached in the local variable __threads_active. 4265169691Skan 4266169691Skan2004-03-24 Felix Yen <fwy@alumni.brown.edu> 4267169691Skan 4268169691Skan * testsuite/performance/20_util/allocator/producer_consumer.cc: 4269169691Skan Use linear algorithm for producer. 4270169691Skan 4271169691Skan2004-03-24 Paolo Carlini <pcarlini@suse.de> 4272169691Skan 4273169691Skan * include/ext/mt_allocator.h (__mt_alloc<>::allocate, 4274169691Skan __mt_alloc<>::deallocate): Avoid redundant conditionals. 4275169691Skan 4276146897Skan2004-03-23 Benjamin Kosnik <bkoz@redhat.com> 4277146897Skan 4278146897Skan * include/bits/locale_facets.h: Tweaks for 80 column. 4279146897Skan (__numpunct_cache::_M_cache): Move to locale_facets.tcc. 4280146897Skan (__moneypunct_cache::_M_cache): Same. 4281146897Skan (num_get): Don't inherit from __num_base. 4282146897Skan (num_put): Same. 4283146897Skan (money_get): Don't inherit from money_base. 4284146897Skan (money_put): Same. 4285146897Skan (__timepunct::_M_am_pm_format): New. 4286146897Skan (time_get::_M_extract_num): Return iterator, use ios_base as argument. 4287146897Skan (time_get::_M_extract_name): Same. 4288146897Skan (time_get::_M_extract_via_format): Same. 4289146897Skan * include/bits/locale_facets.tcc: Tweaks for 80 column. 4290146897Skan Use _M_getloc instead of getloc. 4291146897Skan * testsuite/22_locale/money_put/put/char/9780-3.cc: New. 4292146897Skan * testsuite/22_locale/num_put/put/char/9780-2.cc: New. 4293146897Skan * testsuite/22_locale/time_put/put/char/9780-1.cc: New. 4294146897Skan 4295169691Skan2004-03-22 Paolo Carlini <pcarlini@suse.de> 4296169691Skan 4297169691Skan * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add pool_allocator. 4298169691Skan * configure: Regenerate. 4299169691Skan * config/allocator/pool_allocator_base.h: New. 4300169691Skan * include/ext/pool_allocator.h: Convert to a standard-conforming 4301169691Skan allocator. 4302169691Skan * src/allocator.cc: Tweak instantiations. 4303169691Skan * testsuite/performance/20_util/allocator/insert.cc: Add __pool_alloc. 4304169691Skan * testsuite/performance/20_util/allocator/insert_insert.cc: Ditto. 4305169691Skan * testsuite/performance/20_util/allocator/list_sort_search.cc: Ditto. 4306169691Skan * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto. 4307169691Skan * testsuite/performance/20_util/allocator/map_thread.cc: Ditto. 4308169691Skan * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto. 4309169691Skan 4310146897Skan2004-03-22 Hans-Peter Nilsson <hp@axis.com> 4311146897Skan 4312146897Skan * config/cpu/cris/atomicity.h (__atomic_add): Remove "static 4313146897Skan inline" and attribute-unused. Qualify parameter __mem with 4314146897Skan "volatile". 4315146897Skan (__exchange_and_add): Ditto. Add back memory clobber to asm. 4316146897Skan 4317169691Skan2004-03-20 Paolo Carlini <pcarlini@suse.de> 4318146897Skan 4319169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/2.cc: 4320169691Skan Remove junk. 4321169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/3.cc: 4322169691Skan Likewise. 4323169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/6.cc: 4324169691Skan Likewise. 4325169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/7.cc: 4326169691Skan Likewise. 4327169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/8.cc: 4328169691Skan Likewise. 4329169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/9.cc: 4330169691Skan Likewise. 4331169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: 4332169691Skan Likewise. 4333169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc: 4334169691Skan Likewise. 4335169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc: 4336169691Skan Likewise. 4337169691Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc: 4338169691Skan Likewise. 4339146897Skan 4340146897Skan2004-03-20 Paolo Carlini <pcarlini@suse.de> 4341146897Skan 4342146897Skan * include/std/std_valarray.h: Document DR389 [Ready]. 4343146897Skan * docs/html/ext/howto.html: Add an entry for DR389. 4344146897Skan 4345169691Skan2004-03-19 Michael Eager <eager@mvista.com> 4346169691Skan 4347169691Skan * config/cpu/mips/atomicity.h: Prevent reg loads between LL and 4348169691Skan SC instructions. 4349169691Skan 4350146897Skan2004-03-19 Paolo Carlini <pcarlini@suse.de> 4351146897Skan 4352169691Skan * testsuite/22_locale/num_get/get/char/11.cc: Remove redundant 4353169691Skan static_cast-s. 4354169691Skan * testsuite/22_locale/num_get/get/char/12.cc: Likewise. 4355169691Skan * testsuite/22_locale/num_get/get/char/13.cc: Likewise. 4356169691Skan * testsuite/22_locale/num_get/get/char/14.cc: Likewise. 4357169691Skan * testsuite/22_locale/num_get/get/char/15.cc: Likewise. 4358169691Skan * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise. 4359169691Skan * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise. 4360169691Skan * testsuite/22_locale/num_get/get/wchar_t/13.cc: Likewise. 4361169691Skan * testsuite/22_locale/num_get/get/wchar_t/14.cc: Likewise. 4362169691Skan * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise. 4363169691Skan 4364169691Skan2004-03-19 Paolo Carlini <pcarlini@suse.de> 4365169691Skan Petur Runolfsson <peturr02@ru.is> 4366169691Skan 4367169691Skan PR libstdc++/12077 4368169691Skan * include/ext/stdio_sync_filebuf.h (showmanyc): Remove, there's 4369169691Skan no way to find out the conversion used by the underlying FILE*. 4370169691Skan * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: New. 4371169691Skan * testsuite/27_io/objects/char/9.cc: Tweak. 4372169691Skan 4373169691Skan2004-03-19 Paolo Carlini <pcarlini@suse.de> 4374169691Skan 4375146897Skan PR libstdc++/14648 4376146897Skan * include/ext/ropeimpl.h (rope<>::_S_apply_to_pieces): Fix 4377146897Skan memory allocation/deallocation calls. 4378146897Skan * testsuite/ext/14648.cc: New. 4379146897Skan 4380169691Skan2004-03-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> 4381146897Skan 4382169691Skan PR libstdc++/14647 4383169691Skan * include/backward/bvector.h (bit_vector): Allocator is in std 4384169691Skan namespace. 4385146897Skan 4386169691Skan2004-03-19 Phil Edwards <phil@codesourcery.com> 4387146897Skan 4388169691Skan * acinclude.m4 (GLIBCXX_CHECK_WCHAR_T_SUPPORT): Set LIBICONV, 4389169691Skan not libiconv. SUBST this variable as well. 4390169691Skan * testsuite/Makefile.am (site.exp): New target, based on that 4391169691Skan created by automake. Also set libiconv. 4392146897Skan 4393169691Skan * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in, 4394169691Skan libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, 4395169691Skan testsuite/Makefile.in: Regenerate. 4396146897Skan 4397146897Skan2004-03-16 Benjamin Kosnik <bkoz@redhat.com> 4398146897Skan 4399146897Skan * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Default setting is 4400146897Skan new_allocator for all hosts. 4401146897Skan * configure: Regenerate. 4402146897Skan 4403146897Skan2004-03-16 Paolo Carlini <pcarlini@suse.de> 4404146897Skan 4405146897Skan * testsuite/22_locale/num_put/put/char/4.cc: Fix for 64-bit pointers. 4406146897Skan * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise. 4407146897Skan 4408146897Skan2004-03-15 Paolo Carlini <pcarlini@suse.de> 4409146897Skan 4410146897Skan * include/bits/locale_facets.tcc (money_get<>::_M_extract): 4411146897Skan Adjust the logic underlying the parsing of symbol to deal 4412146897Skan correctly with an optional sign component (i.e., when either 4413146897Skan negative_sign or positive_sign is empty) 4414146897Skan * testsuite/22_locale/money_get/get/char/19.cc: New. 4415146897Skan * testsuite/22_locale/money_get/get/wchar_t/19.cc: New. 4416146897Skan 4417146897Skan2004-03-15 Paolo Carlini <pcarlini@suse.de> 4418146897Skan 4419146897Skan * include/bits/locale_facets.tcc (money_get<>::_M_extract): 4420146897Skan Do not accept an incomplete currency symbol. 4421146897Skan * testsuite/22_locale/money_get/get/char/18.cc: New. 4422146897Skan * testsuite/22_locale/money_get/get/wchar_t/18.cc: New. 4423146897Skan 4424146897Skan2004-03-13 Benjamin Kosnik <bkoz@redhat.com> 4425146897Skan 4426146897Skan * config/allocator: New. 4427146897Skan * config/allocator/bitmap_allocator_base.h: New. 4428146897Skan * config/allocator/malloc_allocator_base.h: New. 4429146897Skan * config/allocator/mt_allocator_base.h: New. 4430146897Skan * config/allocator/new_allocator_base.h: New. 4431146897Skan * include/bits/allocator.h: Include c++allocator.h. 4432146897Skan * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): New. 4433146897Skan * aclocal.m4: Regenerate. 4434146897Skan * configure.ac: Use GLIBCXX_ENABLE_ALLOCATOR. 4435146897Skan * configure: Regenerate. 4436146897Skan * include/Makefile.am (host_headers_extra): Add c++allocator.h. 4437146897Skan * include/Makefile.in: Regenerate. 4438146897Skan * docs/html/configopts.html: Add enable-libstdcxx-allocator. 4439146897Skan 4440146897Skan2004-03-12 Benjamin Kosnik <bkoz@redhat.com> 4441146897Skan 4442146897Skan * include/bits/allocator.h: Revert. 4443146897Skan 4444146897Skan2004-03-12 Paolo Carlini <pcarlini@suse.de> 4445146897Skan 4446146897Skan * docs/html/ext/howto.html: Add entry for DR 253 [Ready]. 4447146897Skan * include/bits/gslice_array.h: Add comment about DR 253. 4448146897Skan * include/bits/indirect_array.h: Likewise. 4449146897Skan * include/bits/mask_array.h: Likewise. 4450146897Skan * include/bits/slice_array.h: Likewise. 4451146897Skan 4452146897Skan2004-03-12 Benjamin Kosnik <bkoz@redhat.com> 4453146897Skan 4454146897Skan * testsuite/20_util/allocator/14176.cc: New. 4455146897Skan * include/ext/mt_allocator.h: Formatting fixes. 4456146897Skan 4457146897Skan2004-03-11 Dhruv Matani <dhruvbird@HotPOP.com> 4458146897Skan 4459146897Skan * include/Makefile.am (ext_headers): Add 4460146897Skan ${ext_srcdir}/bitmap_allocator.h . 4461146897Skan * include/Makefile.in: Regenerate. 4462146897Skan * docs/html/ext/ballocator_doc.txt: New file. 4463146897Skan * include/ext/bitmap_allocator.h: New file. 4464146897Skan * testsuite/performance/20_util/allocator/list_sort_search.cc: Add 4465146897Skan test. 4466146897Skan * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise. 4467146897Skan * testsuite/performance/20_util/allocator/producer_consumer.cc: Add 4468146897Skan test for the bitmap_allocator<>. 4469146897Skan * testsuite/performance/20_util/allocator/insert.cc: Likewise. 4470146897Skan * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise. 4471146897Skan * testsuite/performance/20_util/allocator/map_thread.cc: Likewise. 4472146897Skan 4473146897Skan2004-03-11 Paolo Carlini <pcarlini@suse.de> 4474146897Skan 4475146897Skan * include/std/std_complex.h (pow(const complex&, const _Tp&), 4476146897Skan pow(const _Tp&, const complex&), pow(const complex&, 4477146897Skan const complex&)): Fully qualify with std:: a few calls. 4478146897Skan * testsuite/26_numerics/complex/13450.cc: Minor tweak. 4479146897Skan 4480146897Skan2004-03-11 Steven Bosscher <stevenb@suse.de> 4481146897Skan 4482146897Skan PR libstdc++/11706 4483146897Skan * include/c_std/cmath.tcc (__cmath_power): Define inline. 4484146897Skan 4485146897Skan2004-03-10 Kelley Cook <kcook@gcc.gnu.org> 4486146897Skan 4487146897Skan * configure.ac: Bump AC_PREREQ to 2.59. 4488146897Skan 4489146897Skan2004-03-10 Paolo Carlini <pcarlini@suse.de> 4490146897Skan 4491146897Skan * testsuite/26_numerics/valarray_subset_assignment.cc: Fix typos. 4492146897Skan 4493146897Skan2004-03-10 Paul Kienzle <pkienzle@nist.gov> 4494146897Skan Paolo Carlini <pcarlini@suse.de> 4495146897Skan 4496146897Skan PR libstdc++/13450 4497146897Skan * include/std/std_complex.h (pow(const complex&, const _Tp&), 4498146897Skan pow(const _Tp&, const complex&)): Use cmath pow only when safe. 4499146897Skan * testsuite/26_numerics/complex/13450.cc: New. 4500146897Skan 4501146897Skan * testsuite/26_numerics/cmath/overloads.C: Rename to overloads.cc. 4502146897Skan * testsuite/26_numerics/complex/pow.C: Rename to pow.cc and fix. 4503146897Skan 4504146897Skan2004-03-10 Jerry Quinn <jlquinn@optonline.net> 4505146897Skan 4506146897Skan PR libstdc++/3247 4507146897Skan * include/bits/gslice_array.h (gslice_array()): Make public. 4508146897Skan (operator=(gslice_array)): Make public. Implement. 4509146897Skan * include/bits/indirect_array.h (indirect_array()): Make public. 4510146897Skan * include/bits/mask_array.h (mask_array()): Make public. 4511146897Skan (operator=(mask_array)): Make public. Implement. 4512146897Skan * include/bits/valarray_array.tcc (__valarray_copy): 4513146897Skan Comment. Add versions for gslice_array and mask_array. 4514146897Skan * testsuite/26_numerics/valarray_subset_assignment.cc: New test. 4515146897Skan 4516146897Skan2004-03-09 Benjamin Kosnik <bkoz@redhat.com> 4517146897Skan 4518146897Skan * testsuite/23_containers/deque/modifiers/swap.cc: Add in bits for 4519146897Skan non-weak systems. 4520146897Skan * testsuite/23_containers/vector/modifiers/swap.cc: Same. 4521146897Skan * testsuite/23_containers/set/modifiers/swap.cc: Same. 4522146897Skan * testsuite/23_containers/multiset/modifiers/swap.cc: Same. 4523146897Skan * testsuite/23_containers/multimap/modifiers/swap.cc: Same. 4524146897Skan * testsuite/23_containers/map/modifiers/swap.cc: Same. 4525146897Skan * testsuite/23_containers/list/modifiers/swap.cc: Same. 4526146897Skan 4527146897Skan * testsuite/22_locale/locale/cons/12658_thread.cc: Catch exceptions. 4528146897Skan 4529146897Skan2004-03-08 Benjamin Kosnik <bkoz@redhat.com> 4530146897Skan 4531146897Skan PR c++/13658 4532146897Skan * testsuite/23_containers/deque/modifiers/swap.cc: New. 4533146897Skan * testsuite/23_containers/list/modifiers/swap.cc: New. 4534146897Skan * testsuite/23_containers/map/modifiers/swap.cc: New. 4535146897Skan * testsuite/23_containers/multimap/modifiers/swap.cc: New. 4536146897Skan * testsuite/23_containers/multiset/modifiers/swap.cc: New. 4537146897Skan * testsuite/23_containers/set/modifiers/swap.cc: New. 4538146897Skan * testsuite/23_containers/vector/modifiers/swap.cc: New. 4539146897Skan 4540146897Skan2004-03-08 Petur Runolfsson <peturr02@ru.is> 4541146897Skan 4542146897Skan PR libstdc++/12658 4543146897Skan * testsuite/22_locale/locale/cons/12658_thread.cc: New. 4544146897Skan 4545146897Skan2004-03-08 Paolo Carlini <pcarlini@suse.de> 4546146897Skan 4547146897Skan * docs/html/ext/howto.html: Add entry for DR 103 [WP]. 4548146897Skan * include/bits/stl_multiset.h: Add comment about DR 103. 4549146897Skan * include/bits/stl_set.h: Likewise. 4550146897Skan 4551146897Skan2004-03-08 Paolo Carlini <pcarlini@suse.de> 4552146897Skan 4553146897Skan * include/bits/locale_facets.tcc (money_get<>::_M_extract): 4554146897Skan The value _space_ indicates that at least one space is required 4555146897Skan at that position. 4556146897Skan * testsuite/22_locale/money_get/get/char/17.cc: New. 4557146897Skan * testsuite/22_locale/money_get/get/wchar_t/17.cc: New. 4558146897Skan 4559146897Skan * testsuite/22_locale/money_get/get/char/7.cc: Minor tweaks. 4560146897Skan * testsuite/22_locale/money_get/get/wchar_t/7.cc: Likewise. 4561146897Skan 4562146897Skan * include/bits/locale_facets.tcc (money_get<>::do_get(long_double&)): 4563146897Skan Remove redundant conditional on __str.size(). 4564146897Skan 4565146897Skan2004-03-08 Benjamin Kosnik <bkoz@redhat.com> 4566146897Skan 4567146897Skan * include/bits/allocator.h: Switch defaults to mt_alloc. 4568146897Skan 4569146897Skan2004-03-06 Benjamin Kosnik <bkoz@redhat.com> 4570146897Skan 4571146897Skan * include/ext/mt_allocator.h (_S_initialize): If 4572146897Skan !__GTHREAD_MUTEX_INIT, then initialize _S_thread_freelist_mutex. 4573146897Skan 4574146897Skan2004-03-06 Benjamin Kosnik <bkoz@redhat.com> 4575146897Skan 4576146897Skan PR libstdc++/12658 4577146897Skan * src/locale_init.cc (locale::locale): Lock critical regions with 4578146897Skan external mutexes. 4579146897Skan (locale::global): Same. 4580146897Skan * include/bits/concurrence.h (__glibcxx_mutex_define_initialized): 4581146897Skan Add in once bits for cases without __GTHREAD_MUTEX_INIT. 4582146897Skan (__glibcxx_mutex_lock): Same. 4583146897Skan 4584146897Skan * config/cpu/generic/atomicity.h: Remove 4585146897Skan _GLIBCXX_NEED_GENERIC_MUTEX, use concurrence.h. 4586146897Skan * src/misc-inst.cc: Move all locking bits out of this file. 4587146897Skan 4588146897Skan * config/os/hpux/os_defines.h: Remove _GLIBCXX_INST_ATOMICITY_LOCK. 4589146897Skan * src/misc-inst.cc: Same. 4590146897Skan * config/cpu/hppa/atomicity.h: Same. 4591146897Skan 4592146897Skan * config/linker-map.gnu: Remove types in the signature of atomic 4593146897Skan exports, as they may vary. 4594146897Skan 4595146897Skan2004-03-06 Paolo Carlini <pcarlini@suse.de> 4596146897Skan 4597146897Skan * include/bits/locale_facets.tcc: Tweak the comment preceding 4598146897Skan has_facet: doesn't throw. 4599146897Skan 4600146897Skan2004-03-06 Paolo Carlini <pcarlini@suse.de> 4601146897Skan 4602146897Skan * testsuite/22_locale/money_get/get/char/1.cc: Clean up. 4603146897Skan * testsuite/22_locale/money_get/get/char/2.cc: Likewise. 4604146897Skan * testsuite/22_locale/money_get/get/char/3.cc: Likewise. 4605146897Skan * testsuite/22_locale/money_get/get/char/4.cc: Likewise. 4606146897Skan * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise. 4607146897Skan * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise. 4608146897Skan * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise. 4609146897Skan * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise. 4610146897Skan 4611146897Skan2004-03-06 Paolo Carlini <pcarlini@suse.de> 4612146897Skan 4613146897Skan * include/bits/locale_facets.tcc (num_get<>::_M_extract_float, 4614146897Skan num_get<>::_M_extract_int, num_get<>::do_get(bool&), 4615146897Skan __pad<>::_S_pad): Prefer plain operator== to traits::eq(). 4616146897Skan * testsuite/testsuite_character.h (struct __gnu_test::character): 4617146897Skan Provide operator==. 4618146897Skan * testsuite/testsuite_hooks.h (struct __gnu_test::pod_char): 4619146897Skan Likewise. 4620146897Skan 4621146897Skan2004-03-05 Paolo Carlini <pcarlini@suse.de> 4622146897Skan 4623146897Skan * testsuite/27_io/fpos/14320-2.cc: Remove xfail. 4624146897Skan 4625146897Skan2004-03-04 Benjamin Kosnik <bkoz@redhat.com> 4626146897Skan 4627146897Skan * testsuite/23_containers/multiset/insert/1.cc: Test result string. 4628146897Skan 4629146897Skan * testsuite/23_containers/bitset/invalidation/1.cc: Main always 4630146897Skan returns 0. 4631146897Skan * testsuite/23_containers/deque/invalidation/4.cc: Same. 4632146897Skan * testsuite/23_containers/list/invalidation/1.cc: Same. 4633146897Skan * testsuite/23_containers/list/invalidation/2.cc: Same. 4634146897Skan * testsuite/23_containers/list/invalidation/3.cc: Same. 4635146897Skan * testsuite/23_containers/list/invalidation/4.cc: Same. 4636146897Skan * testsuite/23_containers/map/invalidation/2.cc: Same. 4637146897Skan * testsuite/23_containers/multimap/invalidation/1.cc: Same. 4638146897Skan * testsuite/23_containers/multimap/invalidation/2.cc: Same. 4639146897Skan * testsuite/23_containers/multiset/invalidation/1.cc: Same. 4640146897Skan * testsuite/23_containers/multiset/invalidation/2.cc: Same. 4641146897Skan * testsuite/23_containers/set/invalidation/1.cc: Same. 4642146897Skan * testsuite/23_containers/set/invalidation/2.cc: Same. 4643146897Skan * testsuite/23_containers/vector/invalidation/1.cc: Same. 4644146897Skan * testsuite/23_containers/vector/invalidation/2.cc: Same. 4645146897Skan * testsuite/23_containers/vector/invalidation/3.cc: Same. 4646146897Skan * testsuite/23_containers/vector/invalidation/4.cc: Same. 4647146897Skan 4648146897Skan2004-03-04 Paolo Carlini <pcarlini@suse.de> 4649146897Skan 4650146897Skan * scripts/testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to 4651146897Skan CXXFLAGS_save. 4652146897Skan * testsuite/lib/libstdc++.exp: Don't add it conditionally to 4653146897Skan DEFAULT_CXXFLAGS. 4654146897Skan * testsuite/18_support/numeric_limits.cc: Remove "-D_GLIBCXX_ASSERT" 4655146897Skan from the dg-options. 4656146897Skan * testsuite/23_containers/vector/invalidation/1.cc: Likewise. 4657146897Skan * testsuite/23_containers/vector/invalidation/2.cc: Likewise. 4658146897Skan * testsuite/23_containers/vector/invalidation/3.cc: Likewise. 4659146897Skan * testsuite/23_containers/vector/invalidation/4.cc: Likewise. 4660146897Skan * testsuite/23_containers/vector/resize/1.cc: Likewise. 4661146897Skan * testsuite/26_numerics/complex_value.cc: Likewise. 4662146897Skan * testsuite/27_io/ios_base/storage/1.cc: Likewise. 4663146897Skan * testsuite/27_io/ios_base/storage/2.cc: Likewise. 4664146897Skan * testsuite/27_io/ios_base/storage/3.cc: Likewise. 4665146897Skan * testsuite/27_io/manipulators/standard/char/2.cc: Likewise. 4666146897Skan * testsuite/27_io/objects/char/5.cc: Likewise. 4667146897Skan * testsuite/27_io/objects/wchar_t/5.cc: Likewise. 4668146897Skan * testsuite/backward/11460.cc: Likewise. 4669146897Skan * testsuite/thread/pthread7-rope.cc: Likewise. 4670146897Skan 4671146897Skan * testsuite/21_strings/basic_string/compare/char/1.cc: Add 4672146897Skan missing test variable. 4673146897Skan * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Add 4674146897Skan missing test variable. 4675146897Skan 4676146897Skan2004-03-04 Benjamin Kosnik <bkoz@redhat.com> 4677146897Skan 4678146897Skan * testsuite/20_util/allocator/1.cc: Provide explicit 4679146897Skan instantiations for non-weak systems. 4680146897Skan * testsuite/20_util/binders.cc: Same. 4681146897Skan * testsuite/20_util/allocator/8230.cc: Same. 4682146897Skan * testsuite/20_util/allocator/10378.cc: Same. 4683146897Skan * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same. 4684146897Skan * testsuite/22_locale/ctype/is/char/2.cc: Same. 4685146897Skan * testsuite/thread/pthread7-rope.cc: Same. 4686146897Skan * testsuite/thread/pthread6.cc: Same. 4687146897Skan * testsuite/thread/pthread5.cc: Same. 4688146897Skan * testsuite/thread/pthread4.cc: Same. 4689146897Skan * testsuite/thread/pthread1.cc: Same. 4690146897Skan * testsuite/ext/rope.cc: Same. 4691146897Skan * testsuite/ext/hash_set.cc: Same. 4692146897Skan * testsuite/ext/hash_map.cc: Same. 4693146897Skan * testsuite/ext/concept_checks.cc: Same. 4694146897Skan * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Same. 4695146897Skan * testsuite/25_algorithms/unique/2.cc: Same. 4696146897Skan * testsuite/25_algorithms/unique/1.cc: Same. 4697146897Skan * testsuite/25_algorithms/rotate.cc: Same. 4698146897Skan * testsuite/25_algorithms/min_max.cc: Same. 4699146897Skan * testsuite/25_algorithms/equal.cc: Same. 4700146897Skan * testsuite/24_iterators/rel_ops.cc: Same. 4701146897Skan * testsuite/24_iterators/iterator.cc: Same. 4702146897Skan * testsuite/24_iterators/insert_iterator.cc: Same. 4703146897Skan * testsuite/24_iterators/front_insert_iterator.cc: Same. 4704146897Skan * testsuite/24_iterators/back_insert_iterator.cc: Same. 4705146897Skan * testsuite/23_containers/vector/resize/1.cc: Same. 4706146897Skan * testsuite/23_containers/vector/modifiers/2.cc: Same. 4707146897Skan * testsuite/23_containers/vector/modifiers/1.cc: Same. 4708146897Skan * testsuite/23_containers/vector/invalidation/4.cc: Same. 4709146897Skan * testsuite/23_containers/vector/invalidation/3.cc: Same. 4710146897Skan * testsuite/23_containers/vector/invalidation/2.cc: Same. 4711146897Skan * testsuite/23_containers/vector/invalidation/1.cc: Same. 4712146897Skan * testsuite/23_containers/vector/element_access/1.cc: Same. 4713146897Skan * testsuite/23_containers/vector/cons/6513.cc: Same. 4714146897Skan * testsuite/23_containers/vector/cons/3.cc: Same. 4715146897Skan * testsuite/23_containers/vector/cons/2.cc: Same. 4716146897Skan * testsuite/23_containers/vector/cons/1.cc: Same. 4717146897Skan * testsuite/23_containers/vector/capacity/8230.cc: Same. 4718146897Skan * testsuite/23_containers/vector/capacity/1.cc: Same. 4719146897Skan * testsuite/23_containers/vector/bool/6886.cc: Same. 4720146897Skan * testsuite/23_containers/stack/members/7158.cc: Same. 4721146897Skan * testsuite/23_containers/set/invalidation/2.cc: Same. 4722146897Skan * testsuite/23_containers/set/invalidation/1.cc: Same. 4723146897Skan * testsuite/23_containers/queue/members/7157.cc: Same. 4724146897Skan * testsuite/23_containers/priority_queue/members/7161.cc: Same. 4725146897Skan * testsuite/23_containers/multiset/invalidation/2.cc: Same. 4726146897Skan * testsuite/23_containers/multiset/invalidation/2.cc: Same. 4727146897Skan * testsuite/23_containers/multiset/insert/1.cc: Same. 4728146897Skan * testsuite/23_containers/multimap/invalidation/2.cc: Same. 4729146897Skan * testsuite/23_containers/multimap/invalidation/2.cc: Same. 4730146897Skan * testsuite/23_containers/map/operators/1.cc: Same. 4731146897Skan * testsuite/23_containers/map/invalidation/2.cc: Same. 4732146897Skan * testsuite/23_containers/map/invalidation/1.cc: Same. 4733146897Skan * testsuite/23_containers/map/insert/1.cc: Same. 4734146897Skan * testsuite/23_containers/list/operators/4.cc: Same. 4735146897Skan * testsuite/23_containers/list/operators/3.cc: Same. 4736146897Skan * testsuite/23_containers/list/operators/2.cc: Same. 4737146897Skan * testsuite/23_containers/list/operators/1.cc: Same. 4738146897Skan * testsuite/23_containers/list/modifiers/3.cc: Same. 4739146897Skan * testsuite/23_containers/list/modifiers/2.cc: Same. 4740146897Skan * testsuite/23_containers/list/modifiers/1.cc: Same. 4741146897Skan * testsuite/23_containers/list/invalidation/4.cc: Same. 4742146897Skan * testsuite/23_containers/list/invalidation/3.cc: Same. 4743146897Skan * testsuite/23_containers/list/invalidation/2.cc: Same. 4744146897Skan * testsuite/23_containers/list/invalidation/1.cc: Same. 4745146897Skan * testsuite/23_containers/list/cons/9.cc: Same. 4746146897Skan * testsuite/23_containers/list/cons/8.cc: Same. 4747146897Skan * testsuite/23_containers/list/cons/7.cc: Same. 4748146897Skan * testsuite/23_containers/list/cons/6.cc: Same. 4749146897Skan * testsuite/23_containers/list/cons/5.cc: Same. 4750146897Skan * testsuite/23_containers/list/cons/4.cc: Same. 4751146897Skan * testsuite/23_containers/list/cons/3.cc: Same. 4752146897Skan * testsuite/23_containers/list/cons/2.cc: Same. 4753146897Skan * testsuite/23_containers/list/cons/1.cc: Same. 4754146897Skan * testsuite/23_containers/list/capacity/1.cc: Same. 4755146897Skan * testsuite/23_containers/deque/operators/1.cc: Same. 4756146897Skan * testsuite/23_containers/deque/invalidation/4.cc: Same. 4757146897Skan * testsuite/23_containers/deque/invalidation/3.cc: Same. 4758146897Skan * testsuite/23_containers/deque/invalidation/2.cc: Same. 4759146897Skan * testsuite/23_containers/deque/invalidation/1.cc: Same. 4760146897Skan * testsuite/23_containers/deque/cons/2.cc: Same. 4761146897Skan * testsuite/23_containers/deque/cons/1.cc: Same. 4762146897Skan 4763146897Skan * src/allocator.cc: Add char, wchar_t instantiations 4764146897Skan to match extern template declarations in memory.h. 4765146897Skan 4766146897Skan2004-03-03 Paolo Carlini <pcarlini@suse.de> 4767146897Skan 4768146897Skan * include/bits/locale_facets.tcc (money_put<>::_M_insert): 4769146897Skan Fix warning regression. 4770146897Skan 4771146897Skan2004-03-03 Paolo Carlini <pcarlini@suse.de> 4772146897Skan 4773146897Skan * include/bits/locale_facets.tcc (money_put<>::_M_insert): 4774146897Skan Deal properly with empty __digits and negative frac_digits, 4775146897Skan clean-up a bit. 4776146897Skan 4777146897Skan2004-03-03 Jonathan Wakely <redi@gcc.gnu.org> 4778146897Skan 4779146897Skan * docs/html/documentation.html: Regenerate. 4780146897Skan 4781146897Skan2004-03-02 Paolo Carlini <pcarlini@suse.de> 4782146897Skan 4783146897Skan PR libstdc++/14320 4784146897Skan * include/bits/postypes.h (class streamoff): Remove, now 4785146897Skan streamoff is just typedef a 64 bit signed integer type. 4786146897Skan (class fpos): Tweak consistently. 4787146897Skan * testsuite/27_io/fpos/14320-1.cc: New. 4788146897Skan * testsuite/27_io/fpos/14320-2.cc: New. 4789146897Skan * testsuite/27_io/fpos/14320-3.cc: New. 4790146897Skan * testsuite/27_io/fpos/14320-4.cc: New. 4791146897Skan * testsuite/27_io/fpos/14320-5.cc: New. 4792146897Skan * testsuite/27_io/fpos/mbstate_t/4_neg.cc: xfail for now. 4793146897Skan 4794146897Skan2004-03-02 Paolo Carlini <pcarlini@suse.de> 4795146897Skan 4796146897Skan * include/bits/locale_facets.tcc (money_get<>::_M_extract): 4797146897Skan Reorganize a bit the main parsing loop, thus early detecting 4798146897Skan an empty value component. 4799146897Skan * testsuite/22_locale/money_get/get/char/16.cc: New. 4800146897Skan * testsuite/22_locale/money_get/get/wchar_t/16.cc: New. 4801146897Skan 4802146897Skan2004-03-02 Benjamin Kosnik <bkoz@redhat.com> 4803146897Skan 4804146897Skan Support automake 1.8.2 4805146897Skan * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override. 4806146897Skan * po/Makefile.am (EXTRA_DIST): New. 4807146897Skan * po/Makefile.in: Regenerate. 4808146897Skan * Makefile.in: Same. 4809146897Skan * include/Makefile.in: Same. 4810146897Skan * libmath/Makefile.in: Same. 4811146897Skan * libsupc++/Makefile.in: Same. 4812146897Skan * src/Makefile.in: Same. 4813146897Skan * testsuite/Makefile.in: Same. 4814146897Skan 4815146897Skan * include/Makefile.am (${host_builddir}/gthr-posix.h): Use 4816146897Skan __GXX_WEAK__ instead of SUPPORTS_WEAK. 4817146897Skan (${host_builddir}/gthr-default.h): Same. 4818146897Skan (${host_builddir}/gthr.h): Same. 4819146897Skan * acinclude.m4 (GLIBCXX_ENABLE_THREAD): Remove 4820146897Skan _GLIBCXX_SUPPORTS_WEAK, as this behavior can be modified via 4821146897Skan -fno-weak. 4822146897Skan * aclocal.m4: Regenerate. 4823146897Skan * acconfig.h: Remove _GLIBCXX_SUPPORTS_WEAK. 4824146897Skan * config.h.in: Regenerate. 4825146897Skan * configure: Same. 4826146897Skan 4827146897Skan2004-03-01 Benjamin Kosnik <bkoz@redhat.com> 4828146897Skan 4829146897Skan Support autoconf 2.59 4830146897Skan * acinclude.m4: Quote correctly. 4831146897Skan * aclocal.m4: Regenerate. 4832146897Skan * linkage.m4: Same. 4833146897Skan 4834146897Skan2004-03-01 Benjamin Kosnik <bkoz@redhat.com> 4835146897Skan 4836146897Skan * docs/html/test.html: Add multilib RUNTESTFLAGS example. 4837146897Skan 4838146897Skan * docs/html/18_support/howto.html: Add bit about writing to 4839146897Skan stderr, mostly by Zack. 4840146897Skan 4841146897Skan2004-03-01 Paolo Carlini <pcarlini@suse.de> 4842146897Skan 4843146897Skan * include/bits/locale_facets.tcc (money_get<>::_M_extract, 4844146897Skan money_get<>::do_get(string_type&)): ... and two more. 4845146897Skan 4846146897Skan2004-03-01 Paolo Carlini <pcarlini@suse.de> 4847146897Skan 4848146897Skan * include/bits/locale_facets.tcc (money_get<>::_M_extract): 4849146897Skan Fix thinkos in the switch from string_type& to string& as last 4850146897Skan argument. 4851146897Skan 4852146897Skan2004-03-01 Paolo Carlini <pcarlini@suse.de> 4853146897Skan 4854146897Skan * include/bits/locale_facets.tcc (num_get<>::_M_extract_float): 4855146897Skan Also when parsing exponent sign, first look for thousands_sep 4856146897Skan and decimal_point; tweak a bit. 4857146897Skan * testsuite/22_locale/num_get/get/char/15.cc: New. 4858146897Skan * testsuite/22_locale/num_get/get/wchar_t/15.cc: New. 4859146897Skan 4860146897Skan * include/bits/locale_facets.tcc (num_get<>::_M_extract_float, 4861146897Skan num_get<>::_M_extract_int): Reorder some conditionals. 4862146897Skan 4863146897Skan2004-03-01 Paolo Carlini <pcarlini@suse.de> 4864146897Skan 4865146897Skan * include/bits/locale_facets.tcc (money_get<>::_M_extract): 4866146897Skan Consistently with numpunct, enforce the requirements in 4867146897Skan 22.2.6.3, p3 for the thousands separators; tweak a bit. 4868146897Skan * testsuite/22_locale/money_get/get/char/15.cc: New. 4869146897Skan * testsuite/22_locale/money_get/get/wchar_t/15.cc: New. 4870146897Skan 4871146897Skan2004-03-01 David Billinghurst <David.Billinghurst@riotinto.com> 4872146897Skan 4873146897Skan * testsuite/lib/libstdc++.exp (v3-list-tests): Use 4874146897Skan testsuite_files from correct multilib blddir when running 4875146897Skan testsuite. 4876146897Skan 4877146897Skan2004-02-29 Phil Edwards <phil@codesourcery.com> 4878146897Skan 4879146897Skan * testsuite/Makefile.am (check-abi, check-abi-verbose): Copy 4880146897Skan the summary file to the logfile. 4881146897Skan * testsuite/Makefile.in: Regenerate. 4882146897Skan 4883146897Skan2004-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 4884146897Skan 4885146897Skan * config/cpu/hppa/atomicity.h (__atomic_add): Make first argument 4886146897Skan volatile. 4887146897Skan * config/os/hpux/os_defines.h (_GLIBCXX_INST_ATOMICITY_LOCK): Use 4888146897Skan __GXX_WEAK__ instead of _GLIBCXX_SUPPORTS_WEAK. 4889146897Skan 4890146897Skan2004-02-28 Paolo Carlini <pcarlini@suse.de> 4891146897Skan 4892146897Skan * include/bits/locale_facets.tcc (num_get<>::_M_extract_float): 4893146897Skan According to 22.2.3.1, p2, 'units' may be followed by 'e' with 4894146897Skan no 'decimal-point' in the middle: in this case too we must fix 4895146897Skan up __found_grouping; slightly tweak. 4896146897Skan * testsuite/22_locale/num_get/get/char/14.cc: New. 4897146897Skan * testsuite/22_locale/num_get/get/wchar_t/14.cc: New. 4898146897Skan 4899146897Skan2004-02-27 Eric Christopher <echristo@redhat.com> 4900146897Skan Phil Edwards <phil@codesourcery.com> 4901146897Skan 4902146897Skan * testsuite/22_locale/collate/compare/wchar_t/2.cc, 4903146897Skan testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc, 4904146897Skan testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc, 4905146897Skan testsuite/22_locale/collate/hash/wchar_t/2.cc, 4906146897Skan testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc, 4907146897Skan testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc, 4908146897Skan testsuite/22_locale/collate/transform/wchar_t/2.cc, 4909146897Skan testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc, 4910146897Skan testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: 4911146897Skan Use dg-require-iconv. 4912146897Skan * testsuite/lib/libstdc++.exp: Load target-supports.exp. 4913146897Skan 4914146897Skan2004-02-27 Phil Edwards <phil@codesourcery.com> 4915146897Skan Eric Christopher <echristo@redhat.com> 4916146897Skan 4917146897Skan * testsuite/config/default.exp: Update with comments. 4918146897Skan (${tool}_target_compile): New wrapper routine. 4919146897Skan * testsuite/lib/dg-options.exp: New file, with dg-require-iconv. 4920146897Skan * testsuite/lib/libstdc++.exp: Update with comments and cosmetic 4921146897Skan fixes. 4922146897Skan (load_gcc_lib, v3track): New routines. 4923146897Skan (v3-init): Rename to libstdc++_init. 4924146897Skan * testsuite/libstdc++-dg/normal.exp: No longer call v3-init. 4925146897Skan Move DEFAULT_CXXFLAGS handling into libstdc++_init. 4926146897Skan 4927146897Skan2004-02-27 Benjamin Kosnik <bkoz@redhat.com> 4928146897Skan 4929146897Skan * config/cpu/hppa/atomicity.h: Include c++config.h to get defines. 4930146897Skan 4931146897Skan * src/misc-inst.cc (_S_atomicity_lock): Move to __gnu_cxx. 4932146897Skan 4933146897Skan * config/os/irix/irix5.2/atomicity.h: Merge.. 4934146897Skan * config/os/irix/irix6.5/atomicity.h: Merge.. 4935146897Skan * config/os/irix/atomicity.h: ...into this. 4936146897Skan * config/os/irix/atomic_word.h: New. 4937146897Skan * configure.host: Set atomic_word_dir for irix. 4938146897Skan 4939146897Skan * hppa/atomicity.h: Change __Atomicity_lock to _Atomicity_lock. 4940146897Skan * i386/atomicity.h: Same. 4941146897Skan * m68k/atomicity.h: Same. 4942146897Skan * sparc/atomicity.h: Same. 4943146897Skan 4944146897Skan2004-02-27 David Edelsohn <edelsohn@gnu.org> 4945146897Skan 4946146897Skan * config/os/aix/atomicity.h: Use __gnu_cxx namespace. Remove 4947146897Skan static, and inline keywords. 4948146897Skan 4949146897Skan2004-02-27 Paolo Carlini <pcarlini@suse.de> 4950146897Skan 4951146897Skan * include/bits/locale_facets.tcc (num_get<>::_M_extract_float, 4952146897Skan num_get<>::_M_extract_int, money_get<>::_M_extract): If appropriate, 4953146897Skan call reserve on the __tmp_gruping string. 4954146897Skan (num_get<>::_M_extract_float): Don't append unnecessarily a 4955146897Skan char() to the returned string. 4956146897Skan * include/bits/locale_facets.tcc: Trivial reformattings. 4957146897Skan 4958146897Skan2004-02-27 Paolo Carlini <pcarlini@suse.de> 4959146897Skan 4960146897Skan * include/bits/locale_facets.h (money_get<>::_M_extract): 4961146897Skan Change signature: now takes a plain string&. 4962146897Skan * include/bits/locale_facets.tcc (money_get<>::_M_extract): 4963146897Skan Update consistently the definition; use the moneypunct cache 4964146897Skan to parse the value; use swap to change __units. 4965146897Skan (money_get<>::do_get(long double&)): Update call of _M_extract, 4966146897Skan avoid ctype::narrow, not correct wrt the standard. 4967146897Skan (money_get<>::do_get(string_type&)): Likewise, update call 4968146897Skan of _M_extract, use ctype::widen. 4969146897Skan * src/locale-inst.cc: Tweak instantiations of _M_extract. 4970146897Skan 4971146897Skan2004-02-26 Ian Lance Taylor <ian@wasabisystems.com> 4972146897Skan 4973146897Skan * testsuite/demangle/abi_examples/01.cc: Expect error -2. 4974146897Skan * testsuite/demangle/abi_examples/02.cc: Likewise. 4975146897Skan * testsuite/demangle/regression/cw-11.cc: Likewise. 4976146897Skan * testsuite/demangle/regression/cw-16.cc: Change two expected 4977146897Skan results to match libiberty demangler output. 4978146897Skan 4979146897Skan2004-02-26 Benjamin Kosnik <bkoz@redhat.com> 4980146897Skan 4981146897Skan PR libstdc++/10246 4982146897Skan * libsupc++/Makefile.am: Use libiberty demangler. 4983146897Skan (c_sources): Add cp-demangle.c. 4984146897Skan * libsupc++/Makefile.in: Regenerate. 4985146897Skan * src/Makefile.am (sources): Remove demangle.cc. 4986146897Skan * src/Makefile.in: Regenerate. 4987146897Skan * include/Makefile.am (bits_headers): Move demangle.h. 4988146897Skan (ext_headers): ...here. 4989146897Skan * include/Makefile.in: Regenerate. 4990146897Skan * include/bits/demangle.h: Move... 4991146897Skan * include/ext/demangle.h: ...here. 4992146897Skan * src/demangle.cc: Remove. 4993146897Skan 4994146897Skan2004-02-26 Benjamin Kosnik <bkoz@redhat.com> 4995146897Skan 4996146897Skan * include/bits/demangle.h: Add type template parameter to all 4997146897Skan templates with just an Allocator template parameter. 4998146897Skan 4999146897Skan2004-02-25 Benjamin Kosnik <bkoz@redhat.com> 5000146897Skan 5001146897Skan * include/bits/atomicity.h: New, forward declarations for __atomic_add 5002146897Skan and __exchange_and_add. 5003146897Skan * config/cpu/generic/atomic_word.h: New, typdef for atomic word. 5004146897Skan * config/cpu/cris/atomic_word.h: Same. 5005146897Skan * config/cpu/sparc/atomic_word.h: Same. 5006146897Skan * include/bits/ios_base.h (_Callback_list::_M_remove_reference): 5007146897Skan Qualifiy with __gnu_cxx. 5008146897Skan (_Callback_list::_M_add_reference): Same. 5009146897Skan * include/bits/locale_classes.h (locale::facet::_M_add_reference): Add. 5010146897Skan (locale::facet::_M_remove_reference): Same. 5011146897Skan (locale::_Impl::_M_add_reference): Add. 5012146897Skan (locale::_Impl::_M_remove_reference): Same. 5013146897Skan * include/bits/basic_string.h (basic_string::_Rep::_M_refcopy): Same. 5014146897Skan (basic_string::_Rep::_M_dispose): Same. 5015146897Skan * src/ios.cc (ios_base::xalloc): Same. 5016146897Skan * src/ios_init.cc (ios_base::Init::Init): Same. 5017146897Skan (ios_base::Init::~Init): Same. 5018146897Skan * src/locale.cc (locale::id::_M_id): Same. 5019146897Skan * config/cpu/i486/atomicity.h: Use __gnu_cxx namespace. Remove 5020146897Skan static, and inline keywords. 5021146897Skan * config/cpu/alpha/atomicity.h: Same. 5022146897Skan * config/cpu/cris/atomicity.h: Same. 5023146897Skan * config/cpu/generic/atomicity.h: Same. 5024146897Skan * config/cpu/hppa/atomicity.h: Same. 5025146897Skan * config/cpu/i386/atomicity.h: Same. 5026146897Skan * config/cpu/ia64/atomicity.h: Same. 5027146897Skan * config/cpu/m68k/atomicity.h: Same. 5028146897Skan * config/cpu/mips/atomicity.h: Same. 5029146897Skan * config/cpu/powerpc/atomicity.h: Same. 5030146897Skan * config/cpu/s390/atomicity.h: Same. 5031146897Skan * config/cpu/sparc/atomicity.h: Same. 5032146897Skan 5033146897Skan * src/Makefile.am (host_sources): Add atomicity.cc. 5034146897Skan (atomicity.cc): New rule. 5035146897Skan * src/Makefile.in: Regenerate. 5036146897Skan * include/Makefile.am (host_headers): Remove host atomicity.h. 5037146897Skan (host_headers): Add atomic_word.h. 5038146897Skan (bits_headers): Add bits atomicity.h. 5039146897Skan Change ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR. 5040146897Skan * include/Makefile.in: Regenerate. 5041146897Skan * configure.host (atomic_word_dir): Add. 5042146897Skan * configure.ac: Substitute ATOMIC_WORD_SRCDIR. Change 5043146897Skan ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR. 5044146897Skan * configure: Regenerate. 5045146897Skan * config/linker-map.gnu: Export __exchange_and_add, and __atomic_add. 5046146897Skan 5047146897Skan * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers. 5048146897Skan * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. 5049146897Skan 5050146897Skan2004-02-25 Jonathan Wakely <redi@gcc.gnu.org> 5051146897Skan 5052146897Skan * docs/html/20_util/howto.html, docs/html/20_util/allocator.html, 5053146897Skan docs/html/ext/howto.html, docs/html/ext/mt_allocator.html: 5054146897Skan Fix markup, more <link> tags. 5055146897Skan 5056146897Skan2004-02-25 Carlo Wood <carlo@alinoe.com> 5057146897Skan 5058146897Skan * bits/demangle.h 5059146897Skan namespace __gnu_cxx::demangler 5060146897Skan (session<Allocator>::qualifier_list_Allocator): Add 5061146897Skan (session<Allocator>::M_qualifier_list_alloc): Add 5062146897Skan (session<Allocator>::decode_type_with_postfix): 5063146897Skan Use M_qualifier_list_alloc instead of calling operator new/delete. 5064146897Skan 5065146897Skan2004-02-24 Paolo Carlini <pcarlini@suse.de> 5066146897Skan 5067146897Skan PR libstdc++/14252 5068146897Skan * include/bits/postypes.h (class streamoff): Add operator++(), 5069146897Skan operator++(int), operator--() and operator--(int). 5070146897Skan * testsuite/27_io/fpos/14252.cc: New. 5071146897Skan 5072146897Skan2004-02-24 Richard Sandiford <rsandifo@redhat.com> 5073146897Skan 5074146897Skan * include/bits/locale_facets.tcc (num_get::_M_extract_int): Fix bounds 5075146897Skan error in handling of hex constants. 5076146897Skan 5077146897Skan2004-02-24 Paolo Carlini <pcarlini@suse.de> 5078146897Skan 5079146897Skan * include/bits/locale_facets.tcc (money_put<>::_M_insert): 5080146897Skan Prefer basic_string::append to operator+= and a temporary. 5081146897Skan 5082146897Skan2004-02-23 Benjamin Kosnik <bkoz@redhat.com> 5083146897Skan 5084146897Skan * libsupc++/vterminate.cc (__gnu_cxx::__verbose_terminate_handler): 5085146897Skan Only use fputs, not write. 5086146897Skan 5087146897Skan2004-02-23 Benjamin Kosnik <bkoz@redhat.com> 5088146897Skan 5089146897Skan * include/ext/malloc_allocator.h: Add operators ==, !=. 5090146897Skan * include/ext/new_allocator.h: Add operators ==, !=. 5091146897Skan * include/ext/mt_allocator.h (__mt_alloc::tune): New. 5092146897Skan (__mt_alloc::_S_get_options): New. 5093146897Skan (__mt_alloc::_S_set_options): New. 5094146897Skan (__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key. 5095146897Skan (__mt_alloc::_S_no_of_bins): To _S_bin_size. 5096146897Skan Move functions out of line, simplify, format. 5097146897Skan * src/allocator.cc: Simplify explicit instantiations. 5098146897Skan * include/bits/allocator.h: Tweak. 5099146897Skan 5100146897Skan2004-02-22 Paolo Carlini <pcarlini@suse.de> 5101146897Skan 5102146897Skan * include/bits/locale_facets.tcc (money_put<>::_M_insert): 5103146897Skan Restructure formatting of value component, first dealing with 5104146897Skan the non-decimal digits; use reserve. 5105146897Skan 5106146897Skan2004-02-22 Paolo Carlini <pcarlini@suse.de> 5107146897Skan 5108146897Skan * include/bits/locale_facets.h (class money_get): Inherit 5109146897Skan from money_base too; tweak declaration of _M_extract, now 5110146897Skan parameterized on _Intl too. 5111146897Skan * include/bits/locale_facets.tcc (money_get<>::_M_extract): 5112146897Skan Update definition to use the cache; call reserve on __res to 5113146897Skan avoid multiple reallocations; fix parsing of sign component 5114146897Skan according to 22.2.6.1.2, p3. 5115146897Skan (money_get<>::do_get(long double&), 5116146897Skan money_get<>::do_get(string_type&)): Update calls of _M_extract. 5117146897Skan * src/locale-inst.cc: Add instantiations of 5118146897Skan money_get::_M_extract<false> and money_get::_M_extract<true>. 5119146897Skan * testsuite/22_locale/money_get/get/char/14.cc: New. 5120146897Skan * testsuite/22_locale/money_get/get/wchar_t/14.cc: Ditto. 5121146897Skan 5122146897Skan2004-02-21 Mark Mitchell <mark@codesourcery.com> 5123146897Skan 5124146897Skan * libsupc++/vterminate.cc 5125146897Skan (__gnu_cxx::__verbose_terminate_handler): Guard against recursive 5126146897Skan calls to terminate. 5127146897Skan * src/demangle.cc (__cxa_demangle): Wrap in try-catch block. 5128146897Skan 5129146897Skan * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do 5130146897Skan not set RLIMIT_AS on HP-UX. 5131146897Skan 5132146897Skan2004-02-21 Mark Mitchell <mark@codesourcery.com> 5133146897Skan 5134146897Skan * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do 5135146897Skan not set RLIMIT_AS on HP-UX. 5136146897Skan 5137146897Skan2004-02-21 Paolo Carlini <pcarlini@suse.de> 5138146897Skan 5139146897Skan * include/bits/locale_facets.h (class money_base): Add { _S_minus, 5140146897Skan _S_zero, _S_end } enum, _S_atoms. 5141146897Skan (struct __moneypunct_cache<>): Parameterize on _Intl too; add 5142146897Skan _M_grouping_size, _M_curr_symbol_size, _M_positive_sign_size, 5143146897Skan _M_negative_sign_size, _M_atoms; tweak constructor consistently. 5144146897Skan (__moneypunct_cache<>::~__moneypunct_cache): Update. 5145146897Skan (__moneypunct_cache<>::_M_cache): Fill the cache. 5146146897Skan (class moneypunct): Tweak __cache_type typedef. 5147146897Skan (class money_put): Inherit from money_base too; tweak declaration 5148146897Skan of _M_insert, now parameterized on _Intl. 5149146897Skan * include/bits/locale_facets.tcc 5150146897Skan (struct __use_cache<__moneypunct_cache<_CharT, _Intl> >): New. 5151146897Skan (money_put<>::_M_insert): Update definition to use the cache; 5152146897Skan call reserve on __res to avoid multiple reallocations. 5153146897Skan (money_put<>::do_put(long double), 5154146897Skan money_put<>::do_put(const string_type&): Update calls of _M_insert. 5155146897Skan * config/locale/generic/monetary_members.cc 5156146897Skan (moneypunct<char, true>::_M_initialize_moneypunct, 5157146897Skan moneypunct<char, false>::_M_initialize_moneypunct, 5158146897Skan moneypunct<wchar_t, true>::_M_initialize_moneypunct, 5159146897Skan moneypunct<wchar_t, false>::_M_initialize_moneypunct): Update. 5160146897Skan * config/locale/gnu/monetary_members.cc: Likewise. 5161146897Skan * config/locale/gnu/monetary_members.cc 5162146897Skan (moneypunct<wchar_t, true>::~moneypunct(), 5163146897Skan moneypunct<wchar_t, false>::~moneypunct()): Likewise. 5164146897Skan * src/globals_locale.cc: Tweak fake_money_cache_c. 5165146897Skan * src/locale-inst.cc: Add instantiations for 5166146897Skan money_put::_M_insert<false> and money_put::_M_insert<true> and 5167146897Skan __moneypunct_cache<C, false>, __moneypunct_cache<C, true>. 5168146897Skan * src/locale_facets.cc: Define money_base::_S_atoms. 5169146897Skan * src/locale_init.cc: Update placement new of 5170146897Skan __moneypunct_cache<char, false>, __moneypunct_cache<char, true>, 5171146897Skan __moneypunct_cache<wchar_t, false>, __moneypunct_cache<wchar_T, true>. 5172146897Skan 5173146897Skan * config/locale/generic/numeric_members.cc: Clean up. 5174146897Skan * config/locale/gnu/numeric_members.cc: Likewise. 5175146897Skan * testsuite/22_locale/money_put/put/char/1.cc: Likewise. 5176146897Skan * testsuite/22_locale/money_put/put/char/2.cc: Likewise. 5177146897Skan * testsuite/22_locale/money_put/put/char/3.cc: Likewise. 5178146897Skan * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise. 5179146897Skan * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise. 5180146897Skan * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise. 5181146897Skan 5182146897Skan2004-02-20 Mark Mitchell <mark@codesourcery.com> 5183146897Skan 5184146897Skan * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Open 5185146897Skan FIFO for writing with ios_base::in|ios_base::out. 5186146897Skan * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. 5187146897Skan * testsuite/27_io/objects/char/7.cc: Likewise. 5188146897Skan * testsuite/27_io/objects/char/9661-1.cc: Open FIFO for writing 5189146897Skan with "r+". 5190146897Skan 5191146897Skan2004-02-19 David Edelsohn <edelsohn@gnu.org> 5192146897Skan 5193146897Skan * 22_locale/collate/compare/wchar_t/2.cc: Change input-charset 5194146897Skan from iso-8859-1 to ISO8859-1. 5195146897Skan * 22_locale/collate/compare/wchar_t/wrapped_env.cc: Same. 5196146897Skan * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: Same. 5197146897Skan * 22_locale/collate/hash/wchar_t/2.cc: Same. 5198146897Skan * 22_locale/collate/hash/wchar_t/wrapped_env.cc: Same. 5199146897Skan * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: Same. 5200146897Skan * 22_locale/collate/transform/wchar_t/2.cc: Same. 5201146897Skan * 22_locale/collate/transform/wchar_t/wrapped_env.cc: Same. 5202146897Skan * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: Same. 5203146897Skan 5204146897Skan2004-02-18 Paolo Carlini <pcarlini@suse.de> 5205146897Skan 5206146897Skan * include/bits/locale_facets.h (money_get<>::_M_extract): 5207146897Skan New, helper for do_get. 5208146897Skan (money_put<>::_M_insert): Likewise, for do_put. 5209146897Skan * include/bits/locale_facets.tcc (money_get<>::_M_extract, 5210146897Skan money_put<>::_M_insert): Define. 5211146897Skan (money_get<>::do_get(long double&), money_get<>::do_get( 5212146897Skan string_type&), money_put::do_put(long double), 5213146897Skan money_put::do_put(const string_type&)): Use the helpers. 5214146897Skan 5215146897Skan2004-02-18 Paolo Carlini <pcarlini@suse.de> 5216146897Skan 5217146897Skan * config/io/basic_file_stdio.cc (__gnu_internal::xwritev): 5218146897Skan Rewrite, avoiding recursion. 5219146897Skan (__gnu_internal::xwrite): Minor tweaks. 5220146897Skan 5221146897Skan2004-02-17 Stefan Olsson <stefan@xapa.se> 5222146897Skan 5223146897Skan * include/ext/mt_allocator.h: Removed the last 5224146897Skan pointer. Deallocated blocks are now added to the front of 5225146897Skan freelists as proposed by Felix Yen. This gives roughly 10% 5226146897Skan performance boost and saves some memory. 5227146897Skan * docs/html/ext/mt_allocator.html: Change due to that deallocated 5228146897Skan blocks now are added to the front of freelists. The reason to this 5229146897Skan approach is also explained. 5230146897Skan 5231146897Skan2004-02-17 Paolo Carlini <pcarlini@suse.de> 5232146897Skan 5233146897Skan * include/bits/locale_facets.tcc (num_get<>::_M_extract_float, 5234146897Skan num_get<>::_M_extract_int, money_get<>::do_get): Simplify 5235146897Skan grouping fidelity conditional. 5236146897Skan 5237146897Skan2004-02-16 Paolo Carlini <pcarlini@suse.de> 5238146897Skan 5239146897Skan * testsuite/27_io/basic_filebuf/overflow/char/13858.cc: 5240146897Skan Qualify exception with std::. 5241146897Skan * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Ditto. 5242146897Skan * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto. 5243146897Skan * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto. 5244146897Skan * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto. 5245146897Skan * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto. 5246146897Skan 5247146897Skan2004-02-16 Paolo Carlini <pcarlini@suse.de> 5248146897Skan 5249146897Skan * testsuite/ext/enc_filebuf/char/13189.cc: Don't check 5250146897Skan for now that the catch block is not reached. 5251146897Skan * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise. 5252146897Skan 5253146897Skan2004-02-16 Paolo Carlini <pcarlini@suse.de> 5254146897Skan 5255146897Skan * include/bits/locale_facets.tcc (money_get::do_get(string_type&)): 5256146897Skan Fix parsing of the remaining sign characters. 5257146897Skan * 22_locale/money_get/get/char/2.cc: Tweak: now, correctly, 5258146897Skan the input is scanned 'til eof. 5259146897Skan * 22_locale/money_get/get/char/4.cc: Likewise. 5260146897Skan * 22_locale/money_get/get/wchar_t/2.cc: Likewise. 5261146897Skan * 22_locale/money_get/get/wchar_t/4.cc: Likewise. 5262146897Skan * 22_locale/money_get/get/char/8.cc: Tweak: override do_neg_format, 5263146897Skan not do_pos_format: the former is the only one that matters during 5264146897Skan input. 5265146897Skan * 22_locale/money_get/get/wchar_t/8.cc: Likewise. 5266146897Skan 5267146897Skan * 22_locale/money_get/get/char/6.cc: Minor tweak. 5268146897Skan * 22_locale/money_get/get/wchar_t/6.cc: Likewise. 5269146897Skan 5270146897Skan2004-02-15 David Asher <david.asher@cavium.com> 5271146897Skan 5272146897Skan PR libstdc++/11352 5273146897Skan * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't 5274146897Skan access __olds beyond __oldlen. 5275146897Skan 5276146897Skan2004-02-14 Paolo Carlini <pcarlini@suse.de> 5277146897Skan 5278146897Skan * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Make 5279146897Skan sure the exception is actually thrown. 5280146897Skan * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto. 5281146897Skan * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto. 5282146897Skan * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto. 5283146897Skan 5284146897Skan2004-02-14 Paolo Carlini <pcarlini@suse.de> 5285146897Skan 5286146897Skan PR libstdc++/13858 5287146897Skan * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external): 5288146897Skan In case of conversion errors, throw ios_failure; simplify. 5289146897Skan * testsuite/27_io/basic_filebuf/overflow/char/13858.cc: New. 5290146897Skan * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto. 5291146897Skan * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Tweak, 5292146897Skan previously we didn't throw in case of conversion errors, instead 5293146897Skan just returned eof(). 5294146897Skan * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto. 5295146897Skan * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto. 5296146897Skan * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto. 5297146897Skan 5298146897Skan * include/bits/fstream.tcc (basic_filebuf<>::overflow): 5299146897Skan Trivial simplification of a conditional. 5300146897Skan 5301146897Skan2004-02-12 Paolo Carlini <pcarlini@suse.de> 5302146897Skan 5303146897Skan PR libstdc++/13731 (final part: writev) 5304146897Skan * config/io/basic_file_stdio.cc (__gnu_internal::xwritev): 5305146897Skan New, a wrapper around writev() handling partial writes. 5306146897Skan (__basic_file<char>::xwrite): Move to __gnu_internal and make 5307146897Skan static. 5308146897Skan (__basic_file<char>::xsputn): Update call. 5309146897Skan (__basic_file<char>::xsputn_2): Likewise. 5310146897Skan * config/io/basic_file_stdio.h (__basic_file<char>::xwrite): 5311146897Skan Don't declare, now static. 5312146897Skan 5313146897Skan2004-02-11 Stefan Olsson <stefan@xapa.se> 5314146897Skan 5315146897Skan * docs/html/ext/mt_allocator.html: New. 5316146897Skan 5317146897Skan2004-02-11 Benjamin Kosnik <bkoz@redhat.com> 5318146897Skan 5319146897Skan * docs/html/20_util/allocator.html: New file, consolidate 5320146897Skan allocator information here. Revamp. 5321146897Skan * docs/html/documentation.html: Change links. 5322146897Skan * docs/html/20_util/howto.html: Same. 5323146897Skan * docs/html/ext/howto.html: Same. 5324146897Skan 5325146897Skan2004-02-11 Paolo Carlini <pcarlini@suse.de> 5326146897Skan 5327146897Skan PR libstdc++/13731 (first part: write) 5328146897Skan * config/io/basic_file_stdio.h (__basic_file<char>::xwrite): 5329146897Skan New, declare. 5330146897Skan * config/io/basic_file_stdio.cc (__basic_file<char>::xwrite): 5331146897Skan Define it: a wrapper around write() handling partial write. 5332146897Skan (__basic_file<char>::xsputn): Use it. 5333146897Skan (__basic_file<char>::xsputn_2): Likewise. 5334146897Skan 5335146897Skan2004-02-11 Paolo Carlini <pcarlini@suse.de> 5336146897Skan Petur Runolfsson <peturr02@ru.is> 5337146897Skan 5338146897Skan PR libstdc++/14078 5339146897Skan * include/std/std_istream.h (operator>>(__istream_type& (*) 5340146897Skan (__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)), 5341146897Skan operator>>(ios_base& (*)(ios_base&))): Declare inline. 5342146897Skan * include/std/std_ostream.h (operator<<(__ostream_type& (*) 5343146897Skan (__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)), 5344146897Skan operator<<(ios_base& (*) (ios_base&))): Likewise. 5345146897Skan * testsuite/performance/27_io/fmtflags_manipulators.cc: New. 5346146897Skan 5347146897Skan2004-02-10 Loren J. Rittle <ljrittle@acm.org> 5348146897Skan 5349146897Skan PR libstdc++/14098 5350146897Skan * config/linker-map.gnu: Add typeinfo and typeinfo name for 5351146897Skan __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >. 5352146897Skan 5353146897Skan PR libstdc++/14097 5354146897Skan * config/linker-map.gnu: Add typeinfo and typeinfo name for 5355146897Skan __gnu_cxx::stdio_filebuf<char, std::char_traits<char> >. 5356146897Skan 5357146897Skan2004-02-09 Loren J. Rittle <ljrittle@acm.org> 5358146897Skan 5359146897Skan * include/ext/pool_allocator.h: Include c++config.h. 5360146897Skan 5361146897Skan2004-02-09 Stefan Olsson <stefan@xapa.se> 5362146897Skan 5363146897Skan * include/ext/mt_allocator.h: thread_id is unused in non threaded 5364146897Skan applications and now has a ifdef to remove it completely on 5365146897Skan compilers without thread support. Include stdlib.h due to a 5366146897Skan compiler warning on getenv(). 5367146897Skan 5368146897Skan2004-02-09 Paul Brook <paul@codesourcery.com> 5369146897Skan 5370146897Skan * libstdc++-v3/configure.host: Explicitly check for atomicity.h file. 5371146897Skan 5372146897Skan2004-02-09 Paolo Carlini <pcarlini@suse.de> 5373146897Skan 5374146897Skan PR libstdc++/14071 5375146897Skan * src/locale_init.cc (locale::global(const locale&)): Use 5376146897Skan locale::name() in order to decide whether calling setlocale. 5377146897Skan * testsuite/22_locale/locale/global_locale_objects/14071.cc: New. 5378146897Skan 5379146897Skan * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name()): 5380146897Skan Avoid computing &= unnecessarily. 5381146897Skan 5382146897Skan2004-02-09 James E Wilson <wilson@specifixinc.com> 5383146897Skan 5384146897Skan PR libstdc++/5625 5385146897Skan * libsuspc++/eh_personality.cc (PERSONALITY_FUNCTION): Use 5386146897Skan __builtin_extend_pointer. 5387146897Skan 5388146897Skan2004-02-09 Paolo Carlini <pcarlini@suse.de> 5389146897Skan 5390146897Skan PR libstdc++/14072 5391146897Skan * include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale): 5392146897Skan Don't leave dangling pointers. 5393146897Skan * testsuite/27_io/basic_ios/imbue/14072.cc: New. 5394146897Skan * testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put 5395146897Skan facet is needed in the final test. 5396146897Skan 5397146897Skan2004-02-09 Bernardo Innocenti <bernie@develer.com> 5398146897Skan 5399146897Skan * crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*. 5400146897Skan * configure: Regenerate. 5401146897Skan 5402146897Skan2004-02-08 Richard Henderson <rth@redhat.com> 5403146897Skan 5404146897Skan PR libstdc++/14026 5405146897Skan * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust 5406146897Skan uncaughtExceptions during nested catch rethrow. 5407146897Skan * testsuite/18_support/14026.cc: New. 5408146897Skan 5409146897Skan2004-02-08 Paolo Carlini <pcarlini@suse.de> 5410146897Skan 5411146897Skan * include/bits/basic_string.tcc (assign(const _CharT*, size_type)): 5412146897Skan When working in place remember to set the state to sharable 5413146897Skan (otherwise, _M_mutate does it). 5414146897Skan 5415146897Skan2004-02-08 Bernardo Innocenti <bernie@develer.com> 5416146897Skan 5417146897Skan * include/bits/allocator.h, include/bits/basic_ios.h, 5418146897Skan include/bits/basic_ios.tcc, include/bits/basic_string.h, 5419146897Skan include/bits/basic_string.tcc, include/bits/boost_concept_check.h, 5420146897Skan include/bits/char_traits.h, include/bits/codecvt.h, 5421146897Skan include/bits/concurrence.h, include/bits/cpp_type_traits.h, 5422146897Skan include/bits/demangle.h, include/bits/deque.tcc, 5423146897Skan include/bits/fstream.tcc, include/bits/functexcept.h, 5424146897Skan include/bits/gslice.h, include/bits/gslice_array.h, 5425146897Skan include/bits/indirect_array.h, include/bits/ios_base.h, 5426146897Skan include/bits/istream.tcc, include/bits/list.tcc, 5427146897Skan include/bits/locale_classes.h, include/bits/locale_facets.h, 5428146897Skan include/bits/locale_facets.tcc, include/bits/localefwd.h, 5429146897Skan include/bits/mask_array.h, include/bits/ostream.tcc, 5430146897Skan include/bits/postypes.h, include/bits/slice_array.h, 5431146897Skan include/bits/sstream.tcc, include/bits/stl_algo.h, 5432146897Skan include/bits/stl_algobase.h, include/bits/stl_bvector.h, 5433146897Skan include/bits/stl_construct.h, include/bits/stl_deque.h, 5434146897Skan include/bits/stl_function.h, include/bits/stl_heap.h, 5435146897Skan include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h, 5436146897Skan include/bits/stl_list.h, include/bits/stl_map.h, 5437146897Skan include/bits/stl_multimap.h, include/bits/stl_multiset.h, 5438146897Skan include/bits/stl_numeric.h, include/bits/stl_pair.h, 5439146897Skan include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h, 5440146897Skan include/bits/stl_relops.h, include/bits/stl_set.h, 5441146897Skan include/bits/stl_stack.h, include/bits/stl_tempbuf.h, 5442146897Skan include/bits/stl_threads.h, include/bits/stl_tree.h, 5443146897Skan include/bits/stl_uninitialized.h, include/bits/stl_vector.h, 5444146897Skan include/bits/stream_iterator.h, include/bits/streambuf.tcc, 5445146897Skan include/bits/streambuf_iterator.h,include/bits/stringfwd.h, 5446146897Skan include/bits/type_traits.h, include/bits/valarray_after.h, 5447146897Skan include/bits/valarray_array.h, include/bits/valarray_array.tcc, 5448146897Skan include/bits/valarray_before.h, include/bits/vector.tcc: Remove 5449146897Skan trailing whitespace. 5450146897Skan 5451146897Skan2004-02-06 Paolo Carlini <pcarlini@suse.de> 5452146897Skan 5453146897Skan * include/bits/basic_string.h: Fix comment. 5454146897Skan 5455146897Skan2004-02-06 Paolo Carlini <pcarlini@suse.de> 5456146897Skan 5457146897Skan * include/bits/stl_construct.h: Wrap overlong lines, reformat 5458146897Skan according to the coding standards. 5459146897Skan * include/bits/stl_pair.h: Likewise. 5460146897Skan * include/bits/stl_raw_storage_iter.h: Likewise. 5461146897Skan * include/bits/stl_stack.h: Likewise. 5462146897Skan * include/bits/stl_uninitialized.h: Likewise. 5463146897Skan * include/bits/stream_iterator.h: Likewise. 5464146897Skan * include/bits/streambuf_iterator.h: Likewise. 5465146897Skan * include/bits/type_traits.h: Likewise. 5466146897Skan 5467146897Skan2004-02-06 Paolo Carlini <pcarlini@suse.de> 5468146897Skan 5469146897Skan * testsuite/27_io/basic_filebuf/open/char/9507.cc: 5470146897Skan Adjust timings. 5471146897Skan 5472146897Skan2004-02-05 Loren J. Rittle <ljrittle@acm.org> 5473146897Skan 5474146897Skan * scripts/check_performance: Support PCH. 5475146897Skan 5476146897Skan * scripts/check_performance (CXX): Add -DNOTHREAD. 5477146897Skan * testsuite/performance/20_util/allocator/insert.cc: Integrate 5478146897Skan threaded tests from insert_insert.cc. Tweak iterations, 5479146897Skan remove special cases. 5480146897Skan * testsuite/performance/20_util/allocator/insert_insert.cc: 5481146897Skan Make all tests single-threaded. Tweak iterations. 5482146897Skan * testsuite/performance/20_util/allocator/map_thread.cc: 5483146897Skan Tweak iterations. 5484146897Skan * testsuite/performance/20_util/allocator/producer_consumer.cc: 5485146897Skan Likewise. 5486146897Skan 5487146897Skan2004-02-05 Geoffrey Keating <geoffk@apple.com> 5488146897Skan 5489146897Skan PR 12179 5490146897Skan * .cvsignore: New. 5491146897Skan * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not 5492146897Skan 'gcc-lib'. Add comment about poorly-named variables. 5493146897Skan * aclocal.m4: Regenerate. 5494146897Skan * configure: Regenerate. 5495146897Skan 5496146897Skan2004-02-05 Paolo Carlini <pcarlini@suse.de> 5497146897Skan 5498146897Skan * include/bits/locale_facets.tcc (money_get::do_get(string_type&)): 5499146897Skan Thousands-sep are always optional; thousands-sep are not allowed 5500146897Skan after the decimal_point. 5501146897Skan * testsuite/22_locale/money_get/get/char/12.cc: New. 5502146897Skan * testsuite/22_locale/money_get/get/char/13.cc: New. 5503146897Skan * testsuite/22_locale/money_get/get/wchar_t/12.cc: New. 5504146897Skan * testsuite/22_locale/money_get/get/wchar_t/13.cc: New. 5505146897Skan 5506146897Skan * testsuite/22_locale/money_get/get/char/1.cc: Clean-up. 5507146897Skan * testsuite/22_locale/money_get/get/char/2.cc: Likewise. 5508146897Skan * testsuite/22_locale/money_get/get/char/3.cc: Likewise. 5509146897Skan * testsuite/22_locale/money_get/get/char/4.cc: Likewise. 5510146897Skan * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise. 5511146897Skan * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise. 5512146897Skan * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise. 5513146897Skan * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise. 5514146897Skan 5515146897Skan * testsuite/22_locale/money_get/get/char/9.cc: Fix citation from 5516146897Skan the standard. 5517146897Skan * testsuite/22_locale/money_get/get/wchar_t/9.cc: Likewise. 5518146897Skan 5519146897Skan2004-02-05 Richard Sandiford <rsandifo@redhat.com> 5520146897Skan 5521146897Skan * config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T): 5522146897Skan Define. 5523146897Skan * config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use 5524146897Skan it to decide whether FIONREAD should take an off_t or int argument. 5525146897Skan 5526146897Skan2004-02-05 Paolo Carlini <pcarlini@suse.de> 5527146897Skan 5528146897Skan * include/bits/stl_function.h: Minor formatting changes. 5529146897Skan 5530146897Skan2004-02-04 Zack Weinberg <zack@codesourcery.com> 5531146897Skan 5532146897Skan Revert previous change to config/abi/*/baseline_symbols.txt. 5533146897Skan 5534146897Skan2004-02-04 Benjamin Kosnik <bkoz@redhat.com> 5535146897Skan Zack Weinberg <zack@codesourcery.com> 5536146897Skan 5537146897Skan * config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode): 5538146897Skan New function. 5539146897Skan (__basic_file<char>::sys_open, __basic_file<char>::open): Use it. 5540146897Skan (__basic_file<char>::_M_open_mode): Delete. 5541146897Skan * config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode. 5542146897Skan 5543146897Skan * testsuite/27_io/basic_filebuf/close/char/9964.cc 5544146897Skan * testsuite/27_io/basic_filebuf/open/char/9507.cc: 5545146897Skan Correct flags to filebuf::open calls. 5546146897Skan 5547146897Skan * config/abi/alpha-freebsd5/baseline_symbols.txt 5548146897Skan * config/abi/alpha-linux-gnu/baseline_symbols.txt 5549146897Skan * config/abi/hppa-linux-gnu/baseline_symbols.txt 5550146897Skan * config/abi/i386-freebsd4/baseline_symbols.txt 5551146897Skan * config/abi/i386-freebsd5/baseline_symbols.txt 5552146897Skan * config/abi/i486-linux-gnu/baseline_symbols.txt 5553146897Skan * config/abi/ia64-linux-gnu/baseline_symbols.txt 5554146897Skan * config/abi/mips-linux-gnu/baseline_symbols.txt 5555146897Skan * config/abi/sparc-freebsd5/baseline_symbols.txt 5556146897Skan * config/abi/sparc-linux-gnu/baseline_symbols.txt 5557146897Skan * config/abi/x86_64-linux-gnu/baseline_symbols.txt: 5558146897Skan Remove entry for __basic_file<char>::_M_open_mode. 5559146897Skan 5560146897Skan2004-02-04 Loren J. Rittle <ljrittle@acm.org> 5561146897Skan 5562146897Skan * testsuite/performance/20_util/allocator/insert.cc (main): Tweak. 5563146897Skan 5564146897Skan2004-02-04 Felix Yen <fwy@alumni.brown.edu> 5565146897Skan 5566146897Skan * testsuite/performance/20_util/producer_consumer.cc: New. 5567146897Skan * testsuite/performance/20_util/allocator/insert_insert.cc: Two loops. 5568146897Skan 5569146897Skan2004-02-04 Benjamin Kosnik <bkoz@redhat.com> 5570146897Skan 5571146897Skan * testsuite/performance/20_util/allocator.cc: Move to.. 5572146897Skan * testsuite/performance/20_util/allocator/insert.cc: ...here. 5573146897Skan * testsuite/performance/20_util/allocator_thread.cc: Move to... 5574146897Skan * testsuite/performance/20_util/allocator/insert_insert.cc: ...here. 5575146897Skan * testsuite/performance/20_util/allocator_map_thread.cc: Move to... 5576146897Skan * testsuite/performance/20_util/allocator/map_thread.cc: ...here. 5577146897Skan 5578146897Skan2004-02-04 Jonathan Wakely <redi@gcc.gnu.org> 5579146897Skan 5580146897Skan * docs/html/faq/index.html: Recommend using LD_LIBRARY_PATH. 5581146897Skan * docs/html/faq/index.txt: Regenerate. 5582146897Skan 5583146897Skan2004-02-04 Dhruv Matani <dhruvbird@gmx.net> 5584146897Skan 5585146897Skan * include/ext/debug_allocator.h: _M_extra now stands for the 5586146897Skan number of extra objects instead of the number of extra bytes. 5587146897Skan (debug_allocator::allocate): Adjust. 5588146897Skan (debug_allocator::deallocate): Adjust. 5589146897Skan 5590146897Skan * include/ext/pool_allocator.h: Fix typo. 5591146897Skan 5592146897Skan2004-02-03 Felix Yen <fwy@alumni.brown.edu> 5593146897Skan Benjamin Kosnik <bkoz@redhat.com> 5594146897Skan 5595146897Skan * testsuite/performance/20_util/allocator.cc: Add map, 5596146897Skan deque, set tests. 5597146897Skan * testsuite/performance/20_util/allocator_thread.cc: Same. 5598146897Skan 5599146897Skan2004-02-03 Paolo Carlini <pcarlini@suse.de> 5600146897Skan 5601146897Skan * include/bits/basic_string.h (insert(iterator)): Remove, 5602146897Skan non-standard and already scheduled for removal. 5603146897Skan 5604146897Skan2004-02-03 Paolo Carlini <pcarlini@suse.de> 5605146897Skan 5606146897Skan * include/bits/stl_iterator_base_funcs.h: Minor formatting 5607146897Skan and indentation tweaks. 5608146897Skan * include/bits/stl_iterator_base_types.h: Likewise. 5609146897Skan * include/bits/stl_list.h: Likewise. 5610146897Skan * include/bits/stl_map.h: Likewise. 5611146897Skan * include/bits/stl_tempbuf.h: Likewise. 5612146897Skan 5613146897Skan2004-02-02 Jerry Quinn <jlquinn@optonline.net> 5614146897Skan 5615146897Skan * include/bits/gslice.h, include/bits/gslice_array.h, 5616146897Skan include/bits/indirect_array.h, include/bits/mask_array.h, 5617146897Skan include/bits/slice_array.h, include/bits/stl_numeric.h, 5618146897Skan include/std/std_valarray.h: Update copyright years. 5619146897Skan 5620146897Skan2004-02-02 Jerry Quinn <jlquinn@optonline.net> 5621146897Skan 5622146897Skan * include/bits/gslice.h (gslice): Document. 5623146897Skan * include/bits/gslice_array.h (gslice_array): Document. 5624146897Skan * include/bits/indirect_array (indirect_array): Document. 5625146897Skan * include/bits/mask_array (mask_array): Document. 5626146897Skan * include/bits/slice_array.h (slice,slice_array): Document. 5627146897Skan * include/bits/stl_numeric.h (accumulate, inner_product, partial_sum, 5628146897Skan adjacent_difference): Document 5629146897Skan * include/std/std_valarray.h (valarray): Document. 5630146897Skan 5631146897Skan2004-02-02 Benjamin Kosnik <bkoz@redhat.com> 5632146897Skan 5633146897Skan * docs/html/19_diagnostics/howto.html: Move verbose terminate 5634146897Skan documentation... 5635146897Skan * docs/html/18_support/howto.html: Here. 5636146897Skan * docs/html/documentation.html: Add reference here. 5637146897Skan 5638146897Skan2004-02-02 Paolo Carlini <pcarlini@suse.de> 5639146897Skan 5640146897Skan * config/locale/gnu/c++locale_internal.h: Remove prototypes 5641146897Skan of no longer used GLIBC thread locale functions. 5642146897Skan 5643146897Skan2004-02-02 Eric Christopher <echristo@redhat.com> 5644146897Skan Zack Weinberg <zack@codesourcery.com> 5645146897Skan 5646146897Skan * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use 5647146897Skan -finput-charset. 5648146897Skan * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto. 5649146897Skan * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto 5650146897Skan * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto. 5651146897Skan * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto. 5652146897Skan * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto. 5653146897Skan * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto. 5654146897Skan * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto. 5655146897Skan * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: 5656146897Skan Ditto. 5657146897Skan 5658146897Skan2004-02-02 Paolo Carlini <pcarlini@suse.de> 5659146897Skan 5660146897Skan * include/bits/stl_function.h: Additional minor tweaks. 5661146897Skan * include/bits/stl_multiset.h: Likewise. 5662146897Skan 5663146897Skan * include/bits/stl_queue.h: Minor tweaks. 5664146897Skan 5665146897Skan2004-02-02 Paolo Carlini <pcarlini@suse.de> 5666146897Skan 5667146897Skan PR libstdc++/13976 (continued) 5668146897Skan * include/ext/malloc_allocator.h (malloc_allocator::deallocate): 5669146897Skan Make the second parameter unnamed, to void unused parameter 5670146897Skan warnings. 5671146897Skan * include/ext/new_allocator.h (new_allocator::deallocate): Ditto. 5672146897Skan 5673146897Skan2004-02-02 Paolo Carlini <pcarlini@suse.de> 5674146897Skan 5675146897Skan PR libstdc++/13976 5676146897Skan * include/ext/malloc_allocator.h (malloc_allocator::allocate): 5677146897Skan Make the second parameter unnamed, to void unused parameter 5678146897Skan warnings. 5679146897Skan * include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto. 5680146897Skan * include/ext/new_allocator.h (new_allocator::allocate): Ditto. 5681146897Skan 5682146897Skan2004-02-01 Paolo Carlini <pcarlini@suse.de> 5683146897Skan 5684146897Skan * include/bits/stl_algo.h: Additional minor tweaks. 5685146897Skan * include/bits/stl_map.h: Likewise. 5686146897Skan * include/bits/stl_multimap.h: Likewise. 5687146897Skan * include/bits/stl_multiset.h: Likewise. 5688146897Skan * include/bits/stl_set.h: Likewise. 5689146897Skan * include/bits/stl_tree.h: Likewise. 5690146897Skan 5691146897Skan2004-02-01 Paolo Carlini <pcarlini@suse.de> 5692146897Skan 5693146897Skan * include/bits/vector.tcc (vector::_M_insert_aux(iterator)): 5694146897Skan Remove, unused. 5695146897Skan 5696146897Skan2004-02-01 Paolo Carlini <pcarlini@suse.de> 5697146897Skan 5698146897Skan * include/bits/stl_function.h: Additional minor tweaks. 5699146897Skan 5700146897Skan2004-02-01 Paolo Carlini <pcarlini@suse.de> 5701146897Skan 5702146897Skan * include/bits/deque.tcc: Wrap overlong lines, constify 5703146897Skan a few variables, reformat according to the coding standards. 5704146897Skan * include/bits/list.tcc: Likewise. 5705146897Skan * include/bits/stl_deque.h: Likewise. 5706146897Skan * include/bits/stl_function.h: Likewise. 5707146897Skan * include/bits/stl_iterator.h: Likewise. 5708146897Skan * include/bits/stl_iterator_base_funcs.h: Likewise. 5709146897Skan * include/bits/stl_iterator_base_types.h: Likewise. 5710146897Skan * include/bits/stl_list.h: Likewise. 5711146897Skan * include/bits/stl_map.h: Likewise. 5712146897Skan * include/bits/stl_multimap.h: Likewise. 5713146897Skan * include/bits/stl_multiset.h: Likewise. 5714146897Skan * include/bits/stl_relops.h: Likewise. 5715146897Skan * include/bits/stl_set.h: Likewise. 5716146897Skan 5717146897Skan2004-02-01 Paolo Carlini <pcarlini@suse.de> 5718146897Skan 5719146897Skan * include/bits/stl_bvector.h: Wrap overlong lines, constify 5720146897Skan a few variables, reformat according to the coding standards. 5721146897Skan * include/bits/stl_tree.h: Likewise. 5722146897Skan 5723146897Skan2004-01-31 Paolo Carlini <pcarlini@suse.de> 5724146897Skan 5725146897Skan * include/bits/stl_algo.h: Minor additional reformat, add 5726146897Skan copyright year. 5727146897Skan * include/bits/stl_algobase.h: Add copyright year. 5728146897Skan 5729146897Skan2004-01-31 Paolo Carlini <pcarlini@suse.de> 5730146897Skan 5731146897Skan * include/bits/stl_algo.h: Wrap overlong lines, constify 5732146897Skan a few variables, reformat according to the coding standards. 5733146897Skan * include/bits/stl_algobase.h: Likewise. 5734146897Skan * include/bits/stl_heap.h: Likewise. 5735146897Skan 5736146897Skan2004-01-31 Paolo Carlini <pcarlini@suse.de> 5737146897Skan 5738146897Skan * include/bits/basic_string.h (_Rep::operator[]): Remove, unused. 5739146897Skan 5740146897Skan * include/bits/basic_string.h: Fix two comments. 5741146897Skan 5742146897Skan2004-01-31 Per Bothner <per@bothner.com> 5743146897Skan 5744146897Skan * include/ext/mt_allocator.h 5745146897Skan (__mt_alloc::_S_thread_freelist_mutex): Guard with 5746146897Skan __GTHREAD_MUTEX_INIT. 5747146897Skan 5748146897Skan2004-01-31 Paolo Carlini <pcarlini@suse.de> 5749146897Skan 5750146897Skan * include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak. 5751146897Skan 5752146897Skan2004-01-30 Paolo Carlini <pcarlini@suse.de> 5753146897Skan 5754146897Skan * testsuite/21_strings/basic_string/cons/char/6.cc: New. 5755146897Skan * testsuite/21_strings/basic_string/cons/wchar_t/6.cc: New. 5756146897Skan * testsuite/performance/21_strings/string_cons_input_iterator.cc: New. 5757146897Skan 5758146897Skan2004-01-30 Felix Yen <fwy@alumni.brown.edu> 5759146897Skan 5760146897Skan * testsuite/performance/20_util/allocator_thread.cc (do_loop): 5761146897Skan Don't use clear, but instead assign. Use insert. 5762146897Skan 5763146897Skan2004-01-30 Benjamin Kosnik <bkoz@redhat.com> 5764146897Skan 5765146897Skan * src/demangle.cc: Add instantiations. 5766146897Skan * src/Makefile.am: Remove special rules for demangle.lo, demangle.o. 5767146897Skan * src/Makefile.in: Regenerate. 5768146897Skan 5769146897Skan2004-01-30 David Edelsohn <edelsohn@gnu.org> 5770146897Skan 5771146897Skan * src/allocator.cc: Protect _S_get_thread_id() and 5772146897Skan _S_thread_key_destr() with #ifdef __GTHREADS. 5773146897Skan 5774146897Skan2004-01-30 Paolo Carlini <pcarlini@suse.de> 5775146897Skan 5776146897Skan Reshuffle performance testsuite. 5777146897Skan * testsuite/performance/allocator.cc, allocator_map_thread.cc, 5778146897Skan allocator_thread.cc, complex_norm.cc, container_benchmark.cc, 5779146897Skan cout_insert_int.cc, filebuf_copy.cc, filebuf_sputc.cc, 5780146897Skan fstream_seek_write.cc, ifstream_extract_float.cc, 5781146897Skan ifstream_extract_int.cc, ifstream_getline.cc, is_wchar_t.cc, 5782146897Skan list_create_fill_sort.cc, map_create_fill.cc, 5783146897Skan narrow_widen_char.cc, narrow_widen_wchar_t.cc, 5784146897Skan ofstream_insert_float.cc, ofstream_insert_int.cc, 5785146897Skan string_append.cc, wchar_t_in.cc, wchar_t_length.cc, 5786146897Skan wchar_t_out.cc: Split into... 5787146897Skan * testsuite/performance/20_util/allocator.cc: New. 5788146897Skan * testsuite/performance/20_util/allocator_map_thread.cc: New. 5789146897Skan * testsuite/performance/20_util/allocator_thread.cc: New. 5790146897Skan * testsuite/performance/21_strings/string_append: New. 5791146897Skan * testsuite/performance/22_locale/is_wchar_t.cc: New. 5792146897Skan * testsuite/performance/22_locale/narrow_widen_char.cc: New. 5793146897Skan * testsuite/performance/22_locale/narrow_widen_wchar_t.cc: New. 5794146897Skan * testsuite/performance/22_locale/wchar_t_in.cc: New. 5795146897Skan * testsuite/performance/22_locale/wchar_t_length.cc: New. 5796146897Skan * testsuite/performance/22_locale/wchar_t_out.cc: New. 5797146897Skan * testsuite/performance/23_containers/container_benchmark.cc: New. 5798146897Skan * testsuite/performance/23_containers/list_create_fill_sort.cc: New. 5799146897Skan * testsuite/performance/23_containers/map_create_fill.cc: New. 5800146897Skan * testsuite/performance/26_numerics/complex_norm.cc: New. 5801146897Skan * testsuite/performance/27_io/cout_insert_int.cc: New. 5802146897Skan * testsuite/performance/27_io/filebuf_copy.cc: New. 5803146897Skan * testsuite/performance/27_io/filebuf_sputc.cc: New. 5804146897Skan * testsuite/performance/27_io/fstream_seek_write.cc: New. 5805146897Skan * testsuite/performance/27_io/ifstream_extract_float.cc: New. 5806146897Skan * testsuite/performance/27_io/ifstream_extract_int.cc: New. 5807146897Skan * testsuite/performance/27_io/ifstream_getline.cc: New. 5808146897Skan * testsuite/performance/27_io/ofstream_insert_float.cc: New. 5809146897Skan * testsuite/performance/27_io/ofstream_insert_int.cc: New. 5810146897Skan 5811146897Skan2004-01-30 Paolo Carlini <pcarlini@suse.de> 5812146897Skan 5813146897Skan * include/bits/basic_string.tcc (_Rep::_S_create): 5814146897Skan Never allocate a string bigger than max_size(); always keep 5815146897Skan __capacity and __size in sync to avoid memory leaks at 5816146897Skan deallocation time. 5817146897Skan 5818146897Skan2004-01-30 Paolo Carlini <pcarlini@suse.de> 5819146897Skan 5820146897Skan * include/bits/basic_string.tcc (_S_construct(_InIterator, 5821146897Skan _InIterator, const _Alloc&, input_iterator_tag)): Simplify 5822146897Skan the double loop, streamline. 5823146897Skan 5824146897Skan * include/bits/basic_string.tcc: Very minor tweaks. 5825146897Skan 5826146897Skan2004-01-30 Loren J. Rittle <ljrittle@acm.org> 5827146897Skan 5828146897Skan * scripts/check_performance: Only compile with $THREAD_FLAG 5829146897Skan when test is marked to require it. Allow multiple 5830146897Skan compilations/executions of marked tests. 5831146897Skan * testsuite/testsuite_performance.h (report_performance): 5832146897Skan Report dynamic thread support status. 5833146897Skan (report_header): Likewise. 5834146897Skan * testsuite/performance/allocator.cc: Stabilize iteration 5835146897Skan count. Support more allocators. Mark each allocator test to 5836146897Skan run and report independently. 5837146897Skan * testsuite/performance/allocator_map_thread.cc: Likewise. 5838146897Skan * testsuite/performance/allocator_thread.cc: Likewise. 5839146897Skan 5840146897Skan2004-01-29 Stephen M. Webb <stephen.webb@bregmasoft.com> 5841146897Skan 5842146897Skan * config/local/generic/c_locale.h: Change ::malloc() to new char[]. 5843146897Skan * config/local/gnu/c_locale.h: Change ::malloc() to new char[]. 5844146897Skan * include/bits/stl_tempbuf.h: Convert _Temporary_buffer to use 5845146897Skan std::get_temporary_buffer() instead of duplicating its code. 5846146897Skan Update to C++STYLE conventions. 5847146897Skan * include/std/std_memory.h (get_temporary_buffer): Use ::operator 5848146897Skan new() instead of std::malloc(). 5849146897Skan (return_temporary_buffer): Use ::operator delete() instead of 5850146897Skan std::free(). 5851146897Skan 5852146897Skan2004-01-29 Benjamin Kosnik <bkoz@redhat.com> 5853146897Skan 5854146897Skan * include/bits/allocator.h: Temporary switch to new_allocator as 5855146897Skan the default to unjam bootstraps. 5856146897Skan 5857146897Skan2004-01-28 Benjamin Kosnik <bkoz@redhat.com> 5858146897Skan 5859146897Skan * include/Makefile.am (bits_headers): Remove allocator_traits.h. 5860146897Skan * include/Makefile.in: Regenerate. 5861146897Skan * include/bits/allocator_traits.h: Remove. 5862146897Skan * include/bits/allocator.h: Remove allocator_traits.h include, and 5863146897Skan relevant comments. 5864146897Skan (allocator): Empty base class, inherit from the underlying allocator. 5865146897Skan * src/allocator-inst.cc: Move __pool_alloc instantiation to... 5866146897Skan * src/allocator.cc: ...here. New. For the underlying allocators. 5867146897Skan Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits. 5868146897Skan * config/linker-map.gnu: Remove __pool_alloc bits. 5869146897Skan * src/Makefile.am (sources): Add allocator.cc. 5870146897Skan * src/Makefile.in: Regenerate. 5871146897Skan * testsuite/20_util/allocator/1.cc: Split second test into... 5872146897Skan * testsuite/20_util/allocator/8230.cc: ...this. 5873146897Skan * include/bits/stl_bvector.h (__gnu_norm): Change bit_vector 5874146897Skan typedef to use std::allocatore. Format. 5875146897Skan * include/ext/pool_allocator.h: Remove allocator_traits.h include, 5876146897Skan _Alloc_traits. 5877146897Skan * include/ext/mt_allocator.h (__gnu_cxx): Qualify 5878146897Skan __throw_bad_alloc calls. Don't include <memory>. 5879146897Skan * include/ext/malloc_allocator.h: Remove <memory> include. 5880146897Skan * include/ext/new_allocator.h (new_allocator): Same. 5881146897Skan * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using 5882146897Skan declaration. Switch __alloc to _Alloc. 5883146897Skan * include/ext/hashtable.h: Remove __alloc. 5884146897Skan * include/backward/alloc.h: Only inject allocator, not 5885146897Skan implementation details. 5886146897Skan 5887146897Skan * include/ext/mt_allocator.h: Replace free with delete. 5888146897Skan 5889146897Skan2004-01-28 Benjamin Kosnik <bkoz@redhat.com> 5890146897Skan 5891146897Skan * src/globals_io.cc: Change to __gnu_internal namespace. 5892146897Skan * src/globals_locale.cc: Same. 5893146897Skan * src/locale_init.cc: Same. 5894146897Skan * src/ios_init.cc: Same. 5895146897Skan 5896146897Skan2004-01-28 Stefan Olsson <stefan@snon.net> 5897146897Skan 5898146897Skan * include/ext/mt_allocator.h: Replaced all malloc() calls with 5899146897Skan operator new(). Added support for the env variable 5900146897Skan GLIBCXX_FORCE_NEW (this required the _S_init call to be the first 5901146897Skan one in allocate() as well). Fix typos. 5902146897Skan 5903146897Skan2004-01-28 Paolo Carlini <pcarlini@suse.de> 5904146897Skan 5905146897Skan * include/bits/basic_string.h (_S_create(size_t, 5906146897Skan const _Alloc&): Change signature to take two size_type 5907146897Skan arguments. 5908146897Skan * include/bits/basic_string.tcc (_S_construct(_InIterator, 5909146897Skan _InIterator, const _Alloc&, input_iterator_tag)): Update 5910146897Skan call, tweak a bit. 5911146897Skan (_S_construct(_InIterator, _InIterator, const _Alloc&, 5912146897Skan forward_iterator_tag)): Likewise. 5913146897Skan (_S_construct(size_type, _CharT, const _Alloc&)): Likewise. 5914146897Skan (_M_mutate(size_type, size_type, size_type)): Don't 5915146897Skan implement the exponential growth policy, demand it to 5916146897Skan _S_create, update call and simplify. 5917146897Skan (_M_clone(const _Alloc&, size_type)): Likewise. 5918146897Skan (_S_create(size_type, size_type, const _Alloc&)): Implement 5919146897Skan the growth policy, simplify otherwise. 5920146897Skan 5921146897Skan * include/bits/basic_string.h (_Rep::operator[]): Tweak 5922146897Skan signature to take a size_type, consistently with the other 5923146897Skan members. 5924146897Skan 5925146897Skan2004-01-27 Benjamin Kosnik <bkoz@redhat.com> 5926146897Skan 5927146897Skan * testsuite/27_io/ios_base/storage/11584.cc: Correct new and 5928146897Skan delete declarations, add include and test variable. 5929146897Skan 5930146897Skan2003-01-27 Jerry Quinn <jlquinn@optonline.net> 5931146897Skan 5932146897Skan * include/bits/codecvt.h, include/bits/locale_facets.h, 5933146897Skan include/bits/postypes.h, include/bits/stl_bvector.h, 5934146897Skan include/bits/stl_multiset.h, include/bits/stl_set.h, 5935146897Skan include/bits/stream_iterator.h, include/bits/streambuf_iterator.h, 5936146897Skan include/std/std_complex.h: Document. 5937146897Skan 5938146897Skan2004-01-27 Jerry Quinn <jlquinn@optonline.net> 5939146897Skan 5940146897Skan PR libstdc++/11584 5941146897Skan * include/bits/ios_base.h (ios_base::_M_grow_words): Add 5942146897Skan iword/pword selector. 5943146897Skan (ios_base::iword, ios_base::pword): Use it. 5944146897Skan * src/ios.cc (ios_base::_M_grow_words): Clear _M_word_zero 5945146897Skan iword or pword member on alloc failure. 5946146897Skan * testsuite/27_io/ios_base/storage/11584.cc: New test. 5947146897Skan 5948146897Skan2004-01-27 Ulrich Weigand <uweigand@de.ibm.com> 5949146897Skan PJ Darcy <darcypj@us.ibm.com> 5950146897Skan 5951146897Skan * configure.host: Add support for *-tpf. 5952146897Skan * crossconfig.m4: Likewise. 5953146897Skan * configure: Regenerate. 5954146897Skan * config/os/tpf: New directory. 5955146897Skan * config/os/tpf/os_defines.h: New file. 5956146897Skan * config/os/tpf/ctype_base.h: Likewise. 5957146897Skan * config/os/tpf/ctype_inline.h: Likewise. 5958146897Skan * config/os/tpf/ctype_noninline.h: Likewise. 5959146897Skan 5960146897Skan2004-01-27 Paolo Carlini <pcarlini@suse.de> 5961146897Skan 5962146897Skan PR libstdc++/13884 5963146897Skan * include/bits/sstream.tcc: Guard use of extern template. 5964146897Skan 5965146897Skan2004-01-27 Paolo Carlini <pcarlini@suse.de> 5966146897Skan 5967146897Skan * include/bits/basic_string.tcc 5968146897Skan (basic_string(const basic_string&, size_type, size_type), 5969146897Skan basic_string(const basic_string&, size_type, size_type, 5970146897Skan const _Alloc&)): Avoid unnecessarily constructing iterators. 5971146897Skan 5972146897Skan2004-01-26 Paolo Carlini <pcarlini@suse.de> 5973146897Skan 5974146897Skan * config/locale/generic/c_locale.cc: Fix throw messages 5975146897Skan to use the __N marker. 5976146897Skan * config/locale/gnu/c_locale.cc: Likewise. 5977146897Skan * config/locale/ieee_1003.1-2001/codecvt_specializations.h: 5978146897Skan Likewise. 5979146897Skan * docs/html/17_intro/C++STYLE: Likewise. 5980146897Skan * include/bits/basic_ios.tcc: Likewise. 5981146897Skan * include/bits/fstream.tcc: Likewise. 5982146897Skan * include/bits/vector.tcc: Likewise. 5983146897Skan * include/ext/ropeimpl.h: Likewise. 5984146897Skan * include/std/std_bitset.h: Likewise. 5985146897Skan * src/ios.cc: Likewise. 5986146897Skan * src/locale.cc: Likewise. 5987146897Skan * src/localename.cc: Likewise. 5988146897Skan 5989146897Skan2004-01-26 Paolo Carlini <pcarlini@suse.de> 5990146897Skan 5991146897Skan * include/bits/basic_string.h (_M_replace_aux): Use the 5992146897Skan __N marker in throw message. 5993146897Skan * include/bits/basic_string.tcc (assign(const _CharT*, 5994146897Skan size_type), insert(size_type, const _CharT*, size_type), 5995146897Skan replace(size_type, size_type, const _CharT*, size_type), 5996146897Skan reserve, _Rep::_S_create, resize, _M_replace_dispatch): 5997146897Skan Likewise. 5998146897Skan 5999146897Skan * include/bits/basic_string.h, include/bits/basic_string.tcc: 6000146897Skan Fold overlong lines, minor formatting changes. 6001146897Skan 6002146897Skan2004-01-26 Paolo Carlini <pcarlini@suse.de> 6003146897Skan 6004146897Skan * include/bits/basic_string.h (replace(iterator, iterator, 6005146897Skan const basic_string&)): Remove _GLIBCXX_DEBUG_PEDASSERT. 6006146897Skan (replace(iterator, iterator, const _CharT*)): Ditto. 6007146897Skan (replace(iterator, iterator, const _CharT*, size_type)): 6008146897Skan Add missing _GLIBCXX_DEBUG_PEDASSERT. 6009146897Skan 6010146897Skan2004-01-26 Paolo Carlini <pcarlini@suse.de> 6011146897Skan 6012146897Skan * include/bits/basic_string.tcc (replace(size_type, 6013146897Skan size_type, const _CharT*, size_type)): Implement optimized 6014146897Skan in-place algorithm for non-overlapping ranges. 6015146897Skan * testsuite/21_strings/basic_string/replace/char/6.cc: New. 6016146897Skan * testsuite/21_strings/basic_string/replace/wchar_t/6.cc: New. 6017146897Skan 6018146897Skan * include/bits/basic_string.tcc (insert(size_type, 6019146897Skan const _CharT*, size_type)): Tweak slightly. 6020146897Skan 6021146897Skan2004-01-26 Andreas Schwab <schwab@suse.de> 6022146897Skan 6023146897Skan * config/locale/gnu/monetary_members.cc: Restore locale before 6024146897Skan rethrowing exception. 6025146897Skan 6026146897Skan2004-01-25 Paolo Carlini <pcarlini@suse.de> 6027146897Skan 6028146897Skan * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe): 6029146897Skan Define inline here. 6030146897Skan * include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe): 6031146897Skan Move inline. 6032146897Skan 6033146897Skan * include/bits/basic_string.tcc: Very minor tweaks. 6034146897Skan 6035146897Skan2004-01-25 Paolo Carlini <pcarlini@suse.de> 6036146897Skan 6037146897Skan * testsuite/performance/string_append.cc: Increase number 6038146897Skan of iterations. 6039146897Skan 6040146897Skan2004-01-25 Paolo Carlini <pcarlini@suse.de> 6041146897Skan 6042146897Skan * include/bits/basic_string.h (erase(size_type, size_type), 6043146897Skan erase(iterator), erase(iterator, iterator)): Call _M_replace_safe 6044146897Skan instead, thus avoiding redundant check for length_error. 6045146897Skan 6046146897Skan * include/bits/basic_string.h: Tweak some comments. 6047146897Skan 6048146897Skan2004-01-24 Paolo Carlini <pcarlini@suse.de> 6049146897Skan 6050146897Skan * include/bits/basic_string.tcc (operator+(const _CharT*, 6051146897Skan const basic_string&)): No need to go through the append 6052146897Skan taking two iterators. 6053146897Skan 6054146897Skan2004-01-24 Paolo Carlini <pcarlini@suse.de> 6055146897Skan 6056146897Skan * include/bits/basic_string.tcc (rfind(_CharT, size_type)): 6057146897Skan Revert last change to use std::min: machine language is worse. 6058146897Skan (find_last_of(const _CharT*, size_type, size_type)): Ditto. 6059146897Skan (find_last_not_of(const _CharT*, size_type, size_type)): Ditto. 6060146897Skan (find_last_not_of(_CharT, size_type)): Ditto. 6061146897Skan 6062146897Skan * include/bits/basic_string.tcc (insert(size_type, const _CharT*, 6063146897Skan size_type)): Discard the value returned by _M_check. 6064146897Skan (replace(size_type, size_type, const _CharT*, size_type)): Ditto. 6065146897Skan (append(const basic_string&, size_type, size_type)): Ditto. 6066146897Skan (copy(_CharT*, size_type, size_type)): Ditto. 6067146897Skan (compare(size_type, size_type, const basic_string&)): Ditto. 6068146897Skan (compare(size_type, size_type, const basic_string&, 6069146897Skan size_type, size_type)): Ditto. 6070146897Skan (compare(size_type, size_type, const _CharT*)): Ditto. 6071146897Skan (compare(size_type, size_type, const _CharT*, size_type)): Ditto. 6072146897Skan 6073146897Skan2004-01-24 Paolo Carlini <pcarlini@suse.de> 6074146897Skan 6075146897Skan * include/bits/basic_string.h (insert(size_type, 6076146897Skan const basic_string&, size_type, size_type)): Define inline here. 6077146897Skan * include/bits/basic_string.tcc (insert(size_type, 6078146897Skan const basic_string&, size_type, size_type)): Move inline. 6079146897Skan 6080146897Skan2004-01-24 Paolo Carlini <pcarlini@suse.de> 6081146897Skan 6082146897Skan * include/bits/basic_string.h (assign(const basic_string&, 6083146897Skan size_type, size_type)): Define inline here. 6084146897Skan (replace(size_type, size_type, const basic_string&, 6085146897Skan size_type, size_type)): Ditto. 6086146897Skan (_M_replace_dispatch(iterator, iterator, _InputIterator, 6087146897Skan _InputIterator, __false_type)): Only declare. 6088146897Skan (_M_replace(iterator, iterator, _InputIterator, 6089146897Skan _InputIterator)): Remove. 6090146897Skan * include/bits/basic_string.tcc (assign(const basic_string&, 6091146897Skan size_type, size_type)): Move inline. 6092146897Skan (replace(size_type, size_type, const basic_string&, 6093146897Skan size_type, size_type)): Ditto. 6094146897Skan (_M_replace_dispatch(iterator, iterator, _InputIterator, 6095146897Skan _InputIterator, __false_type)): Define, now does also what 6096146897Skan _M_replace did before. 6097146897Skan * src/string-inst.cc (_M_replace): Don't instantiate. 6098146897Skan 6099146897Skan * include/bits/basic_string.tcc (find(const _CharT*, 6100146897Skan size_type, size_type)): Tidy. 6101146897Skan (rfind(_CharT, size_type)): Ditto. 6102146897Skan (find_first_not_of(const _CharT*, size_type, size_type)): Ditto. 6103146897Skan (find_first_not_of(_CharT, size_type)): Ditto. 6104146897Skan (find_last_not_of(const _CharT*, size_type, size_type)): Ditto. 6105146897Skan (find_last_not_of(_CharT, size_type)): Ditto. 6106146897Skan 6107146897Skan2004-01-23 Paolo Carlini <pcarlini@suse.de> 6108146897Skan 6109146897Skan PR libstdc++/13838 6110146897Skan * include/debug/bitset (operator|=): Fix typo. 6111146897Skan * testsuite/23_containers/bitset/operations/13838.cc: New. 6112146897Skan 6113146897Skan2004-01-23 Paolo Carlini <pcarlini@suse.de> 6114146897Skan 6115146897Skan * include/bits/basic_string.tcc (insert(size_type, 6116146897Skan const _CharT*, size_type __n)): Fix length_error check. 6117146897Skan (replace(size_type, size_type, const _CharT*, size_type): 6118146897Skan Ditto; call _M_replace_safe. 6119146897Skan (_M_replace_aux(size_type, size_type, size_type, _CharT): 6120146897Skan Fix length_error check. 6121146897Skan (_M_replace(iterator, iterator, _InputIterator, 6122146897Skan _InputIterator)): Ditto, tweak. 6123146897Skan (_M_replace_safe(size_type, size_type, const _CharT*, 6124146897Skan size_type)): Remove length_error check. 6125146897Skan 6126146897Skan * include/bits/basic_string.tcc (append(const basic_string&), 6127146897Skan append(const basic_string&, size_type, size_type)): Tweak 6128146897Skan comment. 6129146897Skan 6130146897Skan * include/bits/basic_string.tcc (copy(_CharT*, size_type, 6131146897Skan size_type)): If __n == 0 don't call traits::copy. 6132146897Skan 6133146897Skan2004-01-23 Stefan Olsson <stefan@snon.net> 6134146897Skan 6135146897Skan * include/ext/mt_allocator.h: Reduce lock contention. 6136146897Skan 6137146897Skan2004-01-23 Paolo Carlini <pcarlini@suse.de> 6138146897Skan 6139146897Skan PR libstdc++/13831 6140146897Skan * include/bits/fstream.tcc (underflow): Remove unused 6141146897Skan variable. 6142146897Skan * include/bits/streambuf_iterator.h (equal): Ditto. 6143146897Skan * include/bits/locale_facets.h (_M_convert_from_char): 6144146897Skan Ditto. 6145146897Skan 6146146897Skan2004-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 6147146897Skan 6148146897Skan PR c/13814 6149146897Skan * config/linker-map.gnu (nan): Delete. 6150146897Skan * libmath/mathconf.h (NAN, nan): Delete. 6151146897Skan * linkage.m4 (nan): Don't check for it. 6152146897Skan * libmath/nan.c: Delete file. 6153146897Skan 6154146897Skan * config.h.in, configure: Regenerate. 6155146897Skan 6156146897Skan2004-01-23 Paolo Carlini <pcarlini@suse.de> 6157146897Skan 6158146897Skan * include/bits/basic_string.h (push_back(_CharT)): 6159146897Skan Call _M_replace_aux. 6160146897Skan (insert(size_type, const basic_string&)): Trivial tweak. 6161146897Skan (insert(size_type, size_type, _CharT)): Call _M_replace_aux. 6162146897Skan (insert(iterator, _CharT)): Ditto. 6163146897Skan (erase(size_type, size_type)): Ditto. 6164146897Skan (erase(iterator)): Ditto. 6165146897Skan (erase(iterator, iterator)): Ditto. 6166146897Skan (replace(size_type, size_type, size_type, _CharT)): Ditto. 6167146897Skan 6168146897Skan2004-01-23 Loren J. Rittle <ljrittle@acm.org> 6169146897Skan 6170146897Skan libstdc++/13823 6171146897Skan * testsuite/performance/allocator_map_thread.cc: New test. 6172146897Skan 6173146897Skan2004-01-22 Paolo Carlini <pcarlini@suse.de> 6174146897Skan 6175146897Skan * include/bits/locale_facets.tcc 6176146897Skan (money_put::do_put(..., long double)): Use the basic_string 6177146897Skan constructor for char arrays, not that for C-strings, to pass 6178146897Skan __digits to do_put(..., const string_type&): __ws isn't 6179146897Skan null-terminated. 6180146897Skan 6181146897Skan2004-01-22 Paolo Carlini <pcarlini@suse.de> 6182146897Skan 6183146897Skan * include/bits/basic_string.h (_M_replace_safe): Change 6184146897Skan signatures to take size_types and const _CharT*. 6185146897Skan (_M_replace_aux): Likewise, takes size_types instead of 6186146897Skan iterators. 6187146897Skan (append(size_type, _CharT)): Update call. 6188146897Skan (assign(size_type, _CharT)): Ditto. 6189146897Skan (replace(iterator, iterator, size_type, _CharT)): Ditto. 6190146897Skan (_M_replace_dispatch(iterator, iterator, _Integer, 6191146897Skan _Integer, __true_type)): Ditto. 6192146897Skan * include/bits/basic_string.tcc (assign(const _CharT*, 6193146897Skan size_type)): Ditto. 6194146897Skan (insert(size_type, const _CharT*, size_type)): Ditto. 6195146897Skan (replace(size_type, size_type, const _CharT*, 6196146897Skan size_type)): Ditto. 6197146897Skan (_M_replace(iterator, iterator, _InputIterator, 6198146897Skan _InputIterator)): Ditto. 6199146897Skan (append(const basic_string&)): Ditto. 6200146897Skan (append(const basic_string&, size_type, size_type): Ditto. 6201146897Skan (append(const _CharT*, size_type): Ditto. 6202146897Skan (_M_replace_safe, _M_replace_safe): Change definitions 6203146897Skan accordingly, simplify. 6204146897Skan * string-inst.cc (_M_replace_safe): Don't instantiate. 6205146897Skan 6206146897Skan2004-01-21 Paolo Carlini <pcarlini@suse.de> 6207146897Skan 6208146897Skan * include/bits/basic_string.tcc (append(const basic_string&)): 6209146897Skan Revert previous change. 6210146897Skan (append(const basic_string&, size_type, size_type)): Revert 6211146897Skan previous change, use _M_check and _M_limit. 6212146897Skan 6213146897Skan2004-01-21 Paolo Carlini <pcarlini@suse.de> 6214146897Skan 6215146897Skan * include/bits/basic_string.h (_M_check): Change to return 6216146897Skan a checked __pos and take an additional const char* argument. 6217146897Skan (_M_fold): Rename to _M_limit, change to return a size_type, 6218146897Skan corresponding to the __off limited to the actual length. 6219146897Skan (insert(size_type, size_type, _CharT)): Update call, call 6220146897Skan replace. 6221146897Skan (insert(iterator, _CharT)): Call replace(iterator, iterator, 6222146897Skan size_type, _CharT) instead. 6223146897Skan (erase(size_type, size_type)): Update calls. 6224146897Skan (replace(size_type, size_type, size_type, _CharT)): Ditto. 6225146897Skan (substr(size_type, size_type)): Use _M_check. 6226146897Skan * include/bits/basic_string.tcc (basic_string(const basic_string&, 6227146897Skan size_type, size_type)): Update calls. 6228146897Skan (basic_string(const basic_string&, size_type, size_type, 6229146897Skan const _Alloc&)): Ditto. 6230146897Skan (assign(const basic_string&, size_type, size_type)): Use the 6231146897Skan new _M_check and _M_limit. 6232146897Skan (insert(size_type, const basic_string&, size_type, size_type): 6233146897Skan Ditto. 6234146897Skan (insert(size_type, const _CharT*, size_type)): Ditto. 6235146897Skan (replace(size_type, size_type, const _CharT*, size_type): Ditto. 6236146897Skan (replace(size_type, size_type, const basic_string&, 6237146897Skan size_type, size_type)): Ditto. 6238146897Skan (append(const basic_string&)): Ditto. 6239146897Skan (append(const basic_string&, size_type, size_type)): Ditto. 6240146897Skan (copy(_CharT*, size_type, size_type)): Ditto. 6241146897Skan (compare(size_type, size_type, const basic_string&)): Ditto. 6242146897Skan (compare(size_type, size_type, const basic_string&,size_type, 6243146897Skan size_type)): Ditto. 6244146897Skan (compare(size_type, size_type, const _CharT*)): Ditto. 6245146897Skan (compare(size_type, size_type, const _CharT*, size_type)): Ditto. 6246146897Skan 6247146897Skan2004-01-19 Stefan Olsson <stefan@snon.net> 6248146897Skan 6249146897Skan * include/ext/mt_allocator.h: If a thread, when it dies, still has 6250146897Skan memory on it's freelist this memory is not returned to global 6251146897Skan list. Simplification of deallocate so that memory is always 6252146897Skan returned to the calling thread id's freelist instead of to 6253146897Skan global. Fix typos. Add volatile where appropriate. 6254146897Skan 6255146897Skan2004-01-19 Loren J. Rittle <ljrittle@acm.org> 6256146897Skan 6257146897Skan * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered. 6258146897Skan * testsuite/ext/stdio_filebuf/char/10063-3.cc: New test. Like -2 but 6259146897Skan use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream. 6260146897Skan 6261146897Skan2004-01-19 Paolo Carlini <pcarlini@suse.de> 6262146897Skan 6263146897Skan * src/debug.cc: Make sure all the names are prefixed with 6264146897Skan double (or single) underscore. 6265146897Skan 6266146897Skan2004-01-19 Paolo Carlini <pcarlini@suse.de> 6267146897Skan 6268146897Skan * src/debug.cc: Trivial formatting change. 6269146897Skan 6270146897Skan2004-01-19 Paolo Carlini <pcarlini@suse.de> 6271146897Skan 6272146897Skan * include/bits/basic_string.tcc (_S_construct(size_type, 6273146897Skan _CharT, const _Alloc&)): Remove redundant try/catch. 6274146897Skan (_M_mutate(size_type, size_type, size_type)): Ditto. 6275146897Skan (_M_clone(const _Alloc&, size_type)): Ditto. 6276146897Skan 6277146897Skan2004-01-18 Paolo Carlini <pcarlini@suse.de> 6278146897Skan 6279146897Skan * include/bits/basic_string.h (c_str()): Simplify, due to 6280146897Skan 21.3.4 the internal representation is always kept null-terminated. 6281146897Skan * include/bits/basic_string.tcc (_M_clone): Null-terminate. 6282146897Skan * testsuite/21_strings/basic_string/element_access/char/4.cc: New. 6283146897Skan * testsuite/21_strings/basic_string/element_access/wchar_t/4.cc: 6284146897Skan Ditto. 6285146897Skan 6286146897Skan2004-01-18 Paolo Carlini <pcarlini@suse.de> 6287146897Skan 6288146897Skan * include/bits/basic_string.h (append(size_type, _CharT)): 6289146897Skan Moved inline, just call _M_replace_aux, no source iterators at 6290146897Skan risk of being clobbered. 6291146897Skan (assign(size_type, _CharT)): Call directly _M_replace_aux. 6292146897Skan (_M_replace(iterator, iterator, _InputIterator, _InputIterator, 6293146897Skan input_iterator_tag)): Remove fifth unused argument. 6294146897Skan (_M_replace_dispatch(iterator, iterator, _InputIterator, 6295146897Skan _InputIterator, __false_type)): Update call. 6296146897Skan * include/bits/basic_string.tcc (replace(size_type, size_type, 6297146897Skan const _CharT*, size_type)): Update call. 6298146897Skan (_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak 6299146897Skan throw string literal. 6300146897Skan (_M_replace_safe(iterator, iterator, _ForwardIterator, 6301146897Skan _ForwardIterator)): Likewise. 6302146897Skan (_M_replace(iterator, iterator, _InputIterator, _InputIterator, 6303146897Skan input_iterator_tag)): Remove fifth unused argument. 6304146897Skan (append(size_type __n, _CharT __c)): Move inline. 6305146897Skan * src/string-inst.cc (S::_M_replace(S::iterator, S::iterator, 6306146897Skan const C*, const C*, input_iterator_tag)): Remove fifth unused 6307146897Skan argument. 6308146897Skan 6309146897Skan2004-01-16 Benjamin Kosnik <bkoz@redhat.com> 6310146897Skan 6311146897Skan * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards. 6312146897Skan * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same. 6313146897Skan 6314146897Skan2004-01-16 Danny Smith <dannysmith@users.sourceforge.net> 6315146897Skan 6316146897Skan * testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling 6317146897Skan mkfifo for mingw32. 6318146897Skan 6319146897Skan2004-01-15 Stefan Olsson <stefan@snon.net> 6320146897Skan 6321146897Skan * include/ext/mt_allocator.h: Reuse thread id's as soon as 6322146897Skan possible by changing the behaviour of thread_freelist to do 6323146897Skan push_front when threads die instead of push_back. 6324146897Skan 6325146897Skan2004-01-14 Paolo Carlini <pcarlini@suse.de> 6326146897Skan 6327146897Skan * include/bits/locale_facets.h (struct __numpunct_cache): 6328146897Skan Add member _M_grouping_size, caching the length of _M_grouping. 6329146897Skan (__numpunct_cache<>::_M_cache): Assign the latter. 6330146897Skan (__verify_grouping): Move declaration... 6331146897Skan * include/bits/locale_facets.tcc (__verify_grouping): 6332146897Skan ... here, change signature to take a const char* and a size_t 6333146897Skan for the grouping; not a template anymore. 6334146897Skan (__add_grouping, num_put::_M_group_int, num_put::_M_group_float): 6335146897Skan Likewise change signature and tweak consistently. 6336146897Skan (num_get::_M_extract_float, num_get::_M_extract_int, 6337146897Skan num_put::_M_insert_int, num_put::_M_insert_float, 6338146897Skan money_get::do_get(string_type&), money_get::do_put(string_type)): 6339146897Skan Update callers. 6340146897Skan * config/locale/generic/numeric_members.cc 6341146897Skan (numpunct<>::_M_initialize_numpunct): Assign the new member. 6342146897Skan * config/locale/gnu/numeric_members.cc 6343146897Skan (numpunct<>::_M_initialize_numpunct): Likewise. 6344146897Skan * src/locale-inst.cc (__add_grouping): Tweak signature. 6345146897Skan (__verify_grouping): Don't instantiate, not a template anymore. 6346146897Skan 6347146897Skan * include/bits/locale_facets.h: Rename _M_truename_len -> 6348146897Skan _M_truename_size, _M_falsename_len -> _M_falsename_size. 6349146897Skan * include/bits/locale_facets.tcc: Likewise. 6350146897Skan * config/locale/generic/numeric_members.cc: Likewise. 6351146897Skan * config/locale/gnu/numeric_members.cc: Likewise. 6352146897Skan 6353146897Skan2004-01-14 Stefan Olsson <stefan@snon.net> 6354146897Skan 6355146897Skan * include/ext/mt_allocator.h: Fixups. 6356146897Skan * testsuite/performance/allocator.cc: Enable __mt_alloc tests. 6357146897Skan * testsuite/performance/allocator_thread.cc: Same. 6358146897Skan 6359146897Skan2004-01-13 Benjamin Kosnik <bkoz@redhat.com> 6360146897Skan 6361146897Skan * testsuite/performance/ifstream_extract_float.cc: Add higher 6362146897Skan precision tests. 6363146897Skan * testsuite/performance/ofstream_insert_float.cc: Same. 6364146897Skan 6365146897Skan2004-01-13 Paolo Carlini <pcarlini@suse.de> 6366146897Skan 6367146897Skan * src/locale-misc-inst.cc (__convert_from_v(long), 6368146897Skan __convert_from_v(unsigned long), __convert_from_v(long long), 6369146897Skan __convert_from_v(unsigned long long)): Remove, unused. 6370146897Skan 6371146897Skan2004-01-13 Benjamin Kosnik <bkoz@redhat.com> 6372146897Skan 6373146897Skan * testsuite/performance/ifstream_extract_float.cc: New. 6374146897Skan * testsuite/performance/ofstream_insert_float.cc: Float generation 6375146897Skan matches above. 6376146897Skan 6377146897Skan * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into... 6378146897Skan * 20_util/auto_ptr/1.cc: ...this. 6379146897Skan * 20_util/auto_ptr/2.cc: Same. 6380146897Skan * 20_util/auto_ptr/3.cc: Same. 6381146897Skan * 20_util/auto_ptr/3946.cc: Same. 6382146897Skan * 20_util/auto_ptr/4.cc: Same. 6383146897Skan * 20_util/auto_ptr/5.cc: Same. 6384146897Skan * 20_util/auto_ptr/6.cc: Same. 6385146897Skan * 20_util/auto_ptr/7.cc: Same. 6386146897Skan * 20_util/auto_ptr/assign_neg.cc 6387146897Skan * 20_util/pairs.cc: Break into... 6388146897Skan * 20_util/pair/1.cc: ...this. 6389146897Skan * 20_util/pair/2.cc: Same. 6390146897Skan * 20_util/pair/3.cc: Same. 6391146897Skan * 20_util/pair/4.cc: Same. 6392146897Skan 6393146897Skan2004-01-13 Paolo Carlini <pcarlini@suse.de> 6394146897Skan 6395146897Skan * include/bits/locale_facets.tcc (num_get::do_get(void*&)): 6396146897Skan Set correctly just basefield, the only group that matters. 6397146897Skan 6398146897Skan2004-01-13 Paolo Carlini <pcarlini@suse.de> 6399146897Skan 6400146897Skan * include/ext/rope (_Rope_rep_alloc_base): Eliminate. 6401146897Skan (_Rope_rep_base): Inherit directly from the rope allocator; 6402146897Skan use rebinding instead of _Alloc_traits; pick up data member 6403146897Skan from _Rope_rep_alloc_base. 6404146897Skan (_Rope_alloc_base): Eliminate. 6405146897Skan (_Rope_base): Inherit directly from the rope allocator; use 6406146897Skan rebinding instead of _Alloc_traits; pick up data member from 6407146897Skan _Rope_alloc_base. 6408146897Skan (rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation, 6409146897Skan rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak. 6410146897Skan 6411146897Skan2004-01-13 Paolo Carlini <pcarlini@suse.de> 6412146897Skan 6413146897Skan PR libstdc++/13650 6414146897Skan * include/bits/basic_string.tcc (compare(size_type, size_type, 6415146897Skan const _CharT*, size_type)): Implement correctly the resolution 6416146897Skan of DR 5: basically, s is a char array, -not- a C string. 6417146897Skan * include/bits/basic_string.h: Tweak some comments. 6418146897Skan * testsuite/21_strings/basic_string/compare/char/13650.cc: New. 6419146897Skan * testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New. 6420146897Skan 6421146897Skan2004-01-12 Andreas Tobler <a.tobler@schweiz.ch> 6422146897Skan 6423146897Skan * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for 6424146897Skan Solaris. 6425146897Skan 6426146897Skan2004-01-12 Paolo Carlini <pcarlini@suse.de> 6427146897Skan 6428146897Skan * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: 6429146897Skan Use try_mkfifo. 6430146897Skan * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: 6431146897Skan Likewise. 6432146897Skan 6433146897Skan2004-01-12 Paolo Carlini <pcarlini@suse.de> 6434146897Skan 6435146897Skan * include/bits/locale_facets.h (struct __numpunct_cache): 6436146897Skan Add members _M_truename_len and _M_falsename_len, caching 6437146897Skan the lengths of _M_truename and _M_falsename. 6438146897Skan (__numpunct_cache<>::_M_cache): Assign the latter. 6439146897Skan * include/bits/locale_facets.tcc (num_get::do_get(bool&), 6440146897Skan num_put::do_put(bool)): Use the new members, thus avoiding 6441146897Skan computing string lengths again and again. 6442146897Skan * config/locale/generic/numeric_members.cc 6443146897Skan (numpunct<>::_M_initialize_numpunct): Assign the new members. 6444146897Skan * config/locale/gnu/numeric_members.cc 6445146897Skan (numpunct<>::_M_initialize_numpunct): Likewise. 6446146897Skan 6447146897Skan2004-01-12 Mark Mitchell <mark@codesourcery.com> 6448146897Skan 6449146897Skan * testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it. 6450146897Skan * testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define 6451146897Skan it. 6452146897Skan * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo 6453146897Skan and remove Cygwin XFAIL. 6454146897Skan * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. 6455146897Skan * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. 6456146897Skan * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. 6457146897Skan * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: 6458146897Skan Likewise. 6459146897Skan * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. 6460146897Skan * testsuite/27_io/objects/char/7.cc: Likewise. 6461146897Skan * testsuite/27_io/objects/char/9661-1.cc: Likewise. 6462146897Skan * testsuite/27_io/objects/wchar_t/7.cc: Likewise. 6463146897Skan * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. 6464146897Skan 6465146897Skan2004-01-11 Gabriel Dos Reis <gdr@integrable-solutions.net> 6466146897Skan 6467146897Skan * include/std/std_complex.h (std::complex<>::real): Return a 6468146897Skan reference. Add non-const overload. 6469146897Skan (std::complex<>::real): Likewise. 6470146897Skan (std::real): Likewise. 6471146897Skan (std::imag): Likewise. 6472146897Skan (std::operator+): Tidy. 6473146897Skan (std::operator-): Likewise. 6474146897Skan (std::operator*): Likewise. 6475146897Skan (std::operator/): Likewise. 6476146897Skan (std::operator>>): Likewise. 6477146897Skan 6478146897Skan2004-01-11 Paolo Carlini <pcarlini@suse.de> 6479146897Skan 6480146897Skan PR libstdc++/13582 6481146897Skan * include/bits/fstream.tcc (imbue): Exploit the external 6482146897Skan buffer to imbue 'on the fly' a new locale and convert its 6483146897Skan remainder with the new codecvt facet. 6484146897Skan (underflow): Tweak slightly to deal with this special case. 6485146897Skan * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New. 6486146897Skan * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto. 6487146897Skan * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto. 6488146897Skan * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto. 6489146897Skan * testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto. 6490146897Skan 6491146897Skan2004-01-10 Paolo Carlini <pcarlini@suse.de> 6492146897Skan 6493146897Skan * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html: 6494146897Skan Import Revision 28. 6495146897Skan 6496146897Skan2004-01-10 Paolo Carlini <pcarlini@suse.de> 6497146897Skan 6498146897Skan PR libstdc++/13630 6499146897Skan * include/bits/locale_classes.h (class locale): Fix category 6500146897Skan typedef. 6501146897Skan * testsuite/22_locale/locale/13630.cc: Add. 6502146897Skan 6503146897Skan2004-01-10 Giovanni Bajo <giovannibajo@gcc.gnu.org> 6504146897Skan 6505146897Skan * include/bits/locale_facets.h: Make a name really dependent. This 6506146897Skan will be needed when Core Issue 224 is implemented. 6507146897Skan 6508146897Skan2004-01-09 Paolo Carlini <pcarlini@suse.de> 6509146897Skan 6510146897Skan * testsuite/performance/allocator.cc: Demangle typeid(obj).name(). 6511146897Skan * testsuite/performance/allocator_thread.cc: Likewise. 6512146897Skan 6513146897Skan2004-01-07 Benjamin Kosnik <bkoz@redhat.com> 6514146897Skan 6515146897Skan * crossconfig.m4: Add LFS, io bits to linux cross config. 6516146897Skan * acconfig.h: Remove obsolete bits, reorder. 6517146897Skan * config.h.in: Regenerate. 6518146897Skan * aclocal.m4: Same. 6519146897Skan * configure: Same. 6520146897Skan 6521146897Skan2004-01-07 Gawain Bolton <gp.bolton@computer.org> 6522146897Skan 6523146897Skan * include/bits/stl_list.h: 6524146897Skan * include/bits/list.tc: 6525146897Skan * src/list.cc: 6526146897Skan Performance enhancements for destructor, push_front(), 6527146897Skan push_back(), pop_front(), pop_back(), sort() 6528146897Skan Eliminated static_casts where possible. 6529146897Skan Moved code out of header files into new src/list.cc 6530146897Skan implementation file for library where possible. 6531146897Skan Remove inheritance from iterator class and create separate 6532146897Skan classes for non-constant and constant iterators. 6533146897Skan * include/bits/stl_tree.h (_Rb_tree class): 6534146897Skan * src/tree.cc: 6535146897Skan Only erase contents in destructor. 6536146897Skan Eliminate unnecessary initialization in assignment operator. 6537146897Skan Optimize for the nominal case by not checking whether 6538146897Skan container is empty in clear(). 6539146897Skan Re-order test in _M_insert() to improve performance. 6540146897Skan Move initialization of new node's left & right pointers to 6541146897Skan src/tree.cc to where new node's colour is initialized 6542146897Skan and to reduce the amount of inline code. 6543146897Skan Use _M_leftmost() and _M_end() to improve readability where 6544146897Skan appropriate. 6545146897Skan Create separate classes for non-constant and constant 6546146897Skan iterators to clarify code, avoid extra template parameters and 6547146897Skan casting away constness. 6548146897Skan 6549146897Skan2004-01-07 Benjamin Kosnik <bkoz@redhat.com> 6550146897Skan 6551146897Skan * src/Makefile.am (sources): Add list.cc, tree.cc. 6552146897Skan * src/stl_tree.cc: Move to... 6553146897Skan * src/tree.cc: ...here. 6554146897Skan * src/list.cc: Add. 6555146897Skan * config/linker-map.gnu: Tweaks. 6556146897Skan * testsuite/23_containers/map/operators/1_neg.cc: Add excess errors. 6557146897Skan * testsuite/23_containers/set/operators/1_neg.cc: Add excess errors. 6558146897Skan 6559146897Skan * bits/stl_vector.h: Column wrap comments. 6560146897Skan 6561146897Skan2004-01-07 Loren J. Rittle <ljrittle@acm.org> 6562146897Skan 6563146897Skan (re-open) PR libstdc++/12658 6564146897Skan * src/locale_init.cc (locale::locale): Remove ill-scoped mutex. 6565146897Skan (locale::global): Likewise. 6566146897Skan 6567146897Skan2004-01-07 Paolo Carlini <pcarlini@suse.de> 6568146897Skan 6569146897Skan * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc: 6570146897Skan Remove redundant #include. 6571146897Skan * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise. 6572146897Skan * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise, 6573146897Skan re-enable normal testing. 6574146897Skan * testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant 6575146897Skan #include. 6576146897Skan * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise. 6577146897Skan * testsuite/27_io/basic_ostream/inserters_character/char/1.cc: 6578146897Skan Likewise. 6579146897Skan * testsuite/27_io/basic_ostream/inserters_character/char/2.cc: 6580146897Skan Likewise. 6581146897Skan * testsuite/27_io/basic_ostream/inserters_character/char/3.cc: 6582146897Skan Likewise. 6583146897Skan * testsuite/27_io/basic_ostream/inserters_character/char/4.cc: 6584146897Skan Likewise. 6585146897Skan * testsuite/27_io/basic_ostream/inserters_character/char/5.cc: 6586146897Skan Likewise. 6587146897Skan * testsuite/27_io/basic_ostream/inserters_character/char/6.cc: 6588146897Skan Likewise. 6589146897Skan * testsuite/27_io/basic_ostream/inserters_character/char/8.cc: 6590146897Skan Likewise. 6591146897Skan * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc: 6592146897Skan More properly, #include <locale>. 6593146897Skan * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc: 6594146897Skan Remove redundant #include. 6595146897Skan * testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise. 6596146897Skan * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove 6597146897Skan redundant DejaGnu directive. 6598146897Skan * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove 6599146897Skan redundant #include. 6600146897Skan 6601146897Skan2004-01-06 Benjamin Kosnik <bkoz@redhat.com> 6602146897Skan Stefan Olsson <stefan@snon.net> 6603146897Skan 6604146897Skan * scripts/check_performance: Use -pthread. 6605146897Skan * testsuite/performance/allocator.cc: Tweaks, add list. 6606146897Skan * testsuite/performance/allocator_thread.cc: New. 6607146897Skan 6608146897Skan2004-01-06 Jerry Quinn <jlquinn@optonline.net> 6609146897Skan 6610146897Skan * include/bits/locale_facets.h: Document public classes and 6611146897Skan functions. 6612146897Skan * include/bits/locale_facets.tcc (time_get::_M_extract_via_format): 6613146897Skan Add comment. 6614146897Skan 6615146897Skan2004-01-06 Paolo Carlini <pcarlini@suse.de> 6616146897Skan 6617146897Skan * testsuite/27_io/basic_istream/extractors_other/char/1.cc: 6618146897Skan Remove redundant #includes. 6619146897Skan * testsuite/27_io/basic_istream/extractors_other/char/2.cc: 6620146897Skan Likewise. 6621146897Skan * testsuite/27_io/basic_istream/extractors_other/char/3.cc: 6622146897Skan Likewise. 6623146897Skan * testsuite/27_io/basic_istream/get/char/1.cc: Likewise. 6624146897Skan * testsuite/27_io/basic_istream/get/char/2.cc: Likewise. 6625146897Skan * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise. 6626146897Skan * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise. 6627146897Skan * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise. 6628146897Skan * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise. 6629146897Skan * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise. 6630146897Skan * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise. 6631146897Skan * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise. 6632146897Skan * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise. 6633146897Skan * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise. 6634146897Skan * testsuite/27_io/basic_istream/read/char/1.cc: Likewise. 6635146897Skan * testsuite/27_io/basic_istream/read/char/2.cc: Likewise. 6636146897Skan * testsuite/27_io/basic_istream/read/char/3.cc: Likewise. 6637146897Skan * testsuite/27_io/basic_istream/readsome/char/6746-1.cc: 6638146897Skan Likewise. 6639146897Skan * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: 6640146897Skan Likewise. 6641146897Skan * testsuite/27_io/basic_istream/readsome/char/8258.cc: 6642146897Skan Likewise. 6643146897Skan * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc: 6644146897Skan Likewise. 6645146897Skan * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc: 6646146897Skan Likewise. 6647146897Skan * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise. 6648146897Skan * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise. 6649146897Skan * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise. 6650146897Skan 6651146897Skan2004-01-04 Paolo Carlini <pcarlini@suse.de> 6652146897Skan 6653146897Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: 6654146897Skan Remove redundant #includes. 6655146897Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: 6656146897Skan Likewise. 6657146897Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: 6658146897Skan Likewise. 6659146897Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: 6660146897Skan Likewise. 6661146897Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: 6662146897Skan Likewise. 6663146897Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: 6664146897Skan Likewise. 6665146897Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: 6666146897Skan Likewise. 6667146897Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: 6668146897Skan Likewise. 6669146897Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc: 6670146897Skan Likewise. 6671146897Skan * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc: 6672146897Skan Likewise. 6673146897Skan * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: 6674146897Skan Likewise. 6675146897Skan * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: 6676146897Skan Likewise. 6677146897Skan * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: 6678146897Skan Likewise. 6679146897Skan 6680146897Skan2004-01-04 Mark Mitchell <mark@codesourcery.com> 6681146897Skan 6682146897Skan PR c++/12226 6683146897Skan * testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy 6684146897Skan constructor. 6685146897Skan * testsuite/27_io/basic_fstream/4.cc: Likewise. 6686146897Skan * testsuite/27_io/basic_ifstream/4.cc: Likewise. 6687146897Skan * testsuite/27_io/basic_ios/4.cc: Likewise. 6688146897Skan * testsuite/27_io/basic_iostream/4.cc: Likewise. 6689146897Skan * testsuite/27_io/basic_istream/4.cc: Likewise. 6690146897Skan * testsuite/27_io/basic_istingstream/4.cc: Likewise. 6691146897Skan * testsuite/27_io/basic_ofstream/4.cc: Likewise. 6692146897Skan * testsuite/27_io/basic_ostream/4.cc: Likewise. 6693146897Skan * testsuite/27_io/basic_ostringstream/4.cc: Likewise. 6694146897Skan * testsuite/27_io/basic_stringbuf/5.cc: Likewise. 6695146897Skan * testsuite/27_io/basic_stringstream/4.cc: Likewise. 6696146897Skan 6697146897Skan2004-01-04 Paolo Carlini <pcarlini@suse.de> 6698146897Skan 6699146897Skan * config/locale/generic/numeric_members.cc (_M_initialize_numpunct): 6700146897Skan Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in; 6701146897Skan always use double underscored names. 6702146897Skan * config/locale/gnu/numeric_members.cc (_M_initialize_numpunct): 6703146897Skan Likewise. 6704146897Skan * include/bits/locale_facets.h (struct __numpunct_cache): 6705146897Skan Dimension _M_atoms_out and _M_atoms_in one position smaller. 6706146897Skan (__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out 6707146897Skan and _M_atoms_in. 6708