1 1.1 mrg 2004-12-31 Paolo Carlini <pcarlini (a] suse.de> 2 1.1 mrg 3 1.1 mrg * include/tr1/type_traits (is_member_function_pointer): Provide a 4 1.1 mrg workaround for c++/19076, correct for functions with up to 15 5 1.1 mrg arguments. 6 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 7 1.1 mrg is_member_pointer/is_member_pointer.cc: Uncomment "XFAILed" tests; 8 1.1 mrg add a test for variadic functions. 9 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 10 1.1 mrg is_scalar/is_scalar.cc: Uncomment "XFAILed" tests. 11 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 12 1.1 mrg is_enum/is_enum.cc: Likewise. 13 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 14 1.1 mrg is_member_function_pointer/is_member_function_pointer.cc: Likewise; 15 1.1 mrg add a test for variadic functions. 16 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 17 1.1 mrg is_member_object_pointer/is_member_object_pointer.cc: Likewise. 18 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 19 1.1 mrg has_nothrow_assign/has_nothrow_assign.cc: Uncomment "XFAILed" tests. 20 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 21 1.1 mrg has_nothrow_constructor/has_nothrow_constructor.cc: Likewise. 22 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 23 1.1 mrg has_nothrow_copy/has_nothrow_copy.cc: Likewise. 24 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 25 1.1 mrg has_trivial_assign/has_trivial_assign.cc: Likewise. 26 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 27 1.1 mrg has_trivial_constructor/has_trivial_constructor.cc: Likewise. 28 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 29 1.1 mrg has_trivial_copy/has_trivial_copy.cc: Likewise. 30 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 31 1.1 mrg has_trivial_destructor/has_trivial_destructor.cc: Likewise. 32 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 33 1.1 mrg is_pod/is_pod.cc: Likewise. 34 1.1 mrg 35 1.1 mrg 2004-12-30 Paolo Carlini <pcarlini (a] suse.de> 36 1.1 mrg 37 1.1 mrg * include/tr1/type_traits: Add has_trivial_copy, has_trivial_assign, 38 1.1 mrg has_nothrow_copy, has_nothrow_assign. 39 1.1 mrg * testsuite/testsuite_tr1.h: Add test_copy_property and 40 1.1 mrg test_assign_property. 41 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 42 1.1 mrg has_nothrow_assign/has_nothrow_assign.cc: New. 43 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 44 1.1 mrg has_nothrow_assign/typedefs.cc: Likewise. 45 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 46 1.1 mrg has_nothrow_copy/has_nothrow_copy.cc: Likewise. 47 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 48 1.1 mrg has_nothrow_copy/typedefs.cc: Likewise. 49 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 50 1.1 mrg has_trivial_assign/has_trivial_assign.cc: Likewise. 51 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 52 1.1 mrg has_trivial_assign/typedefs.cc: Likewise. 53 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 54 1.1 mrg has_trivial_copy/has_trivial_copy.cc: Likewise. 55 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 56 1.1 mrg has_trivial_copy/typedefs.cc: Likewise. 57 1.1 mrg 58 1.1 mrg 2004-12-29 Jonathan Wakely <redi (a] gcc.gnu.org> 59 1.1 mrg 60 1.1 mrg * include/bits/vector.tcc (erase(iterator, iterator), 61 1.1 mrg operator=, _M_assign_aux(_ForwardIterator, _ForwardIterator, 62 1.1 mrg forward_iterator_tag)): Qualify all calls to std::copy(). 63 1.1 mrg 64 1.1 mrg 2004-12-29 Paolo Carlini <pcarlini (a] suse.de> 65 1.1 mrg 66 1.1 mrg Minimal fixes for -fno-exceptions. 67 1.1 mrg * src/bitmap_allocator.cc (free_list::_M_get): Use 68 1.1 mrg __throw_exception_again, instead of plain throw. 69 1.1 mrg * testsuite/testsuite_abi.cc (get_symbol, examine_symbol, 70 1.1 mrg create_symbols): Likewise. 71 1.1 mrg * testsuite/testsuite_hooks.cc (verify_demangle, 72 1.1 mrg run_tests_wrapped_locale, run_tests_wrapped_env): Likewise. 73 1.1 mrg (try_named_locale): Wrap the whole catch in __EXCEPTIONS. 74 1.1 mrg 75 1.1 mrg 2004-12-29 Paolo Carlini <pcarlini (a] suse.de> 76 1.1 mrg 77 1.1 mrg * include/tr1/type_traits: Add has_nothrow_constructor. 78 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 79 1.1 mrg has_nothrow_constructor/has_nothrow_constructor.cc: New. 80 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 81 1.1 mrg has_nothrow_constructor/typedefs.cc: Likewise. 82 1.1 mrg 83 1.1 mrg 2004-12-28 David Edelsohn <edelsohn (a] gnu.org> 84 1.1 mrg 85 1.1 mrg * configure.host (aix4*|aix5*): Add atomic_word_dir. 86 1.1 mrg * config/os/aix/atomic_word.h: New file. 87 1.1 mrg 88 1.1 mrg 2004-12-27 Jason Merrill <jason (a] redhat.com> 89 1.1 mrg 90 1.1 mrg Add memory barriers to the double-checked locking used for static 91 1.1 mrg initialization. 92 1.1 mrg * libsupc++/guard.cc (__test_and_acquire): Define default. 93 1.1 mrg (_GLIBCXX_GUARD_TEST_AND_ACQUIRE, __set_and_release) 94 1.1 mrg (_GLIBCXX_GUARD_SET_AND_RELEASE): Likewise. 95 1.1 mrg (recursion_push, recursion_pop): New abstraction functions. 96 1.1 mrg (__cxa_guard_acquire): Use _GLIBCXX_GUARD_TEST_AND_ACQUIRE. 97 1.1 mrg (__cxa_guard_release): Use _GLIBCXX_GUARD_SET_AND_RELEASE. 98 1.1 mrg * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_TEST): Rename 99 1.1 mrg from _GLIBCXX_GUARD_ACQUIRE and reverse sense. 100 1.1 mrg (_GLIBCXX_GUARD_SET): Rename from _GLIBCXX_GUARD_RELEASE. 101 1.1 mrg * config/cpu/arm/cxxabi_tweaks.h: Likewise. 102 1.1 mrg * config/cpu/alpha/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER) 103 1.1 mrg (_GLIBCXX_WRITE_MEM_BARRIER): Define. 104 1.1 mrg * config/cpu/powerpc/atomic_word.h: Likewise. 105 1.1 mrg * config/cpu/sparc/atomic_word.h: Likewise. 106 1.1 mrg * config/cpu/generic/atomic_word.h: Define them, commented out. 107 1.1 mrg * include/bits/atomicity.h: Define defaults. 108 1.1 mrg * config/cpu/ia64/atomic_word.h (__test_and_acquire) 109 1.1 mrg (__set_and_release): New inlines. 110 1.1 mrg (_GLIBCXX_GUARD_TEST_AND_ACQUIRE): Define. 111 1.1 mrg (_GLIBCXX_GUARD_SET_AND_RELEASE): Define. 112 1.1 mrg 113 1.1 mrg * libsupc++/guard.cc (acquire_1): Use __builtin_trap instead of 114 1.1 mrg abort(); 115 1.1 mrg 116 1.1 mrg 2004-12-27 Paolo Carlini <pcarlini (a] suse.de> 117 1.1 mrg 118 1.1 mrg * include/tr1/type_traits: Rework the _DEFINE_SPEC* macros. 119 1.1 mrg 120 1.1 mrg 2004-12-26 Paolo Carlini <pcarlini (a] suse.de> 121 1.1 mrg 122 1.1 mrg * include/tr1/type_traits (__is_enum_helper): Slightly simplify, 123 1.1 mrg make __convert non template. 124 1.1 mrg 125 1.1 mrg 2004-12-26 Paolo Carlini <pcarlini (a] suse.de> 126 1.1 mrg 127 1.1 mrg * include/tr1/type_traits: Implement is_pod, has_trivial_constructor, 128 1.1 mrg and has_trivial_destructor. 129 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 130 1.1 mrg has_trivial_constructor/has_trivial_constructor.cc: New. 131 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 132 1.1 mrg has_trivial_constructor/typedefs.cc: Likewise. 133 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 134 1.1 mrg has_trivial_destructor/has_trivial_destructor.cc: Likewise. 135 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 136 1.1 mrg has_trivial_destructor/typedefs.cc: Likewise. 137 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 138 1.1 mrg is_pod/is_pod.cc: Likewise. 139 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 140 1.1 mrg is_pod/typedefs.cc: Likewise. 141 1.1 mrg 142 1.1 mrg 2004-12-25 Paolo Carlini <pcarlini (a] suse.de> 143 1.1 mrg 144 1.1 mrg * include/tr1/type_traits (is_enum): Minor tweak. 145 1.1 mrg 146 1.1 mrg 2004-12-25 Paolo Carlini <pcarlini (a] suse.de> 147 1.1 mrg 148 1.1 mrg * include/tr1/type_traits: Implement is_enum (usual caveats about 149 1.1 mrg the nasty consequences of c++/19076...). 150 1.1 mrg * testsuite/testsuite_tr1.h: Add ConvType. 151 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 152 1.1 mrg is_scalar/is_scalar.cc: New. 153 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 154 1.1 mrg is_scalar/typedefs.cc: Likewise. 155 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 156 1.1 mrg is_enum/is_enum.cc: Likewise. 157 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 158 1.1 mrg is_enum/typedefs.cc: Likewise. 159 1.1 mrg 160 1.1 mrg 2004-12-24 Paolo Carlini <pcarlini (a] suse.de> 161 1.1 mrg 162 1.1 mrg * include/tr1/type_traits: Add missing undef. 163 1.1 mrg 164 1.1 mrg 2004-12-24 Paolo Carlini <pcarlini (a] suse.de> 165 1.1 mrg 166 1.1 mrg * include/tr1/type_traits: Implement is_member_object_pointer, 167 1.1 mrg is_member_function_pointer. N.B. Due to c++/19076, the latter 168 1.1 mrg doesn't really work at the moment (a rather ugly work around 169 1.1 mrg will be provided in case the front-end bug doesn't get fixed 170 1.1 mrg soon); generalize and extend the _DEFINE_SPEC macros. 171 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 172 1.1 mrg is_member_pointer/is_member_pointer.cc: New. 173 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 174 1.1 mrg is_member_pointer/typedefs.cc: Likewise. 175 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 176 1.1 mrg is_member_function_pointer/is_member_function_pointer.cc: Likewise. 177 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 178 1.1 mrg is_member_function_pointer/typedefs.cc: Likewise. 179 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 180 1.1 mrg is_member_object_pointer/is_member_object_pointer.cc: Likewise. 181 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 182 1.1 mrg is_member_object_pointer/typedefs.cc: Likewise. 183 1.1 mrg 184 1.1 mrg 2004-12-22 Paolo Carlini <pcarlini (a] suse.de> 185 1.1 mrg 186 1.1 mrg * include/tr1/type_traits_fwd.h: New, forward declarations. 187 1.1 mrg * include/tr1/type_traits: Clean-up. 188 1.1 mrg * include/Makefile.am: Add. 189 1.1 mrg * include/Makefile.in: Regenerate. 190 1.1 mrg 191 1.1 mrg 2004-12-20 Paolo Carlini <pcarlini (a] suse.de> 192 1.1 mrg 193 1.1 mrg * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: New. 194 1.1 mrg * testsuite/27_io/basic_istream/peek/wchar_t/12296.cc: Likewise. 195 1.1 mrg * testsuite/27_io/basic_istream/peek/wchar_t/6414.cc: Likewise. 196 1.1 mrg * testsuite/27_io/basic_istream/putback/wchar_t/1.cc: Likewise. 197 1.1 mrg * testsuite/27_io/basic_istream/read/wchar_t/1.cc: Likewise. 198 1.1 mrg * testsuite/27_io/basic_istream/read/wchar_t/2.cc: Likewise. 199 1.1 mrg * testsuite/27_io/basic_istream/read/wchar_t/3.cc: Likewise. 200 1.1 mrg * testsuite/27_io/basic_istream/readsome/wchar_t/6746-1.cc: Likewise. 201 1.1 mrg * testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Likewise. 202 1.1 mrg * testsuite/27_io/basic_istream/readsome/wchar_t/8258.cc: Likewise. 203 1.1 mrg * testsuite/27_io/basic_istream/seekg/wchar_t/2.cc: Likewise. 204 1.1 mrg * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise. 205 1.1 mrg * testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise. 206 1.1 mrg * testsuite/27_io/basic_istream/seekg/wchar_t/ 207 1.1 mrg exceptions_badbit_throw.cc: Likewise. 208 1.1 mrg * testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise. 209 1.1 mrg * testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: Likewise. 210 1.1 mrg * testsuite/27_io/basic_istream/sentry/wchar_t/1.cc: Likewise. 211 1.1 mrg * testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise. 212 1.1 mrg * testsuite/27_io/basic_istream/sentry/wchar_t/2.cc: Likewise. 213 1.1 mrg * testsuite/27_io/basic_istream/sentry/wchar_t/3.cc: Likewise. 214 1.1 mrg * testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise. 215 1.1 mrg * testsuite/27_io/basic_istream/tellg/wchar_t/2.cc: Likewise. 216 1.1 mrg * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise. 217 1.1 mrg * testsuite/27_io/basic_istream/tellg/wchar_t/ 218 1.1 mrg exceptions_badbit_throw.cc: Likewise. 219 1.1 mrg * testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise. 220 1.1 mrg * testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: Likewise. 221 1.1 mrg * testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise. 222 1.1 mrg 223 1.1 mrg * testsuite/data/wistream_extractor_other-1.tst: New. 224 1.1 mrg * testsuite/data/wistream_extractor_other-1.txt: Likewise. 225 1.1 mrg * testsuite/data/wistream_extractor_other-2.tst: Likewise. 226 1.1 mrg * testsuite/data/wistream_seeks-1.tst: Likewise. 227 1.1 mrg * testsuite/data/wistream_seeks-1.txt: Likewise. 228 1.1 mrg * testsuite/data/wistream_unformatted-1.tst: Likewise. 229 1.1 mrg * testsuite/data/wistream_unformatted-1.txt: Likewise. 230 1.1 mrg 231 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc: 232 1.1 mrg Use wistream_extractor_other-1.txt. 233 1.1 mrg 234 1.1 mrg * testsuite/27_io/basic_istream/peek/char/6414.cc: Minor clean-up. 235 1.1 mrg * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise. 236 1.1 mrg * testsuite/27_io/basic_istream/read/char/1.cc: Likewise. 237 1.1 mrg * testsuite/27_io/basic_istream/read/char/2.cc: Likewise. 238 1.1 mrg 239 1.1 mrg 2004-12-19 Paolo Carlini <pcarlini (a] suse.de> 240 1.1 mrg 241 1.1 mrg * testsuite/27_io/basic_istream/exceptions/wchar_t/9561.cc: New. 242 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 243 1.1 mrg 01.cc: Likewise. 244 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 245 1.1 mrg 02.cc: Likewise. 246 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 247 1.1 mrg 03.cc: Likewise. 248 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 249 1.1 mrg 06.cc: Likewise. 250 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 251 1.1 mrg 07.cc: Likewise. 252 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 253 1.1 mrg 08.cc: Likewise. 254 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 255 1.1 mrg 09.cc: Likewise. 256 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 257 1.1 mrg 10.cc: Likewise. 258 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 259 1.1 mrg 11.cc: Likewise. 260 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 261 1.1 mrg 12.cc: Likewise. 262 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 263 1.1 mrg 13.cc: Likewise. 264 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 265 1.1 mrg 9555-ia.cc: Likewise. 266 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 267 1.1 mrg exceptions_badbit_throw.cc: Likewise. 268 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 269 1.1 mrg exceptions_failbit.cc: Likewise. 270 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ 271 1.1 mrg exceptions_failbit_throw.cc: Likewise. 272 1.1 mrg * testsuite/27_io/basic_istream/extractors_character/wchar_t/ 273 1.1 mrg 1.cc: Likewise. 274 1.1 mrg * testsuite/27_io/basic_istream/extractors_character/wchar_t/ 275 1.1 mrg 11095-i.cc: Likewise. 276 1.1 mrg * testsuite/27_io/basic_istream/extractors_character/wchar_t/ 277 1.1 mrg 2.cc: Likewise. 278 1.1 mrg * testsuite/27_io/basic_istream/extractors_character/wchar_t/ 279 1.1 mrg 3.cc: Likewise. 280 1.1 mrg * testsuite/27_io/basic_istream/extractors_character/wchar_t/ 281 1.1 mrg 9555-ic.cc: Likewise. 282 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 283 1.1 mrg 1.cc: Likewise. 284 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 285 1.1 mrg 2.cc: Likewise. 286 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 287 1.1 mrg 3.cc: Likewise. 288 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 289 1.1 mrg 9318-in.cc: Likewise. 290 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 291 1.1 mrg 9424-in.cc: Likewise. 292 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 293 1.1 mrg 9555-io.cc: Likewise. 294 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 295 1.1 mrg error_failbit.cc: Likewise. 296 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 297 1.1 mrg exceptions_badbit_throw.cc: Likewise. 298 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 299 1.1 mrg exceptions_failbit_throw.cc: Likewise. 300 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/wchar_t/ 301 1.1 mrg exceptions_null.cc: Likewise. 302 1.1 mrg 303 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/char/2.cc: Minor 304 1.1 mrg tweaks. 305 1.1 mrg 306 1.1 mrg * testsuite/testsuite_io.h (struct fail_buf): Fix type of 307 1.1 mrg dummy return values. 308 1.1 mrg 309 1.1 mrg 2004-12-19 Dhruv Matani <dhruvbird (a] gmx.net> 310 1.1 mrg 311 1.1 mrg * include/ext/bitmap_allocator.h: Make doxygen style comments for 312 1.1 mrg internal functions and classes. 313 1.1 mrg 314 1.1 mrg 2004-12-19 Dhruv Matani <dhruvbird (a] gmx.net> 315 1.1 mrg 316 1.1 mrg * docs/html/20_util/allocator.html: Correct link. 317 1.1 mrg * docs/html/ext/ballocator_doc.txt: Remove. 318 1.1 mrg * docs/html/ext/ballocator_doc.html: Add. 319 1.1 mrg 320 1.1 mrg 2004-12-16 Danny Smith <dannysmith (a] users.sourceforge.net> 321 1.1 mrg 322 1.1 mrg PR target/18997 323 1.1 mrg * config/os/newlib/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): 324 1.1 mrg Define to 0 for __CYGWIN__. 325 1.1 mrg 326 1.1 mrg 2004-12-16 Paolo Carlini <pcarlini (a] suse.de> 327 1.1 mrg 328 1.1 mrg * include/tr1/type_traits: Implement add_const, add_volatile, 329 1.1 mrg and add_cv. 330 1.1 mrg * testsuite/tr1/4_metaprogramming/const_volatile_modifications/ 331 1.1 mrg add_const.cc: New. 332 1.1 mrg * testsuite/tr1/4_metaprogramming/const_volatile_modifications/ 333 1.1 mrg add_cv.cc: Likewise. 334 1.1 mrg * testsuite/tr1/4_metaprogramming/const_volatile_modifications/ 335 1.1 mrg add_volatile.cc: Likewise. 336 1.1 mrg 337 1.1 mrg 2004-12-16 Paolo Carlini <pcarlini (a] suse.de> 338 1.1 mrg 339 1.1 mrg * include/tr1/type_traits: Implement is_function. 340 1.1 mrg (struct __sfinae_types, struct __is_function_helper): New. 341 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 342 1.1 mrg is_object/is_object.cc: New. 343 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 344 1.1 mrg is_object/typedefs.cc: Likewise. 345 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 346 1.1 mrg is_function/is_function.cc: Likewise. 347 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 348 1.1 mrg is_function/typedefs.cc: Likewise. 349 1.1 mrg 350 1.1 mrg 2004-12-13 Paolo Carlini <pcarlini (a] suse.de> 351 1.1 mrg 352 1.1 mrg * include/tr1/type_traits (extent): Minor tweak (i.e., public). 353 1.1 mrg 354 1.1 mrg 2004-12-12 Paolo Carlini <pcarlini (a] suse.de> 355 1.1 mrg 356 1.1 mrg * include/tr1/type_traits: Minor tweak. 357 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/extent/ 358 1.1 mrg typedefs.cc: Fix date. 359 1.1 mrg 360 1.1 mrg 2004-12-12 Paolo Carlini <pcarlini (a] suse.de> 361 1.1 mrg 362 1.1 mrg * include/tr1/type_traits: Implement extent. 363 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/extent/ 364 1.1 mrg extent.cc: New. 365 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/extent/ 366 1.1 mrg typedefs.cc: Likewise. 367 1.1 mrg 368 1.1 mrg 2004-12-12 Paolo Carlini <pcarlini (a] suse.de> 369 1.1 mrg 370 1.1 mrg * include/tr1/type_traits: Implement is_pointer, remove_pointer, 371 1.1 mrg and add_pointer; reformat. 372 1.1 mrg (_DEFINE_PRIMARY_SPEC_HELPER, _DEFINE_PRIMARY_SPEC): Generalize 373 1.1 mrg and rename to _DEFINE_SPEC_HELPER and _DEFINE_SPEC; update uses. 374 1.1 mrg * testsuite/tr1/4_metaprogramming/pointer_modifications/ 375 1.1 mrg add_pointer.cc: New. 376 1.1 mrg * testsuite/tr1/4_metaprogramming/pointer_modifications/ 377 1.1 mrg remove_pointer.cc: Likewise. 378 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 379 1.1 mrg is_pointer/is_pointer.cc: Likewise. 380 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 381 1.1 mrg is_pointer/typedefs.cc: Likewise. 382 1.1 mrg 383 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 384 1.1 mrg is_reference/is_reference.cc: Slightly tweak consistently. 385 1.1 mrg 386 1.1 mrg 2004-12-11 Paolo Carlini <pcarlini (a] suse.de> 387 1.1 mrg 388 1.1 mrg * include/tr1/type_traits: Implement rank. 389 1.1 mrg * testsuite/testsuite_tr1.h (test_property): Generalize to any 390 1.1 mrg value_type. 391 1.1 mrg (test_category, test_relationship): Slightly tweak consistently. 392 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/rank/ 393 1.1 mrg rank.cc: New. 394 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/rank/ 395 1.1 mrg typedefs.cc: Likewise. 396 1.1 mrg 397 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 398 1.1 mrg is_compound/is_compound.cc: New. 399 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 400 1.1 mrg is_compound/typedefs.cc: Likewise. 401 1.1 mrg 402 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 403 1.1 mrg is_arithmetic/is_arithmetic.cc: Tweak consistently with the 404 1.1 mrg testsuite_tr1.h changes. 405 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 406 1.1 mrg is_fundamental/is_fundamental.cc: Likewise. 407 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 408 1.1 mrg is_array/is_array.cc: Likewise. 409 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 410 1.1 mrg is_floating_point/is_floating_point.cc: Likewise. 411 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 412 1.1 mrg is_integral/is_integral.cc: Likewise. 413 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 414 1.1 mrg is_reference/is_reference.cc: Likewise. 415 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 416 1.1 mrg is_void/is_void.cc: Likewise. 417 1.1 mrg * testsuite/tr1/4_metaprogramming/relationships_between_types/ 418 1.1 mrg is_same/is_same.cc: Likewise. 419 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/is_const/ 420 1.1 mrg is_const.cc: Likewise. 421 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/is_volatile/ 422 1.1 mrg is_volatile.cc: Likewise. 423 1.1 mrg 424 1.1 mrg 2004-12-10 Paolo Carlini <pcarlini (a] suse.de> 425 1.1 mrg 426 1.1 mrg * include/tr1/type_traits: Implement remove_const, remove_volatile, 427 1.1 mrg and remove_cv. 428 1.1 mrg * testsuite/tr1/4_metaprogramming/const_volatile_modifications/ 429 1.1 mrg remove_const.cc: New. 430 1.1 mrg * testsuite/tr1/4_metaprogramming/const_volatile_modifications/ 431 1.1 mrg remove_cv.cc: Likewise. 432 1.1 mrg * testsuite/tr1/4_metaprogramming/const_volatile_modifications/ 433 1.1 mrg remove_volatile.cc: Likewise. 434 1.1 mrg 435 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 436 1.1 mrg is_array/is_array.cc: Slightly tweak consistently, remove typedefs, 437 1.1 mrg add a few tests. 438 1.1 mrg 439 1.1 mrg 2004-12-09 Paolo Carlini <pcarlini (a] suse.de> 440 1.1 mrg 441 1.1 mrg * include/tr1/type_traits: Implement remove_extent and 442 1.1 mrg remove_all_extents. 443 1.1 mrg * testsuite/tr1/4_metaprogramming/array_modifications/ 444 1.1 mrg remove_all_extents.cc: New. 445 1.1 mrg * testsuite/tr1/4_metaprogramming/array_modifications/ 446 1.1 mrg remove_extent.cc: Likewise. 447 1.1 mrg 448 1.1 mrg 2004-12-08 Paolo Carlini <pcarlini (a] suse.de> 449 1.1 mrg 450 1.1 mrg * include/tr1/type_traits: Implement is_same, add_reference and 451 1.1 mrg remove_reference. 452 1.1 mrg * testsuite/testsuite_tr1.h (test_relationship): New. 453 1.1 mrg * testsuite/tr1/4_metaprogramming/reference_modifications/ 454 1.1 mrg add_reference.cc: New. 455 1.1 mrg * testsuite/tr1/4_metaprogramming/reference_modifications/ 456 1.1 mrg remove_reference.cc: Likewise. 457 1.1 mrg * testsuite/tr1/4_metaprogramming/relationships_between_types/ 458 1.1 mrg is_same/is_same.cc: Likewise. 459 1.1 mrg * testsuite/tr1/4_metaprogramming/relationships_between_types/ 460 1.1 mrg is_same/typedefs.cc: Likewise. 461 1.1 mrg 462 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/is_const/ 463 1.1 mrg is_const.cc: Minor tweaks. 464 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/is_volatile/ 465 1.1 mrg is_volatile.cc: Likewise. 466 1.1 mrg 467 1.1 mrg 2004-12-08 David Edelsohn <edelsohn (a] gnu.org> 468 1.1 mrg 469 1.1 mrg * Makefile.am (AM_MAKEFLAGS): Remove duplicate LIBCFLAGS and 470 1.1 mrg PICFLAG. 471 1.1 mrg * Makefile.in: Regenerated. 472 1.1 mrg 473 1.1 mrg 2004-12-07 Paolo Carlini <pcarlini (a] suse.de> 474 1.1 mrg 475 1.1 mrg * include/tr1/type_traits: Implement is_const and is_volatile. 476 1.1 mrg * testsuite/testsuite_tr1.h (test_property): New. 477 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 478 1.1 mrg is_const/is_const.c: New. 479 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 480 1.1 mrg is_const/typedefs.cc: Likewise. 481 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 482 1.1 mrg is_volatile/is_volatile.cc: Likewise. 483 1.1 mrg * testsuite/tr1/4_metaprogramming/type_properties/ 484 1.1 mrg is_volatile/typedefs.cc: Likewise. 485 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 486 1.1 mrg is_arithmetic/is_arithmetic.cc: Slightly tweak to use ClassType 487 1.1 mrg from testsuite_tr1.h. 488 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 489 1.1 mrg is_fundamental/is_fundamental.cc: Likewise. 490 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 491 1.1 mrg is_array/is_array.cc: Likewise. 492 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 493 1.1 mrg is_floating_point/is_floating_point.cc: Likewise. 494 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 495 1.1 mrg is_integral/is_integral.cc: Likewise. 496 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 497 1.1 mrg is_reference/is_reference.cc: Likewise. 498 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 499 1.1 mrg is_void/is_void.cc: Likewise. 500 1.1 mrg 501 1.1 mrg 2004-12-06 Paolo Carlini <pcarlini (a] suse.de> 502 1.1 mrg 503 1.1 mrg * include/tr1/type_traits: Implement is_reference. 504 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 505 1.1 mrg is_reference/is_reference.cc: New. 506 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 507 1.1 mrg is_reference/typedefs.cc: Likewise. 508 1.1 mrg 509 1.1 mrg 2004-12-05 Paolo Carlini <pcarlini (a] suse.de> 510 1.1 mrg 511 1.1 mrg PR libstdc++/18837 512 1.1 mrg * testsuite/testsuite_performance.h: Fix mallinfo macros for 513 1.1 mrg hpux. 514 1.1 mrg 515 1.1 mrg 2004-12-04 Richard Henderson <rth (a] redhat.com> 516 1.1 mrg 517 1.1 mrg * testsuite/26_numerics/complex/pow.cc: Use -mieee on alpha. 518 1.1 mrg 519 1.1 mrg 2004-12-04 Richard Henderson <rth (a] redhat.com> 520 1.1 mrg 521 1.1 mrg * include/ext/malloc_allocator.h: Include cstdlib. 522 1.1 mrg 523 1.1 mrg 2004-12-04 Paolo Carlini <pcarlini (a] suse.de> 524 1.1 mrg 525 1.1 mrg * include/tr1/type_traits: New. 526 1.1 mrg * include/Makefile.am: Add. 527 1.1 mrg * include/Makefile.in: Regenerate. 528 1.1 mrg * testsuite/testsuite_tr1.h: New. 529 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 530 1.1 mrg is_arithmetic/is_arithmetic.cc: New. 531 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 532 1.1 mrg is_arithmetic/typedefs.cc: Likewise. 533 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 534 1.1 mrg is_fundamental/is_fundamental.cc: Likewise. 535 1.1 mrg * testsuite/tr1/4_metaprogramming/composite_type_traits/ 536 1.1 mrg is_fundamental/typedefs.cc: Likewise. 537 1.1 mrg * testsuite/tr1/4_metaprogramming/helper_classes/ 538 1.1 mrg true_false_type.cc: Likewise. 539 1.1 mrg * testsuite/tr1/4_metaprogramming/helper_classes/ 540 1.1 mrg true_false_type_typedefs.cc: Likewise. 541 1.1 mrg * testsuite/tr1/4_metaprogramming/helper_classes/ 542 1.1 mrg typedefs.cc: Likewise. 543 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 544 1.1 mrg is_array/is_array.cc: Likewise. 545 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 546 1.1 mrg is_array/typedefs.cc: Likewise. 547 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 548 1.1 mrg is_floating_point/is_floating_point.cc: Likewise. 549 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 550 1.1 mrg is_floating_point/typedefs.cc: Likewise. 551 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 552 1.1 mrg is_integral/is_integral.cc: Likewise. 553 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 554 1.1 mrg is_integral/typedefs.cc: Likewise. 555 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 556 1.1 mrg is_void/is_void.cc: Likewise. 557 1.1 mrg * testsuite/tr1/4_metaprogramming/primary_type_categories/ 558 1.1 mrg is_void/typedefs.cc: Likewise. 559 1.1 mrg 560 1.1 mrg 2004-12-02 Paolo Carlini <pcarlini (a] suse.de> 561 1.1 mrg 562 1.1 mrg * testsuite/testsuite_io.h (class sync_buf): New, templatized 563 1.1 mrg version of sync_streambuf; add typedefs for streambuf/wstreambuf. 564 1.1 mrg (class fail_buf): Likewise, for fail_streambuf. 565 1.1 mrg (class fail_num_get): Templatize and add char/wchar_t typedefs. 566 1.1 mrg (class fail_num_put): Likewise. 567 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/ 568 1.1 mrg exceptions_badbit_throw.cc: Use the latter. 569 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/ 570 1.1 mrg exceptions_failbit_throw.cc: Likewise. 571 1.1 mrg * testsuite/27_io/basic_ostream/inserters_arithmetic/char/ 572 1.1 mrg exceptions_badbit_throw.cc: Likewise. 573 1.1 mrg * testsuite/27_io/basic_ostream/inserters_arithmetic/char/ 574 1.1 mrg exceptions_failbit_throw.cc: Likewise. 575 1.1 mrg 576 1.1 mrg 2004-12-01 Paolo Carlini <pcarlini (a] suse.de> 577 1.1 mrg 578 1.1 mrg * testsuite/27_io/basic_istream/get/wchar_t/1.cc: New. 579 1.1 mrg * testsuite/27_io/basic_istream/get/wchar_t/2.cc: Likewise. 580 1.1 mrg * testsuite/27_io/basic_istream/get/wchar_t/3.cc: Likewise. 581 1.1 mrg * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise. 582 1.1 mrg * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Likewise. 583 1.1 mrg * testsuite/27_io/basic_istream/ignore/wchar_t/3.cc: Likewise. 584 1.1 mrg * testsuite/27_io/basic_istream/ignore/wchar_t/6360.cc: Likewise. 585 1.1 mrg * testsuite/27_io/basic_istream/ignore/wchar_t/7220.cc: Likewise. 586 1.1 mrg 587 1.1 mrg 2004-11-29 Paolo Carlini <pcarlini (a] suse.de> 588 1.1 mrg 589 1.1 mrg * testsuite/21_strings/basic_string/capacity/char/18654.cc: Use 590 1.1 mrg better names. 591 1.1 mrg * testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: Same. 592 1.1 mrg 593 1.1 mrg 2004-11-29 Paolo Carlini <pcarlini (a] suse.de> 594 1.1 mrg 595 1.1 mrg PR libstdc++/18654 596 1.1 mrg * include/bits/basic_string.tcc (_Rep::_S_create): When shrinking, 597 1.1 mrg do not round to pagesize. 598 1.1 mrg * testsuite/21_strings/basic_string/capacity/char/18654.cc: New. 599 1.1 mrg * testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: New. 600 1.1 mrg 601 1.1 mrg 2004-11-27 Paolo Carlini <pcarlini (a] suse.de> 602 1.1 mrg 603 1.1 mrg PR libstdc++/18690 604 1.1 mrg * include/tr1/utility (get(pair), get(const pair)): Change 605 1.1 mrg occurrences of _I to _Int. 606 1.1 mrg 607 1.1 mrg 2004-11-27 Paolo Carlini <pcarlini (a] suse.de> 608 1.1 mrg 609 1.1 mrg * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: Fix typo. 610 1.1 mrg * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: Likewise. 611 1.1 mrg 612 1.1 mrg * testsuite/22_locale/time_put/put/char/17038.cc: Use VERIFY. 613 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise. 614 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: Likewise. 615 1.1 mrg * testsuite/27_io/basic_ios/exceptions/char/2.cc: Likewise. 616 1.1 mrg 617 1.1 mrg 2004-11-26 Paolo Carlini <pcarlini (a] suse.de> 618 1.1 mrg 619 1.1 mrg DR 243. get and getline when sentry reports failure [WP] 620 1.1 mrg * include/bits/istream.tcc (istream<>::get, istream<>::getline): 621 1.1 mrg Store a null character only if the array has a non-zero size. 622 1.1 mrg * src/istream.cc (istream<char>::getline, istream<wchar_t>::getline): 623 1.1 mrg Likewise. 624 1.1 mrg * testsuite/27_io/basic_istream/get/char/3.cc: New. 625 1.1 mrg * testsuite/27_io/basic_istream/getline/char/6.cc: New. 626 1.1 mrg * testsuite/27_io/basic_istream/getline/wchar_t/6.cc: New. 627 1.1 mrg * docs/html/ext/howto.html: Add an entry for DR 243. 628 1.1 mrg 629 1.1 mrg * testsuite/27_io/basic_istream/getline/wchar_t/1.cc: New. 630 1.1 mrg * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: New. 631 1.1 mrg * testsuite/27_io/basic_istream/getline/wchar_t/3.cc: New. 632 1.1 mrg * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: New. 633 1.1 mrg * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: New. 634 1.1 mrg 635 1.1 mrg 2004-11-24 Kelley Cook <kcook (a] gcc.gnu.org> 636 1.1 mrg 637 1.1 mrg * configure: Regenerate for libtool change. 638 1.1 mrg 639 1.1 mrg 2004-11-24 Kelley Cook <kcook (a] gcc.gnu.org> 640 1.1 mrg 641 1.1 mrg * Makefile.in, aclocal.m4: Regenerate with automake 1.9.3. 642 1.1 mrg * include/Makefile.in: Likewise. 643 1.1 mrg * libmath/Makefile.in: Likewise. 644 1.1 mrg * libsupc++/Makefile.in: Likewise. 645 1.1 mrg * po/Makefile.in: Likewise. 646 1.1 mrg * src/Makefile.in: Likewise. 647 1.1 mrg * testsuite/Makefile.in: Likewise. 648 1.1 mrg 649 1.1 mrg 2004-11-24 Jonathan Wakely <redi (a] kayari.org> 650 1.1 mrg 651 1.1 mrg * docs/html/ext/howto.html: Fix incorrect link. 652 1.1 mrg * docs/html/documentation.html: Regenerate. 653 1.1 mrg 654 1.1 mrg 2004-11-24 Nathan Myers <ncm (a] cantrip.org> 655 1.1 mrg 656 1.1 mrg * include/bits/streambuf_iterator.h 657 1.1 mrg (istreambuf_iterator<>::operator++(), operator++(int)): Don't 658 1.1 mrg check unnecessarily the return value of _M_sbuf->sbumpc(). 659 1.1 mrg 660 1.1 mrg 2004-11-24 Benjamin Kosnik <bkoz (a] redhat.com> 661 1.1 mrg 662 1.1 mrg * include/Makefile.am (tr1_headers): Add utility, functional. 663 1.1 mrg * include/Makefile.in: Regenerate. 664 1.1 mrg 665 1.1 mrg 2004-11-24 Chris Jefferson <chris (a] bubblescope.net> 666 1.1 mrg 667 1.1 mrg * include/tr1/tuple(operator!=): Change operator 668 1.1 mrg definition to match (draft) technical report. 669 1.1 mrg (operator>): Same. 670 1.1 mrg (operator<=): Same. 671 1.1 mrg (operator>=): Same. 672 1.1 mrg (ref): Move to include/tr1/functional. 673 1.1 mrg (cref): Same. 674 1.1 mrg (tuple_size<pair>): Move to include/tr1/utility. 675 1.1 mrg (tuple_element<,pair>): Same. 676 1.1 mrg * include/tr1/functional: New. 677 1.1 mrg * include/tr1/utility: New. 678 1.1 mrg * testsuite/tr1/6_container/utility/pair.cc: New. 679 1.1 mrg 680 1.1 mrg 2004-11-24 Volker Reichelt <reichelt (a] igpm.rwth-aachen.de> 681 1.1 mrg 682 1.1 mrg * config/locale/ieee_1003.1-2001/codecvt_specializations.h 683 1.1 mrg (do_out, do_unshift, do_in): Remove redundant typedef. 684 1.1 mrg 685 1.1 mrg 2004-11-23 Chris Jefferson <chris (a] bubblescope.net> 686 1.1 mrg 687 1.1 mrg * testsuite/testsuite_iterators.h: New. 688 1.1 mrg * testsuite/25_algorithms/search_n/iterator.cc: New. 689 1.1 mrg * testsuite/performance/25_algorithms/search_n.cc: New. 690 1.1 mrg 691 1.1 mrg 2004-11-23 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca> 692 1.1 mrg 693 1.1 mrg * testsuite/lib/libstdc++.exp: Use new procs in target-libpath.exp. 694 1.1 mrg 695 1.1 mrg 2004-11-23 Benjamin Kosnik <bkoz (a] redhat.com> 696 1.1 mrg 697 1.1 mrg * docs/doxygen/doxygroups.cc: Add std::tr1 namespace. 698 1.1 mrg * docs/doxygen/run_doxygen: Renames for std::tr1. 699 1.1 mrg * docs/doxygen/user.cfg.in: Add cxxabi.h. 700 1.1 mrg * include/bits/*.tcc: Add file markup. 701 1.1 mrg * include/bits/allocator.h: Add link to allocator.html. 702 1.1 mrg * include/bits/atomicity.h: Add file markup. 703 1.1 mrg * include/bits/concurrence.h: Same. 704 1.1 mrg * include/bits/functexcept.h: Same. 705 1.1 mrg * include/ext*: Adjust file markup, remove GCC3 bits. 706 1.1 mrg * include/std/*: Adjust file markup, remove bits about renamed files. 707 1.1 mrg * libsupc++/cxxabi.h: Add file markup. 708 1.1 mrg * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust line numbers. 709 1.1 mrg 710 1.1 mrg 2004-11-22 Benjamin Kosnik <bkoz (a] redhat.com> 711 1.1 mrg 712 1.1 mrg * include/bits/locale_facets.h (isspace, isprint, isupper, 713 1.1 mrg islower, isalpha, isdigit, ispunct, isxdigit, isalnum, isgraph, 714 1.1 mrg toupper, tolower): Add doxygen markup. 715 1.1 mrg (codecvt_byname, ctype_byname, numpunct_byname, collate_byname, 716 1.1 mrg time_get_byname, time_put_byname, moneypunct_byname, 717 1.1 mrg messages_byname): Same. 718 1.1 mrg * include/std/std_fstream.h: Remove superfluous markup. 719 1.1 mrg * include/std/std_sstream.h: Same. 720 1.1 mrg * include/std/std_streambuf.h: Same. 721 1.1 mrg * include/ext/enc_filebuf.h: Adjust markup. 722 1.1 mrg * include/ext/stdio_filebuf.h: Same. 723 1.1 mrg * include/ext/stdio_sync_filebuf.h: Same. 724 1.1 mrg * include/bits/codecvt.h: Same. 725 1.1 mrg * config/os/gnu-linux/ctype_base.h: Same. 726 1.1 mrg * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same. 727 1.1 mrg * include/tr1/array: Add markup. 728 1.1 mrg * include/tr1/tuple: Same. 729 1.1 mrg 730 1.1 mrg * docs/doxygen/run_doxygen: Print arguments. 731 1.1 mrg 732 1.1 mrg * docs/doxygen/user.cfg.in: Tweaks. 733 1.1 mrg 734 1.1 mrg 2004-11-19 Jonathan Wakely <redi (a] gcc.gnu.org> 735 1.1 mrg 736 1.1 mrg * include/bits/basic_string.h, include/bits/locale_classes.h, 737 1.1 mrg include/bits/valarray_after.h, include/bits/valarray_before.h, 738 1.1 mrg include/ext/stdio_sync_filebuf.h, include/std/std_algorithm.h, 739 1.1 mrg include/std/std_functional.h, include/std/std_memory.h, 740 1.1 mrg include/std/std_numeric.h: Doxygen fixes. 741 1.1 mrg 742 1.1 mrg 2004-11-19 Paolo Carlini <pcarlini (a] suse.de> 743 1.1 mrg 744 1.1 mrg * testsuite/22_locale/time_get/get_date/char/1.cc: In the checks 745 1.1 mrg use, more correctly (and consistently with other testcases) the 746 1.1 mrg return value of the facet (the iterator arguments are by value). 747 1.1 mrg * testsuite/22_locale/time_get/get_date/char/12791.cc: Likewise. 748 1.1 mrg * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise. 749 1.1 mrg * testsuite/22_locale/time_get/get_date/wchar_t/12791.cc: Likewise. 750 1.1 mrg * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise. 751 1.1 mrg * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise. 752 1.1 mrg * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise. 753 1.1 mrg * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise. 754 1.1 mrg * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise. 755 1.1 mrg * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise. 756 1.1 mrg * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise. 757 1.1 mrg * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise. 758 1.1 mrg 759 1.1 mrg 2004-11-19 Jonathan Wakely <redi (a] gcc.gnu.org> 760 1.1 mrg 761 1.1 mrg * Makefile.am (doxygen, doxygen-maint, doxygen-man): Remove extra '$' 762 1.1 mrg from host_alias variable. 763 1.1 mrg * Makefile.in: Regenerate. 764 1.1 mrg 765 1.1 mrg 2004-11-19 Chris Jefferson <chris (a] bubblescope.net> 766 1.1 mrg 767 1.1 mrg * include/bits/stl_list.h (list::back, list::back const): 768 1.1 mrg Don't decrement temporary. 769 1.1 mrg 770 1.1 mrg 2004-11-19 Paolo Carlini <pcarlini (a] suse.de> 771 1.1 mrg 772 1.1 mrg * include/bits/stl_deque.h (deque::front, deque::front const, 773 1.1 mrg deque::back, deque::back const): Slightly tweak for stylistic 774 1.1 mrg consistency. 775 1.1 mrg 776 1.1 mrg 2004-11-18 Paolo Carlini <pcarlini (a] suse.de> 777 1.1 mrg 778 1.1 mrg * testsuite/26_numerics/numeric/sum_diff.cc: Use VERIFY. 779 1.1 mrg * testsuite/ext/array_allocator/1.cc: Likewise. 780 1.1 mrg * testsuite/ext/array_allocator/2.cc: Likewise. 781 1.1 mrg * testsuite/ext/array_allocator/3.cc: Likewise. 782 1.1 mrg * testsuite/ext/enc_filebuf/char/13598.cc: Likewise. 783 1.1 mrg 784 1.1 mrg 2004-11-18 Paolo Carlini <pcarlini (a] suse.de> 785 1.1 mrg 786 1.1 mrg * include/bits/locale_facets.tcc (num_get<>::do_get(void*&)): 787 1.1 mrg If the failbit is set, don't set it again. 788 1.1 mrg (money_get<>::_M_extract): Minor stylistic tweak: consistently 789 1.1 mrg with the other functions, take care of eofbit at the end. 790 1.1 mrg 791 1.1 mrg 2004-11-18 Paolo Carlini <pcarlini (a] suse.de> 792 1.1 mrg 793 1.1 mrg DR 434. bitset::to_string() hard to use [Ready] 794 1.1 mrg * include/std/std_bitset.h (to_string): Add three overloads, taking 795 1.1 mrg fewer template arguments. 796 1.1 mrg * docs/html/ext/howto.html: Add an entry for DR 434. 797 1.1 mrg * testsuite/23_containers/bitset/to_string/1.cc: New. 798 1.1 mrg 799 1.1 mrg 2004-11-17 Paolo Carlini <pcarlini (a] suse.de> 800 1.1 mrg 801 1.1 mrg * include/bits/istream.tcc (getline(basic_istream<>&, basic_string<>&, 802 1.1 mrg _CharT)): Remove temporary kludge for libstdc++/15002. 803 1.1 mrg * include/std/std_streambuf.h (class basic_streambuf): Declare 804 1.1 mrg getline(basic_istream<>&, basic_string<>&, _CharT) as friend. 805 1.1 mrg * include/bits/basic_string.h (getline(basic_istream<>&, 806 1.1 mrg basic_string<>&, _CharT)): Declare optimized specializations for 807 1.1 mrg char and wchar_t, using protected members of basic_streambuf. 808 1.1 mrg * src/istream.cc: Define the latter. 809 1.1 mrg 810 1.1 mrg 2004-11-16 Jonathan Wakely <redi (a] gcc.gnu.org> 811 1.1 mrg 812 1.1 mrg * docs/html/19_diagnostics/howto.html: Document change from 813 1.1 mrg _GLIBCPP_CONCEPT_CHECKS to _GLIBCXX_CONCEPT_CHECKS in 3.4. 814 1.1 mrg 815 1.1 mrg 2004-11-16 Matthias Klose <doko (a] debian.org> 816 1.1 mrg 817 1.1 mrg * docs/doxygen/user.cfg.in: Set HAVE_DOT to NO. 818 1.1 mrg 819 1.1 mrg 2004-11-16 Matthias Klose <doko (a] debian.org> 820 1.1 mrg 821 1.1 mrg * Makefile.am (doxygen, doxygen-maint, doxygen-man): Use host_alias 822 1.1 mrg instead of build_alias. 823 1.1 mrg * docs/doxygen/run_doxygen: Likewise. 824 1.1 mrg * docs/doxygen/user.cfg.in: Likewise. 825 1.1 mrg * Makefile.in: Regenerate. 826 1.1 mrg 827 1.1 mrg 2004-11-15 Paolo Carlini <pcarlini (a] suse.de> 828 1.1 mrg 829 1.1 mrg * include/bits/streambuf.tcc (__copy_streambufs): Provide 830 1.1 mrg a generic version of the function, not using the protected 831 1.1 mrg members of basic_streambuf. 832 1.1 mrg * include/std/std_streambuf.h (__copy_streambufs): Declare 833 1.1 mrg optimized specializations for char and wchar_t. 834 1.1 mrg * src/streambuf.cc: New file, define the latter. 835 1.1 mrg * src/Makefile.am: Add. 836 1.1 mrg * src/Makefile.in: Regenerate. 837 1.1 mrg 838 1.1 mrg 2004-11-15 Matthias Klose <doko (a] debian.org> 839 1.1 mrg 840 1.1 mrg * docs/doxygen/run_doxygen: Add --build_alias option, 841 1.1 mrg substitute it in docs/doxygen/user.cfg.in. 842 1.1 mrg * docs/doxygen/user.cfg.in: Use build_alias. 843 1.1 mrg * Makefile.am: Pass --build_alias to run_doxygen 844 1.1 mrg * Makefile.in: Regenerate. 845 1.1 mrg 846 1.1 mrg 2004-11-15 Benjamin Kosnik <bkoz (a] redhat.com> 847 1.1 mrg 848 1.1 mrg * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.4. 849 1.1 mrg 850 1.1 mrg 2004-11-15 Paolo Carlini <pcarlini (a] suse.de> 851 1.1 mrg 852 1.1 mrg * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 33. 853 1.1 mrg 854 1.1 mrg 2004-11-14 Paolo Carlini <pcarlini (a] suse.de> 855 1.1 mrg 856 1.1 mrg * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): 857 1.1 mrg Slightly tweak for clarity (also leads to measurably better code). 858 1.1 mrg 859 1.1 mrg 2004-11-12 Andrew Pinski <pinskia (a] physics.uc.edu> 860 1.1 mrg 861 1.1 mrg PR other/14264 862 1.1 mrg * testsuite/lib/libstdc++.exp: Set LC_ALL and LANG to C. 863 1.1 mrg 864 1.1 mrg 2004-11-09 Paolo Carlini <pcarlini (a] suse.de> 865 1.1 mrg 866 1.1 mrg * include/bits/locale_facets.tcc (time_get<>::do_get_weekday, 867 1.1 mrg time_get<>::do_get_monthname): Absolutely avoid dereferencing 868 1.1 mrg end iterators. 869 1.1 mrg 870 1.1 mrg * include/bits/locale_facets.tcc (time_get<>::_M_extract_name): 871 1.1 mrg Minor tweak. 872 1.1 mrg 873 1.1 mrg 2004-11-08 Benjamin Kosnik <bkoz (a] redhat.com> 874 1.1 mrg Doug Gregor <dgregor (a] cs.indiana.edu> 875 1.1 mrg 876 1.1 mrg PR libstdc++/17664 877 1.1 mrg * src/debug.cc : Just use one mutex. 878 1.1 mrg 879 1.1 mrg 2004-11-08 Benjamin Kosnik <bkoz (a] redhat.com> 880 1.1 mrg 881 1.1 mrg * configure.ac (libtool_VERSION): To 6:4:0. 882 1.1 mrg * configure: Regenerate. 883 1.1 mrg 884 1.1 mrg * config/linker-map.gnu: Slide new symbols into GLIBCXX_3.4.4. 885 1.1 mrg 886 1.1 mrg * docs/doxygen/user.cfg.in: Add more extension files. 887 1.1 mrg 888 1.1 mrg 2004-11-08 Paolo Carlini <pcarlini (a] suse.de> 889 1.1 mrg 890 1.1 mrg * include/bits/streambuf_iterator.h (class istreambuf_iterator): 891 1.1 mrg Consistently use _M_c to cache the current char, i.e., not only 892 1.1 mrg when operator++(int) is involved; change _M_c to mutable. 893 1.1 mrg (_M_get()): Always save the return value of _M_sbuf->sgetc() into 894 1.1 mrg _M_c. 895 1.1 mrg * testsuite/22_locale/time_get/get_monthname/char/1.cc: Fix 896 1.1 mrg (long standing) typo. 897 1.1 mrg * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise. 898 1.1 mrg * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise. 899 1.1 mrg * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise. 900 1.1 mrg 901 1.1 mrg 2004-11-08 Paolo Carlini <pcarlini (a] suse.de> 902 1.1 mrg 903 1.1 mrg * include/bits/istream.tcc (getline(char_type*, streamsize, 904 1.1 mrg char_type), ignore(streamsize), ignore(streamsize, int_type)): 905 1.1 mrg Restore a generic version of the functions, not using the 906 1.1 mrg protected members of basic_streambuf. 907 1.1 mrg * include/std/std_istream.h (getline(char_type*, streamsize, 908 1.1 mrg char_type), ignore(streamsize), ignore(streamsize, int_type)): 909 1.1 mrg Declare optimized specializations for char and wchar_t. 910 1.1 mrg * src/istream.cc: New file, define the latter. 911 1.1 mrg * src/Makefile.am: Add. 912 1.1 mrg * src/Makefile.in: Regenerate. 913 1.1 mrg 914 1.1 mrg 2004-11-07 Paolo Carlini <pcarlini (a] suse.de> 915 1.1 mrg 916 1.1 mrg * testsuite/performance/27_io/ifstream_getline-2.cc: New. 917 1.1 mrg 918 1.1 mrg 2004-11-05 Benjamin Kosnik <bkoz (a] redhat.com> 919 1.1 mrg 920 1.1 mrg PR libstdc++/17218 921 1.1 mrg PR libstdc++/17223 922 1.1 mrg * docs/doxygen/filter: Remove. 923 1.1 mrg * docs/doxygen/filter.sed: Remove. 924 1.1 mrg * docs/doxygen/mainpage.html: Add link to functions. 925 1.1 mrg * docs/doxygen/run_doxygen: Changes due to new source filtering. 926 1.1 mrg * docs/doxygen/user.cfg.in: Update to doxygen 1.3.9.1, tweak. 927 1.1 mrg * include/bits/allocator.h: Tweaks for doxygen. 928 1.1 mrg * include/bits/char_traits.h: Same. 929 1.1 mrg * include/bits/codecvt.h: Same. 930 1.1 mrg * include/bits/concurrence.h: Same. 931 1.1 mrg * include/bits/locale_facets.h: Same. 932 1.1 mrg * include/ext/array_allocator.h: Same. 933 1.1 mrg * include/ext/debug_allocator.h: Same. 934 1.1 mrg * include/ext/malloc_allocator.h: Same. 935 1.1 mrg * include/ext/mt_allocator.h: Same. 936 1.1 mrg * include/ext/new_allocator.h: Same. 937 1.1 mrg * include/ext/pool_allocator.h: Same. 938 1.1 mrg * include/ext/stdio_sync_filebuf.h: Same. 939 1.1 mrg * include/std/std_memory.h: Same. 940 1.1 mrg * include/tr1/array: Same. 941 1.1 mrg * include/tr1/tuple: Same. 942 1.1 mrg * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same. 943 1.1 mrg * config/os/gnu-linux/ctype_base.h: Same. 944 1.1 mrg 945 1.1 mrg 2004-11-04 Paolo Carlini <pcarlini (a] suse.de> 946 1.1 mrg 947 1.1 mrg * include/bits/locale_facets.tcc (num_get<>::do_get(bool&)): 948 1.1 mrg Evaluate __beg == __end the exact strict minimum number of times. 949 1.1 mrg 950 1.1 mrg 2004-11-03 Jonathan Wakely <redi (a] gcc.gnu.org> 951 1.1 mrg 952 1.1 mrg * include/bits/stl_numeric.h (partial_sum, adjacent_difference): 953 1.1 mrg Avoid dereferencing two times __first in the prologue. 954 1.1 mrg 955 1.1 mrg 2004-11-03 Paolo Carlini <pcarlini (a] suse.de> 956 1.1 mrg 957 1.1 mrg * include/bits/stl_numeric.h: Trivial formatting fixes. 958 1.1 mrg 959 1.1 mrg 2004-11-03 Benjamin Kosnik <bkoz (a] redhat.com> 960 1.1 mrg 961 1.1 mrg * include/bits/c++config: Spacing. 962 1.1 mrg * libsupc++/del_op.cc: Include c++config.h. 963 1.1 mrg * libsupc++/del_opnt.cc: Same. 964 1.1 mrg * libsupc++/del_opv.cc: Same. 965 1.1 mrg * libsupc++/del_opvnt.cc: Same. 966 1.1 mrg * libsupc++/new_op.cc: Same. 967 1.1 mrg * libsupc++/new_opnt.cc: Same. 968 1.1 mrg * libsupc++/new_opv.cc: Same. 969 1.1 mrg * libsupc++/new_opvnt.cc: Same. 970 1.1 mrg 971 1.1 mrg 2004-11-03 Aaron W. LaFramboise <aaronavay62 (a] aaronwl.com> 972 1.1 mrg 973 1.1 mrg * config/os/bsd/darwin/os_defines.h 974 1.1 mrg (_GLIBCXX_WEAK_DEFINITION): Define. 975 1.1 mrg * include/bits/c++config (_GLIBCXX_WEAK_DEFINITION): Define. 976 1.1 mrg * libsupc++/del_op.cc (operator delete(void *)): Use 977 1.1 mrg _GLIBCXX_WEAK_DEFINITION. 978 1.1 mrg * libsupc++/del_opnt.cc 979 1.1 mrg (operator delete(void *, const std::nothrow_t&)): Same. 980 1.1 mrg * libsupc++/del_opv.cc (operator delete[](void *)): Same. 981 1.1 mrg * libsupc++/del_opvnt.cc 982 1.1 mrg (operator delete[](void *, const std::nothrow_t&)): Same. 983 1.1 mrg * libsupc++/new_op.cc (operator new(std::size_t)): Same. 984 1.1 mrg * libsupc++/new_opnt.cc 985 1.1 mrg (operator new(std::size_t, const std::nothrow_t&)): Same 986 1.1 mrg * libsupc++/new_opv.cc (operator new[](std::size_t)): Same. 987 1.1 mrg * libsupc++/new_opvnt.cc 988 1.1 mrg (operator new[](std::size_t, const std::nothrow_t&)): Same. 989 1.1 mrg 990 1.1 mrg 2004-11-02 Paolo Carlini <pcarlini (a] suse.de> 991 1.1 mrg 992 1.1 mrg * include/bits/locale_facets.tcc (num_get<>::_M_extract_int): 993 1.1 mrg Evaluate *__beg the exact strict minimum number of times; likewise 994 1.1 mrg for __beg != __end; slightly simplify main parsing loop. 995 1.1 mrg 996 1.1 mrg 2004-11-02 Benjamin Kosnik <bkoz (a] redhat.com> 997 1.1 mrg Lothar Werzinger <lothar (a] xcerla.com> 998 1.1 mrg 999 1.1 mrg PR libstdc++/17664 1000 1.1 mrg * src/debug.cc: Include concurrence, use mutexes. 1001 1.1 mrg (_Safe_iterator_base::_M_attach): Here. 1002 1.1 mrg (_Safe_iterator_base::_M_detach): Here. 1003 1.1 mrg 1004 1.1 mrg 2004-11-02 Benjamin Kosnik <bkoz (a] redhat.com> 1005 1.1 mrg 1006 1.1 mrg PR libstdc++/17922 1007 1.1 mrg * include/bits/ios_base.h : Add enum values. 1008 1.1 mrg * testsuite/testsuite_hooks.h (bitmask_operators): Add function. 1009 1.1 mrg * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: New. 1010 1.1 mrg * testsuite/27_io/ios_base/types/fmtflags/case_label.cc: New. 1011 1.1 mrg * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: New. 1012 1.1 mrg * testsuite/27_io/ios_base/types/iostate/case_label.cc: New. 1013 1.1 mrg * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: New. 1014 1.1 mrg * testsuite/27_io/ios_base/types/openmode/case_label.cc: New. 1015 1.1 mrg * testsuite/27_io/ios_base/types/seekdir/case_label.cc: New. 1016 1.1 mrg 1017 1.1 mrg * config/io/c_io_stdio.h (__ios_flags): Mark deprecated. 1018 1.1 mrg * src/ios.cc: Same. 1019 1.1 mrg 1020 1.1 mrg * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers. 1021 1.1 mrg * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. 1022 1.1 mrg 1023 1.1 mrg 2004-11-01 Momchil Velikov <velco (a] fadata.bg> 1024 1.1 mrg 1025 1.1 mrg PR libstdc++/18185 1026 1.1 mrg * libsupc++/eh_globals.cc (get_globals_dtor): Delete unhandled 1027 1.1 mrg exceptions. 1028 1.1 mrg * testsuite/thread/18185.cc: New. 1029 1.1 mrg 1030 1.1 mrg 2004-11-01 Chris Jefferson <chris (a] bubblescope.net> 1031 1.1 mrg 1032 1.1 mrg PR libstdc++/18159 1033 1.1 mrg * include/tr1/tuple (get(pair)): Change occurrences of _I to _Int. 1034 1.1 mrg (get(const pair)): Likewise. 1035 1.1 mrg 1036 1.1 mrg 2004-11-01 Paolo Carlini <pcarlini (a] suse.de> 1037 1.1 mrg 1038 1.1 mrg * include/bits/locale_facets.tcc (num_get<>::_M_extract_float): 1039 1.1 mrg Evaluate *__beg the exact strict minimum number of times; likewise 1040 1.1 mrg for __beg != __end; in the main parsing loop, call ++__beg in two 1041 1.1 mrg places only. The former is also a correctness issue, because, 1042 1.1 mrg according to the standard (22.2.2.1.2, Stage 2), 'in' shall be 1043 1.1 mrg dereferenced only one time for each increment. 1044 1.1 mrg 1045 1.1 mrg 2004-10-31 Benjamin Kosnik <bkoz (a] redhat.com> 1046 1.1 mrg 1047 1.1 mrg PR c++/16728 1048 1.1 mrg * testsuite/23_containers/set/modifiers/16728.cc: New. 1049 1.1 mrg 1050 1.1 mrg 2004-10-30 Paolo Carlini <pcarlini (a] suse.de> 1051 1.1 mrg 1052 1.1 mrg * include/ext/bitmap_allocator.h (allocate(size_type)): Minor tweak. 1053 1.1 mrg 1054 1.1 mrg * testsuite/ext/bitmap_allocator/check_delete.cc: New. 1055 1.1 mrg * testsuite/ext/bitmap_allocator/check_new.cc: Likewise. 1056 1.1 mrg 1057 1.1 mrg 2004-10-29 Geoffrey Keating <geoffk (a] apple.com> 1058 1.1 mrg 1059 1.1 mrg * configure.host (darwin*): Set os_include_dir to a separate directory 1060 1.1 mrg for Darwin. 1061 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale kind, 1062 1.1 mrg 'darwin'. 1063 1.1 mrg * config/locale/darwin/ctype_members.cc: New. 1064 1.1 mrg * config/os/bsd/darwin/ctype_base.h: New. 1065 1.1 mrg * config/os/bsd/darwin/ctype_inline.h: New. 1066 1.1 mrg * config/os/bsd/darwin/ctype_noninline.h: New. 1067 1.1 mrg * config/os/bsd/darwin/os_defines.h: New. 1068 1.1 mrg 1069 1.1 mrg * testsuite/22_locale/locale/cons/12658_thread-1.cc: Only xfail 1070 1.1 mrg on Linux. 1071 1.1 mrg 1072 1.1 mrg 2004-10-29 Chris Jefferson <chris (a] bubblescope.net> 1073 1.1 mrg 1074 1.1 mrg * include/bit/stl_algo.h (find_first_of(,,,,pred)): 1075 1.1 mrg Remove invalid EqualOpConcept. 1076 1.1 mrg * testsuite/25_algorithms/find_first_of/concept_check_1.cc: New. 1077 1.1 mrg 1078 1.1 mrg 2004-10-29 Benjamin Kosnik <bkoz (a] redhat.com> 1079 1.1 mrg 1080 1.1 mrg * testsuite/testsuite_allocator.h (check_delete): New. 1081 1.1 mrg (check_new): Simplify. 1082 1.1 mrg * testsuite/ext/array_allocator/check_delete.cc: New. 1083 1.1 mrg * testsuite/ext/array_allocator/check_new.cc: Simplify. 1084 1.1 mrg * testsuite/ext/debug_allocator/check_delete.cc: New. 1085 1.1 mrg * testsuite/ext/debug_allocator/check_new.cc: Simplify. 1086 1.1 mrg * testsuite/ext/malloc_allocator/check_delete.cc: New. 1087 1.1 mrg * testsuite/ext/malloc_allocator/check_new.cc: Simplify. 1088 1.1 mrg * testsuite/ext/mt_allocator/check_delete.cc: New. 1089 1.1 mrg * testsuite/ext/mt_allocator/check_new.cc: Simplify. 1090 1.1 mrg * testsuite/ext/new_allocator/check_delete.cc: New. 1091 1.1 mrg * testsuite/ext/new_allocator/check_new.cc: Simplify. 1092 1.1 mrg * testsuite/ext/pool_allocator/check_delete.cc: New. 1093 1.1 mrg * testsuite/ext/pool_allocator/check_new.cc: Simplify. 1094 1.1 mrg 1095 1.1 mrg 2004-10-28 Chris Jefferson <chris (a] bubblescope.net> 1096 1.1 mrg 1097 1.1 mrg PR libstdc++/18159 1098 1.1 mrg * include/tr1/tuple: Fix, change formatting. 1099 1.1 mrg 1100 1.1 mrg 2004-10-28 Benjamin Kosnik <bkoz (a] redhat.com> 1101 1.1 mrg 1102 1.1 mrg * include/ext/mt_allocator.h (__common_pool_policy): Add template 1103 1.1 mrg template parameter for pool class type. 1104 1.1 mrg (__per_type_pool_policy): Same. 1105 1.1 mrg (__mt_allocator): Don't inherit policy. Qualify policy_type calls. 1106 1.1 mrg * testsuite/ext/mt_allocator/check_deallocate_null.cc: Fix. 1107 1.1 mrg * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: Same. 1108 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same. 1109 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same. 1110 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same. 1111 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same. 1112 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same. 1113 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same. 1114 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same. 1115 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same. 1116 1.1 mrg * testsuite/ext/mt_allocator/instantiate.cc: Same. 1117 1.1 mrg * testsuite/ext/mt_allocator/tune-1.cc: Same. 1118 1.1 mrg * testsuite/ext/mt_allocator/tune-2.cc: Same. 1119 1.1 mrg * testsuite/ext/mt_allocator/tune-3.cc: Same. 1120 1.1 mrg * testsuite/ext/mt_allocator/tune-4.cc: Same. 1121 1.1 mrg 1122 1.1 mrg 2004-10-28 Paolo Carlini <pcarlini (a] suse.de> 1123 1.1 mrg 1124 1.1 mrg * include/bits/locale_facets.tcc (num_get<>::_M_extract_float): 1125 1.1 mrg Cache *__beg in __c when parsing exponent sign too. 1126 1.1 mrg (num_get<>::do_get(..., bool&)): Cache *__beg. 1127 1.1 mrg (money_get<>::_M_extract)): Likewise, in money_base::value. 1128 1.1 mrg 1129 1.1 mrg 2004-10-27 Paolo Carlini <pcarlini (a] suse.de> 1130 1.1 mrg 1131 1.1 mrg * include/bits/basic_string.h (assign(const basic_string&)): 1132 1.1 mrg Move out of line... 1133 1.1 mrg * include/bits/basic_string.tcc: ... here. 1134 1.1 mrg 1135 1.1 mrg 2004-10-27 Paolo Carlini <pcarlini (a] suse.de> 1136 1.1 mrg 1137 1.1 mrg * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe): 1138 1.1 mrg Move out of line... 1139 1.1 mrg * include/bits/basic_string.tcc: ... here. 1140 1.1 mrg 1141 1.1 mrg 2004-10-26 Paolo Carlini <pcarlini (a] suse.de> 1142 1.1 mrg 1143 1.1 mrg * include/bits/basic_string.h (append(const basic_string&), 1144 1.1 mrg append(size_type, _CharT)): Move out of line... 1145 1.1 mrg * include/bits/basic_string.tcc: ... here. 1146 1.1 mrg 1147 1.1 mrg 2004-10-26 Paolo Carlini <pcarlini (a] suse.de> 1148 1.1 mrg 1149 1.1 mrg * include/bits/basic_string.h (erase(size_type, size_type), 1150 1.1 mrg erase(iterator), erase(iterator, iterator)): Call _M_mutate 1151 1.1 mrg instead of _M_replace_safe, equivalent when the fourth argument 1152 1.1 mrg is zero and simpler. 1153 1.1 mrg 1154 1.1 mrg 2004-10-26 Benjamin Kosnik <bkoz (a] redhat.com> 1155 1.1 mrg 1156 1.1 mrg * include/ext/array_allocator.h (array::allocate): Check for valid 1157 1.1 mrg array object, use its size member function directly. 1158 1.1 mrg * testsuite/ext/array_allocator/3.cc: New. 1159 1.1 mrg * docs/html/20_util/allocator.html: Add docs. 1160 1.1 mrg 1161 1.1 mrg 2004-10-25 Geoffrey Keating <geoffk (a] apple.com> 1162 1.1 mrg 1163 1.1 mrg * configure.host (darwin*): Build libstdc++ single module 1164 1.1 mrg and flat namespace. 1165 1.1 mrg * libsupc++/new_op.cc (new): Make weak. 1166 1.1 mrg * libsupc++/new_opnt.cc (new): Make weak. 1167 1.1 mrg * libsupc++/new_opv.cc (new): Make weak. 1168 1.1 mrg * libsupc++/new_opvnt.cc (new): Make weak. 1169 1.1 mrg * libsupc++/delete_op.cc (delete): Make weak. 1170 1.1 mrg * libsupc++/delete_opnt.cc (delete): Make weak. 1171 1.1 mrg * libsupc++/delete_opv.cc (delete): Make weak. 1172 1.1 mrg * libsupc++/delete_opvnt.cc (delete): Make weak. 1173 1.1 mrg 1174 1.1 mrg 2004-10-25 Benjamin Kosnik <bkoz (a] redhat.com> 1175 1.1 mrg 1176 1.1 mrg * testsuite/Makefile.am (GLIBCXX_INCLUDES): Add. 1177 1.1 mrg (AUTOMAKE_OPTIONS): Add nostdinc. 1178 1.1 mrg * testsuite/Makefile.in: Regenerate. 1179 1.1 mrg * scripts/testsuite_flags.in (build-includes): Remove redundant 1180 1.1 mrg search for libsupc++. 1181 1.1 mrg * fragment.am: Clean. 1182 1.1 mrg 1183 1.1 mrg 2004-10-25 Benjamin Kosnik <bkoz (a] redhat.com> 1184 1.1 mrg 1185 1.1 mrg * include/Makefile.am (tr1_headers): Add tuple. 1186 1.1 mrg * include/Makefile.in: Regenerate. 1187 1.1 mrg 1188 1.1 mrg 2004-10-25 Chris Jefferson <chris (a] bubblescope.net> 1189 1.1 mrg 1190 1.1 mrg * include/tr1/tuple: Implementation of tuple from library TR. 1191 1.1 mrg * testsuite/tr1/6_containers/tuple/tuple_element.cc: New. 1192 1.1 mrg * testsuite/tr1/6_containers/tuple/tuple_size.cc: New. 1193 1.1 mrg * testsuite/tr1/6_containers/tuple/comparison_operators/comparisons.cc: 1194 1.1 mrg New. 1195 1.1 mrg * testsuite/tr1/6_containers/tuple/cons/assignment.cc: New. 1196 1.1 mrg * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: New. 1197 1.1 mrg * testsuite/tr1/6_containers/tuple/cons/constructor.cc: New. 1198 1.1 mrg * testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc: 1199 1.1 mrg New. 1200 1.1 mrg * testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: New. 1201 1.1 mrg * testsuite/tr1/6_containers/tuple/element_access/get.cc: New. 1202 1.1 mrg 1203 1.1 mrg 2004-10-25 Paolo Carlini <pcarlini (a] suse.de> 1204 1.1 mrg 1205 1.1 mrg * include/bits/basic_string.h (_Rep::_M_is_safe): Move to 1206 1.1 mrg basic_string as _M_disjunct, adjust to take only __s. 1207 1.1 mrg * include/bits/basic_string.tcc: Adjust consistently callers. 1208 1.1 mrg 1209 1.1 mrg 2004-10-25 Paolo Carlini <pcarlini (a] suse.de> 1210 1.1 mrg 1211 1.1 mrg * include/bits/basic_string.tcc (assign(const _CharT*, size_type)): 1212 1.1 mrg Adjust bit missing from the previous commit. 1213 1.1 mrg 1214 1.1 mrg 2004-10-25 Eric Botcazou <ebotcazou (a] libertysurf.fr> 1215 1.1 mrg 1216 1.1 mrg PR other/18138 1217 1.1 mrg * testsuite/lib/libstdc++.exp: Accept more than one multilib libgcc. 1218 1.1 mrg 1219 1.1 mrg 2004-10-25 Paolo Carlini <pcarlini (a] suse.de> 1220 1.1 mrg 1221 1.1 mrg * include/bits/basic_string.h (_Rep::_M_is_safe, _M_check_length, 1222 1.1 mrg _M_move, _M_copy, _M_assign): New, use througout. 1223 1.1 mrg (operator+=(_CharT)): Define in terms of push_back. 1224 1.1 mrg (append(const basic_string&)): Define here, inline, and simplify, 1225 1.1 mrg don't use the full _M_replace_safe. 1226 1.1 mrg (append(size_type, _CharT)): Likewise, don't use _M_replace_aux. 1227 1.1 mrg (push_back): Likewise. 1228 1.1 mrg (assign(const basic_string&)): Define here, inline. 1229 1.1 mrg * include/bits/basic_string.tcc (append(const _CharT* s, size_type): 1230 1.1 mrg Fix: when s points inside the _Rep, upon reallocation (reserve) we 1231 1.1 mrg were copying from deallocated memory. 1232 1.1 mrg (append(const basic_string&, size_type, size_type)): Simplify, 1233 1.1 mrg don't use _M_replace_safe. 1234 1.1 mrg (replace(size_type, size_type, const _CharT*, size_type)): Slightly 1235 1.1 mrg tweak. 1236 1.1 mrg (reserve): Likewise. 1237 1.1 mrg * testsuite/21_strings/basic_string/append/char/2.cc: New. 1238 1.1 mrg * testsuite/21_strings/basic_string/append/char/3.cc: Likewise. 1239 1.1 mrg * testsuite/21_strings/basic_string/append/wchar_t/2.cc: Likewise. 1240 1.1 mrg * testsuite/21_strings/basic_string/append/wchar_t/3.cc: Likewise. 1241 1.1 mrg 1242 1.1 mrg * testsuite/21_strings/basic_string/assign/char/3.cc: Remove junk. 1243 1.1 mrg * testsuite/21_strings/basic_string/assign/wchar_t/3.cc: Likewise. 1244 1.1 mrg 1245 1.1 mrg 2004-10-23 Andrew Pinski <pinskia (a] physics.uc.edu> 1246 1.1 mrg 1247 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global-2.c: 1248 1.1 mrg s/value_t/value_type/. s/traits_t/traits_type/. 1249 1.1 mrg s/policy_t/policy_type/. s/allocator_t/allocator_type/. 1250 1.1 mrg s/string_t/string_type/. s/list_t/list_type/. 1251 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise. 1252 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise. 1253 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise. 1254 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise. 1255 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise. 1256 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise. 1257 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise. 1258 1.1 mrg 1259 1.1 mrg 2004-10-21 Benjamin Kosnik <bkoz (a] redhat.com> 1260 1.1 mrg 1261 1.1 mrg * include/tr1/array (array): Make safe for zero-sized arrays. 1262 1.1 mrg (array::end): Return one past the end. 1263 1.1 mrg (array::at): Use __throw_out_of_range, include functexcept.h. 1264 1.1 mrg (operator==): Implement. 1265 1.1 mrg (operator!=): Same. 1266 1.1 mrg (operator<): Same. 1267 1.1 mrg (operator>): Same. 1268 1.1 mrg (operator>=): Same. 1269 1.1 mrg (operator<=): Same. 1270 1.1 mrg * testsuite/tr1/6_containers/array/capacity/(empty.cc, 1271 1.1 mrg max_size.cc, size.cc): New. 1272 1.1 mrg * testsuite/tr1/6_containers/array/comparison_operators/(equal.cc, 1273 1.1 mrg greater.cc, greater_or_equal.cc, less.cc, less_or_equal.cc, 1274 1.1 mrg not_equal): New. 1275 1.1 mrg * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc: 1276 1.1 mrg New. 1277 1.1 mrg * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc: 1278 1.1 mrg New. 1279 1.1 mrg * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc: New. 1280 1.1 mrg * testsuite/tr1/6_containers/array/requirements/(contiguous.cc, 1281 1.1 mrg instantiate, typedefs, zero_size_arrays): New. 1282 1.1 mrg 1283 1.1 mrg 2004-10-21 Paolo Carlini <pcarlini (a] suse.de> 1284 1.1 mrg Benjamin Kosnik <bkoz (a] redhat.com> 1285 1.1 mrg 1286 1.1 mrg * include/bits/basic_string.h (_M_set_length_and_sharable): New. 1287 1.1 mrg * include/bits/basic_string.tcc (_S_construct, assign(const _CharT*, 1288 1.1 mrg size_type), _M_mutate, _M_clone): Use it. 1289 1.1 mrg (_Rep::_S_create): Don't set/call _M_length/_M_set_sharable here. 1290 1.1 mrg 1291 1.1 mrg 2004-10-21 Paolo Carlini <pcarlini (a] suse.de> 1292 1.1 mrg Dhruv Matani <dhruvbird (a] gmx.net> 1293 1.1 mrg Nathan Myers <ncm (a] cantrip.org> 1294 1.1 mrg 1295 1.1 mrg * include/bits/vector.tcc (_M_insert_aux, _M_fill_insert, 1296 1.1 mrg _M_range_insert): Check at the outset that we are not trying 1297 1.1 mrg to exceed max_size, then deal properly with __len overflows. 1298 1.1 mrg * testsuite/23_containers/vector/modifiers/insert/1.cc: New. 1299 1.1 mrg 1300 1.1 mrg * testsuite/testsuite_allocator.h: Remove redundant include. 1301 1.1 mrg 1302 1.1 mrg 2004-10-20 Paolo Carlini <pcarlini (a] suse.de> 1303 1.1 mrg 1304 1.1 mrg * include/ext/bitmap_allocator.h (allocate): Throw std::bad_alloc 1305 1.1 mrg when n > max_size(). 1306 1.1 mrg * include/ext/malloc_allocator.h (allocate): Likewise. 1307 1.1 mrg * include/ext/mt_allocator.h (allocate): Likewise. 1308 1.1 mrg * include/ext/new_allocator.h (allocate): Likewise. 1309 1.1 mrg * include/ext/array_allocator.h: Use __throw_bad_alloc(). 1310 1.1 mrg * include/ext/pool_allocator.h: Use __builtin_expect. 1311 1.1 mrg * testsuite/ext/array_allocator/check_allocate_max_size.cc: New. 1312 1.1 mrg * testsuite/ext/bitmap_allocator/check_allocate_max_size.cc: Likewise. 1313 1.1 mrg * testsuite/ext/malloc_allocator/check_allocate_max_size.cc: Likewise. 1314 1.1 mrg * testsuite/ext/mt_allocator/check_allocate_max_size.cc: Likewise. 1315 1.1 mrg * testsuite/ext/new_allocator/check_allocate_max_size.cc: Likewise. 1316 1.1 mrg * testsuite/ext/pool_allocator/check_allocate_max_size.cc: Likewise. 1317 1.1 mrg * testsuite/testsuite_allocator.h (check_allocate_max_size): New test. 1318 1.1 mrg 1319 1.1 mrg 2004-10-19 Paolo Carlini <pcarlini (a] suse.de> 1320 1.1 mrg 1321 1.1 mrg * testsuite/performance/20_util/allocator/list_sort_search.cc: 1322 1.1 mrg Include <ext/new_allocator.h>. 1323 1.1 mrg * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise. 1324 1.1 mrg 1325 1.1 mrg 2004-10-18 Paolo Carlini <pcarlini (a] suse.de> 1326 1.1 mrg 1327 1.1 mrg * include/bits/basic_string.tcc (_M_mutate): Do not reallocate 1328 1.1 mrg unnecessarily when _M_rep() == &_S_empty_rep() and __new_size 1329 1.1 mrg == capacity() (== 0): is ok to just leave everything unchanged. 1330 1.1 mrg 1331 1.1 mrg * include/bits/basic_string.h: Minor formatting fixes. 1332 1.1 mrg * include/bits/basic_string.tcc: Likewise. 1333 1.1 mrg 1334 1.1 mrg 2004-10-17 Benjamin Kosnik <bkoz (a] redhat.com> 1335 1.1 mrg 1336 1.1 mrg * include/ext/mt_allocator.h (__pool::_M_get_align): New. 1337 1.1 mrg (__mt_alloc::allocate): Use it. 1338 1.1 mrg * src/mt_allocator.cc (__pool::_M_reclaim_block): Use it. 1339 1.1 mrg (__pool::_M_reserve_block): Simplify block allocation. 1340 1.1 mrg 1341 1.1 mrg 2004-10-17 Dhruv Matani <dhruvbird (a] gmx.net> 1342 1.1 mrg Paolo Carlini <pcarlini (a] suse.de> 1343 1.1 mrg 1344 1.1 mrg * include/ext/bitmap_allocator.h: Change unsigned int -> size_t: this 1345 1.1 mrg makes the code 64-bit correct and also fixes (together with using at 1346 1.1 mrg the beginning a bitmap 2 * size_t bytes wide) alignment issues: now 1347 1.1 mrg 8 is guaranteed, easily tunable to 16 via _BALLOC_ALIGN_BYTES. 1348 1.1 mrg Fix pthread-rope7.cc fail by nulling out __mini_vector<> destructor. 1349 1.1 mrg * src/bitmap_allocator.cc: Change to size_t. 1350 1.1 mrg * config/linker-map.gnu: Adjust. 1351 1.1 mrg 1352 1.1 mrg 2004-10-16 Benjamin Kosnik <bkoz (a] redhat.com> 1353 1.1 mrg 1354 1.1 mrg * include/tr1/array: Don't use layout_type. 1355 1.1 mrg 1356 1.1 mrg 2004-10-16 Sashan Govender <sashang (a] gmail.com> 1357 1.1 mrg 1358 1.1 mrg * include/tr1/array (array::end const): Fix casting from iterator 1359 1.1 mrg to const_iterator. 1360 1.1 mrg 1361 1.1 mrg 2004-10-15 Paolo Carlini <pcarlini (a] suse.de> 1362 1.1 mrg 1363 1.1 mrg * include/ext/bitmap_allocator.h: Qualify ::operator delete. 1364 1.1 mrg * src/bitmap_allocator.cc: Likewise. 1365 1.1 mrg * src/mt_allocator.cc: Use ::operator delete, not delete, 1366 1.1 mrg consistently with ::operator new. 1367 1.1 mrg 1368 1.1 mrg * include/ext/bitmap_allocator.h (deallocate): Check for null 1369 1.1 mrg pointer. 1370 1.1 mrg * testsuite/ext/bitmap_allocator/check_deallocate_null.cc: New. 1371 1.1 mrg * testsuite/testsuite_allocator.h (check_deallocate_null): Add test. 1372 1.1 mrg 1373 1.1 mrg 2004-10-14 Benjamin Kosnik <bkoz (a] redhat.com> 1374 1.1 mrg 1375 1.1 mrg * include/ext/mt_allocator.h (__mt_alloc::deallocate): Check for 1376 1.1 mrg null pointer. 1377 1.1 mrg * include/ext/pool_allocator.h (debug_allocator::deallocate): 1378 1.1 mrg Check pointer value. 1379 1.1 mrg * include/ext/debug_allocator.h (debug_allocator::deallocate): 1380 1.1 mrg Throw exceptions, don't abort. 1381 1.1 mrg * include/ext/array_allocator.h 1382 1.1 mrg (array_allocator_base::deallocate): Remove unused parameters. 1383 1.1 mrg * testsuite/testsuite_allocator.h (check_deallocate_null): New. 1384 1.1 mrg * testsuite/ext/mt_allocator/check_deallocate_null.cc: New. 1385 1.1 mrg * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: New. 1386 1.1 mrg * testsuite/ext/array_allocator/check_deallocate_null.cc: New. 1387 1.1 mrg * testsuite/ext/debug_allocator/check_deallocate_null.cc: New. 1388 1.1 mrg * testsuite/ext/malloc_allocator/check_deallocate_null.cc: New. 1389 1.1 mrg * testsuite/ext/new_allocator/check_deallocate_null.cc: New. 1390 1.1 mrg * testsuite/ext/pool_allocator/check_deallocate_null.cc: New. 1391 1.1 mrg 1392 1.1 mrg * testsuite/testsuite_allocator.h (check_new): Add instance argument. 1393 1.1 mrg * testsuite/ext/array_allocator/check_new.cc: New. 1394 1.1 mrg 1395 1.1 mrg 2004-10-14 Paolo Carlini <pcarlini (a] suse.de> 1396 1.1 mrg 1397 1.1 mrg * include/ext/bitmap_allocator.h (bitmap_allocator::_Alloc_block): 1398 1.1 mrg Rename __unused to __M_unused. 1399 1.1 mrg 1400 1.1 mrg 2004-10-14 Benjamin Kosnik <bkoz (a] redhat.com> 1401 1.1 mrg 1402 1.1 mrg * testsuite/ext/headers.cc: Add includes, compile only. 1403 1.1 mrg * testsuite/ext/hash_map.cc: Move to... 1404 1.1 mrg * testsuite/ext/hash_map/1.cc: ...here. 1405 1.1 mrg * testsuite/ext/14648.cc: Move to... 1406 1.1 mrg * testsuite/ext/hash_map/14648.cc: ...here. 1407 1.1 mrg * testsuite/ext/hash_map/instantiate.cc: Add. 1408 1.1 mrg * testsuite/ext/hash_set.cc: Move to... 1409 1.1 mrg * testsuite/ext/hash_set/1.cc: ...here. 1410 1.1 mrg * testsuite/ext/hash_set_explicit_instantiation.cc: Move to... 1411 1.1 mrg * testsuite/ext/hash_set/instantiate.cc: ...here. 1412 1.1 mrg * testsuite/ext/hash_check_construct_destroy.cc: Move to... 1413 1.1 mrg * testsuite/ext/hash_set/check_construct_destroy.cc: ...here. 1414 1.1 mrg * testsuite/ext/slist_check_construct_destroy.cc: Move to... 1415 1.1 mrg * testsuite/ext/slist/check_construct_destroy.cc: ...here. 1416 1.1 mrg * testsuite/ext/slist_explicit_instantiation.cc: Move to... 1417 1.1 mrg * testsuite/ext/slist/instantiate.cc: ...here. 1418 1.1 mrg 1419 1.1 mrg 2004-10-14 Benjamin Kosnik <bkoz (a] redhat.com> 1420 1.1 mrg 1421 1.1 mrg * include/ext/mt_allocator.h: Tweaks. 1422 1.1 mrg * src/mt_allocator.cc: Same. 1423 1.1 mrg 1424 1.1 mrg 2004-10-14 Dhruv Matani <dhruvbird (a] gmx.net> 1425 1.1 mrg 1426 1.1 mrg * ext/bitmap_allocator.h: Clean-up add/remove functions. 1427 1.1 mrg * src/bitmap_allocator.cc: New file. Contains the out-of-line 1428 1.1 mrg function definitions, static initialization of variables, and 1429 1.1 mrg explicit instantiations needed for the allocator. 1430 1.1 mrg * src/Makefile.am: Add. 1431 1.1 mrg * src/Makefile.in: Regenerate. 1432 1.1 mrg * config/linker.map.gnu: Add the necessary symbols. 1433 1.1 mrg 1434 1.1 mrg 2004-10-13 Paolo Carlini <pcarlini (a] suse.de> 1435 1.1 mrg 1436 1.1 mrg * include/bits/basic_string.tcc (_S_create): Use consistently 1437 1.1 mrg the exponential policy, simplify. 1438 1.1 mrg * testsuite/performance/21_strings/string_append_2.cc: New. 1439 1.1 mrg 1440 1.1 mrg * include/ext/array_allocator.h (allocate): Fix bad_alloc check. 1441 1.1 mrg * testsuite/ext/array_allocator/2.cc: Fix wrt 64-bit archs (in 1442 1.1 mrg that case sizeof(_Rep) == 24). 1443 1.1 mrg 1444 1.1 mrg 2004-10-12 Paolo Carlini <pcarlini (a] suse.de> 1445 1.1 mrg 1446 1.1 mrg PR libstdc++/17948 1447 1.1 mrg * include/bits/stl_tree.h (erase(iterator, iterator)): Revert 1448 1.1 mrg wrong commit of 2004-10-07. 1449 1.1 mrg 1450 1.1 mrg 2004-10-12 Scott Snyder <snyder (a] fnal.gov> 1451 1.1 mrg 1452 1.1 mrg PR libstdc++/17948 1453 1.1 mrg * testsuite/23_containers/set/modifiers/17948.cc: New. 1454 1.1 mrg 1455 1.1 mrg 2004-10-11 Benjamin Kosnik <bkoz (a] redhat.com> 1456 1.1 mrg 1457 1.1 mrg * include/bits/stl_deque.h: Correct for over-long lines. 1458 1.1 mrg 1459 1.1 mrg 2004-10-11 Benjamin Kosnik <bkoz (a] redhat.com> 1460 1.1 mrg 1461 1.1 mrg PR libstdc++/17937 1462 1.1 mrg * include/ext/mt_allocator.h (__pool::_M_destroy): New. 1463 1.1 mrg * src/mt_allocator.cc (__pool::~__pool): Change definitions to 1464 1.1 mrg _M_destroy. 1465 1.1 mrg * acconfig.h: Remove _GLIBCXX_USE___CXA_ATEXIT. 1466 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): Remove. 1467 1.1 mrg * configure.ac: Remove call to GLIBCXX_ENABLE_CXA_EXIT. 1468 1.1 mrg * configure: Regenerate. 1469 1.1 mrg * config/linker-map.gnu: Tweak exports. 1470 1.1 mrg * docs/html/ext/mt_allocator.html: Update docs. 1471 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global-2.cc: Fix. 1472 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global-4.cc: Fix. 1473 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Fix. 1474 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Fix. 1475 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local-2.cc: Fix. 1476 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local-4.cc: Fix. 1477 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Fix. 1478 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Fix. 1479 1.1 mrg 1480 1.1 mrg 2004-10-11 Benjamin Kosnik <bkoz (a] redhat.com> 1481 1.1 mrg 1482 1.1 mrg PR libstdc++/16614 continued. 1483 1.1 mrg * include/ext/mt_allocator.h 1484 1.1 mrg (__per_type_pool_policy::_S_get_pool): Use saner defaults based on 1485 1.1 mrg specific type characteristics. 1486 1.1 mrg (__pool_base): Add constructor that takes a _Tune argument. 1487 1.1 mrg (__pool): Same. 1488 1.1 mrg * testsuite/ext/mt_allocator/tune-2.cc: Adjust default. 1489 1.1 mrg * testsuite/ext/mt_allocator/tune-4.cc: Same. 1490 1.1 mrg * testsuite/ext/mt_allocator/tune-3.cc: Same. 1491 1.1 mrg 1492 1.1 mrg 2004-10-11 Joachim Kuebart <kuebart (a] mathematik.uni-ulm.de> 1493 1.1 mrg Paolo Carlini <pcarlini (a] suse.de> 1494 1.1 mrg 1495 1.1 mrg * src/pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk): 1496 1.1 mrg Deal properly with exceptions thrown by ::operator new(size_t). 1497 1.1 mrg * testsuite/ext/pool_allocator/allocate_chunk.cc: New. 1498 1.1 mrg 1499 1.1 mrg * include/ext/pool_allocator.h: Include <cstdlib>. 1500 1.1 mrg 1501 1.1 mrg 2004-10-10 Benjamin Kosnik <bkoz (a] redhat.com> 1502 1.1 mrg 1503 1.1 mrg * include/bits/functexcept.h: Add guards. 1504 1.1 mrg 1505 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Tweak test. 1506 1.1 mrg * configure: Regenerate. 1507 1.1 mrg 1508 1.1 mrg 2004-10-10 Paolo Carlini <pcarlini (a] suse.de> 1509 1.1 mrg 1510 1.1 mrg * config/locale/gnu/monetary_members.cc (_S_construct_pattern): 1511 1.1 mrg Give __ret a default value, thus avoiding spurious warnings. 1512 1.1 mrg 1513 1.1 mrg * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: Open either 1514 1.1 mrg words or linux.words, otherwise exit. 1515 1.1 mrg * testsuite/performance/27_io/ifstream_getline.cc: Slighlty tweak. 1516 1.1 mrg 1517 1.1 mrg 2004-10-09 Paolo Carlini <pcarlini (a] suse.de> 1518 1.1 mrg 1519 1.1 mrg * include/std/std_memory.h (__get_temporary_buffer): Don't use 1520 1.1 mrg INT_MAX, prefer numeric_limits<ptrdiff_t>::max(), ok on 64-bit 1521 1.1 mrg platforms too. 1522 1.1 mrg * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust dg-error 1523 1.1 mrg line numbers. 1524 1.1 mrg 1525 1.1 mrg 2004-10-08 Benjamin Kosnik <bkoz (a] redhat.com> 1526 1.1 mrg 1527 1.1 mrg * acconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT. 1528 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): New. 1529 1.1 mrg * configure.ac: Call GLIBCXX_ENABLE_CXA_EXIT. 1530 1.1 mrg * configure: Regenerate. 1531 1.1 mrg * src/mt_allocator.cc (__pool::~__pool): Make conditional on 1532 1.1 mrg _GLIBCXX_USE___CXA_ATEXIT macro. 1533 1.1 mrg * docs/html/ext/mt_allocator.html: Add note about deallocation. 1534 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local-2.cc: Guard checks 1535 1.1 mrg with _GLIBCXX_USE___CXA_ATEXIT. 1536 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same. 1537 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same. 1538 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same. 1539 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same. 1540 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same. 1541 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same. 1542 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same. 1543 1.1 mrg 1544 1.1 mrg 2004-10-07 Phil Edwards <phil (a] codesourcery.com> 1545 1.1 mrg 1546 1.1 mrg * testsuite/lib/libstdc++.exp: Update list of undefined functions. 1547 1.1 mrg 1548 1.1 mrg 2004-10-07 Paolo Carlini <pcarlini (a] suse.de> 1549 1.1 mrg 1550 1.1 mrg * include/bits/list.tcc (operator=): Avoid iterator postincrement. 1551 1.1 mrg * include/bits/stl_tree.h (erase(iterator, iterator)): Likewise. 1552 1.1 mrg 1553 1.1 mrg 2004-10-07 Benjamin Kosnik <bkoz (a] redhat.com> 1554 1.1 mrg 1555 1.1 mrg * include/tr1: New. 1556 1.1 mrg * include/tr1/array: New. 1557 1.1 mrg * include/Makefile.am (tr1_headers): New. 1558 1.1 mrg (stamp-tr1): New. 1559 1.1 mrg (install-headers): New. 1560 1.1 mrg (allstamped): Add stamp-tr1. 1561 1.1 mrg 1562 1.1 mrg * include/ext/array_allocator.h: New. 1563 1.1 mrg * include/Makefile.am: Add. 1564 1.1 mrg * include/Makefile.in: Regenerate. 1565 1.1 mrg * testsuite/ext/array_allocator/1.cc: New. 1566 1.1 mrg * testsuite/ext/array_allocator/2.cc: New. 1567 1.1 mrg 1568 1.1 mrg 2004-10-07 Richard Earnshaw <rearnsha (a] arm.com> 1569 1.1 mrg 1570 1.1 mrg * testsuite/lib/libstdc++.exp (libstdc++_exit): New proc. 1571 1.1 mrg 1572 1.1 mrg 2004-10-07 Roger Sayle <roger (a] eyesopen.com> 1573 1.1 mrg 1574 1.1 mrg PR libstdc++/17850 1575 1.1 mrg * configure.ac: Newlib does not provide strtold. 1576 1.1 mrg * configure: Regenerate. 1577 1.1 mrg 1578 1.1 mrg 2004-10-06 Benjamin Kosnik <bkoz (a] redhat.com> 1579 1.1 mrg 1580 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread. 1581 1.1 mrg (GLIBCXX_CONFIGURE_TESTSUITE): Use it. 1582 1.1 mrg * configure: Regenerated. 1583 1.1 mrg * testsuite/Makefile.am (CLEANFILES): Add TEST for 1584 1.1 mrg check-performance executables. 1585 1.1 mrg (stamp_thread): New. 1586 1.1 mrg (all-local): Use it. 1587 1.1 mrg * testsuite/Makefile.in: Regenerate. 1588 1.1 mrg * scripts/create_testsuite_files: Filter thread tests. 1589 1.1 mrg 1590 1.1 mrg * testsuite/thread/pthread1.cc: Remove macro conditionals: this 1591 1.1 mrg file will only be run by thread enabled configurations. 1592 1.1 mrg * testsuite/thread/pthread7-rope.cc: Same, add rope_type typedef. 1593 1.1 mrg * testsuite/thread/pthread6.cc: Same. 1594 1.1 mrg * testsuite/thread/pthread5.cc: Same. 1595 1.1 mrg * testsuite/thread/pthread4.cc: Same. 1596 1.1 mrg * testsuite/thread/pthread3.cc: Same. 1597 1.1 mrg * testsuite/thread/pthread2.cc: Same. 1598 1.1 mrg 1599 1.1 mrg * testsuite/ext/mt_allocator/instantiate.cc: Add in __GTHREADS guard. 1600 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global-1.cc: Move to... 1601 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: ...here. 1602 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global-3.cc: Move to... 1603 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: ...here. 1604 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local-1.cc: Move to... 1605 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: ...here. 1606 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local-3.cc: Move to... 1607 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: ...here. 1608 1.1 mrg 1609 1.1 mrg 2004-10-06 Benjamin Kosnik <bkoz (a] redhat.com> 1610 1.1 mrg Paolo Carlini <pcarlini (a] suse.de> 1611 1.1 mrg 1612 1.1 mrg PR libstdc++/17780 1613 1.1 mrg * src/mt_allocator.cc (__pool<true>::_M_reserve_block): Revert 1614 1.1 mrg to old locking order. 1615 1.1 mrg 1616 1.1 mrg 2004-10-06 Paolo Carlini <pcarlini (a] suse.de> 1617 1.1 mrg 1618 1.1 mrg * include/std/std_sstream.h (_M_sync): When the caller is 1619 1.1 mrg setbuf, don't trust _M_string.capacity() to be the size of 1620 1.1 mrg the buffer area, use _M_string.size() in this case. 1621 1.1 mrg * testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: New. 1622 1.1 mrg * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise. 1623 1.1 mrg 1624 1.1 mrg * include/bits/sstream.tcc (overflow): Avoid calling string::assign 1625 1.1 mrg unnecessarily when the current _M_string is empty. 1626 1.1 mrg 1627 1.1 mrg 2004-10-06 Paolo Carlini <pcarlini (a] suse.de> 1628 1.1 mrg 1629 1.1 mrg * include/bits/stl_algo.h (__reverse(bidirectional_iterator_tag)): 1630 1.1 mrg Avoid iterator postincrement. 1631 1.1 mrg (__rotate): Likewise. 1632 1.1 mrg 1633 1.1 mrg * include/bits/stl_algo.h: Minor formatting tweaks. 1634 1.1 mrg 1635 1.1 mrg 2004-10-06 Christopher Jefferson <caj (a] cs.york.ac.uk> 1636 1.1 mrg 1637 1.1 mrg * include/bits/stl_algo.h (__reverse(random_access_iterator_tag)): 1638 1.1 mrg Avoid iterator postincrement; fix swapping middle element with 1639 1.1 mrg itself on odd-length inputs. 1640 1.1 mrg 1641 1.1 mrg 2004-10-05 Benjamin Kosnik <bkoz (a] redhat.com> 1642 1.1 mrg 1643 1.1 mrg PR libstdc++/17780 1644 1.1 mrg * include/ext/mt_allocator.h (__pool_base::_Tune): Add default 1645 1.1 mrg options as compile-time constant enums. 1646 1.1 mrg (__pool_base::_Tune::is_default): New. 1647 1.1 mrg (__pool_base::_Block_address): New. 1648 1.1 mrg (__pool_base): Rearrange data members. 1649 1.1 mrg (__pool::_M_reserve_memory): To _M_reserve_block. 1650 1.1 mrg (__pool::_M_reclaim_memory): To _M_reclaim_block. 1651 1.1 mrg (__pool::_Bin_record): Add _Block_address data member. 1652 1.1 mrg (__pool<false>): Add _M_thread_freelist_initial. 1653 1.1 mrg (__pool::~__pool): Declare. 1654 1.1 mrg (__common_pool_policy): Move static data member to... 1655 1.1 mrg (__common_pool_policy::_S_get_pool): ...here, make static local. 1656 1.1 mrg (__per_type_pool_policy): Move static data member to... 1657 1.1 mrg (__per_type_pool_policy::_S_get_pool): ...here, make static local. 1658 1.1 mrg (__mt_alloc::__mt_alloc): Call __policy_type::_S_get_pool. 1659 1.1 mrg Remove static member definitions. Use define for __default_policy. 1660 1.1 mrg * src/mt_allocator.cc: Same. 1661 1.1 mrg * config/linker-map.gnu: Don't export _S_get_pool. Renames. 1662 1.1 mrg * testsuite/ext/new_allocator: New. 1663 1.1 mrg * testsuite/ext/new_allocator/instantiate.cc: New. 1664 1.1 mrg * testsuite/ext/new_allocator/check_new.cc: New. 1665 1.1 mrg * testsuite/ext/new_allocator/deallocate_global.cc: New. 1666 1.1 mrg * testsuite/ext/new_allocator/deallocate_local.cc: New. 1667 1.1 mrg * testsuite/ext/mt_allocator/instantiate.cc: Instantiate all 1668 1.1 mrg template arguments. 1669 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global-1.cc: New. 1670 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global-2.cc: New. 1671 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global-3.cc: New. 1672 1.1 mrg * testsuite/ext/mt_allocator/deallocate_global-4.cc: New. 1673 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local-1.cc: New. 1674 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local-2.cc: New. 1675 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local-3.cc: New. 1676 1.1 mrg * testsuite/ext/mt_allocator/deallocate_local-4.cc: New. 1677 1.1 mrg * testsuite/ext/mt_allocator/deallocate.cc: New. 1678 1.1 mrg * testsuite/ext/malloc_allocator/deallocate.cc: New. 1679 1.1 mrg * testsuite/ext/malloc_allocator/deallocate_global.cc: New. 1680 1.1 mrg * testsuite/ext/malloc_allocator/deallocate_local.cc: New. 1681 1.1 mrg 1682 1.1 mrg 2004-10-05 Ulrich Weigand <uweigand (a] de.ibm.com> 1683 1.1 mrg 1684 1.1 mrg * configure.host (abi_baseline_pair): Define for s390-*-linux* and 1685 1.1 mrg s390x-*-linux*. 1686 1.1 mrg * config/abi/s390-linux-gnu/baseline_symbols.txt: Add missing symbols. 1687 1.1 mrg * config/abi/s390x-linux-gnu/baseline_symbols.txt: New file. 1688 1.1 mrg 1689 1.1 mrg 2004-10-05 Christopher Jefferson <caj (a] cs.york.ac.uk> 1690 1.1 mrg 1691 1.1 mrg * include/bits/stl_algobase.h (iter_swap): delegate to swap via 1692 1.1 mrg __iter_swap when iterator's value_types are equal. 1693 1.1 mrg (struct __iter_swap): New. 1694 1.1 mrg 1695 1.1 mrg 2004-10-04 Benjamin Kosnik <bkoz (a] redhat.com> 1696 1.1 mrg 1697 1.1 mrg * configure.ac (libtool_VERSION): To 6:3:0. 1698 1.1 mrg * configure: Regnerate. 1699 1.1 mrg * testsuite/testsuite_abi.cc (check_version): Add 3.4.3. 1700 1.1 mrg 1701 1.1 mrg 2004-10-04 Roger Sayle <roger (a] eyesopen.com> 1702 1.1 mrg Eric Botcazou <ebotcazou (a] libertysurf.fr> 1703 1.1 mrg 1704 1.1 mrg PR libstdc++/17505 1705 1.1 mrg * config/linker-map.gnu: Synchronize the current list of stub 1706 1.1 mrg functions from libmath. 1707 1.1 mrg 1708 1.1 mrg 2004-10-03 Roger Sayle <roger (a] eyesopen.com> 1709 1.1 mrg 1710 1.1 mrg * config/locale/generic/c_locale.cc (__convert_to_v): Use 1711 1.1 mrg _GLIBCXX_HAVE_STRTOF instead _GLIBCXX_USE_C99 to check for strtof. 1712 1.1 mrg Likewise, use _GLIBCXX_HAVE_STRTOLD instead of _GLIBCXX_USE_C99 1713 1.1 mrg to check for presence of strtold. 1714 1.1 mrg 1715 1.1 mrg 2004-10-03 Paolo Carlini <pcarlini (a] suse.de> 1716 1.1 mrg 1717 1.1 mrg * include/bits/stl_list.h: Trivial formatting fixes. 1718 1.1 mrg * include/bits/stl_tree.h: Likewise. 1719 1.1 mrg 1720 1.1 mrg 2004-10-03 Paolo Carlini <pcarlini (a] suse.de> 1721 1.1 mrg 1722 1.1 mrg * include/bits/sstream.tcc (seekpos): In case of success, just 1723 1.1 mrg return __sp. 1724 1.1 mrg 1725 1.1 mrg 2004-10-01 Paolo Carlini <pcarlini (a] suse.de> 1726 1.1 mrg 1727 1.1 mrg * include/bits/sstream.tcc (pbackfail): Implement correctly 1728 1.1 mrg 27.7.1.3/2, bullet 2: if mode & ios_base::out is false do not 1729 1.1 mrg write in the buffer. 1730 1.1 mrg * testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc: New. 1731 1.1 mrg * testsuite/27_io/basic_stringbuf/pbackfail/char/2.cc: Likewise. 1732 1.1 mrg * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/1.cc: Likewise. 1733 1.1 mrg * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/2.cc: Likewise. 1734 1.1 mrg * testsuite/27_io/basic_istream/putback/char/1.cc: Tweak consistently. 1735 1.1 mrg 1736 1.1 mrg 2004-10-01 Paolo Carlini <pcarlini (a] suse.de> 1737 1.1 mrg 1738 1.1 mrg * include/bits/sstream.tcc (seekpos): Minor rearrangement of two 1739 1.1 mrg conditionals consistently with seekoff. 1740 1.1 mrg * include/std/std_sstream.h (setbuf): Avoid a string temporary. 1741 1.1 mrg (_M_sync): Simplify a bit, clean-up comment. 1742 1.1 mrg 1743 1.1 mrg 2004-09-30 Paolo Carlini <pcarlini (a] suse.de> 1744 1.1 mrg 1745 1.1 mrg PR libstdc++/10975 (DR 453) 1746 1.1 mrg * include/bits/sstream.tcc (seekoff): Don't fail if __beg == 0 1747 1.1 mrg and __off == 0. 1748 1.1 mrg * docs/html/ext/howto.html: Add an entry for DR 453. 1749 1.1 mrg * testsuite/27_io/basic_stringbuf/seekoff/char/10975.cc: New. 1750 1.1 mrg * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/10975.cc: Likewise. 1751 1.1 mrg * testsuite/27_io/basic_istream/tellg/char/1.cc: Tweak consistently. 1752 1.1 mrg * testsuite/27_io/basic_ostream/tellp/char/1.cc: Likewise. 1753 1.1 mrg * testsuite/27_io/basic_ostream/tellp/char/2.cc: Likewise. 1754 1.1 mrg * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc: Fix and 1755 1.1 mrg move to... 1756 1.1 mrg * testsuite/27_io/basic_istream/seekp/char/2346-fstream.cc: ... here. 1757 1.1 mrg * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc: Fix and 1758 1.1 mrg move to... 1759 1.1 mrg * testsuite/27_io/basic_istream/seekp/char/2346-sstream.cc: ... here. 1760 1.1 mrg 1761 1.1 mrg 2004-09-29 Paolo Carlini <pcarlini (a] suse.de> 1762 1.1 mrg 1763 1.1 mrg * include/std/std_sstream.h (basic_stringbuf(ios_base::openmode)): 1764 1.1 mrg Don't use _M_stringbuf_init, keep the pointers null, per 27.7.1.1. 1765 1.1 mrg (str()): Slightly tweak, protect from pptr() == 0. 1766 1.1 mrg (_M_update_egptr()): Likewise. 1767 1.1 mrg * include/bits/sstream.tcc (ssekoff, seekpos): In order to check 1768 1.1 mrg for an empty buffer use __beg instead of _M_string.capacity(). 1769 1.1 mrg * testsuite/27_io/basic_stringbuf/cons/char/1.cc: New. 1770 1.1 mrg * testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc: Likewise. 1771 1.1 mrg 1772 1.1 mrg * testsuite/27_io/basic_filebuf/cons/char/1.cc: New. 1773 1.1 mrg * testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc: Likewise. 1774 1.1 mrg * testsuite/27_io/basic_streambuf/cons/char/1.cc: Update. 1775 1.1 mrg * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: Likewise. 1776 1.1 mrg 1777 1.1 mrg 2004-09-29 Paolo Carlini <pcarlini (a] suse.de> 1778 1.1 mrg Benjamin Kosnik <bkoz (a] redhat.com> 1779 1.1 mrg 1780 1.1 mrg * testsuite/testsuite_io.h (class constraint_buf): New, extended 1781 1.1 mrg and templatized version of constraint_filebuf; add typedefs for 1782 1.1 mrg streambuf/stringbuf/filebuf and wchar_t counterparts. 1783 1.1 mrg 1784 1.1 mrg 2004-09-28 Paolo Carlini <pcarlini (a] suse.de> 1785 1.1 mrg 1786 1.1 mrg PR libstdc++/16612 1787 1.1 mrg * include/bits/basic_string.h (_M_dispose, _M_refcopy, 1788 1.1 mrg basic_string()): When _GLIBCXX_FULLY_DYNAMIC_STRING is defined, 1789 1.1 mrg don't deal with _S_empty_rep. 1790 1.1 mrg * include/bits/basic_string.tcc (_S_construct, _M_destroy, 1791 1.1 mrg _M_leak_hard, _M_mutate): Likewise. 1792 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING): New. 1793 1.1 mrg * acconfig.h: Add corresponding undef. 1794 1.1 mrg * configure.ac: Use GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING. 1795 1.1 mrg * docs/html/configopts.html: Document --enable-fully-dynamic-string. 1796 1.1 mrg * configure: Regenerate. 1797 1.1 mrg * config.h.in: Likewise. 1798 1.1 mrg 1799 1.1 mrg 2004-09-28 Benjamin Kosnik <bkoz (a] redhat.com> 1800 1.1 mrg Paolo Carlini <pcarlini (a] suse.de> 1801 1.1 mrg 1802 1.1 mrg * testsuite/21_strings/basic_string/operations/char/1.cc: New. 1803 1.1 mrg * testsuite/21_strings/basic_string/operations/wchar_t/1.cc: New. 1804 1.1 mrg * testsuite/21_strings/basic_string/element_access/char/empty.cc: New. 1805 1.1 mrg * testsuite/21_strings/basic_string/element_access/wchar_t/empty.cc: 1806 1.1 mrg New. 1807 1.1 mrg 1808 1.1 mrg 2004-09-28 Paolo Carlini <pcarlini (a] suse.de> 1809 1.1 mrg 1810 1.1 mrg * README: Remove obsolete entry about include/c_shadow. 1811 1.1 mrg 1812 1.1 mrg 2004-09-24 H.J. Lu <hongjiu.lu (a] intel.com> 1813 1.1 mrg 1814 1.1 mrg PR libstdc++/17469 1815 1.1 mrg * testsuite/lib/libstdc++.exp: Don't use global ld_library_path. 1816 1.1 mrg 1817 1.1 mrg 2004-09-24 Paolo Carlini <pcarlini (a] suse.de> 1818 1.1 mrg 1819 1.1 mrg * src/localename.cc (locale::locale(const char*)): Minor tweaks: 1820 1.1 mrg rename a variable, move an assignment. 1821 1.1 mrg (locale::_Impl::_Impl(const char*, size_t)): Likewise, minor tweak. 1822 1.1 mrg 1823 1.1 mrg 2004-09-24 Paul Brook <paul (a] codesourcery.com> 1824 1.1 mrg 1825 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: XFAIL more arm 1826 1.1 mrg simulator targets. 1827 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. 1828 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Ditto. 1829 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Ditto. 1830 1.1 mrg * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Ditto. 1831 1.1 mrg * testsuite/ext/stdio_filebuf/char/10063-2.cc: Ditto. 1832 1.1 mrg * testsuite/ext/stdio_filebuf/char/10063-3.cc: Ditto. 1833 1.1 mrg 1834 1.1 mrg 2004-09-23 Zack Weinberg <zack (a] codesourcery.com> 1835 1.1 mrg 1836 1.1 mrg * testsuite/20_util/memory/auto_ptr/assign_neg.cc 1837 1.1 mrg * testsuite/23_containers/map/operators/1_neg.cc 1838 1.1 mrg * testsuite/23_containers/set/operators/1_neg.cc: 1839 1.1 mrg Update locations and/or regexps of dg-error markers. 1840 1.1 mrg 1841 1.1 mrg 2004-09-23 P.J. Darcy <darcypj (a] us.ibm.com> 1842 1.1 mrg 1843 1.1 mrg * include/Makefile.am (thread_host_headers): Add gthr-tpf.h. 1844 1.1 mrg Add rule to build ${host_builddir}/gthr-tpf.h. 1845 1.1 mrg * include/Makefile.in: Regenerate. 1846 1.1 mrg 1847 1.1 mrg 2004-09-23 Paolo Carlini <pcarlini (a] suse.de> 1848 1.1 mrg Magnus Fromreide <magfr (a] lysator.liu.se> 1849 1.1 mrg 1850 1.1 mrg * include/bits/boost_concept_check.h (struct _SequenceConcept): 1851 1.1 mrg Remove wrong requirement, i.e., not present in Table 67. 1852 1.1 mrg 1853 1.1 mrg 2004-09-21 Paolo Carlini <pcarlini (a] suse.de> 1854 1.1 mrg 1855 1.1 mrg PR libstdc++/12882 (cont) 1856 1.1 mrg * acinclude.m4 (GLIBCXX_CHECK_LFS): Check for fstat64 too. 1857 1.1 mrg * configure: Regenerate. 1858 1.1 mrg * config/io/basic_file_stdio.cc (__basic_file<>::showmanyc): When 1859 1.1 mrg _GLIBCXX_USE_LFS use fstat64 and lseek64, thus providing a non 1860 1.1 mrg trivial showmanyc for large files too. 1861 1.1 mrg 1862 1.1 mrg 2004-09-17 Jonathan Wakely <redi (a] gcc.gnu.org> 1863 1.1 mrg 1864 1.1 mrg * include/bits/stl_algo.h (remove): Remove too restrictive 1865 1.1 mrg concept-check. 1866 1.1 mrg 1867 1.1 mrg 2004-09-17 Paolo Carlini <pcarlini (a] suse.de> 1868 1.1 mrg 1869 1.1 mrg * include/bits/fstream.tcc (xsgetn): Slightly tweak conditional, 1870 1.1 mrg as per Nathan's original suggestion. 1871 1.1 mrg 1872 1.1 mrg 2004-09-17 Paolo Carlini <pcarlini (a] suse.de> 1873 1.1 mrg 1874 1.1 mrg * testsuite/ext/mt_allocator/tune-1.cc: Use VERIFY, clean 1875 1.1 mrg up a bit. 1876 1.1 mrg * testsuite/ext/mt_allocator/tune-2.cc: Likewise. 1877 1.1 mrg * testsuite/ext/mt_allocator/tune-3.cc: Likewise. 1878 1.1 mrg * testsuite/ext/mt_allocator/tune-4.cc: Likewise. 1879 1.1 mrg 1880 1.1 mrg 2004-09-17 Paolo Carlini <pcarlini (a] suse.de> 1881 1.1 mrg Andrea Arcangeli <andrea (a] suse.de> 1882 1.1 mrg 1883 1.1 mrg * config/io/basic_file_stdio.cc (__basic_file<>::close)): Don't 1884 1.1 mrg call unnecessarily sync, that is fflush: the library, since 3.4.0 1885 1.1 mrg does not use buffered fread/fwrite. 1886 1.1 mrg * include/bits/fstream.tcc (basic_filebuf<>::overflow): Likewise. 1887 1.1 mrg 1888 1.1 mrg 2004-09-15 Mark Mitchell <mark (a] codesourcery.com> 1889 1.1 mrg 1890 1.1 mrg * config/cpu/arm/cxxabi_tweaks.h (__cxa_cdtor_return_type): 1891 1.1 mrg Define. 1892 1.1 mrg * config/cpu/generic/cxxabi_tweaks.h (__cxa_cdtor_return_type): 1893 1.1 mrg Define. 1894 1.1 mrg * libsupc++/cxxabi.h (__cxa_cdtor_return_type): New type. 1895 1.1 mrg (__cxa_vec_new): Use it. 1896 1.1 mrg (__cxa_vec_new2): Likewise. 1897 1.1 mrg (__cxa_vec_new3): Likewise. 1898 1.1 mrg (__cxa_vec_cdtor): Likewise. 1899 1.1 mrg (__cxa_vec_cctor): Likeiwse. 1900 1.1 mrg (__cxa_vec_dtor): Likewise. 1901 1.1 mrg (__cxa_vec_cleanup): Likewise. 1902 1.1 mrg (__cxa_vec_delete2): Likewise. 1903 1.1 mrg (__cxa_vec_delete3): Likewise. 1904 1.1 mrg * libsupc++/vec.cc (__cxa_vec_new): Likewise. 1905 1.1 mrg (__cxa_vec_new2): Likewise. 1906 1.1 mrg (__cxa_vec_new3): Likewise. 1907 1.1 mrg (__cxa_vec_cdtor): Likewise. 1908 1.1 mrg (__cxa_vec_cctor): Likeiwse. 1909 1.1 mrg (__cxa_vec_dtor): Likewise. 1910 1.1 mrg (__cxa_vec_cleanup): Likewise. 1911 1.1 mrg (__cxa_vec_delete2): Likewise. 1912 1.1 mrg (__cxa_vec_delete3): Likewise. 1913 1.1 mrg (__aeabi_vec_ctor_nocookie_nodtor): New function. 1914 1.1 mrg (__aeabi_vec_ctor_cookie_nodtor): Likewise. 1915 1.1 mrg (__aeabi_vec_cctor_nocookie_nodtor): Likewise. 1916 1.1 mrg (__aeabi_vec_new_cookie_noctor): Likewise. 1917 1.1 mrg (__aeabi_vec_new_nocookie): Likewise. 1918 1.1 mrg (__aeabi_vec_new_cookie_nodtor): Likewise. 1919 1.1 mrg (__aeabi_vec_new_cookie): Likewise. 1920 1.1 mrg (__aeabi_vec_dtor): Likewise. 1921 1.1 mrg (__aeabi_vec_dtor_cookie): Likewise. 1922 1.1 mrg (__aeabi_vec_delete): Likewise. 1923 1.1 mrg (__aeabi_vec_delete3): Likewise. 1924 1.1 mrg (__aeabi_vec_delete3_nodtor): Likewise. 1925 1.1 mrg (__aeabi_atexit): Likewise. 1926 1.1 mrg 1927 1.1 mrg 2004-09-14 Nathan Myers <ncm (a] cantrip.org> 1928 1.1 mrg 1929 1.1 mrg * include/bits/fstream.tcc (xsgetn): Slightly tweak the recent fix 1930 1.1 mrg for 11722: copy can replace move; the common case is __avail == 0. 1931 1.1 mrg 1932 1.1 mrg 2004-09-14 Paolo Carlini <pcarlini (a] suse.de> 1933 1.1 mrg 1934 1.1 mrg * include/bits/cpp_type_traits.h: Rename __is_trivially_copyable 1935 1.1 mrg to __is_scalar, more clear and consistent with "tr1" naming. 1936 1.1 mrg * include/bits/stl_algobase.h: Update consistently throughout. 1937 1.1 mrg 1938 1.1 mrg 2004-09-13 Paolo Carlini <pcarlini (a] suse.de> 1939 1.1 mrg 1940 1.1 mrg PR libstdc++/11722 1941 1.1 mrg * include/std/std_fstream.h (xsgetn): Declare only. 1942 1.1 mrg * include/bits/fstream.tcc (xsgetn): Define, optimize for the 1943 1.1 mrg always_noconv() case: when __n > __buflen, copy the available 1944 1.1 mrg buffer and issue a direct read. 1945 1.1 mrg * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: New. 1946 1.1 mrg 1947 1.1 mrg * include/bits/fstream.tcc (xsputn): Minor tweak, reorder a 1948 1.1 mrg conditional. 1949 1.1 mrg 1950 1.1 mrg 2004-09-13 Hans-Peter Nilsson <hp (a] bitrange.com> 1951 1.1 mrg 1952 1.1 mrg * testsuite/lib/libstdc++.exp: Use gcc wrapper.exp and call 1953 1.1 mrg libstdc++_maybe_build_wrapper instead of using local code. 1954 1.1 mrg 1955 1.1 mrg 2004-09-08 Benjamin Kosnik <bkoz (a] redhat.com> 1956 1.1 mrg 1957 1.1 mrg * config/linker-map.gnu (GLIBCXX_3.4.3): New, adjust symbol exports. 1958 1.1 mrg 1959 1.1 mrg 2004-09-03 Jan Beulich <jbeulich (a] novell.com> 1960 1.1 mrg 1961 1.1 mrg * crossconfig.m4: Add NetWare as a target. 1962 1.1 mrg * configure: Regenerate. 1963 1.1 mrg 1964 1.1 mrg 2004-09-02 Mark Mitchell <mark (a] codesourcery.com> 1965 1.1 mrg 1966 1.1 mrg * libsupc++/typeinfo: Honor __GXX_MERGED_TYPEINFO_NAMES if already 1967 1.1 mrg defined. 1968 1.1 mrg 1969 1.1 mrg 2004-09-02 Benjamin Kosnik <bkoz (a] redhat.com> 1970 1.1 mrg Simon Richter <Simon.Richter (a] hogyros.de> 1971 1.1 mrg 1972 1.1 mrg PR libstdc++/16715 1973 1.1 mrg * include/bits/istream.tcc: Add extern template for iostream 1974 1.1 mrg char and wchar_t instantiations. 1975 1.1 mrg 1976 1.1 mrg 2004-09-02 Benjamin Kosnik <bkoz (a] redhat.com> 1977 1.1 mrg Leland Wang <llwang (a] infor.org> 1978 1.1 mrg 1979 1.1 mrg PR libstdc++/17259 1980 1.1 mrg * include/ext/ropeimpl.h (rope::_S_compare): Use 1981 1.1 mrg _Rope_constants::_S_leaf. 1982 1.1 mrg 1983 1.1 mrg 2004-09-02 Benjamin Kosnik <bkoz (a] redhat.com> 1984 1.1 mrg 1985 1.1 mrg PR libstdc++/16848 1986 1.1 mrg * include/Makefile.am (ext_headers): Remove demangle.h. 1987 1.1 mrg * include/Makefile.in: Regenerate. 1988 1.1 mrg * include/ext/demangle.h: Remove. 1989 1.1 mrg 1990 1.1 mrg 2004-09-01 Benjamin Kosnik <bkoz (a] redhat.com> 1991 1.1 mrg 1992 1.1 mrg PR libstdc++/16614 1993 1.1 mrg * include/ext/mt_allocator.h (__mt_base): Not type dependent, 1994 1.1 mrg split into.. 1995 1.1 mrg (__pool): New, specialize. 1996 1.1 mrg (__common_pool): New, static bits here. 1997 1.1 mrg (__per_type_pool): New, and here. 1998 1.1 mrg (__mt_alloc_base): New. 1999 1.1 mrg (__mt_alloc): Add template parameter, inherit from it. 2000 1.1 mrg * src/allocator.cc: Split this... 2001 1.1 mrg * src/allocator-inst.cc: And this... 2002 1.1 mrg * src/pool_allocator.cc: ...into this. 2003 1.1 mrg * src/mt_allocator.cc: ... and this. Add definitions for 2004 1.1 mrg __mt_base. 2005 1.1 mrg * src/Makefile.am (sources): Split allocator.cc to 2006 1.1 mrg pool_allocator.cc and mt_allocator.cc. 2007 1.1 mrg * src/Makefile.in: Regenerate. 2008 1.1 mrg * config/linker-map.gnu: Add symbols. 2009 1.1 mrg * docs/html/ext/mt_allocator.html: Document new design. 2010 1.1 mrg * testsuite/ext/mt_allocator/tune-1.cc: New. 2011 1.1 mrg * testsuite/ext/mt_allocator/tune-2.cc: New. 2012 1.1 mrg * testsuite/ext/mt_allocator/tune-3.cc: New. 2013 1.1 mrg * testsuite/ext/mt_allocator/tune-4.cc: New. 2014 1.1 mrg 2015 1.1 mrg * testsuite/testsuite_allocator.h (__gnu_test::check_new): New. 2016 1.1 mrg * testsuite/ext/allocators.cc: Use check_new, split into... 2017 1.1 mrg * testsuite/ext/mt_allocator/check_new.cc: this. 2018 1.1 mrg * testsuite/ext/pool_allocator/check_new.cc: this. 2019 1.1 mrg * testsuite/ext/malloc_allocator/check_new.cc: this. 2020 1.1 mrg * testsuite/ext/debug_allocator/check_new.cc: this. 2021 1.1 mrg * testsuite/ext/mt_allocator/instantiate.cc: this. 2022 1.1 mrg * testsuite/ext/pool_allocator/instantiate.cc: this. 2023 1.1 mrg * testsuite/ext/malloc_allocator/instantiate.cc: this. 2024 1.1 mrg * testsuite/ext/debug_allocator/instantiate.cc: this. 2025 1.1 mrg 2026 1.1 mrg 2004-08-30 Phil Edwards <phil (a] codesourcery.com> 2027 1.1 mrg 2028 1.1 mrg * docs/html/install.html: Update locales list (from Paolo). 2029 1.1 mrg Remove other redundant information and point to the GCC install 2030 1.1 mrg documentation. 2031 1.1 mrg 2032 1.1 mrg 2004-08-30 Benjamin Kosnik <bkoz (a] redhat.com> 2033 1.1 mrg 2034 1.1 mrg * include/ext/pool_allocator.h: Rename __pool_base to 2035 1.1 mrg __pool_alloc_base. 2036 1.1 mrg * src/allocator.cc: Same. 2037 1.1 mrg * config/linker-map.gnu: Same. 2038 1.1 mrg 2039 1.1 mrg 2004-08-30 Paolo Carlini <pcarlini (a] suse.de> 2040 1.1 mrg Kenneth C. Schalk <ken (a] xorian.net> 2041 1.1 mrg 2042 1.1 mrg PR libstdc++/17215 2043 1.1 mrg * config/io/basic_file_stdio.cc (__basic_file<char>::close()): 2044 1.1 mrg Check the return value of fclose/sync, loop on EINTR. 2045 1.1 mrg (__basic_file<char>::sys_open): Likewise, for sync. 2046 1.1 mrg 2047 1.1 mrg 2004-08-29 Paolo Carlini <pcarlini (a] suse.de> 2048 1.1 mrg 2049 1.1 mrg * include/bits/locale_facets.tcc (time_get<>::_M_extract_via_format, 2050 1.1 mrg case 'S'): Allow for at least one leap-second (as per C99, 7.23.1 2051 1.1 mrg and 7.23.3.5), two if !_GLIBCXX_USE_C99. 2052 1.1 mrg * testsuite/22_locale/time_get/get_time/char/4.cc: New. 2053 1.1 mrg * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise. 2054 1.1 mrg 2055 1.1 mrg 2004-08-27 Jason Merrill <jason (a] redhat.com> 2056 1.1 mrg 2057 1.1 mrg PR c++/13684 2058 1.1 mrg * libsupc++/guard.cc (static_mutex): Internal class implementing a 2059 1.1 mrg recursive mutex which controls initialization of local statics. 2060 1.1 mrg (__gnu_cxx::recursive_init): New exception class. 2061 1.1 mrg (__cxa_guard_acquire): Deal with locking and recursion detection. 2062 1.1 mrg (acquire_1, __cxa_guard_abort, __cxa_guard_release): Likewise. 2063 1.1 mrg 2064 1.1 mrg 2004-08-27 Matthias Klose <doko (a] debian.org> 2065 1.1 mrg 2066 1.1 mrg * configure.host: For mips*-*-linux* update cpu_include_dir 2067 1.1 mrg after atomicity_dir is set. 2068 1.1 mrg 2069 1.1 mrg 2004-08-27 Matthias Klose <doko (a] debian.org> 2070 1.1 mrg 2071 1.1 mrg * config/abi/arm-linux-gnu/baseline_symbols.txt: New. 2072 1.1 mrg * config/abi/mips-linux-gnu/baseline_symbols.txt: Update to 3.4.0. 2073 1.1 mrg * configure.host: Set abi_baseline_pair for arm*-*-linux* and 2074 1.1 mrg mips*-*-linux*. 2075 1.1 mrg 2076 1.1 mrg 2004-08-27 Paolo Carlini <pcarlini (a] suse.de> 2077 1.1 mrg 2078 1.1 mrg * testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc: New. 2079 1.1 mrg * testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc: Likewise. 2080 1.1 mrg * testsuite/27_io/manipulators/basefield/wchar_t/1.cc: Likewise. 2081 1.1 mrg * testsuite/27_io/manipulators/standard/wchar_t/1.cc: Likewise. 2082 1.1 mrg * testsuite/27_io/manipulators/standard/wchar_t/2.cc: Likewise. 2083 1.1 mrg 2084 1.1 mrg * testsuite/27_io/manipulators/adjustfield/char/1.cc: Minor 2085 1.1 mrg formatting fixes. 2086 1.1 mrg * testsuite/27_io/manipulators/adjustfield/char/2.cc: Likewise. 2087 1.1 mrg * testsuite/27_io/manipulators/basefield/char/1.cc: Likewise. 2088 1.1 mrg * testsuite/27_io/manipulators/standard/char/1.cc: Likewise. 2089 1.1 mrg * testsuite/27_io/manipulators/standard/char/2.cc: Likewise. 2090 1.1 mrg 2091 1.1 mrg 2004-08-25 Paolo Carlini <pcarlini (a] suse.de> 2092 1.1 mrg 2093 1.1 mrg PR libstdc++/17038 (partial) 2094 1.1 mrg * include/bits/locale_facets.tcc (time_put<>::do_put): Increase 2095 1.1 mrg __maxlen to 128. 2096 1.1 mrg * include/bits/locale_facets.h (class __timepunct): Add FIXME 2097 1.1 mrg comment about _M_put. 2098 1.1 mrg * config/locale/generic/time_members.cc (_M_put): Always null 2099 1.1 mrg terminate __s. 2100 1.1 mrg * config/locale/gnu/time_members.cc (_M_put): Likewise. 2101 1.1 mrg * testsuite/22_locale/time_put/put/char/17038.cc: New. 2102 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/17038.cc: New. 2103 1.1 mrg 2104 1.1 mrg 2004-08-24 Paolo Carlini <pcarlini (a] suse.de> 2105 1.1 mrg 2106 1.1 mrg * testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc: New. 2107 1.1 mrg * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise. 2108 1.1 mrg * testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc: Likewise. 2109 1.1 mrg * testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc: Likewise. 2110 1.1 mrg * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise. 2111 1.1 mrg * testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc: Likewise. 2112 1.1 mrg 2113 1.1 mrg * testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc: Trim excess 2114 1.1 mrg newlines. 2115 1.1 mrg * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise. 2116 1.1 mrg 2117 1.1 mrg 2004-08-22 Matthias Klose <doko (a] debian.org> 2118 1.1 mrg 2119 1.1 mrg * config/abi/m68k-linux-gnu/baseline_symbols.txt: New. 2120 1.1 mrg * config/abi/sparc-linux-gnu/baseline_symbols.txt: Update to 3.4.0. 2121 1.1 mrg 2122 1.1 mrg 2004-08-23 Paolo Carlini <pcarlini (a] suse.de> 2123 1.1 mrg 2124 1.1 mrg * configure.ac: Specify version 1.9.1 in AM_INIT_AUTOMAKE. 2125 1.1 mrg * aclocal.m4: Regenerate with automake-1.9.1. 2126 1.1 mrg * configure: Regenerate. 2127 1.1 mrg * Makefile.in: Likewise. 2128 1.1 mrg * include/Makefile.in: Likewise. 2129 1.1 mrg * libmath/Makefile.in: Likewise. 2130 1.1 mrg * libsupc++/Makefile.in: Likewise. 2131 1.1 mrg * po/Makefile.in: Likewise. 2132 1.1 mrg * src/Makefile.in: Likewise. 2133 1.1 mrg * testsuite/Makefile.in: Likewise. 2134 1.1 mrg 2135 1.1 mrg 2004-08-22 Paolo Carlini <pcarlini (a] suse.de> 2136 1.1 mrg 2137 1.1 mrg * include/bits/locale_facets.tcc (num_put<>::do_put(bool)): Cast 2138 1.1 mrg to a signed type, long according to the resolution of DR 359. 2139 1.1 mrg * testsuite/22_locale/num_put/put/char/9.cc: New. 2140 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/9.cc: New. 2141 1.1 mrg 2142 1.1 mrg * include/bits/locale_facets.tcc (num_put<>::do_put(const void*)): 2143 1.1 mrg Simplify a bit: no need to clear showpos. 2144 1.1 mrg 2145 1.1 mrg 2004-08-21 Paolo Carlini <pcarlini (a] suse.de> 2146 1.1 mrg 2147 1.1 mrg * include/bits/char_traits.h (struct _Char_traits_match): Remove, 2148 1.1 mrg unused. 2149 1.1 mrg 2150 1.1 mrg 2004-08-21 Paolo Carlini <pcarlini (a] suse.de> 2151 1.1 mrg 2152 1.1 mrg * testsuite/22_locale/money_put/put/wchar_t/1.cc: Use proper 2153 1.1 mrg wchar_t type for the fill argument; minor formatting tweaks. 2154 1.1 mrg * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise. 2155 1.1 mrg * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise. 2156 1.1 mrg * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise. 2157 1.1 mrg * testsuite/22_locale/money_put/put/wchar_t/4.cc: Likewise. 2158 1.1 mrg * testsuite/22_locale/money_put/put/wchar_t/5.cc: Likewise. 2159 1.1 mrg * testsuite/22_locale/money_put/put/wchar_t/6.cc: Likewise. 2160 1.1 mrg 2161 1.1 mrg 2004-08-21 Paolo Carlini <pcarlini (a] suse.de> 2162 1.1 mrg 2163 1.1 mrg * include/bits/basic_ios.tcc (basic_ios<>::copyfmt): Don't deal 2164 1.1 mrg with _M_word != _M_local_word two times, redundantly. 2165 1.1 mrg 2166 1.1 mrg 2004-08-20 Jason Merrill <jason (a] redhat.com> 2167 1.1 mrg 2168 1.1 mrg * include/Makefile.am (${host_builddir}/gthr.h): Don't add 2169 1.1 mrg _GLIBCXX_ to #pragma lines. 2170 1.1 mrg * include/Makefile.in: Update. 2171 1.1 mrg 2172 1.1 mrg 2004-08-20 Paolo Carlini <pcarlini (a] suse.de> 2173 1.1 mrg 2174 1.1 mrg PR libstdc++/7219 (continued) 2175 1.1 mrg * include/bits/ios_base.h (class ios_base): Expose Annex D.6 2176 1.1 mrg typedefs by default. 2177 1.1 mrg * testsuite/27_io/types/1.cc: Remove #if _GLIBCXX_DEPRECATED. 2178 1.1 mrg * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak dg-error 2179 1.1 mrg line number. 2180 1.1 mrg * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise. 2181 1.1 mrg 2182 1.1 mrg 2004-08-20 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca> 2183 1.1 mrg 2184 1.1 mrg * cpu/hppa/atomicity.h (__exchange_and_add, __atomic_add): Add memory 2185 1.1 mrg barrier to locking asm. 2186 1.1 mrg 2187 1.1 mrg 2004-08-20 Paolo Carlini <pcarlini (a] suse.de> 2188 1.1 mrg 2189 1.1 mrg * include/c_std/cmath.tcc (__cmath_power): Revert previous commit: 2190 1.1 mrg actually the warning is a front-end bug (c++/17120). 2191 1.1 mrg 2192 1.1 mrg 2004-08-20 Matthias Klose <doko (a] debian.org> 2193 1.1 mrg 2194 1.1 mrg * config/abi/s390-linux-gnu/baseline_symbols.txt: New. 2195 1.1 mrg 2196 1.1 mrg 2004-08-20 Paolo Carlini <pcarlini (a] suse.de> 2197 1.1 mrg 2198 1.1 mrg * include/c_std/cmath.tcc (__cmath_power): Suppress assignment 2199 1.1 mrg used as truth value warning. 2200 1.1 mrg 2201 1.1 mrg 2004-08-20 Paolo Carlini <pcarlini (a] suse.de> 2202 1.1 mrg 2203 1.1 mrg * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Add 32 bit 2204 1.1 mrg baseline. 2205 1.1 mrg 2206 1.1 mrg 2004-08-20 Paolo Carlini <pcarlini (a] suse.de> 2207 1.1 mrg 2208 1.1 mrg * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Fix it. 2209 1.1 mrg 2210 1.1 mrg 2004-08-19 Benjamin Kosnik <bkoz (a] redhat.com> 2211 1.1 mrg 2212 1.1 mrg * testsuite/22_locale/time_put/put/char/3.cc (test03): Don't check 2213 1.1 mrg timezone. 2214 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/3.cc (test03): Same. 2215 1.1 mrg 2216 1.1 mrg 2004-08-19 Paolo Carlini <pcarlini (a] suse.de> 2217 1.1 mrg 2218 1.1 mrg * testsuite/performance/20_util/allocator/insert.cc: For std::map 2219 1.1 mrg instantiate the allocator for a correct pair type. 2220 1.1 mrg * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise. 2221 1.1 mrg * testsuite/performance/20_util/allocator/map_thread.cc: Likewise. 2222 1.1 mrg * testsuite/performance/20_util/allocator/producer_consumer.cc: 2223 1.1 mrg Likewise. 2224 1.1 mrg 2225 1.1 mrg * testsuite/performance/20_util/allocator/list_sort_search.cc: Very 2226 1.1 mrg minor formatting fixes. 2227 1.1 mrg * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise. 2228 1.1 mrg 2229 1.1 mrg 2004-08-19 Paolo Carlini <pcarlini (a] suse.de> 2230 1.1 mrg 2231 1.1 mrg * testsuite/22_locale/time_put/put/char/1.cc: Add VERIFY on the 2232 1.1 mrg results. 2233 1.1 mrg * testsuite/22_locale/time_put/put/char/2.cc: Likewise. 2234 1.1 mrg * testsuite/22_locale/time_put/put/char/3.cc: Likewise. 2235 1.1 mrg * testsuite/22_locale/time_put/put/char/4.cc: Likewise. 2236 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise. 2237 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise. 2238 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise. 2239 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise. 2240 1.1 mrg 2241 1.1 mrg 2004-08-19 Paolo Carlini <pcarlini (a] suse.de> 2242 1.1 mrg 2243 1.1 mrg * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update to 3.4.0. 2244 1.1 mrg 2245 1.1 mrg 2004-08-18 Matthias Klose <doko (a] debian.org> 2246 1.1 mrg 2247 1.1 mrg * config/abi/hppa-linux-gnu/baseline_symbols.txt: Update to 3.4.0. 2248 1.1 mrg * config/abi/i386-linux-gnu/baseline_symbols.txt: New. 2249 1.1 mrg * config/abi/powerpc-linux-gnu/baseline_symbols.txt: New. 2250 1.1 mrg 2251 1.1 mrg 2004-08-17 Paolo Carlini <pcarlini (a] suse.de> 2252 1.1 mrg 2253 1.1 mrg * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update to 3.4.0. 2254 1.1 mrg 2255 1.1 mrg 2004-08-17 Paolo Carlini <pcarlini (a] suse.de> 2256 1.1 mrg 2257 1.1 mrg * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update to 3.4.0. 2258 1.1 mrg 2259 1.1 mrg 2004-08-17 Benjamin Kosnik <bkoz (a] redhat.com> 2260 1.1 mrg 2261 1.1 mrg * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.4.0. 2262 1.1 mrg 2263 1.1 mrg 2004-08-16 Paolo Carlini <pcarlini (a] suse.de> 2264 1.1 mrg 2265 1.1 mrg * include/bits/indirect_array.h: Trivial formatting fixes. 2266 1.1 mrg * include/bits/valarray_after.h: Likewise. 2267 1.1 mrg * include/bits/valarray_array.h: Likewise. 2268 1.1 mrg * src/valarray-inst.cc: Likewise. 2269 1.1 mrg 2270 1.1 mrg 2004-08-15 Paolo Carlini <pcarlini (a] suse.de> 2271 1.1 mrg 2272 1.1 mrg * testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Remove junk. 2273 1.1 mrg * testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise. 2274 1.1 mrg * testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise. 2275 1.1 mrg 2276 1.1 mrg * testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: New. 2277 1.1 mrg * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise. 2278 1.1 mrg * testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise. 2279 1.1 mrg * testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise. 2280 1.1 mrg * testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise. 2281 1.1 mrg 2282 1.1 mrg 2004-08-15 Paolo Carlini <pcarlini (a] suse.de> 2283 1.1 mrg 2284 1.1 mrg * include/bits/deque.tcc: Trivial formatting fixes. 2285 1.1 mrg 2286 1.1 mrg 2004-08-15 Paolo Carlini <pcarlini (a] suse.de> 2287 1.1 mrg 2288 1.1 mrg * include/bits/deque.tcc: Trivial formatting fixes. 2289 1.1 mrg 2290 1.1 mrg * include/bits/locale_facets.tcc (num_get<>::do_get(&bool)): 2291 1.1 mrg Remove unneded typedef. 2292 1.1 mrg 2293 1.1 mrg * include/bits/locale_facets.tcc: Very minor tweaks. 2294 1.1 mrg 2295 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/1.cc: Use proper 2296 1.1 mrg type for the fill argument. 2297 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/10.cc: Likewise. 2298 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise. 2299 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise. 2300 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise. 2301 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise. 2302 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise. 2303 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise. 2304 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise. 2305 1.1 mrg 2306 1.1 mrg 2004-08-13 Paolo Carlini <pcarlini (a] suse.de> 2307 1.1 mrg 2308 1.1 mrg * src/debug.cc (_Error_formatter::_M_print_string): Fix thinko, 2309 1.1 mrg memmove is not needed, memcpy suffices. 2310 1.1 mrg 2311 1.1 mrg 2004-08-13 Paolo Carlini <pcarlini (a] suse.de> 2312 1.1 mrg 2313 1.1 mrg * include/std/std_fstream.h (class basic_ifstream, 2314 1.1 mrg class basic_ofstream, class basic_fstream): Add const overloads 2315 1.1 mrg of is_open, as per DR 365 [WP]. 2316 1.1 mrg * docs/html/ext/howto.html: Add an entry for DR 365. 2317 1.1 mrg 2318 1.1 mrg 2004-08-12 Paolo Carlini <pcarlini (a] suse.de> 2319 1.1 mrg 2320 1.1 mrg * configure.ac: Specify version 1.8.5 in AM_INIT_AUTOMAKE. 2321 1.1 mrg 2322 1.1 mrg 2004-08-12 Paolo Carlini <pcarlini (a] suse.de> 2323 1.1 mrg 2324 1.1 mrg PR libstdc++/16956 2325 1.1 mrg * include/bits/sstream.tcc (basic_stringbuf<>::seekoff): Add __off 2326 1.1 mrg to the returned value, reorganize a bit. 2327 1.1 mrg * testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: New. 2328 1.1 mrg * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: New. 2329 1.1 mrg 2330 1.1 mrg * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Remove junk. 2331 1.1 mrg * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise. 2332 1.1 mrg * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise. 2333 1.1 mrg * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise. 2334 1.1 mrg 2335 1.1 mrg 2004-08-12 Paul Brook <paul (a] codesourcery.com> 2336 1.1 mrg 2337 1.1 mrg * config/cpu/arm/cxxabi_tweaks.h: Define __cxa_vec_ctor_return and 2338 1.1 mrg _GLIBCXX_CXA_VEC_CTOR_RETURN. 2339 1.1 mrg * config/cpu/generic/cxxabi_tweaks.h: Ditto. 2340 1.1 mrg * libsupc++/cxxabi.h (__cxa_vec_ctor, __cxa_vec_cctor): Use 2341 1.1 mrg __cxa_vec_ctor_return. 2342 1.1 mrg * libsupc++/vec.cc (__cxa_vec_ctor, __cxa_vec_cctor): Ditto. 2343 1.1 mrg Use _GLIBCXX_CXA_VEC_CTOR_RETURN. 2344 1.1 mrg 2345 1.1 mrg 2004-08-12 Kelley Cook <kcook (a] gcc.gnu.org> 2346 1.1 mrg 2347 1.1 mrg * Makefile.in, aclocal.m4, configure, include/Makefile.in, 2348 1.1 mrg libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, 2349 1.1 mrg src/Makefile.in, testsuite/Makefile.in: Regenerate 2350 1.1 mrg 2351 1.1 mrg 2004-08-12 Jan Beulich <jbeulich (a] novell.com> 2352 1.1 mrg 2353 1.1 mrg * config/locale/generic/ctype_members.cc 2354 1.1 mrg (ctype<wchar_t>::_M_convert_to_wmask): Default case must not use 0 as 2355 1.1 mrg initializer for return value, as that is invalid for enumerated types. 2356 1.1 mrg * config/locale/gnu/ctype_members.cc 2357 1.1 mrg (ctype<wchar_t>::_M_convert_to_wmask): Likewise. 2358 1.1 mrg 2359 1.1 mrg 2004-08-11 Paolo Carlini <pcarlini (a] suse.de> 2360 1.1 mrg 2361 1.1 mrg * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Fix typo. 2362 1.1 mrg 2363 1.1 mrg 2004-08-11 Paolo Carlini <pcarlini (a] suse.de> 2364 1.1 mrg 2365 1.1 mrg * testsuite/27_io/basic_stringbuf/imbue/char/1.cc: Declare test 2366 1.1 mrg variable. 2367 1.1 mrg * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc: Ditto. 2368 1.1 mrg * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Remove junk. 2369 1.1 mrg * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Ditto. 2370 1.1 mrg * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Ditto. 2371 1.1 mrg * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Ditto. 2372 1.1 mrg * testsuite/27_io/basic_stringbuf/setbuf/char/1.cc: Ditto. 2373 1.1 mrg * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc: Ditto. 2374 1.1 mrg * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Ditto. 2375 1.1 mrg * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Ditto. 2376 1.1 mrg * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Ditto. 2377 1.1 mrg * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Ditto. 2378 1.1 mrg * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Ditto. 2379 1.1 mrg * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Ditto. 2380 1.1 mrg * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Ditto. 2381 1.1 mrg * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Ditto. 2382 1.1 mrg * testsuite/27_io/basic_stringbuf/sputc/char/1.cc: Ditto. 2383 1.1 mrg * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc: Ditto. 2384 1.1 mrg * testsuite/27_io/basic_stringbuf/sputn/char/1.cc: Ditto. 2385 1.1 mrg * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc: Ditto. 2386 1.1 mrg * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Ditto. 2387 1.1 mrg * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Ditto. 2388 1.1 mrg 2389 1.1 mrg 2004-08-11 Paolo Carlini <pcarlini (a] suse.de> 2390 1.1 mrg Petur Runolfsson <peturr02 (a] ru.is> 2391 1.1 mrg 2392 1.1 mrg PR libstdc++/16959 2393 1.1 mrg * src/ios_init.cc (ios_base::sync_with_stdio): Make sure the 2394 1.1 mrg standard streams are constructed. 2395 1.1 mrg * testsuite/27_io/ios_base/sync_with_stdio/16959.cc: New. 2396 1.1 mrg 2397 1.1 mrg 2004-08-09 Paolo Carlini <pcarlini (a] suse.de> 2398 1.1 mrg 2399 1.1 mrg * include/bits/stl_bvector.h: Trivial formatting fixes. 2400 1.1 mrg 2401 1.1 mrg 2004-08-09 Paolo Carlini <pcarlini (a] suse.de> 2402 1.1 mrg 2403 1.1 mrg * src/ios.cc (ios_base::_M_grow_words): Uglify the names. 2404 1.1 mrg 2405 1.1 mrg 2004-08-07 Jonathan Wakely <redi (a] gcc.gnu.org> 2406 1.1 mrg Paolo Carlini <pcarlini (a] suse.de> 2407 1.1 mrg 2408 1.1 mrg * src/debug.cc (_Error_formatter::_M_print_string): In order 2409 1.1 mrg to print individual words from __string, _M_format_word can't 2410 1.1 mrg be called since may be just sprintf, thus ignoring completely 2411 1.1 mrg __n: instead, use memmove and append '\0' by hand. 2412 1.1 mrg 2413 1.1 mrg 2004-08-07 Paolo Carlini <pcarlini (a] suse.de> 2414 1.1 mrg 2415 1.1 mrg * config/locale/generic/c_locale.h (__convert_from_v): Don't 2416 1.1 mrg use a default for __prec, assume __prec >= 0 and simplify. 2417 1.1 mrg * config/locale/gnu/c_locale.h (__convert_from_v): Likewise. 2418 1.1 mrg * include/bits/locale_facets.tcc (money_put<>::do_put(long double)): 2419 1.1 mrg Pass format "%.*Lf" + precision == 0, equivalent to "%.0Lf". 2420 1.1 mrg 2421 1.1 mrg 2004-08-04 Phil Edwards <phil (a] codesourcery.com> 2422 1.1 mrg 2423 1.1 mrg * docs/html/configopts.html: Emphasize that options change. 2424 1.1 mrg * docs/html/17_intro/configury.html: Update links. 2425 1.1 mrg 2426 1.1 mrg 2004-08-03 Paolo Carlini <pcarlini (a] suse.de> 2427 1.1 mrg 2428 1.1 mrg * include/bits/list.tcc: Trivial formatting fixes. 2429 1.1 mrg 2430 1.1 mrg 2004-08-03 Mark Mitchell <mark (a] codesourcery.com> 2431 1.1 mrg 2432 1.1 mrg * libsupc++/new_op.cc: Update comments. 2433 1.1 mrg * libsupc++/del_op.cc: Likewise. 2434 1.1 mrg 2435 1.1 mrg 2004-08-02 Mark Mitchell <mark (a] codesourcery.com> 2436 1.1 mrg 2437 1.1 mrg * libsupc++/cxxabi.h: Make all declarations have default 2438 1.1 mrg visibility. 2439 1.1 mrg * libsupc++/exception: Likewise. 2440 1.1 mrg * libsupc++/new: Likewise. 2441 1.1 mrg * libsupc++/typeinfo: Likewise. 2442 1.1 mrg * libsupc++/unwind-cxx.h: Likewise. 2443 1.1 mrg * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Put it into 2444 1.1 mrg the __cxxabiv1 namespace. 2445 1.1 mrg (__cxa_free_exception): Likewise. 2446 1.1 mrg * libsupc++/eh_aux_runtime.cc (__cxa_bad_cast): Likewise. 2447 1.1 mrg (__cxa_bad_typeid): Likewise. 2448 1.1 mrg * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise. 2449 1.1 mrg (__cxa_end_catch): Likewise. 2450 1.1 mrg * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Likewise. 2451 1.1 mrg (__cxa_get_globals): Likewise. 2452 1.1 mrg * libsupc++/eh_throw.cc (__cxa_throw): Likewise. 2453 1.1 mrg (__cxa_rethrow): Likewise. 2454 1.1 mrg * libsupc++/pure.cc (__cxa_pure_virtual): Likewise. 2455 1.1 mrg * libsupc++/eh_type.cc: Include <cxxabi.h>. 2456 1.1 mrg 2457 1.1 mrg * Makefile.am (hosted_source): Add libmath and testsuite. 2458 1.1 mrg (SUBDIRS): Remove them. 2459 1.1 mrg * acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding 2460 1.1 mrg on arm*-*-symbianelf*. 2461 1.1 mrg * crossconfig.m4: Add arm*-*-symbianelf* support. 2462 1.1 mrg * include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it 2463 1.1 mrg when freestanding. Do not bring names into std:: namespace with 2464 1.1 mrg "using" when freestanding. Declare required functions and macros 2465 1.1 mrg when freestanding. 2466 1.1 mrg * libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c 2467 1.1 mrg when freestanding. 2468 1.1 mrg * libsupc++/del_op.cc: Declare "free" only when freestanding. 2469 1.1 mrg * libsupc++/eh_alloc.cc (cstring): Include it only when hosted. 2470 1.1 mrg (malloc): Declare when freestanding. 2471 1.1 mrg (free): Likewise. 2472 1.1 mrg (memset): Likewise. 2473 1.1 mrg (__cxa_allocate_exception): Call malloc, not std::malloc. Likewise 2474 1.1 mrg for memset. 2475 1.1 mrg (__cxa_free_exception): Likewise for free. 2476 1.1 mrg * libsupc++/new_op.cc: Declare "malloc" when freestanding. 2477 1.1 mrg * libsupc++/pure.cc (writestr): Define to nothing when 2478 1.1 mrg freestanding. 2479 1.1 mrg * libsupc++/vterminate.cc: Do not define anything when 2480 1.1 mrg freestanding. 2481 1.1 mrg * Makefile.in: Regenerated. 2482 1.1 mrg * aclocal.m4: Likewise. 2483 1.1 mrg * configure: Likewise. 2484 1.1 mrg * include/Makefile.in: Likewise. 2485 1.1 mrg * libmath/Makefile.in: Likewise. 2486 1.1 mrg * libsupc++/Makefile.in: Likewise. 2487 1.1 mrg * po/Makefile.in: Likewise. 2488 1.1 mrg * src/Makefile.in: Likewise. 2489 1.1 mrg * testsuite/Makefile.in: Likewise. 2490 1.1 mrg 2491 1.1 mrg 2004-08-01 Matt Austern <austern (a] apple.com> 2492 1.1 mrg 2493 1.1 mrg PR libstdc++/16844 2494 1.1 mrg * include/bits/stl_list.h (_M_create_node): Remove unused 2495 1.1 mrg zero-argument version. 2496 1.1 mrg * include/ext/slist (_M_create_node): Pass two arguments to 2497 1.1 mrg allocator's construct() member function. 2498 1.1 mrg * testsuite/23_containers/deque/explicit_instantiation.cc: New. 2499 1.1 mrg * testsuite/23_containers/list/explicit_instantiation.cc: New. 2500 1.1 mrg * testsuite/23_containers/vector/explicit_instantiation.cc: New. 2501 1.1 mrg * testsuite/23_containers/map/explicit_instantiation.cc: New. 2502 1.1 mrg * testsuite/23_containers/set/explicit_instantiation.cc: New. 2503 1.1 mrg * testsuite/23_containers/multimap/explicit_instantiation.cc: New. 2504 1.1 mrg * testsuite/23_containers/multiset/explicit_instantiation.cc: New. 2505 1.1 mrg * testsuite/ext/hash_set_explicit_instantiation.cc: New. 2506 1.1 mrg * testsuite/ext/slist_explicit_instantiation.cc: New. 2507 1.1 mrg 2508 1.1 mrg 2004-07-30 Paolo Carlini <pcarlini (a] suse.de> 2509 1.1 mrg 2510 1.1 mrg * include/bits/locale_facets.tcc (num_get<>::_M_extract_float, 2511 1.1 mrg num_get<>::_M_extract_int): In the main parsing loop delay the 2512 1.1 mrg life of __q to the actual use point. 2513 1.1 mrg 2514 1.1 mrg 2004-07-29 Paolo Carlini <pcarlini (a] suse.de> 2515 1.1 mrg 2516 1.1 mrg PR libstdc++/14220 2517 1.1 mrg * include/bits/locale_facets.tcc (num_put<>::_M_insert_float): 2518 1.1 mrg Don't clip the precision passed down to __convert_from_v: 2519 1.1 mrg 22.2.2.2.2 nowhere says so. 2520 1.1 mrg * testsuite/22_locale/num_put/put/char/14220.cc: New. 2521 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise. 2522 1.1 mrg 2523 1.1 mrg 2004-07-29 Paolo Carlini <pcarlini (a] suse.de> 2524 1.1 mrg 2525 1.1 mrg * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 31. 2526 1.1 mrg 2527 1.1 mrg 2004-07-29 Paolo Carlini <pcarlini (a] suse.de> 2528 1.1 mrg Petur Runolfsson <peturr02 (a] ru.is> 2529 1.1 mrg 2530 1.1 mrg PR libstdc++/12658 (continued) 2531 1.1 mrg * src/locale_init.cc (locale::locale, locale::global): Use 2532 1.1 mrg a single locale_mutex instead of two separate mutexes. 2533 1.1 mrg 2534 1.1 mrg 2004-07-29 Paolo Carlini <pcarlini (a] suse.de> 2535 1.1 mrg 2536 1.1 mrg PR libstdc++/16813 2537 1.1 mrg * include/debug/map.h (insert(_InputIterator, _InputIterator)): 2538 1.1 mrg Fix typo. 2539 1.1 mrg * testsuite/23_containers/map/insert/16813.cc: New. 2540 1.1 mrg 2541 1.1 mrg 2004-07-29 Phil Edwards <phil (a] codesourcery.com> 2542 1.1 mrg 2543 1.1 mrg * docs/html/faq/index.html: Update version references. Make 2544 1.1 mrg clear that code from SGI has diverged greatly. Remove references 2545 1.1 mrg to library snapshots and what's-new sections. 2546 1.1 mrg * docs/html/faq/index.txt: Regenerate. 2547 1.1 mrg 2548 1.1 mrg 2004-07-28 Matt Austern <austern (a] apple.com> 2549 1.1 mrg 2550 1.1 mrg * include/bits/stl_construct.h (_Destroy): New three-argument 2551 1.1 mrg overload that takes an allocator argument. Another inline 2552 1.1 mrg three-argument overload that takes std::allocator and dispatches 2553 1.1 mrg to the two-argument version. 2554 1.1 mrg * include/bits/stl_uninitialized.h (__uninitialized_fill_n_aux): 2555 1.1 mrg Change return type to void to match uninitialized_fill_n. 2556 1.1 mrg (__uninitialized_copy_a_): New function. Like uninitialized_copy 2557 1.1 mrg except that it takes an allocator and uses it for construct and 2558 1.1 mrg destroy. If the allocator is std::allocator, dispatches to 2559 1.1 mrg uninitialized_copy. 2560 1.1 mrg (__uninitialized_fill_a): Likewise. 2561 1.1 mrg (__uninitialized_fill_n_a): Likewise. 2562 1.1 mrg (__uninitialized_copy_copy): Give it an allocator argument. 2563 1.1 mrg (__uninitialized_fill_copy): Likewise. 2564 1.1 mrg (__uninitialized_copy_fill): Likewise. 2565 1.1 mrg * include/bits/deque.tcc: Use new forms defined in stl_construct.h 2566 1.1 mrg and stl_uninitialized.h. Replace use of single-argument _Construct 2567 1.1 mrg and _Destroy with use of allocator's construct and destroy methods. 2568 1.1 mrg * include/bits/list.tcc: Likewise. 2569 1.1 mrg * include/bits/stl_deque.h: Likewise. 2570 1.1 mrg * include/bits/stl_list.h: Likewise. 2571 1.1 mrg * include/bits/stl_tree.h: Likewise. 2572 1.1 mrg * include/bits/stl_vector.h: Likewise. 2573 1.1 mrg * include/bits/vector.tcc: Likewise. 2574 1.1 mrg * include/ext/hashtable.h: Use rebind so that allocator_type 2575 1.1 mrg has correct type for a container's allocator. Replace use of 2576 1.1 mrg single-argument _Construct and _Destroy with use of allocator's 2577 1.1 mrg construct and destroy methods. 2578 1.1 mrg * include/ext/memory (__uninitialized_copy_n_a): New function. 2579 1.1 mrg Like uninitialized_copy_n except that it takes an extra parameter, 2580 1.1 mrg an allocator, and uses it for construct and destroy operations. 2581 1.1 mrg * include/ext/rope: Use new forms defined in stl_construct.h, 2582 1.1 mrg stl_uninitialized.h, and ext/memory. Replace use of single-argument 2583 1.1 mrg _Construct and _Destroy with allocator construct and destroy methods. 2584 1.1 mrg * include/ext/ropeimpl.h: Likewise. 2585 1.1 mrg * include/ext/slist.h: Likewise. 2586 1.1 mrg * testsuite/testsuite_allocator.h (check_construct_destroy): New. 2587 1.1 mrg * testsuite/testsuite_allocator.cc (check_construct_destroy): New. 2588 1.1 mrg * testsuite/23_containers/deque/check_construct_destroy.cc: New. 2589 1.1 mrg * testsuite/23_containers/list/check_construct_destroy.cc: New. 2590 1.1 mrg * testsuite/23_containers/set/check_construct_destroy.cc: New. 2591 1.1 mrg * testsuite/23_containers/vector/check_construct_destroy.cc: New. 2592 1.1 mrg * testsuite/ext/hash_check_construct_destroy.cc: New. 2593 1.1 mrg * testsuite/ext/slist_check_construct_destroy.cc: New. 2594 1.1 mrg 2595 1.1 mrg 2004-07-28 Alexandre Oliva <aoliva (a] redhat.com> 2596 1.1 mrg 2597 1.1 mrg 2003-10-01 Eric Christopher <echristo (a] redhat.com> 2598 1.1 mrg * config/cpu/sh/atomicity.h (__exchange_and_add): Remove 'm' 2599 1.1 mrg constraint. 2600 1.1 mrg 2003-07-09 Alexandre Oliva <aoliva (a] redhat.com> 2601 1.1 mrg * config/cpu/sh/atomicity.h: New. Use movli and movco on SH4a. 2602 1.1 mrg 2603 1.1 mrg 2004-07-23 Benjamin Kosnik <bkoz (a] redhat.com> 2604 1.1 mrg 2605 1.1 mrg PR libstdc++/16678 2606 1.1 mrg * include/bits/locale_facets.tcc: Fix for -Werror. 2607 1.1 mrg 2608 1.1 mrg 2004-07-23 Jonathan Wakely <redi (a] gcc.gnu.org> 2609 1.1 mrg 2610 1.1 mrg * docs/html/debug.html: Say debug mode only available since 3.4.0. 2611 1.1 mrg 2612 1.1 mrg 2004-07-21 Benjamin Kosnik <bkoz (a] redhat.com> 2613 1.1 mrg 2614 1.1 mrg * docs/doxygen/mainpage.html: Clarify links. 2615 1.1 mrg * docs/doxygen/stdheader.cc: Add files. 2616 1.1 mrg * docs/doxygen/style.css: Remove bolds, add h2, h3 styles. 2617 1.1 mrg * docs/doxygen/user.cfg.in: New options, wrap. 2618 1.1 mrg 2619 1.1 mrg 2004-07-20 Danny Smith <dannysmith (a] users.sourceforge.net> 2620 1.1 mrg 2621 1.1 mrg * include/c_std/std_cwchar.h (wcsstr): Correct signature. 2622 1.1 mrg 2623 1.1 mrg 2004-07-19 Benjamin Kosnik <bkoz (a] redhat.com> 2624 1.1 mrg 2625 1.1 mrg PR libstdc++/15488 2626 1.1 mrg * testsuite/lib/libstdc++.exp (v3-copy-files): Revert. 2627 1.1 mrg 2628 1.1 mrg 2004-07-17 Richard Sandiford <rsandifo (a] redhat.com> 2629 1.1 mrg 2630 1.1 mrg PR bootstrap/16469 2631 1.1 mrg * scripts/create_testsuite_files: Pass -print to find. 2632 1.1 mrg 2633 1.1 mrg 2004-07-15 Paolo Carlini <pcarlini (a] suse.de> 2634 1.1 mrg 2635 1.1 mrg * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 30. 2636 1.1 mrg * docs/html/ext/howto.html: Tweak entries for DRs 167/253/389/402. 2637 1.1 mrg 2638 1.1 mrg 2004-07-15 Jakub Jelinek <jakub (a] redhat.com> 2639 1.1 mrg 2640 1.1 mrg PR libstdc++/14697 2641 1.1 mrg * acinclude.m4 (glibcxx_shared_libgcc): Correct 2642 1.1 mrg glibcxx_shared_libgcc test for multilibs. 2643 1.1 mrg * configure: Rebuilt. 2644 1.1 mrg 2645 1.1 mrg 2004-07-14 Paolo Carlini <pcarlini (a] suse.de> 2646 1.1 mrg 2647 1.1 mrg PR libstdc++/16505 2648 1.1 mrg * include/bits/stl_uninitialized.h (uninitialized_fill_n): Fix 2649 1.1 mrg the signature to return void, as per 20.4.4.3. 2650 1.1 mrg * include/bits/stl_vector.h (vector::vector(size_type, 2651 1.1 mrg const value_type&, const allocator_type&), vector::vector(size_type), 2652 1.1 mrg vector::_M_initialize_dispatch): Adjust callers. 2653 1.1 mrg * include/bits/vector.tcc (vector<>::_M_fill_assign, 2654 1.1 mrg vector<>::_M_fill_insert): Likewise. 2655 1.1 mrg * testsuite/20_util/memory/16505.cc: New. 2656 1.1 mrg 2657 1.1 mrg 2004-07-14 Paolo Carlini <pcarlini (a] suse.de> 2658 1.1 mrg 2659 1.1 mrg * testsuite/22_locale/locale/cons/12658_thread-1.cc, 2660 1.1 mrg 12658_thread-2.cc: Use __gnu_test::try_named_locale. 2661 1.1 mrg 2662 1.1 mrg 2004-07-13 Benjamin Kosnik <bkoz (a] redhat.com> 2663 1.1 mrg 2664 1.1 mrg * docs/html/ext/mt_allocator.html: Add docs for _Tune. 2665 1.1 mrg * include/ext/mt_allocator.h (__mt_alloc::_S_get_options): Make public. 2666 1.1 mrg (__mt_alloc::_S_set_options): Same. 2667 1.1 mrg Add to comments. 2668 1.1 mrg 2669 1.1 mrg 2004-07-13 Benjamin Kosnik <bkoz (a] redhat.com> 2670 1.1 mrg 2671 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add allocator defaults 2672 1.1 mrg for linux. 2673 1.1 mrg * configure: Regenerated. 2674 1.1 mrg 2675 1.1 mrg 2004-07-13 Paolo Carlini <pcarlini (a] suse.de> 2676 1.1 mrg 2677 1.1 mrg * testsuite/22_locale/locale/cons/12658_thread.cc: Move/rename 2678 1.1 mrg to 12658_thread-1.cc and xfail. 2679 1.1 mrg * testsuite/22_locale/locale/cons/12658_thread-2.c: New, much 2680 1.1 mrg simpler version of 12658_thread-1.cc, still failing on 3_3 and 2681 1.1 mrg not failing on 3_4/mainline - both on single processor and 2682 1.1 mrg multiprocessor machines. 2683 1.1 mrg 2684 1.1 mrg 2004-07-12 Benjamin Kosnik <bkoz (a] redhat.com> 2685 1.1 mrg 2686 1.1 mrg * docs/html/abi.html: Remove non-public qualification. 2687 1.1 mrg 2688 1.1 mrg * include/bits/concurrence.h: Tweak comments. 2689 1.1 mrg 2690 1.1 mrg 2004-07-11 Paolo Carlini <pcarlini (a] suse.de> 2691 1.1 mrg 2692 1.1 mrg Add wchar_t counterparts of the basic_streambbuf<char> tests. 2693 1.1 mrg * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: New. 2694 1.1 mrg * testsuite/27_io/basic_streambuf/imbue/wchar_t/1.cc, 9322.cc: 2695 1.1 mrg Likewise. 2696 1.1 mrg * testsuite/27_io/basic_streambuf/in_avail/wchar_t/9701-3.cc: Likewise. 2697 1.1 mrg * testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc, 2.cc, 2698 1.1 mrg 3599.cc: Likewise. 2699 1.1 mrg * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise. 2700 1.1 mrg * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise. 2701 1.1 mrg * testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc: Likewise. 2702 1.1 mrg * testsuite/27_io/basic_streambuf/sputc/wchar_t/1057.cc: Likewise. 2703 1.1 mrg * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc, 1057.cc: 2704 1.1 mrg Likewise. 2705 1.1 mrg * testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc: Likewise. 2706 1.1 mrg 2707 1.1 mrg * testsuite/27_io/basic_streambuf/imbue/char/1.cc, 9322.cc: Minor 2708 1.1 mrg tweaks. 2709 1.1 mrg * testsuite/27_io/basic_streambuf/overflow/char/2.cc, 3599.cc: 2710 1.1 mrg Likewise. 2711 1.1 mrg * testsuite/27_io/basic_streambuf/sputn/char/1057.cc: Likewise. 2712 1.1 mrg * testsuite/27_io/basic_streambuf/sync/char/1057.cc: Likewise. 2713 1.1 mrg 2714 1.1 mrg 2004-07-11 Phil Edwards <phil (a] codesourcery.com> 2715 1.1 mrg 2716 1.1 mrg * acinclude.m4: Cosmetic shell syntax fixes. 2717 1.1 mrg * configure.ac: Bring comment inline with reality. 2718 1.1 mrg * configure.host: Both of the above. Move 'arm' case to right 2719 1.1 mrg place in host_cpu switch. 2720 1.1 mrg * aclocal.m4, configure: Regenerate. 2721 1.1 mrg 2722 1.1 mrg 2004-07-09 Paolo Carlini <pcarlini (a] suse.de> 2723 1.1 mrg 2724 1.1 mrg Add wchar_t counterparts of the basic_stringbuf<char> tests. 2725 1.1 mrg * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc, 9322.cc: New. 2726 1.1 mrg * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Likewise. 2727 1.1 mrg * testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc, 2.cc, 2728 1.1 mrg 3599.cc, 9988.cc: Likewise. 2729 1.1 mrg * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc, 9825.cc: 2730 1.1 mrg Likewise. 2731 1.1 mrg * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc: 2732 1.1 mrg Likewise. 2733 1.1 mrg * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc, 3.cc: 2734 1.1 mrg Likewise. 2735 1.1 mrg * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc, 2.cc, 3.cc: 2736 1.1 mrg Likewise. 2737 1.1 mrg * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise. 2738 1.1 mrg * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise. 2739 1.1 mrg * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise. 2740 1.1 mrg * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc, 9425.cc: 2741 1.1 mrg Likewise. 2742 1.1 mrg * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc, 1057.cc, 2743 1.1 mrg 9404-1.cc: Likewise. 2744 1.1 mrg * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc, 1057.cc, 2745 1.1 mrg 9404-2.cc: Likewise. 2746 1.1 mrg * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc, 2.cc, 3.cc, 2747 1.1 mrg 3955.cc: Likewise. 2748 1.1 mrg * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise. 2749 1.1 mrg * testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc: Likewise. 2750 1.1 mrg 2751 1.1 mrg 2004-07-08 Paolo Carlini <pcarlini (a] suse.de> 2752 1.1 mrg 2753 1.1 mrg * include/bits/gslice.h: Trivial formatting fixes. 2754 1.1 mrg * include/bits/gslice_array.h: Likewise. 2755 1.1 mrg * include/bits/indirect_array.h: Likewise. 2756 1.1 mrg * include/bits/mask_array.h: Likewise. 2757 1.1 mrg * include/bits/slice_array.h: Likewise. 2758 1.1 mrg * include/bits/valarray_after.h: Likewise. 2759 1.1 mrg * include/bits/valarray_array.h: Likewise. 2760 1.1 mrg * include/bits/valarray_before.h: Likewise. 2761 1.1 mrg * include/std/std_valarray.h: Likewise. 2762 1.1 mrg 2763 1.1 mrg 2004-07-08 Benjamin Kosnik <bkoz (a] redhat.com> 2764 1.1 mrg 2765 1.1 mrg PR c++/16169 2766 1.1 mrg * include/bits/basic_string.h (basic_string::operator=): Revert. 2767 1.1 mrg 2768 1.1 mrg 2004-07-07 Benjamin Kosnik <bkoz (a] redhat.com> 2769 1.1 mrg 2770 1.1 mrg * configure.ac (libtool_VERSION): To 6:2:0. 2771 1.1 mrg * configure: Regenerated. 2772 1.1 mrg 2773 1.1 mrg * testsuite/testsuite_abi.cc (check_version): Add 3.4.2. 2774 1.1 mrg 2775 1.1 mrg 2004-07-07 Aaron W. LaFramboise <aaronraolete36 (a] aaronwl.com> 2776 1.1 mrg 2777 1.1 mrg PR libstdc++/16411 2778 1.1 mrg * config/linker-map.gnu: Add stdio_sync_filebuf::file exports. 2779 1.1 mrg 2780 1.1 mrg 2004-07-07 Benjamin Kosnik <bkoz (a] redhat.com> 2781 1.1 mrg 2782 1.1 mrg * docs/html/abi.html: Updates for 3.4.1 release. Add summary of 2783 1.1 mrg -Weffc++ issues. 2784 1.1 mrg 2785 1.1 mrg 2004-07-07 Paolo Carlini <pcarlini (a] suse.de> 2786 1.1 mrg 2787 1.1 mrg PR libstdc++/16401 2788 1.1 mrg * include/bits/sstream.tcc (overflow): When reallocating _M_string 2789 1.1 mrg use an exponential grow policy. 2790 1.1 mrg * testsuite/27_io/basic_stringbuf/overflow/char/1.cc: New. 2791 1.1 mrg * testsuite/performance/27_io/stringbuf_overflow.cc: New. 2792 1.1 mrg 2793 1.1 mrg 2004-07-06 Anssi Hannula <anssi.hannula (a] mbnet.fi> 2794 1.1 mrg 2795 1.1 mrg PR libstdc++/15928 2796 1.1 mrg * crossconfig.m4: Add in bits for djgpp. 2797 1.1 mrg * configure: Regenerate. 2798 1.1 mrg 2799 1.1 mrg 2004-07-05 Jonathan Wakely <redi (a] gcc.gnu.org> 2800 1.1 mrg 2801 1.1 mrg * testsuite/23_containers/{set,multiset}/14340.cc: Fix typos in 2802 1.1 mrg instantiation of set and multiset (functor param given as int). 2803 1.1 mrg 2804 1.1 mrg 2004-07-04 Paolo Carlini <pcarlini (a] suse.de> 2805 1.1 mrg 2806 1.1 mrg * include/bits/basic_string.h: Trivial formatting fixes and/or 2807 1.1 mrg const-ification of some variables. 2808 1.1 mrg * include/bits/deque.tcc: Likewise. 2809 1.1 mrg * include/bits/stl_algobase.h: Likewise. 2810 1.1 mrg * include/bits/stl_bvector.h: Likewise. 2811 1.1 mrg * include/bits/stl_construct.h: Likewise. 2812 1.1 mrg * include/bits/stl_deque.h: Likewise. 2813 1.1 mrg * include/bits/stl_pair.h: Likewise. 2814 1.1 mrg * include/bits/stl_vector.h: Likewise. 2815 1.1 mrg * include/bits/vector.tcc: Likewise. 2816 1.1 mrg 2817 1.1 mrg 2004-07-04 Paolo Carlini <pcarlini (a] suse.de> 2818 1.1 mrg 2819 1.1 mrg * testsuite/25_algorithms/copy/1.cc: Add instantiations for 2820 1.1 mrg systems with no COMDAT or weak support. 2821 1.1 mrg * testsuite/25_algorithms/copy/2.cc: Likewise. 2822 1.1 mrg * testsuite/25_algorithms/copy/3.cc: Likewise. 2823 1.1 mrg * testsuite/25_algorithms/copy/4.cc: Likewise. 2824 1.1 mrg 2825 1.1 mrg 2004-07-03 Paul Brook <paul (a] codesourcery.com> 2826 1.1 mrg 2827 1.1 mrg * configure.ac: Set ABI_TWEAKS_SRCDIR. 2828 1.1 mrg * configure.host: Set abi_tweaks_dir. Check for atomicity.h when 2829 1.1 mrg setting atomicity_dir. Override type_cpu for arm based targets. 2830 1.1 mrg * include/Makefile.am (host_headers): Add cxxabi_tweaks.h. 2831 1.1 mrg * libsupc++/cxxabi.h: Include bits/cxxabi.h. Don't declare __guard. 2832 1.1 mrg * libsupc++/guard.cc: Use definitions from cxxabi_tweaks.h. 2833 1.1 mrg * libsupc++/vec.cc: Ditto. 2834 1.1 mrg * config/cpu/arm/cxxabi_tweaks.h: New file. 2835 1.1 mrg * config/cpu/generic/cxxabi_tweaks.h: New file. 2836 1.1 mrg * */Makefile.in: Regenerate. 2837 1.1 mrg * configure: Regenerate. 2838 1.1 mrg 2839 1.1 mrg 2004-07-02 Paolo Carlini <pcarlini (a] suse.de> 2840 1.1 mrg 2841 1.1 mrg * include/bits/type_traits.h (_Is_normal_iterator): Move... 2842 1.1 mrg * include/bits/cpp_type_traits.h: ... here, renamed to 2843 1.1 mrg __is_normal_iterator and consistent with the other traits. 2844 1.1 mrg * include/bits/stl_algobase.h (__copy_ni1, __copy_ni2): Convert 2845 1.1 mrg to the struct __copy_normal and three specializations. 2846 1.1 mrg (__copy_backward_output_normal_iterator, 2847 1.1 mrg __copy_backward_input_normal_iterator): Likewise, convert to 2848 1.1 mrg the struct __copy_backward_normal and three specializations. 2849 1.1 mrg (copy, copy_backward): Use the latter. 2850 1.1 mrg (__copy_aux, __copy_backward_aux): Very minor tweaks. 2851 1.1 mrg 2852 1.1 mrg 2004-07-01 Paolo Carlini <pcarlini (a] suse.de> 2853 1.1 mrg 2854 1.1 mrg * include/bits/stl_algobase.h (__copy_trivial): Remove. 2855 1.1 mrg (__copy_aux2): Rewrite as __copy_aux to use __is_pointer, 2856 1.1 mrg __is_trivially_copyable, __are_same and __copy::copy. 2857 1.1 mrg (__copy): Rewrite as a class template and two specializations. 2858 1.1 mrg (__copy_ni2): Simplify, just call __copy_aux. 2859 1.1 mrg 2860 1.1 mrg * include/bits/stl_algobase.h (__copy_backward_aux): Add __are_same 2861 1.1 mrg check. 2862 1.1 mrg * testsuite/25_algorithms/copy/1.cc, 2.cc, 3.cc, 4.cc: Test also 2863 1.1 mrg for destination value type != source value type. 2864 1.1 mrg 2865 1.1 mrg 2004-07-01 Benjamin Kosnik <bkoz (a] redhat.com> 2866 1.1 mrg Per Bothner <per (a] bothner.com> 2867 1.1 mrg Mohan Embar <gnustuff (a] thisiscool.com> 2868 1.1 mrg 2869 1.1 mrg PR libstdc++/16248 2870 1.1 mrg * include/bits/concurrence.h (__glibcxx_mutex_type): New. 2871 1.1 mrg (__glibcxx_mutex): Encapsulate mutex init function into type for 2872 1.1 mrg threaded configurations without __GTHREAD_MUTEX_INIT. 2873 1.1 mrg (lock::lock): Make device member a reference. 2874 1.1 mrg (lock::~lock): Same. 2875 1.1 mrg * include/ext/pool_allocator.h (__pool_base::_M_get_mutex): Change 2876 1.1 mrg to mutex_type. 2877 1.1 mrg * src/allocator.cc: Same. 2878 1.1 mrg 2879 1.1 mrg 2004-06-30 Brad Spencer <spencer (a] infointeractive.com> 2880 1.1 mrg 2881 1.1 mrg * include/ext/mt_allocator.h: Handle allocations at static 2882 1.1 mrg initialization that happen before _S_options is (automatically) 2883 1.1 mrg constructed; set _S_init even if _M_force_new is true. 2884 1.1 mrg 2885 1.1 mrg 2004-06-30 Benjamin Kosnik <bkoz (a] redhat.com> 2886 1.1 mrg 2887 1.1 mrg * config/linker-map.gnu: Revert new exports. 2888 1.1 mrg 2889 1.1 mrg 2004-06-30 Benjamin Kosnik <bkoz (a] redhat.com> 2890 1.1 mrg Stuart Anderson <anderson (a] netsweng.com> 2891 1.1 mrg 2892 1.1 mrg * config/linker-map.gnu: Add destructor exports for abstract base 2893 1.1 mrg classes to conform to LSB. 2894 1.1 mrg 2895 1.1 mrg 2004-06-30 Gabriel Dos Reis <gdr (a] integrable-solutions.net> 2896 1.1 mrg Paolo Carlini <pcarlini (a] suse.de> 2897 1.1 mrg 2898 1.1 mrg * include/bits/cpp_type_traits.h: Add __is_pointer and 2899 1.1 mrg __is_trivially_copyable. 2900 1.1 mrg * include/bits/stl_algobase.h (fill, fill_n): Slightly 2901 1.1 mrg tweak to use the latter. 2902 1.1 mrg (__copy_backward_dispatch): Remove. 2903 1.1 mrg (__copy_backward_aux): Rewrite to use __is_pointer and 2904 1.1 mrg __is_trivially_copyable and __copy_backward::copy_b. 2905 1.1 mrg (__copy_backward): Rewrite as a class template and two 2906 1.1 mrg specializations. 2907 1.1 mrg 2908 1.1 mrg 2004-06-30 Paolo Carlini <pcarlini (a] suse.de> 2909 1.1 mrg 2910 1.1 mrg * testsuite/25_algorithms/copy.cc: Move to... 2911 1.1 mrg * testsuite/25_algorithms/copy/1.cc: ... here, extend. 2912 1.1 mrg * testsuite/25_algorithms/copy/2.cc: New. 2913 1.1 mrg * testsuite/25_algorithms/copy/3.cc: New. 2914 1.1 mrg * testsuite/25_algorithms/copy/4.cc: New. 2915 1.1 mrg 2916 1.1 mrg 2004-06-29 Paul Brook <paul (a] codesourcery.com> 2917 1.1 mrg 2918 1.1 mrg * libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Store the 2919 1.1 mrg element size in the cookie. 2920 1.1 mrg 2921 1.1 mrg 2004-06-28 Paolo Carlini <pcarlini (a] suse.de> 2922 1.1 mrg 2923 1.1 mrg * include/bits/cpp_type_traits.h: Move the additions to 2924 1.1 mrg namespace __gnu_internal outside of namespace std; trivial 2925 1.1 mrg formatting fixes. 2926 1.1 mrg 2927 1.1 mrg 2004-06-28 Benjamin Kosnik <bkoz (a] redhat.com> 2928 1.1 mrg 2929 1.1 mrg * include/debug/safe_base.h (__gnu_debug::_Safe_sequence_base): 2930 1.1 mrg Revert -Weffc++ changes that defined copy ctory and or assignment 2931 1.1 mrg operator. 2932 1.1 mrg * libsupc++/tinfo.cc (__upcast_result): Same. 2933 1.1 mrg 2934 1.1 mrg 2004-06-28 Paolo Carlini <pcarlini (a] suse.de> 2935 1.1 mrg 2936 1.1 mrg * src/localename.cc (locale::_Impl::_Impl): Slightly improve 2937 1.1 mrg the algorithm used to name the categories. 2938 1.1 mrg 2939 1.1 mrg 2004-06-28 Paolo Bonzini <bonzini (a] gnu.org> 2940 1.1 mrg 2941 1.1 mrg * include/Makefile.am: Give a .gch extension to 2942 1.1 mrg the PCH files, not only to the directory. 2943 1.1 mrg * include/Makefile.in: Regenerate. 2944 1.1 mrg 2945 1.1 mrg 2004-06-28 Paolo Carlini <pcarlini (a] suse.de> 2946 1.1 mrg 2947 1.1 mrg * config/locale/gnu/monetary_members.cc 2948 1.1 mrg (moneypunct<wchar_t>::_M_initialize_moneypunct): Clean up 2949 1.1 mrg assignments of _M_decimal_point and _M_thousands_sep. 2950 1.1 mrg 2951 1.1 mrg 2004-06-27 Paolo Carlini <pcarlini (a] suse.de> 2952 1.1 mrg 2953 1.1 mrg * docs/html/17_intro/contribute.html: Update some links. 2954 1.1 mrg * docs/html/17_intro/porting-howto.html: Likewise. 2955 1.1 mrg * docs/html/17_intro/porting-howto.xml: Likewise. 2956 1.1 mrg * docs/html/18_support/howto.html: Likewise. 2957 1.1 mrg * docs/html/21_strings/howto.html: Likewise. 2958 1.1 mrg * docs/html/27_io/howto.html: Likewise. 2959 1.1 mrg * docs/html/configopts.html: Likewise. 2960 1.1 mrg * docs/html/ext/howto.html: Likewise. 2961 1.1 mrg * docs/html/faq/index.html: Likewise. 2962 1.1 mrg * docs/html/install.html: Don't mention 2.x compilers. 2963 1.1 mrg 2964 1.1 mrg 2004-06-27 Paolo Carlini <pcarlini (a] suse.de> 2965 1.1 mrg 2966 1.1 mrg * include/ext/rope: Trivial formatting fixes. 2967 1.1 mrg * include/ext/ropeimpl.h: Likewise. 2968 1.1 mrg 2969 1.1 mrg 2004-06-26 Paolo Carlini <pcarlini (a] suse.de> 2970 1.1 mrg 2971 1.1 mrg PR libstdc++/16210 2972 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_LONG_LONG): Do not check for the 2973 1.1 mrg availability of strto(u)ll, not used anymore in the iostreams. 2974 1.1 mrg * configure: Regenerate. 2975 1.1 mrg 2976 1.1 mrg 2004-06-25 Benjamin Kosnik <bkoz (a] redhat.com> 2977 1.1 mrg 2978 1.1 mrg PR libstdc++/16182 2979 1.1 mrg * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Revert to 2980 1.1 mrg AC_DEFINE_UNQUOTED. 2981 1.1 mrg * configure: Regenerate. 2982 1.1 mrg 2983 1.1 mrg 2004-06-25 Paul Brook <paul (a] codesourcery.com> 2984 1.1 mrg 2985 1.1 mrg * libsupc++/cxxabi.h: Define __ARM_EABI__ 2986 1.1 mrg (__guard): Use it. 2987 1.1 mrg * libsupc++/guard.h (__cxa_guard_acquire, __cxa_guard_release): Ditto. 2988 1.1 mrg 2989 1.1 mrg 2004-06-25 Paul Brook <paul (a] codesourcery.com> 2990 1.1 mrg 2991 1.1 mrg * include/bits/concurrence.h: Still create mutex object when 2992 1.1 mrg single-threaded. 2993 1.1 mrg 2994 1.1 mrg 2004-06-25 Paolo Carlini <pcarlini (a] suse.de> 2995 1.1 mrg 2996 1.1 mrg * include/bits/stl_algobase.h (fill, fill_n): Revert last 2997 1.1 mrg change: actually we need to copy construct an object of type 2998 1.1 mrg _Tp, not of type iterator_traits<>::value_type, therefore the 2999 1.1 mrg code is ok. 3000 1.1 mrg 3001 1.1 mrg 2004-06-25 Paolo Carlini <pcarlini (a] suse.de> 3002 1.1 mrg 3003 1.1 mrg * include/bits/stl_algobase.h (fill, fill_n): Tighten the 3004 1.1 mrg dispatch: use iterator_traits<>::value_type, not _Tp. 3005 1.1 mrg 3006 1.1 mrg 2004-06-25 Paolo Carlini <pcarlini (a] suse.de> 3007 1.1 mrg 3008 1.1 mrg * testsuite/25_algorithms/fill/1.cc: Tweak instantiations. 3009 1.1 mrg * testsuite/25_algorithms/fill/2.cc: Likewise. 3010 1.1 mrg 3011 1.1 mrg 2004-06-25 Dan Nicolaescu <dann (a] ics.uci.edu> 3012 1.1 mrg Paolo Carlini <pcarlini (a] suse.de> 3013 1.1 mrg 3014 1.1 mrg * include/bits/stl_algobase.h (__fill, __fill_n): New helpers 3015 1.1 mrg for fill and fill_n, respectively: when copying is cheap, use a 3016 1.1 mrg temporary to avoid a memory read in each iteration. 3017 1.1 mrg 3018 1.1 mrg 2004-06-25 Paolo Carlini <pcarlini (a] suse.de> 3019 1.1 mrg 3020 1.1 mrg * testsuite/25_algorithms/fill/1.cc: New. 3021 1.1 mrg * testsuite/25_algorithms/fill/2.cc: Likewise. 3022 1.1 mrg 3023 1.1 mrg 2004-06-25 Benjamin Kosnik <bkoz (a] redhat.com> 3024 1.1 mrg 3025 1.1 mrg * include/debug/formatter.h (__gnu_debug::_Error_formatter): 3026 1.1 mrg Remove copy constructor and assignment operator. 3027 1.1 mrg 3028 1.1 mrg 2004-06-24 Benjamin Kosnik <bkoz (a] redhat.com> 3029 1.1 mrg 3030 1.1 mrg * include/bits/concurrence.h (__gnu_cxx::lock): New. 3031 1.1 mrg * include/ext/pool_allocator.h (__pool_base::_Lock::_S_lock): Remove. 3032 1.1 mrg (__pool_base::_M_get_mutex): New. 3033 1.1 mrg * include/bits/allocator.h: Tweak. 3034 1.1 mrg * src/allocator.cc (__pool_base::_M_get_free_list): Correct offset. 3035 1.1 mrg * config/linker-map.gnu: Remove __pool_base::_Lock::_S_lock. 3036 1.1 mrg * include/bits/stl_threads.h: Remove. 3037 1.1 mrg * include/Makefile.am: Also here. 3038 1.1 mrg * include/Makefile.in: Regenerate. 3039 1.1 mrg 3040 1.1 mrg * src/locale_init.cc: Use __gnu_cxx::lock. 3041 1.1 mrg 3042 1.1 mrg * src/allocator.cc: Move all instantiations... 3043 1.1 mrg * src/allocator-inst.cc: ...here. 3044 1.1 mrg 3045 1.1 mrg 2004-06-23 Andrew Pinski <apinski (a] apple.com> 3046 1.1 mrg 3047 1.1 mrg * linkage.m4: Remove check for libmx. 3048 1.1 mrg * configure: Regenerate. 3049 1.1 mrg 3050 1.1 mrg 2004-06-23 Paolo Carlini <pcarlini (a] suse.de> 3051 1.1 mrg 3052 1.1 mrg PR libstdc++/16154 3053 1.1 mrg * include/bits/boost_concept_check.h (struct _TrivialIteratorConcept): 3054 1.1 mrg Don't require the _DefaultConstructibleConcept. 3055 1.1 mrg (struct _ForwardIteratorConcept): Require it here. 3056 1.1 mrg 3057 1.1 mrg 2004-06-22 Alexandre Oliva <aoliva (a] redhat.com> 3058 1.1 mrg 3059 1.1 mrg * include/bits/istream.tcc (getline): Make sure arguments passed 3060 1.1 mrg to min/max have the same type. 3061 1.1 mrg * include/bits/locale_facets.tcc (__verify_grouping): Likewise. 3062 1.1 mrg * include/bits/stl_deque.h (_Deque_base::_Deque_base): Likewise. 3063 1.1 mrg 3064 1.1 mrg 2004-06-22 Benjamin Kosnik <bkoz (a] redhat.com> 3065 1.1 mrg 3066 1.1 mrg * docs/html/abi.html: Update links. 3067 1.1 mrg 3068 1.1 mrg 2004-06-22 Paolo Carlini <pcarlini (a] suse.de> 3069 1.1 mrg 3070 1.1 mrg * testsuite/26_numerics/complex_inserters_extractors.cc, 3071 1.1 mrg complex_value.cc, buggy_complex.cc: Move to... 3072 1.1 mrg * testsuite/26_numerics/complex/: ... here. 3073 1.1 mrg * testsuite/26_numerics/c99_classification_macros_c++.cc, 3074 1.1 mrg c99_classification_macros_c.cc, c_math.cc, c_math_dynamic.cc, 3075 1.1 mrg fabs_inline.cc: Move to... 3076 1.1 mrg * testsuite/26_numerics/cmath/: ... here. 3077 1.1 mrg * testsuite/26_numerics/binary_closure.cc, slice.cc, 3078 1.1 mrg slice_array_assignment.cc, valarray.cc, valarray_const_bracket.cc, 3079 1.1 mrg valarray_name_lookup.cc, valarray_operators.cc, 3080 1.1 mrg valarray_subset_assignment.cc: Move to... 3081 1.1 mrg * testsuite/26_numerics/valarray/: ... here (new dir). 3082 1.1 mrg * testsuite/26_numerics/sum_diff.cc: Move to... 3083 1.1 mrg * testsuite/26_numerics/numeric/: ... here (new dir). 3084 1.1 mrg 3085 1.1 mrg 2004-06-22 Paolo Carlini <pcarlini (a] suse.de> 3086 1.1 mrg 3087 1.1 mrg * include/std/std_istream.h (ignore(streamsize __n = 1, 3088 1.1 mrg int_type __delim = traits_type::eof())): Split into... 3089 1.1 mrg (ignore(), ignore(streamsize __n), ignore(streamsize __n, 3090 1.1 mrg int_type __delim)): The first two can be much more simpler 3091 1.1 mrg and efficient than the fully general case; also, the last 3092 1.1 mrg two can take advantage of the same mechanism already used 3093 1.1 mrg for getline. 3094 1.1 mrg * include/bits/istream.tcc (ignore(streamsize __n = 1, 3095 1.1 mrg int_type __delim = traits_type::eof()): Remove. 3096 1.1 mrg (ignore(), ignore(streamsize __n), ignore(streamsize __n, 3097 1.1 mrg int_type __delim)): New. 3098 1.1 mrg 3099 1.1 mrg 2004-06-21 Loren J. Rittle <ljrittle (a] acm.org> 3100 1.1 mrg 3101 1.1 mrg * config/linker-map.gnu: Use wildcards for 3102 1.1 mrg __basic_file::sys_open(FILE*, _Ios_Openmode). 3103 1.1 mrg 3104 1.1 mrg 2004-06-20 Paolo Carlini <pcarlini (a] suse.de> 3105 1.1 mrg 3106 1.1 mrg * testsuite/27_io/basic_istream/ignore/char/3.cc: New. 3107 1.1 mrg 3108 1.1 mrg 2004-06-18 Paolo Carlini <pcarlini (a] suse.de> 3109 1.1 mrg 3110 1.1 mrg * include/ext/mt_allocator (__mt_alloc<>::_Tune): Add _M_align, 3111 1.1 mrg the alignment requested. 3112 1.1 mrg (__mt_alloc<>::_Tune::_Tune): Tweak consistently. 3113 1.1 mrg (__mt_alloc<>::allocate): Use it instead of sizeof(_Block_record). 3114 1.1 mrg (__mt_alloc<>::deallocate): Likewise. 3115 1.1 mrg 3116 1.1 mrg 2004-06-18 Paolo Carlini <pcarlini (a] suse.de> 3117 1.1 mrg 3118 1.1 mrg PR libstdc++/16020 3119 1.1 mrg * include/debug/safe_base.h 3120 1.1 mrg (_Safe_sequence_base::_Safe_sequence_base(const _Safe_sequence_base&), 3121 1.1 mrg _Safe_sequence_base::operator=): Provide definitions. 3122 1.1 mrg * testsuite/23_containers/bitset/cons/16020.cc: New. 3123 1.1 mrg 3124 1.1 mrg 2004-06-18 Benjamin Kosnik <bkoz (a] redhat.com> 3125 1.1 mrg 3126 1.1 mrg * include/ext/pool_allocator.h: Qualify __throw_bad_alloc. 3127 1.1 mrg (__pool_base): Remove unused template parameter. Add 3128 1.1 mrg protected. Move lock data into __pool_base::_Lock. Remove static 3129 1.1 mrg on member functions. 3130 1.1 mrg (__pool_base::_M_get_free_list): New. 3131 1.1 mrg (__pool_alloc): Move _S_force new here. 3132 1.1 mrg * src/allocator.cc: Move out of line __pool_base definitions here. 3133 1.1 mrg * config/linker-map.gnu: Export bits from __pool_base. 3134 1.1 mrg 3135 1.1 mrg 2004-06-18 Paolo Carlini <pcarlini (a] suse.de> 3136 1.1 mrg 3137 1.1 mrg * config/locale/gnu/numeric_members.cc 3138 1.1 mrg (numpunct<wchar_t>::_M_initialize_numpunct): Clean up 3139 1.1 mrg assignments of _M_decimal_point and _M_thousands_sep. 3140 1.1 mrg * config/locale/gnu/time_members.cc 3141 1.1 mrg (__timepunct<wchar_t>::_M_initialize_timepunct): Clean up 3142 1.1 mrg and reformat assignments of date and time fields. 3143 1.1 mrg 3144 1.1 mrg 2004-06-16 Paolo Carlini <pcarlini (a] suse.de> 3145 1.1 mrg 3146 1.1 mrg * include/ext/rope (rope(_CharT, const allocator_type&)): Fix 3147 1.1 mrg to use _Data_allocate. 3148 1.1 mrg * include/ext/ropeimpl.h (rope<>::_S_leaf_concat_char_iter): Likewise. 3149 1.1 mrg (rope<>::_S_substring): Likewise. 3150 1.1 mrg (rope<>::rope(size_t, _CharT, const allocator_type&)): Likewise. 3151 1.1 mrg (rope<>::c_str()): Likewise. 3152 1.1 mrg (rope<>::replace_with_c_str()): Likewise. 3153 1.1 mrg 3154 1.1 mrg * include/ext/ropeimpl.h (_Rope_iterator_base<>::_S_setbuf): 3155 1.1 mrg Correctly qualify _S_leaf, _S_function, etc., with _Rope_constants::, 3156 1.1 mrg not _RopeRep. 3157 1.1 mrg (_Rope_iterator_base<>::_S_setcache): Likewise. 3158 1.1 mrg (_Rope_iterator_base<>::_S_setcache_for_incr): Likewise. 3159 1.1 mrg (rope<>::_S_substring): Likewise. 3160 1.1 mrg (rope<>::_S_dump): Likewise. 3161 1.1 mrg (rope<>::_S_fetch_ptr): Likewise. 3162 1.1 mrg (rope<>::_S_compare): Likewise. 3163 1.1 mrg (rope<>::replace_with_c_str()): Likewise. 3164 1.1 mrg 3165 1.1 mrg * testsuite/ext/rope.cc: Rename to testsuite/ext/rope/1.cc. 3166 1.1 mrg * testsuite/ext/rope/2.cc: New. 3167 1.1 mrg 3168 1.1 mrg 2004-06-16 Paolo Carlini <pcarlini (a] suse.de> 3169 1.1 mrg Matt Austern <austern (a] apple.com> 3170 1.1 mrg 3171 1.1 mrg * testsuite/ext/rope/3.cc: New. 3172 1.1 mrg 3173 1.1 mrg 2004-06-15 Paolo Bonzini <bonzini (a] gnu.org> 3174 1.1 mrg 3175 1.1 mrg * acinclude.m4: Remove useless multilib configury. 3176 1.1 mrg * Makefile.am: Remove useless multilib rules. 3177 1.1 mrg * aclocal.m4: Regenerate. 3178 1.1 mrg * Makefile.in: Regenerate. 3179 1.1 mrg * configure: Regenerate. 3180 1.1 mrg 3181 1.1 mrg 2004-06-15 Paolo Carlini <pcarlini (a] suse.de> 3182 1.1 mrg 3183 1.1 mrg * include/ext/hashtable.h: Trivial formatting fixes. 3184 1.1 mrg * include/ext/rb_tree: Likewise. 3185 1.1 mrg 3186 1.1 mrg 2004-06-14 Paolo Carlini <pcarlini (a] suse.de> 3187 1.1 mrg 3188 1.1 mrg * include/ext/hash_map: Trivial formatting fixes. 3189 1.1 mrg * include/ext/hash_set: Likewise. 3190 1.1 mrg * include/ext/memory: Likewise. 3191 1.1 mrg * include/ext/numeric: Likewise. 3192 1.1 mrg 3193 1.1 mrg 2004-06-14 Benjamin Kosnik <bkoz (a] redhat.com> 3194 1.1 mrg 3195 1.1 mrg * Makefile.in: Regenerate with automake 1.8.5. 3196 1.1 mrg * aclocal.m4: Same. 3197 1.1 mrg * include/Makefile.in: Same. 3198 1.1 mrg * libmath/Makefile.in: Same. 3199 1.1 mrg * libsupc++/Makefile.in: Same. 3200 1.1 mrg * po/Makefile.in: Same. 3201 1.1 mrg * src/Makefile.in: Same. 3202 1.1 mrg * testsuite/Makefile.in: Same. 3203 1.1 mrg 3204 1.1 mrg 2004-06-14 Paolo Carlini <pcarlini (a] suse.de> 3205 1.1 mrg 3206 1.1 mrg * include/ext/slist: Trivial formatting fixes. 3207 1.1 mrg 3208 1.1 mrg 2004-06-14 Paolo Carlini <pcarlini (a] suse.de> 3209 1.1 mrg 3210 1.1 mrg * include/bits/locale_facets.tcc (time_get<>::_M_extract_name): 3211 1.1 mrg Don't use the 'magic number' 10 in the computation of __minlen; 3212 1.1 mrg never access __name past __minlen; in the loop over __i3, don't 3213 1.1 mrg decrease __nmatches and increase __i3 at once, only either of 3214 1.1 mrg the two; tidy. 3215 1.1 mrg 3216 1.1 mrg 2004-06-13 Paolo Carlini <pcarlini (a] suse.de> 3217 1.1 mrg 3218 1.1 mrg * include/bits/locale_facets.tcc (time_get<>::do_get_time, 3219 1.1 mrg time_get<>::do_get_date): Use only once _M_extract_via_format, 3220 1.1 mrg instead of going through "%X"/"%x" and calling it two times 3221 1.1 mrg (+ using widen). 3222 1.1 mrg 3223 1.1 mrg 2004-06-12 Paolo Carlini <pcarlini (a] suse.de> 3224 1.1 mrg 3225 1.1 mrg * include/ext/algorithm: Trivial formatting fixes. 3226 1.1 mrg * include/ext/functional: Likewise. 3227 1.1 mrg * include/ext/hash_fun.h: Likewise. 3228 1.1 mrg * include/ext/iterator: Likewise. 3229 1.1 mrg 3230 1.1 mrg 2004-06-12 Paolo Carlini <pcarlini (a] suse.de> 3231 1.1 mrg 3232 1.1 mrg * include/bits/basic_string.tcc (find(const _CharT*, size_type, 3233 1.1 mrg size_type)): Reimplement using std::search. 3234 1.1 mrg * src/string-inst.cc: Instantiate std::search for char/wchar_t. 3235 1.1 mrg 3236 1.1 mrg 2004-06-12 Dhruv Matani <dhruvbird (a] gmx.net> 3237 1.1 mrg 3238 1.1 mrg * testsuite/performance/21_strings/string_find.cc: New. 3239 1.1 mrg 3240 1.1 mrg 2004-06-10 Aaron W. LaFramboise <aaronraolete36 (a] aaronwl.com> 3241 1.1 mrg 3242 1.1 mrg * include/bits/istream.tcc (istream::ignore): Fix for -Wuninitialized. 3243 1.1 mrg 3244 1.1 mrg 2004-06-10 Jan van Dijk <jan (a] etpmod.phys.tue.nl> 3245 1.1 mrg 3246 1.1 mrg * include/std/std_complex.h (sin(const complex<_Tp>& __z)): Make 3247 1.1 mrg this function return a value. 3248 1.1 mrg 3249 1.1 mrg 2004-06-09 Paolo Carlini <pcarlini (a] suse.de> 3250 1.1 mrg 3251 1.1 mrg PR libstdc++/15775 3252 1.1 mrg * include/bits/stl_deque.h: Consistently with stl_set.h, define 3253 1.1 mrg pointer as allocator's pointer, likewise for reference, 3254 1.1 mrg const_pointer, and const_reference. 3255 1.1 mrg * include/bits/stl_list.h: Likewise. 3256 1.1 mrg * include/bits/stl_map.h: Likewise. 3257 1.1 mrg * include/bits/stl_multimap.h: Likewise. 3258 1.1 mrg * include/bits/stl_vector.h: Likewise. 3259 1.1 mrg 3260 1.1 mrg 2004-06-09 Benjamin Kosnik <bkoz (a] redhat.com> 3261 1.1 mrg 3262 1.1 mrg * crossconfig.m4: Remove signbit, signbitf, signbitl. 3263 1.1 mrg * linkage.m4: Comment LIBMATHOBJS, tweak others. AC_DEFINES for 3264 1.1 mrg builtin math functions instead of AC_DEFINE_UNQUOTED. 3265 1.1 mrg * configure: Regenerate. 3266 1.1 mrg 3267 1.1 mrg 2004-06-08 Benjamin Kosnik <bkoz (a] redhat.com> 3268 1.1 mrg 3269 1.1 mrg * docs/doxygen/filter.sed: Rename _GLIBCXX_STD to std. 3270 1.1 mrg * docs/doxygen/mainpage.html: Remove links. 3271 1.1 mrg 3272 1.1 mrg 2004-06-08 Jason Merrill <jason (a] redhat.com> 3273 1.1 mrg 3274 1.1 mrg * config/linker-map.gnu: Use wildcards for 3275 1.1 mrg __basic_file::{xsgetn,xsputn,seekoff,xsputn_2}. 3276 1.1 mrg 3277 1.1 mrg 2004-06-08 Paolo Carlini <pcarlini (a] suse.de> 3278 1.1 mrg 3279 1.1 mrg * include/ext/pool_allocator.h: Convert to a global free-list, 3280 1.1 mrg as per the original SGI/HP design: move the implementation 3281 1.1 mrg details to struct __pool_base, from which __pool_alloc derives. 3282 1.1 mrg * src/allocator.cc: Instantiate __pool_base. 3283 1.1 mrg 3284 1.1 mrg 2004-06-07 Dhruv Matani <dhruvbird (a] gmx.net> 3285 1.1 mrg Paolo Carlini <pcarlini (a] suse.de> 3286 1.1 mrg 3287 1.1 mrg * testsuite/testsuite_performance.h 3288 1.1 mrg (resource_counter::allocated_memory): Make it return the right 3289 1.1 mrg number of bytes requested by the allocators/application. This is 3290 1.1 mrg the sbrk+mmaped memory. 3291 1.1 mrg 3292 1.1 mrg 2004-06-02 Gabriel Dos Reis <gdr (a] integrable-solutions.net> 3293 1.1 mrg 3294 1.1 mrg * include/std/std_complex.h (log): Tidy. 3295 1.1 mrg 3296 1.1 mrg 2004-05-31 Benjamin Kosnik <bkoz (a] redhat.com> 3297 1.1 mrg 3298 1.1 mrg * config/linker-map.gnu (GLIBCXX_3.4.1): Add. 3299 1.1 mrg * testsuite/testsuite_abi.cc: Same. 3300 1.1 mrg * configure.ac (libtool_VERSION): Bump to 6:1:0. 3301 1.1 mrg * configure: Regenerate. 3302 1.1 mrg * aclocal.m4: Regenerate. 3303 1.1 mrg 3304 1.1 mrg 2004-05-30 Gabriel Dos Reis <gdr (a] integrable-solutions.net> 3305 1.1 mrg 3306 1.1 mrg * include/std/std_complex.h (complex<_Tp>): Properly indent 3307 1.1 mrg to follow C++STYLE. 3308 1.1 mrg (complex<>::__rep): New. 3309 1.1 mrg (__complex_abs): New. Dispatch to built-ins. 3310 1.1 mrg (abs): Use them. 3311 1.1 mrg (__complex_arg): New. Dispatch to built-ins. 3312 1.1 mrg (arg): Use it. 3313 1.1 mrg (__complex_cos): New. Dispatch to built-ins. 3314 1.1 mrg (cos): Use it. 3315 1.1 mrg (__complex_cosh): New. Dispatch to built-ins. 3316 1.1 mrg (cosh): Use it. 3317 1.1 mrg (__complex_exp): New. Dispatch to built-ins. 3318 1.1 mrg (exp): Use it. 3319 1.1 mrg (__complex_log): New. Dispatch to built-ins. 3320 1.1 mrg (log): Use it. 3321 1.1 mrg (__complex_sin): New. Dispatch to built-ins. 3322 1.1 mrg (sin): Use it. 3323 1.1 mrg (__complex_sinh): New. Dispatch to built-ins. 3324 1.1 mrg (sinh): Use it. 3325 1.1 mrg (__complex_sqrt): New. Dispatch to built-ins. 3326 1.1 mrg (sqrt): Use it. 3327 1.1 mrg (__complex_tan): New. Dispatch to built-ins. 3328 1.1 mrg (tan): Use it. 3329 1.1 mrg (__complex_tanh): New. Dispatch to built-ins. 3330 1.1 mrg (tanh): Use it. 3331 1.1 mrg (__complex_pow): New. Dispatch to built-ins. 3332 1.1 mrg (pow): Use it. 3333 1.1 mrg 3334 1.1 mrg 2004-05-29 Richard B. Kreckel <Richard.Kreckel (a] Framatome-ANP.com> 3335 1.1 mrg Benjamin Kosnik <bkoz (a] redhat.com> 3336 1.1 mrg 3337 1.1 mrg PR libstdc++/14600 3338 1.1 mrg * include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::file): New. 3339 1.1 mrg * include/ext/stdio_filebuf.h (stdio_filebuf::file): New. 3340 1.1 mrg * config/io/basic_file_stdio.cc (__basic_file::file): New. 3341 1.1 mrg * config/io/basic_file_stdio.h: Define. 3342 1.1 mrg 3343 1.1 mrg 2004-05-27 Benjamin Kosnik <bkoz (a] redhat.com> 3344 1.1 mrg 3345 1.1 mrg PR libstdc++/15675 3346 1.1 mrg * docs/html/documentation.html: Update doxygen links for 3.4.0. 3347 1.1 mrg 3348 1.1 mrg 2004-05-27 Jan Beulich <jbeulich (a] novell.com> 3349 1.1 mrg 3350 1.1 mrg * scripts/create_testsuite_files: Tweak. 3351 1.1 mrg 3352 1.1 mrg 2004-05-25 Benjamin Kosnik <bkoz (a] redhat.com> 3353 1.1 mrg 3354 1.1 mrg PR libstdc++/15489 3355 1.1 mrg * scripts/create_testsuite_files: Revert xtype change, add non-GNU 3356 1.1 mrg bits to do the same thing. 3357 1.1 mrg 3358 1.1 mrg 2004-05-24 Paolo Carlini <pcarlini (a] suse.de> 3359 1.1 mrg 3360 1.1 mrg * include/bits/istream.tcc (ignore): Correctly deal with 3361 1.1 mrg n == numeric_limits<streamsize>::max(). 3362 1.1 mrg * testsuite/27_io/basic_istream/ignore/char/2.cc: New. 3363 1.1 mrg 3364 1.1 mrg * include/bits/istream.tcc (basic_istream<>::getline): Prefer 3365 1.1 mrg '_M_gcount + 1 < __n' to '--__n; _M_gcount < __n', just in case 3366 1.1 mrg __n == numeric_limits<>::min(). 3367 1.1 mrg 3368 1.1 mrg * include/bits/istream.tcc: Minor tweaks. 3369 1.1 mrg 3370 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: 3371 1.1 mrg Tighten. 3372 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc: 3373 1.1 mrg Likewise. 3374 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc: 3375 1.1 mrg Likewise. 3376 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc: 3377 1.1 mrg Likewise. 3378 1.1 mrg * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise. 3379 1.1 mrg 3380 1.1 mrg 2004-05-22 Benjamin Kosnik <bkoz (a] redhat.com> 3381 1.1 mrg 3382 1.1 mrg PR libstdc++/12854 3383 1.1 mrg Fixups for -Weffc++. 3384 1.1 mrg * include/bits/basic_string.h (basic_string::operator=): Return 3385 1.1 mrg pointer to this instead of result of assign. Although redundant, 3386 1.1 mrg this doesn't impact resultant codegen. 3387 1.1 mrg 3388 1.1 mrg * include/bits/locale_facets.h (__numpunct_cache): Declare 3389 1.1 mrg assignment opxserator and copy constructor private. 3390 1.1 mrg (__timepunct_cache): Same. 3391 1.1 mrg (__moneypunct_cache): Same. 3392 1.1 mrg (collate): Use member initialization list for _M_c_locale_collate. 3393 1.1 mrg * config/locale/gnu/messages_members.h: Same. 3394 1.1 mrg * config/locale/gnu/time_members.h (__timepunct): Same. 3395 1.1 mrg * src/codecvt.cc: Use member initialization list to initialize 3396 1.1 mrg _M_c_locale_codecvt. 3397 1.1 mrg * src/ctype.cc: Same, with _M_c_locale_ctype and _M_narrow_ok. 3398 1.1 mrg * config/os/gnu-linux/ctype_noninline.h: Same. 3399 1.1 mrg * src/locale.cc (_Impl): Same. 3400 1.1 mrg * src/locale_init.cc: Same. 3401 1.1 mrg * src/localename.cc: Same. 3402 1.1 mrg 3403 1.1 mrg * include/bits/basic_ios.h (basic_ios): Complete member 3404 1.1 mrg initialization list. 3405 1.1 mrg * include/bits/istream.tcc (basic_istream::sentry): Same. 3406 1.1 mrg * include/bits/ostream.tcc (basic_ostream::sentry): Same. 3407 1.1 mrg * include/bits/fstream.tcc (basic_filebuf): Add _M_lock and 3408 1.1 mrg _M_pback to member initialization list. 3409 1.1 mrg * include/std/std_streambuf.h: Same. 3410 1.1 mrg * include/std/std_sstream.h: Same, for _M_mode. 3411 1.1 mrg * src/ios.cc (ios_base): Same. 3412 1.1 mrg 3413 1.1 mrg * include/ext/rope: Make derived classes match exception 3414 1.1 mrg 3415 1.1 mrg specifications. Add copy constructors and assignment operators. 3416 1.1 mrg 3417 1.1 mrg * include/debug/safe_base.h (_Safe_sequence_base): Declare copy 3418 1.1 mrg constructor and assignment operator protected. 3419 1.1 mrg (_Safe_iterator_base): Same. 3420 1.1 mrg * include/debug/formatter.h (_Error_formatter): Define copy 3421 1.1 mrg constructor and assignment operator. 3422 1.1 mrg 3423 1.1 mrg * include/backward/strstream: Declare assignment operator and copy 3424 1.1 mrg constructor private. 3425 1.1 mrg 3426 1.1 mrg 2004-05-22 Benjamin Kosnik <bkoz (a] redhat.com> 3427 1.1 mrg 3428 1.1 mrg * testsuite/testsuite_hooks.h (func_callback): Declare copy 3429 1.1 mrg constructor and assignment operator private. 3430 1.1 mrg * testsuite/23_containers/deque/cons/clear_allocator.cc: Match 3431 1.1 mrg exception specifications of base class. 3432 1.1 mrg * testsuite/23_containers/list/cons/clear_allocator.cc: Same. 3433 1.1 mrg * testsuite/23_containers/vector/cons/clear_allocator.cc: Same. 3434 1.1 mrg * testsuite/23_containers/vector/bool/clear_allocator.cc: New. 3435 1.1 mrg 3436 1.1 mrg 2004-05-22 Benjamin Kosnik <bkoz (a] redhat.com> 3437 1.1 mrg 3438 1.1 mrg * libsupc++/cxxabi.h: Remove duplicated and useless public and 3439 1.1 mrg private keywords in class declarations. Format. Use 3440 1.1 mrg stddef.h. Expose declarations to "C" compilation. 3441 1.1 mrg * libsupc++/tinfo.cc (__upcast_result): Add copy constructor and 3442 1.1 mrg assignment operator. 3443 1.1 mrg (__dyncast_result): Same. 3444 1.1 mrg * libsupc++/vec.cc (uncatch_exception): Same, use member 3445 1.1 mrg initialization list. 3446 1.1 mrg 3447 1.1 mrg 2004-05-22 Benjamin Kosnik <bkoz (a] redhat.com> 3448 1.1 mrg 3449 1.1 mrg * testsuite/abi_check.cc: Add unistd.h. 3450 1.1 mrg 3451 1.1 mrg 2004-05-22 Paolo Carlini <pcarlini (a] suse.de> 3452 1.1 mrg 3453 1.1 mrg PR libstdc++/15565 3454 1.1 mrg * include/bits/locale_facets.tcc (__int_to_char(unsigned long), 3455 1.1 mrg __int_to_char(unsigned long long)): Showpos is not relevant 3456 1.1 mrg for unsigned types. 3457 1.1 mrg * testsuite/22_locale/num_put/put/char/15565.cc: New. 3458 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/15565.cc: New. 3459 1.1 mrg 3460 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/1.cc: Use L for the fill 3461 1.1 mrg char. 3462 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/2.cc: Likewise. 3463 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise. 3464 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise. 3465 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise. 3466 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise. 3467 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/8.cc: Likewise. 3468 1.1 mrg 3469 1.1 mrg 2004-05-21 Matthias Klose <doko (a] debian.org> 3470 1.1 mrg 3471 1.1 mrg * docs/doxygen/run_doxygen: Bump required version. 3472 1.1 mrg 3473 1.1 mrg 2004-05-21 Benjamin Kosnik <bkoz (a] redhat.com> 3474 1.1 mrg 3475 1.1 mrg * docs/html/abi.html (libgcc_s): Additions suggested by Matthias Klose. 3476 1.1 mrg * docs/doxygen/Intro.3: Subtractions suggested by Phil Edwards. 3477 1.1 mrg 3478 1.1 mrg 2004-05-21 Paolo Carlini <pcarlini (a] suse.de> 3479 1.1 mrg 3480 1.1 mrg * include/bits/istream.tcc (ignore): Remove redundant line. 3481 1.1 mrg (readsome): Tidy, closely following 27.6.1.3, p30. 3482 1.1 mrg 3483 1.1 mrg 2004-05-20 Paolo Carlini <pcarlini (a] suse.de> 3484 1.1 mrg 3485 1.1 mrg * include/bits/istream.tcc (operator>>(basic_istream<>&, 3486 1.1 mrg basic_string<>&)): Use a temporary buffer, thus avoiding 3487 1.1 mrg reallocation for common case. 3488 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc: 3489 1.1 mrg New. 3490 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc: 3491 1.1 mrg Likewise. 3492 1.1 mrg 3493 1.1 mrg * include/bits/istream.tcc: Const-ification of a few variables. 3494 1.1 mrg 3495 1.1 mrg * include/bits/ostream.tcc: Trivial formatting fixes and 3496 1.1 mrg const-ification of some variables. 3497 1.1 mrg 3498 1.1 mrg 2004-05-20 Benjamin Kosnik <bkoz (a] redhat.com> 3499 1.1 mrg 3500 1.1 mrg PR libstdc++/15123 3501 1.1 mrg PR libstdc++/13928 3502 1.1 mrg * docs/doxygen/Intro.3: Remove Allocators.3. 3503 1.1 mrg Add new extension headers, extension namespace list. 3504 1.1 mrg * docs/doxygen/run_doxygen (problematic): Remove Allocators.3 3505 1.1 mrg Rename GLIBCXXSTD names to std::. Rename __gnu_debug to 3506 1.1 mrg __gnu_debug::. Remove __policy_ renames. 3507 1.1 mrg * docs/doxygen/guide.html: Add dot note. 3508 1.1 mrg * docs/doxygen/stdheader.cc: Edit, add files. 3509 1.1 mrg * docs/doxygen/user.cfg.in: Regenerate with Doxygen 1.3.7. 3510 1.1 mrg 3511 1.1 mrg 2004-05-18 Jonathan Wakely <redi (a] gcc.gnu.org> 3512 1.1 mrg 3513 1.1 mrg * include/ext/stdio_filebuf.h: Update comments to reflect PR 11691. 3514 1.1 mrg 3515 1.1 mrg 2004-05-18 Jan Beulich <jbeulich (a] novell.com> 3516 1.1 mrg 3517 1.1 mrg PR libstdc++/15489 3518 1.1 mrg * scripts/create_testsuite_files: Also find source files through 3519 1.1 mrg symbolic links. 3520 1.1 mrg 3521 1.1 mrg 2004-05-18 Jan Beulich <jbeulich (a] novell.com> 3522 1.1 mrg 3523 1.1 mrg PR libstdc++/15488 3524 1.1 mrg * testsuite/lib/libstdc++.exp: Make test files writable. 3525 1.1 mrg 3526 1.1 mrg 2004-05-18 Paolo Carlini <pcarlini (a] suse.de> 3527 1.1 mrg 3528 1.1 mrg * include/ext/mt_allocator.h:(__mt_alloc::allocate): Minor 3529 1.1 mrg tweaks. 3530 1.1 mrg 3531 1.1 mrg 2004-05-18 Dhruv Matani <dhruvbird (a] gmx.net> 3532 1.1 mrg 3533 1.1 mrg * include/ext/mt_allocator.h:(__mt_alloc::allocate): Re-write 3534 1.1 mrg allocation loop which removes blocks from the global free list 3535 1.1 mrg from O(N) to O(1) when the required blocks are <= the number 3536 1.1 mrg available. 3537 1.1 mrg 3538 1.1 mrg 2004-05-18 Jonathan Wakely <redi (a] gcc.gnu.org> 3539 1.1 mrg 3540 1.1 mrg * include/ext/enc_filebuf.h: Move concept-check macro to class scope. 3541 1.1 mrg 3542 1.1 mrg 2004-05-17 Benjamin Kosnik <bkoz (a] redhat.com> 3543 1.1 mrg 3544 1.1 mrg * testsuite/testsuite_hooks.h (__gnu_test::conversion): New class. 3545 1.1 mrg * testsuite/23_containers/deque/14340.cc: New. 3546 1.1 mrg * testsuite/23_containers/list/14340.cc: New. 3547 1.1 mrg * testsuite/23_containers/map/14340.cc: New. 3548 1.1 mrg * testsuite/23_containers/multimap/14340.cc: New. 3549 1.1 mrg * testsuite/23_containers/multiset/14340.cc: New. 3550 1.1 mrg * testsuite/23_containers/set/14340.cc: New. 3551 1.1 mrg * testsuite/23_containers/vector/14340.cc: New. 3552 1.1 mrg 3553 1.1 mrg 2004-05-17 Douglas Gregor <gregod (a] cs.rpi.edu> 3554 1.1 mrg 3555 1.1 mrg PR libstdc++/14340 3556 1.1 mrg * include/debug/safe_iterator.h (_Safe_iterator converting 3557 1.1 mrg constructor): Only allow declaration to instantiate when the 3558 1.1 mrg incoming _Safe_iterator has exactly the right iterator type. 3559 1.1 mrg 3560 1.1 mrg 2004-05-17 Jonathan Wakely <redi (a] gcc.gnu.org> 3561 1.1 mrg 3562 1.1 mrg * include/bits/boost_concept_check.h: Fix old attribute syntax. 3563 1.1 mrg * testsuite/23_containers/map/modifiers/swap.cc: Define operator< 3564 1.1 mrg to pass concept-checks. 3565 1.1 mrg * testsuite/23_containers/multimap/modifiers/swap.cc: Same. 3566 1.1 mrg * testsuite/23_containers/set/modifiers/swap.cc: Same. 3567 1.1 mrg * testsuite/23_containers/multiset/modifiers/swap.cc: Same. 3568 1.1 mrg 3569 1.1 mrg 2004-05-16 Paolo Carlini <pcarlini (a] suse.de> 3570 1.1 mrg 3571 1.1 mrg * include/std/std_bitset.h: Minor formatting fixes. 3572 1.1 mrg 3573 1.1 mrg 2004-05-16 Paolo Carlini <pcarlini (a] suse.de> 3574 1.1 mrg 3575 1.1 mrg * include/ext/mt_allocator.h (__mt_alloc<>::deallocate): 3576 1.1 mrg Consistently update __bin._M_free[0]. 3577 1.1 mrg (__mt_alloc<>::allocate): When __bin._M_first[0] != NULL use 3578 1.1 mrg __bin._M_free[0] to simplify the while loop (i.e., the number 3579 1.1 mrg of iterations becomes known at the outset). 3580 1.1 mrg 3581 1.1 mrg 2004-05-15 Paolo Carlini <pcarlini (a] suse.de> 3582 1.1 mrg 3583 1.1 mrg * include/std/std_bitset.h: Trivial formatting fixes. 3584 1.1 mrg 3585 1.1 mrg 2004-05-14 Paolo Carlini <pcarlini (a] suse.de> 3586 1.1 mrg Ivan Godard <igodard (a] pacbell.net> 3587 1.1 mrg 3588 1.1 mrg PR libstdc++/15361 3589 1.1 mrg * include/std/std_bitset.h (_Base_bitset<_Nw>::_M_do_find_next): Fix. 3590 1.1 mrg * testsuite/23_containers/bitset/ext/15361.cc: New. 3591 1.1 mrg 3592 1.1 mrg 2004-05-13 Benjamin Kosnik <bkoz (a] redhat.com> 3593 1.1 mrg 3594 1.1 mrg PR libstdc++/15046 3595 1.1 mrg * crossconfig.m4: Add C99 math bits for linux crosses. 3596 1.1 mrg * configure: Regenerate. 3597 1.1 mrg 3598 1.1 mrg 2004-05-13 Simon Marshall <simon.marshall (a] misys.com> 3599 1.1 mrg Benjamin Kosnik <bkoz (a] redhat.com> 3600 1.1 mrg 3601 1.1 mrg PR libstdc++/15090 3602 1.1 mrg * include/bits/locale_facets.h: Fix for -fno-for-scope. 3603 1.1 mrg * include/debug/safe_sequence.h: Same. 3604 1.1 mrg * include/debug/safe_iterator.tcc: Same. 3605 1.1 mrg * src/debug.cc: Same. 3606 1.1 mrg * src/locale.cc: Same. 3607 1.1 mrg * src/locale_init.cc: Same. 3608 1.1 mrg * src/localename.cc: Same. 3609 1.1 mrg * config/locale/gnu/ctype_members.cc: Same. 3610 1.1 mrg * config/locale/gnu/numeric_members.cc: Same. 3611 1.1 mrg * testsuite/testsuite_abi.cc: Same. 3612 1.1 mrg * testsuite/testsuite_hooks.cc: Same. 3613 1.1 mrg 3614 1.1 mrg 2004-05-13 Jonathan Wakely <redi (a] gcc.gnu.org> 3615 1.1 mrg 3616 1.1 mrg * docs/html/abi.html: Document effect of -fabi-version on value 3617 1.1 mrg of __GXX_ABI_VERSION, and that it's defined in c-cppbuiltin.c. 3618 1.1 mrg Fix markup. 3619 1.1 mrg 3620 1.1 mrg 2004-05-13 Benjamin Kosnik <bkoz (a] redhat.com> 3621 1.1 mrg 3622 1.1 mrg PR libstdc++/15074 3623 1.1 mrg * docs/html/faq/index.html: Update docs for libsupc++ usage. 3624 1.1 mrg 3625 1.1 mrg 2004-05-13 Benjamin Kosnik <bkoz (a] redhat.com> 3626 1.1 mrg 3627 1.1 mrg PR libstdc++/15412 3628 1.1 mrg * include/bits/stl_threads.h (_GLIBCXX_mutex): Move to namespace 3629 1.1 mrg __gnu_internal. 3630 1.1 mrg (_GLIBCXX_mutex_address): Same. 3631 1.1 mrg (_GLIBCXX_once): Same. 3632 1.1 mrg (_GLIBCXX_mutex_init): Same. 3633 1.1 mrg (_GLIBCXX_mutex_address_init): Same. 3634 1.1 mrg 3635 1.1 mrg 2004-05-13 Benjamin Kosnik <bkoz (a] redhat.com> 3636 1.1 mrg 3637 1.1 mrg * docs/html/abi.html: New. 3638 1.1 mrg * docs/html/abi.txt: Remove. 3639 1.1 mrg * docs/html/documentation.html: Add link. 3640 1.1 mrg * testsuite/Makefile.am: Add files. 3641 1.1 mrg * testsuite/Makefile.in: Regenerated. 3642 1.1 mrg * testsuite/abi_check.cc: Move and modify code into... 3643 1.1 mrg * testsuite/testsuite_abi.cc: Add. 3644 1.1 mrg * testsuite/testsuite_abi.h: Add. 3645 1.1 mrg 3646 1.1 mrg * docs/html/17_intro/TODO: Update. 3647 1.1 mrg * include/bits/stl_pair.h: Format. 3648 1.1 mrg 3649 1.1 mrg 2004-05-06 Matthias Klose <doko (a] debian.org> 3650 1.1 mrg 3651 1.1 mrg * include/backward/iterator.h: Add GPL copyright info, 3652 1.1 mrg with exception clause. 3653 1.1 mrg * include/bits/boost_concept_check.h: Likewise. 3654 1.1 mrg * include 3655 1.1 mrg * libsupc++/tinfo.h: Likewise. 3656 1.1 mrg * po/string_literals.cc: Likewise. 3657 1.1 mrg 3658 1.1 mrg 2004-05-03 Andreas Tobler <a.tobler (a] schweiz.ch> 3659 1.1 mrg 3660 1.1 mrg * acinclude.m4: Replace -W with more speaking -Wextra. 3661 1.1 mrg * configure: Rebuilt. 3662 1.1 mrg 3663 1.1 mrg 2004-05-03 Paolo Carlini <pcarlini (a] suse.de> 3664 1.1 mrg 3665 1.1 mrg Optimize locale::_M_impl->_M_names for the most common cases: 3666 1.1 mrg !_M_names[0] means unnamed; !_M_names[1] means all the categories 3667 1.1 mrg the same name (_M_names[0] && _M_names[1] means that the full set 3668 1.1 mrg of _M_names must be processed, the general case). 3669 1.1 mrg * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name): 3670 1.1 mrg Tweak, saving work when !_M_names[1]. 3671 1.1 mrg (locale::locale(const locale&, _Facet*): Simplify: now just setting 3672 1.1 mrg _M_names[0] = 0 means unnamed. 3673 1.1 mrg * src/locale.cc (locale::operator==): Deal first with the common, 3674 1.1 mrg easy cases, otherwise fall back to locale::name(). 3675 1.1 mrg (locale::name()): Tweak, if !_M_names[0] just return "*". 3676 1.1 mrg (locale::_Impl::_Impl(const _Impl&, size_t): Tweak, early stop 3677 1.1 mrg copying __imp._M_names if !__imp._M_names[0] or !__imp._M_names[1]. 3678 1.1 mrg * src/locale_init.cc (locale::_Impl::_Impl(size_t)): Tweak. 3679 1.1 mrg * src/localename.cc (locale::_Impl::_Impl(const char*, size_t): 3680 1.1 mrg Simplify when !std::strchr, just updating _M_names[0]; clean up. 3681 1.1 mrg (locale::_Impl::_M_replace_categories): When !_M_names[1] prepare 3682 1.1 mrg for the general case (full set of names), then do the usual work; 3683 1.1 mrg clean up. 3684 1.1 mrg 3685 1.1 mrg * src/locale.cc (locale::name()): Reserve space in __ret. 3686 1.1 mrg * src/locale_init.cc (locale::global(const locale&)): Save 3687 1.1 mrg the name in a temporary. 3688 1.1 mrg * src/localename.cc (locale::locale(const char*)): Reserve space 3689 1.1 mrg in __str. 3690 1.1 mrg 3691 1.1 mrg 2004-04-29 Paolo Carlini <pcarlini (a] suse.de> 3692 1.1 mrg 3693 1.1 mrg * src/locale.cc (locale::operator==): Always avoid constructing 3694 1.1 mrg locale::name(), directly compare pairs of _M_names. 3695 1.1 mrg 3696 1.1 mrg 2004-04-26 Paolo Carlini <pcarlini (a] suse.de> 3697 1.1 mrg 3698 1.1 mrg * include/bits/istream.tcc: Fix comment. 3699 1.1 mrg 3700 1.1 mrg 2004-04-26 Paolo Carlini <pcarlini (a] suse.de> 3701 1.1 mrg 3702 1.1 mrg * include/bits/stl_vector.h: Trivial formatting fixes. 3703 1.1 mrg * include/bits/vector.tcc: Likewise. 3704 1.1 mrg 3705 1.1 mrg 2004-04-25 Paolo Carlini <pcarlini (a] suse.de> 3706 1.1 mrg 3707 1.1 mrg PR libstdc++/15002 (continued again) 3708 1.1 mrg * include/bits/istream.tcc (getline(basic_istream<>&, 3709 1.1 mrg basic_string<>&, _CharT)): Use a temporary buffer, thus 3710 1.1 mrg avoiding reallocation for common case. 3711 1.1 mrg 3712 1.1 mrg * include/bits/basic_string.tcc (_S_construct(_InIterator, 3713 1.1 mrg _InIterator, const _Alloc&, input_iterator_tag)): Tweak size 3714 1.1 mrg of temporary buffer to a power of two. 3715 1.1 mrg 3716 1.1 mrg * testsuite/27_io/basic_istream/getline/char/4.cc: Add comment. 3717 1.1 mrg 3718 1.1 mrg 2004-04-25 Paolo Carlini <pcarlini (a] suse.de> 3719 1.1 mrg 3720 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: 3721 1.1 mrg New. 3722 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc: 3723 1.1 mrg Likewise. 3724 1.1 mrg * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise. 3725 1.1 mrg 3726 1.1 mrg 2004-04-24 Paolo Carlini <pcarlini (a] suse.de> 3727 1.1 mrg Petur Runolfsson <peturr02 (a] ru.is> 3728 1.1 mrg 3729 1.1 mrg PR libstdc++/15002 (continued) 3730 1.1 mrg * include/bits/istream.tcc (basic_istream<>::getline(char_type*, 3731 1.1 mrg streamsize, char_type)): Use traits::find/copy in a loop to speed 3732 1.1 mrg up greatly the function in the common case (I/O buffer size >> 1). 3733 1.1 mrg 3734 1.1 mrg 2004-04-24 Paolo Carlini <pcarlini (a] suse.de> 3735 1.1 mrg 3736 1.1 mrg * testsuite/27_io/basic_istream/getline/char/4.cc: New. 3737 1.1 mrg 3738 1.1 mrg * include/bits/istream.tcc (getline(basic_istream<>&, 3739 1.1 mrg basic_string<>&, _CharT)): Change to use sgetc()/snextc() instead 3740 1.1 mrg of sbumpc(), consistently with the other functions, thus also 3741 1.1 mrg dealing correctly with the case of exceeded string::max_size(). 3742 1.1 mrg 3743 1.1 mrg 2004-04-24 Matthias Klose <doko (a] debian.org> 3744 1.1 mrg 3745 1.1 mrg Jonathan Wakely <cow (a] compsoc.man.ac.uk> 3746 1.1 mrg * docs/html/configopts.html: Fix reference to allocator config option. 3747 1.1 mrg 3748 1.1 mrg 2004-04-23 Andrew Pinski <pinskia (a] physics.uc.edu> 3749 1.1 mrg 3750 1.1 mrg * linkage.m4 (GLIBCXX_CHECK_MATH_SUPPORT): Check for libmx also. 3751 1.1 mrg * configure: Regenerate. 3752 1.1 mrg 3753 1.1 mrg 2004-04-23 Daniel Jacobowitz <drow (a] mvista.com> 3754 1.1 mrg 3755 1.1 mrg PR libstdc++/15047, libstdc++/11610 3756 1.1 mrg * testsuite/lib/libstdc++.exp (v3-copy-files): Use remote_download. 3757 1.1 mrg (libstdc++_init): Don't pass outdir to v3-copy-files. 3758 1.1 mrg 3759 1.1 mrg 2004-04-21 Paolo Carlini <pcarlini (a] suse.de> 3760 1.1 mrg 3761 1.1 mrg * include/bits/deque.tcc: Trivial formatting fixes. 3762 1.1 mrg * include/bits/stl_deque.h: Likewise. 3763 1.1 mrg * include/bits/stl_list.h: Likewise. 3764 1.1 mrg * include/bits/stl_tree.h: Likewise. 3765 1.1 mrg 3766 1.1 mrg 2004-04-21 Paolo Carlini <pcarlini (a] suse.de> 3767 1.1 mrg Andrew Pinski <pinskia (a] physics.uc.edu> 3768 1.1 mrg 3769 1.1 mrg * include/bits/basic_string.tcc (_M_mutate): Don't compute 3770 1.1 mrg __src unnecessarily. 3771 1.1 mrg 3772 1.1 mrg 2004-04-19 Benjamin Kosnik <bkoz (a] redhat.com> 3773 1.1 mrg 3774 1.1 mrg * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc: 3775 1.1 mrg Clarify assertion, set test variable to false before assert. 3776 1.1 mrg * testsuite/27_io/basic_istringstream/str/char/1.cc: Same. 3777 1.1 mrg * testsuite/27_io/basic_stringstream/str/char/1.cc: Same. 3778 1.1 mrg * testsuite/27_io/ios_base/storage/2.cc: Same. 3779 1.1 mrg 3780 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Fix 3781 1.1 mrg function returns. 3782 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Same. 3783 1.1 mrg * testsuite/27_io/fpos/14320-3.cc: Same. 3784 1.1 mrg 3785 1.1 mrg * testsuite/27_io/basic_filebuf/2.cc: Instantiate in namespace std. 3786 1.1 mrg * testsuite/27_io/fpos/1.cc: Same. 3787 1.1 mrg * testsuite/27_io/basic_stringstream/2.cc: Same. 3788 1.1 mrg * testsuite/27_io/basic_stringbuf/4.cc: Same. 3789 1.1 mrg * testsuite/27_io/basic_stringbuf/1.cc: Same. 3790 1.1 mrg * testsuite/27_io/basic_stringbuf/2.cc: Same. 3791 1.1 mrg * testsuite/27_io/basic_streambuf/2.cc: Same. 3792 1.1 mrg * testsuite/27_io/basic_ostringstream/2.cc: Same. 3793 1.1 mrg * testsuite/27_io/basic_ostream/2.cc: Same. 3794 1.1 mrg * testsuite/27_io/basic_ofstream/2.cc: Same. 3795 1.1 mrg * testsuite/27_io/basic_istringstream/2.cc: Same. 3796 1.1 mrg * testsuite/27_io/basic_istream/2.cc: Same. 3797 1.1 mrg * testsuite/27_io/basic_iostream/2.cc: Same. 3798 1.1 mrg * testsuite/27_io/basic_ios/2.cc: Same. 3799 1.1 mrg * testsuite/27_io/basic_ifstream/2.cc: Same. 3800 1.1 mrg * testsuite/27_io/basic_fstream/2.cc: Same. 3801 1.1 mrg * testsuite/ext/stdio_filebuf/char/1.cc: Same, in namespace __gnu_cxx. 3802 1.1 mrg 3803 1.1 mrg * testsuite/21_strings/basic_string/capacity/1.cc: Don't compare 3804 1.1 mrg unsigned against zero. 3805 1.1 mrg * testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Same. 3806 1.1 mrg * testsuite/21_strings/basic_string/capacity/char/1.cc: Same. 3807 1.1 mrg 3808 1.1 mrg * testsuite/18_support/new_delete_placement.cc: Initialize 3809 1.1 mrg variables before first use. 3810 1.1 mrg * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc: Same. 3811 1.1 mrg * testsuite/21_strings/char_traits/requirements/char/1.cc: Same. 3812 1.1 mrg * testsuite/21_strings/char_traits/requirements/short/1.cc: Same. 3813 1.1 mrg * testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc: 3814 1.1 mrg Same. 3815 1.1 mrg * testsuite/27_io/basic_ostream/inserters_arithmetic/char/ 3816 1.1 mrg exceptions_badbit_throw.cc: Same. 3817 1.1 mrg * testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc: 3818 1.1 mrg Same. 3819 1.1 mrg * testsuite/27_io/basic_ostream/inserters_arithmetic/char/ 3820 1.1 mrg exceptions_failbit_throw.cc: Same. 3821 1.1 mrg * testsuite/27_io/types/2.cc: Same. 3822 1.1 mrg 3823 1.1 mrg * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Fix temporary 3824 1.1 mrg file name. 3825 1.1 mrg * testsuite/27_io/fpos/14775.cc: Same. 3826 1.1 mrg 3827 1.1 mrg 2004-04-19 Paolo Carlini <pcarlini (a] suse.de> 3828 1.1 mrg 3829 1.1 mrg PR libstdc++/15002 (partial) 3830 1.1 mrg * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe): 3831 1.1 mrg Special case __n2 == 1, not calling traits_type::assign/copy. 3832 1.1 mrg 3833 1.1 mrg 2004-04-17 Benjamin Kosnik <bkoz (a] redhat.com> 3834 1.1 mrg 3835 1.1 mrg * include/bits/stl_bvector.h: Use _M_impl._M_start. 3836 1.1 mrg 3837 1.1 mrg 2004-04-16 Benjamin Kosnik <bkoz (a] redhat.com> 3838 1.1 mrg 3839 1.1 mrg * include/bits/c++config (_GLIBCXX_STD): New. 3840 1.1 mrg * src/list.cc: Use it. 3841 1.1 mrg * include/std/std_bitset.h: Same. 3842 1.1 mrg * include/bits/vector.tcc: Same. 3843 1.1 mrg * include/bits/stl_set.h: Same. 3844 1.1 mrg * include/bits/stl_multiset.h: Same. 3845 1.1 mrg * include/bits/stl_multimap.h: Same. 3846 1.1 mrg * include/bits/stl_map.h: Same. 3847 1.1 mrg * include/bits/stl_list.h: Same. 3848 1.1 mrg * include/bits/stl_vector.h: Same. 3849 1.1 mrg * include/bits/stl_bvector.h: Same. 3850 1.1 mrg * include/bits/stl_deque.h: Same. 3851 1.1 mrg * include/bits/deque.tcc: Same. 3852 1.1 mrg * include/bits/list.tcc: Same. 3853 1.1 mrg * include/debug/vector: Same. 3854 1.1 mrg * include/debug/set.h: Same. 3855 1.1 mrg * include/debug/multiset.h: Same. 3856 1.1 mrg * include/debug/multimap.h: Same. 3857 1.1 mrg * include/debug/map.h: Same. 3858 1.1 mrg * include/debug/list: Same. 3859 1.1 mrg * include/debug/deque: Same. 3860 1.1 mrg * include/debug/bitset: Same. 3861 1.1 mrg * include/debug/formatter.h (__gnu_debug): Remove using directive. 3862 1.1 mrg Add using declaration for std::type_info. 3863 1.1 mrg * include/debug/safe_iterator.h: Add using declaration for 3864 1.1 mrg std::iterator_traits and std::pair. 3865 1.1 mrg * src/debug_list.cc: New. 3866 1.1 mrg * src/Makefile.am: Add debug_list.cc. 3867 1.1 mrg * src/Makefile.in: Regenerate. 3868 1.1 mrg * config/linker-map.gnu: Add _List_node_base exports for std and 3869 1.1 mrg __gnu_norm. 3870 1.1 mrg 3871 1.1 mrg * include/bits/stl_bvector.h (_Bvector_base): Use _Bvector_impl 3872 1.1 mrg idiom that other containers use. 3873 1.1 mrg * testsuite/23_containers/vector/bool/clear_allocator.cc: New. 3874 1.1 mrg 3875 1.1 mrg 2004-04-16 Paolo Carlini <pcarlini (a] suse.de> 3876 1.1 mrg 3877 1.1 mrg PR libstdc++/14975 3878 1.1 mrg * include/bits/fstream.tcc (basic_filebuf::imbue): Zero _M_codecvt 3879 1.1 mrg in case of error. 3880 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: New. 3881 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: New. 3882 1.1 mrg 3883 1.1 mrg 2004-04-16 Paolo Carlini <pcarlini (a] suse.de> 3884 1.1 mrg 3885 1.1 mrg * acconfig.h: Remove _GLIBCXX_USE_LONG_DOUBLE entry, not 3886 1.1 mrg used anymore. 3887 1.1 mrg * config.h.in: Regenerate. 3888 1.1 mrg 3889 1.1 mrg 2004-04-16 Paolo Carlini <pcarlini (a] suse.de> 3890 1.1 mrg 3891 1.1 mrg * config/locale/generic/monetary_members.cc 3892 1.1 mrg (moneypunct<wchar_t>::_M_initialize_moneypunct): Avoid calling 3893 1.1 mrg btowc unnecessarily, just cast to wchar_t (the concerned chars 3894 1.1 mrg all belong to the basic character set). 3895 1.1 mrg * config/locale/generic/numeric_members.cc 3896 1.1 mrg (numpunct<wchar_t>::_M_initialize_numpunct): Likewise. 3897 1.1 mrg * config/locale/gnu/monetary_members.cc 3898 1.1 mrg (moneypunct<wchar_t>::_M_initialize_moneypunct): Likewise. 3899 1.1 mrg * config/locale/gnu/numeric_members.cc 3900 1.1 mrg (numpunct<wchar_t>::_M_initialize_numpunct): Likewise. 3901 1.1 mrg 3902 1.1 mrg 2004-04-15 Paolo Carlini <pcarlini (a] suse.de> 3903 1.1 mrg 3904 1.1 mrg * src/locale.cc (locale::operator==): When _M_impl == __rhs._M_impl 3905 1.1 mrg avoid constructing unnecessarily this->name(). 3906 1.1 mrg 3907 1.1 mrg 2004-04-14 Zack Weinberg <zack (a] codesourcery.com> 3908 1.1 mrg 3909 1.1 mrg * testsuite/Makefile.am: Add definition of AM_CXXFLAGS. 3910 1.1 mrg Change definition of CXX to use $(shell) instead of backticks. 3911 1.1 mrg * testsuite/Makefile.in: Regenerate. 3912 1.1 mrg 3913 1.1 mrg 2004-04-12 Dhruv Matani <dhruvbird (a] gmx.net> 3914 1.1 mrg 3915 1.1 mrg * testsuite/performance/20_util/allocator/list_sort_search.cc: 3916 1.1 mrg Minor formatting fixes. 3917 1.1 mrg * testsuite/performance/20_util/allocator/map_mt_find.cc: 3918 1.1 mrg Likewise. 3919 1.1 mrg 3920 1.1 mrg 2004-04-12 Paolo Carlini <pcarlini (a] suse.de> 3921 1.1 mrg 3922 1.1 mrg * config/locale/gnu/numeric_members.cc 3923 1.1 mrg (numpunct<wchar_t>::_M_initialize_numpunct): No need to wrap 3924 1.1 mrg in __uselocale, since btowc is called for chars belonging to 3925 1.1 mrg the basic character set. 3926 1.1 mrg 3927 1.1 mrg 2004-04-09 Paolo Carlini <pcarlini (a] suse.de> 3928 1.1 mrg 3929 1.1 mrg * testsuite/22_locale/messages/members/char/1.cc: Remove junk. 3930 1.1 mrg * testsuite/22_locale/messages/members/char/2.cc: Ditto. 3931 1.1 mrg * testsuite/22_locale/messages/members/char/3.cc: Ditto. 3932 1.1 mrg * testsuite/22_locale/num_get/get/char/1.cc: Ditto. 3933 1.1 mrg * testsuite/22_locale/num_get/get/char/2.cc: Ditto. 3934 1.1 mrg * testsuite/22_locale/num_get/get/char/3.cc: Ditto. 3935 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/1.cc: Ditto. 3936 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/2.cc: Ditto. 3937 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/3.cc: Ditto. 3938 1.1 mrg * testsuite/22_locale/num_put/put/char/1.cc: Ditto. 3939 1.1 mrg * testsuite/22_locale/num_put/put/char/2.cc: Ditto. 3940 1.1 mrg * testsuite/22_locale/num_put/put/char/3.cc: Ditto. 3941 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/1.cc: Ditto. 3942 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/2.cc: Ditto. 3943 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/3.cc: Ditto. 3944 1.1 mrg * testsuite/22_locale/numpunct/members/char/1.cc: Ditto. 3945 1.1 mrg * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Ditto. 3946 1.1 mrg 3947 1.1 mrg 2004-04-07 Paolo Carlini <pcarlini (a] suse.de> 3948 1.1 mrg 3949 1.1 mrg * config/locale/generic/time_members.cc 3950 1.1 mrg (__timepunct<char>::_M_initialize_timepunct, 3951 1.1 mrg __timepunct<wchar_t>::_M_initialize_timepunct): the correct 3952 1.1 mrg _M_amonth07 in the "C" locale is "Jul" and L"Jul", respectively. 3953 1.1 mrg * config/locale/gnu/time_members.cc 3954 1.1 mrg (__timepunct<char>::_M_initialize_timepunct, 3955 1.1 mrg __timepunct<wchar_t>::_M_initialize_timepunct): Ditto. 3956 1.1 mrg * testsuite/22_locale/time_get/get_monthname/char/4.cc: New. 3957 1.1 mrg * testsuite/22_locale/time_get/get_monthname/wchar_t/4.cc: New. 3958 1.1 mrg 3959 1.1 mrg * testsuite/22_locale/time_get/date_order/char/1.cc: Remove junk. 3960 1.1 mrg * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Ditto. 3961 1.1 mrg * testsuite/22_locale/time_get/get_date/char/1.cc: Ditto. 3962 1.1 mrg * testsuite/22_locale/time_get/get_date/char/2.cc: Ditto. 3963 1.1 mrg * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Ditto. 3964 1.1 mrg * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Ditto. 3965 1.1 mrg * testsuite/22_locale/time_get/get_monthname/char/1.cc: Ditto. 3966 1.1 mrg * testsuite/22_locale/time_get/get_monthname/char/2.cc: Ditto. 3967 1.1 mrg * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto. 3968 1.1 mrg * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Ditto. 3969 1.1 mrg * testsuite/22_locale/time_get/get_time/char/1.cc: Ditto. 3970 1.1 mrg * testsuite/22_locale/time_get/get_time/char/2.cc: Ditto. 3971 1.1 mrg * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto. 3972 1.1 mrg * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Ditto. 3973 1.1 mrg * testsuite/22_locale/time_get/get_weekday/char/1.cc: Ditto. 3974 1.1 mrg * testsuite/22_locale/time_get/get_weekday/char/2.cc: Ditto. 3975 1.1 mrg * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto. 3976 1.1 mrg * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Ditto. 3977 1.1 mrg * testsuite/22_locale/time_get/get_year/char/1.cc: Ditto. 3978 1.1 mrg * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto. 3979 1.1 mrg * testsuite/22_locale/time_put/put/char/1.cc: Ditto. 3980 1.1 mrg * testsuite/22_locale/time_put/put/char/2.cc: Ditto. 3981 1.1 mrg * testsuite/22_locale/time_put/put/char/3.cc: Ditto. 3982 1.1 mrg * testsuite/22_locale/time_put/put/char/4.cc: Ditto. 3983 1.1 mrg * testsuite/22_locale/time_put/put/char/5.cc: Ditto. 3984 1.1 mrg * testsuite/22_locale/time_put/put/char/6.cc: Ditto. 3985 1.1 mrg * testsuite/22_locale/time_put/put/char/7.cc: Ditto. 3986 1.1 mrg * testsuite/22_locale/time_put/put/char/8.cc: Ditto. 3987 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/1.cc: Ditto. 3988 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/2.cc: Ditto. 3989 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/3.cc: Ditto. 3990 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/4.cc: Ditto. 3991 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/5.cc: Ditto. 3992 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/6.cc: Ditto. 3993 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/7.cc: Ditto. 3994 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/8.cc: Ditto. 3995 1.1 mrg 3996 1.1 mrg * testsuite/22_locale/time_put/put/char/9780-1.cc: Fix typos. 3997 1.1 mrg 3998 1.1 mrg 2004-04-07 Paolo Carlini <pcarlini (a] suse.de> 3999 1.1 mrg 4000 1.1 mrg * config/locale/gnu/monetary_members.cc 4001 1.1 mrg (moneypunct<wchar_t>::_M_initialize_moneypunct): Prefer 4002 1.1 mrg _NL_MONETARY_DECIMAL_POINT_WC, _NL_MONETARY_THOUSANDS_SEP_WC, 4003 1.1 mrg and __MON_GROUPING to _NL_NUMERIC_DECIMAL_POINT_WC, 4004 1.1 mrg _NL_NUMERIC_THOUSANDS_SEP_WC, and GROUPING. 4005 1.1 mrg * config/locale/gnu/numeric_members.cc 4006 1.1 mrg (numpunct<char>::_M_initialize_numpunct): Prefer DECIMAL_POINT 4007 1.1 mrg and THOUSANDS_SEP to the deprecated RADIXCHAR and THOUSEP. 4008 1.1 mrg 4009 1.1 mrg 2004-04-06 Benjamin Kosnik <bkoz (a] redhat.com> 4010 1.1 mrg 4011 1.1 mrg Fixups for EDG front end. 4012 1.1 mrg * include/ext/rope: Instead of non-existent function 4013 1.1 mrg _Data_allocate, use allocator's allocate. Use this. 4014 1.1 mrg (namespace _Rope_constants): Move _S_max_rope_depth, and _Tag 4015 1.1 mrg enumerations from _Rope_RopeRep here. 4016 1.1 mrg * include/ext/ropeimpl.h: Same. 4017 1.1 mrg * src/ext-inst.cc (_S_min_len): Fix up definition. 4018 1.1 mrg 4019 1.1 mrg * config/locale/gnu/ctype_members.cc: Qualify base class members 4020 1.1 mrg with this. 4021 1.1 mrg * config/locale/generic/ctype_members.cc: Same. 4022 1.1 mrg * config/locale/gnu/messages_members.h: Same. 4023 1.1 mrg * config/locale/generic/messages_members.h: Same. 4024 1.1 mrg * src/ctype.cc: Same. 4025 1.1 mrg * include/bits/codecvt.h: Same. 4026 1.1 mrg 4027 1.1 mrg * include/bits/boost_concept_check.h: Declare. 4028 1.1 mrg (__error_type_must_be_an_unsigned_integer_type): Remove this. 4029 1.1 mrg (__error_type_must_be_an_integer_type): Remove this. 4030 1.1 mrg (__error_type_must_be_a_signed_integer_type): Remove this. 4031 1.1 mrg 4032 1.1 mrg * config/io/basic_file_stdio.cc (__basic_file::sys_open): Remove cast. 4033 1.1 mrg 4034 1.1 mrg * libsupc++/eh_alloc.cc (__cxa_free_exception): Add exception 4035 1.1 mrg specification to definition. 4036 1.1 mrg (__cxa_allocate_exception): Same. 4037 1.1 mrg * libsupc++/eh_catch.cc (__cxa_begin_catch): Same. 4038 1.1 mrg * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Same. 4039 1.1 mrg (__cxa_get_globals): Same. 4040 1.1 mrg 4041 1.1 mrg * libsupc++/del_op.cc: Add comment about freestanding. 4042 1.1 mrg 4043 1.1 mrg 2004-04-05 Paolo Carlini <pcarlini (a] suse.de> 4044 1.1 mrg 4045 1.1 mrg * include/ext/mt_allocator.h (__mt_alloc<>::deallocate): 4046 1.1 mrg The critical section is actually very small, only two assignments. 4047 1.1 mrg 4048 1.1 mrg 2004-04-04 Paolo Carlini <pcarlini (a] suse.de> 4049 1.1 mrg Petur Runolfsson <peturr02 (a] ru.is> 4050 1.1 mrg 4051 1.1 mrg * testsuite/performance/27_io/filebuf_sputn_unbuf.cc: New, 4052 1.1 mrg adapted from libstdc++/11378. 4053 1.1 mrg 4054 1.1 mrg 2004-04-03 Paolo Carlini <pcarlini (a] suse.de> 4055 1.1 mrg 4056 1.1 mrg * include/ext/mt_allocator.h (__mt_alloc<>::allocate): Factor out 4057 1.1 mrg some duplicated code. 4058 1.1 mrg (__mt_alloc<>::_Bin_record): Spare the space of _M_free and _M_used 4059 1.1 mrg in the single threaded case. 4060 1.1 mrg * testsuite/performance/20_util/allocator/list_sort_search.cc: 4061 1.1 mrg Reorder and renumber the tests consistently with the other testfiles. 4062 1.1 mrg * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto. 4063 1.1 mrg * testsuite/performance/20_util/allocator/map_thread.cc: Ditto. 4064 1.1 mrg * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto. 4065 1.1 mrg 4066 1.1 mrg 2004-04-02 Paolo Carlini <pcarlini (a] suse.de> 4067 1.1 mrg 4068 1.1 mrg * include/ext/mt_allocator.h (__mt_alloc<>::deallocate): 4069 1.1 mrg Rearrange arithmetic to avoid computing two divisions at 4070 1.1 mrg each deallocation. 4071 1.1 mrg 4072 1.1 mrg 2004-04-01 Paolo Carlini <pcarlini (a] suse.de> 4073 1.1 mrg 4074 1.1 mrg * include/ext/mt_allocator.h (__mt_alloc<>::_S_initialize): 4075 1.1 mrg Streamline the second half, wrapping it in a single 4076 1.1 mrg '#ifdef __GTHREADS if (__gthread_active_p())' and avoiding 4077 1.1 mrg conditionals inside loops. 4078 1.1 mrg 4079 1.1 mrg 2004-04-01 Paolo Carlini <pcarlini (a] suse.de> 4080 1.1 mrg 4081 1.1 mrg PR libstdc++/14775 4082 1.1 mrg * acconfig.h: Rename _GLIBCXX_MEM_LIMITS to _GLIBCXX_RES_LIMITS. 4083 1.1 mrg * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT): Call 4084 1.1 mrg GLIBCXX_CHECK_SETRLIMIT_ancilliary for FSIZE too, adjust define 4085 1.1 mrg to _GLIBCXX_RES_LIMITS. 4086 1.1 mrg (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Rename HAVE_MEMLIMIT_* to 4087 1.1 mrg HAVE_LIMIT_*. 4088 1.1 mrg * testsuite/testsuite_hooks.h: Declare set_file_limit. 4089 1.1 mrg * testsuite/testsuite_hooks.cc: Define it, using getrlimit 4090 1.1 mrg and setrlimit(RLIMIT_FSIZE). 4091 1.1 mrg * testsuite/27_io/fpos/14775.cc: New. 4092 1.1 mrg * config.h.in: Regenerate. 4093 1.1 mrg * configure: Likewise. 4094 1.1 mrg 4095 1.1 mrg 2004-03-31 Paolo Carlini <pcarlini (a] suse.de> 4096 1.1 mrg 4097 1.1 mrg * config/locale/generic/c_locale.cc (__convert_to_v(long double&)): 4098 1.1 mrg In v3 uses of sscanf, the special floating-point numbers INF, 4099 1.1 mrg INFINITY, etc., cannot occur in input, therefore, if the latter 4100 1.1 mrg is too large, ERANGE is always stored in errno, no need of finitel. 4101 1.1 mrg 4102 1.1 mrg 2004-03-30 Benjamin Kosnik <bkoz (a] redhat.com> 4103 1.1 mrg 4104 1.1 mrg PR libstdc++/14783 4105 1.1 mrg * include/bits/stl_tree.h: Adjust initialization list order. 4106 1.1 mrg 4107 1.1 mrg 2004-03-29 Loren J. Rittle <ljrittle (a] acm.org> 4108 1.1 mrg 4109 1.1 mrg * testsuite/thread/pthread7-rope.cc: Update comment to reflect test. 4110 1.1 mrg 4111 1.1 mrg 2004-03-29 Paolo Carlini <pcarlini (a] suse.de> 4112 1.1 mrg 4113 1.1 mrg * testsuite/thread/pthread7-rope.cc: Fix, unpredictably, depending 4114 1.1 mrg on allocator behavior, the memory pointed by data2 may well be not 4115 1.1 mrg trashed. 4116 1.1 mrg 4117 1.1 mrg 2004-03-28 Chavdar Botev <cbotev (a] yahoo.com> 4118 1.1 mrg 4119 1.1 mrg PR libstdc++/14245 4120 1.1 mrg * include/bits/basic_string.tcc 4121 1.1 mrg (basic_string::basic_string(const basic_string&)): Pass to 4122 1.1 mrg _Rep::_M_grab the actual allocator of the string being constructed 4123 1.1 mrg not the default constructed one. 4124 1.1 mrg 4125 1.1 mrg 2004-03-27 Benjamin Kosnik <bkoz (a] redhat.com> 4126 1.1 mrg 4127 1.1 mrg libstdc++ PR/13598 4128 1.1 mrg * config/locale/ieee_1003.1-2001/codecvt_specializations.h 4129 1.1 mrg (__enc_traits::_M_destroy): New. 4130 1.1 mrg (__enc_traits::~__enc_traits): Use it. 4131 1.1 mrg (__enc_traits::operator=): Use _M_destroy, _M_init. 4132 1.1 mrg (__enc_traits::__enc_traits): Same. 4133 1.1 mrg 4134 1.1 mrg 2004-03-27 Petur Runolfsson <peturr02 (a] ru.is> 4135 1.1 mrg 4136 1.1 mrg * testsuite/ext/enc_filebuf/char/13598.cc: New. 4137 1.1 mrg 4138 1.1 mrg 2004-03-27 Paolo Carlini <pcarlini (a] suse.de> 4139 1.1 mrg 4140 1.1 mrg * include/ext/mt_allocator.h: Uglify consistently names of 4141 1.1 mrg variables, members and classes; tidy. 4142 1.1 mrg 4143 1.1 mrg 2004-03-27 Dhruv Matani <dhruvbird (a] gmx.net> 4144 1.1 mrg 4145 1.1 mrg * include/ext/mt_allocator.h (__mt_alloc<>::deallocate): 4146 1.1 mrg Deallocation loop rewrote. 4147 1.1 mrg 4148 1.1 mrg 2004-03-26 Paolo Carlini <pcarlini (a] suse.de> 4149 1.1 mrg 4150 1.1 mrg * include/ext/mt_allocator.h (__mt_alloc<>::allocate, 4151 1.1 mrg __mt_alloc<>::deallocate): Protect two instances of 4152 1.1 mrg block->thread_id with __GTHREADS. 4153 1.1 mrg 4154 1.1 mrg 2004-03-25 Gawain Bolton <gp.bolton (a] computer.org> 4155 1.1 mrg 4156 1.1 mrg * include/bits/stl_tree.h (_Rb_tree_impl): Add _Node_allocator 4157 1.1 mrg default argument in constructors. 4158 1.1 mrg (_Rb_tree::_M_empty_initialize): Remove. 4159 1.1 mrg 4160 1.1 mrg 2004-03-25 Benjamin Kosnik <bkoz (a] redhat.com> 4161 1.1 mrg 4162 1.1 mrg * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers. 4163 1.1 mrg * testsuite/23_containers/set/operators/1_neg.cc: Same. 4164 1.1 mrg 4165 1.1 mrg 2004-03-25 Dhruv Matani <dhruvbird (a] gmx.net> 4166 1.1 mrg 4167 1.1 mrg * include/bits/cpp_type_traits.h: Changed __is_pod 4168 1.1 mrg completely. Now, it does not use any of the previous type_traits 4169 1.1 mrg to detect the pod types, and it also detects function pointers as 4170 1.1 mrg POD types. 4171 1.1 mrg 4172 1.1 mrg * include/bits/stl_tree.h: Introduced a new class _Rb_tree_impl, 4173 1.1 mrg which encapsulates the internal implementation of an rb_tree. Made 4174 1.1 mrg the allocator a base class of this class instead of the rb_tree, 4175 1.1 mrg which was not conforming. This _Rb_tree_impl class is also 4176 1.1 mrg specialized on whether the _Compare parameter is a POD type or 4177 1.1 mrg not. If so, then it maintains the comparison function as a data 4178 1.1 mrg member, otherwise it makes the _Compare parameter a base class of 4179 1.1 mrg itself. Also, _M_key_compare is now a function instead of a data 4180 1.1 mrg member, so that the above trick can work properly. Delegated the 4181 1.1 mrg initialization of the other data members to this newly created 4182 1.1 mrg class. Also, now other member functions of rb_tree must refer to 4183 1.1 mrg _M_key_compare as _M_impl._M_key_compare(). The other data members 4184 1.1 mrg (*) can be referenced to as _M_impl.(*), where 4185 1.1 mrg (*) includes _M_header, and _M_node_count. 4186 1.1 mrg 4187 1.1 mrg 2004-03-25 Paolo Carlini <pcarlini (a] suse.de> 4188 1.1 mrg 4189 1.1 mrg * include/ext/mt_allocator.h (__mt_alloc<>::tune): 4190 1.1 mrg Add _M_min_bin, the size in bytes of the smallest bin. 4191 1.1 mrg (__mt_alloc<>::tune()): Tweak accordingly. 4192 1.1 mrg (__mt_alloc<>::tune(size_t, ...)): Likewise. 4193 1.1 mrg (__mt_alloc<>::block_record): Change to a union: members next 4194 1.1 mrg and thread_id are never used at the same time. 4195 1.1 mrg (__mt_alloc<>::allocate): Update consistently. 4196 1.1 mrg (__mt_alloc<>::deallocate): Likewise. 4197 1.1 mrg (__mt_alloc<>::_S_initialize): Update setups of _S_binmap and 4198 1.1 mrg _S_bin_size for the configurable _M_min_size. 4199 1.1 mrg 4200 1.1 mrg 2004-03-25 Dhruv Matani <dhruvbird (a] gmx.net> 4201 1.1 mrg 4202 1.1 mrg * include/bits/stl_list.h: Created a _List_impl class and made it 4203 1.1 mrg derive from the allocator, instead of the list deriving from the 4204 1.1 mrg allocator class, which was not conformant. Changed all references 4205 1.1 mrg from this->_M_node to this->_M_impl._M_node * bits/list.tcc: Same 4206 1.1 mrg as above (changed all references to the concerned variables). 4207 1.1 mrg 4208 1.1 mrg 2004-03-25 Dhruv Matani <dhruvbird (a] gmx.net> 4209 1.1 mrg 4210 1.1 mrg * include/bits/stl_deque.h: Created a _Deque_impl class and made 4211 1.1 mrg it derive from the allocator, instead of the deque deriving from 4212 1.1 mrg the allocator class, which was not conformant. Changed all 4213 1.1 mrg references to the _M_start, _M_finish, _M_map, and _M_map_size to 4214 1.1 mrg _M_impl.*. 4215 1.1 mrg (_Deque_base<_Tp,_Alloc>::~_Deque_base()): Added this-> 4216 1.1 mrg qualification in 2 places where it was missing. 4217 1.1 mrg (_Deque_base<_Tp,_Alloc>::_M_initialize_map(size_t)): Same as 4218 1.1 mrg above. 4219 1.1 mrg * include/bits/deque.tcc: Same as above (changed all references to 4220 1.1 mrg the concerned variables). 4221 1.1 mrg 4222 1.1 mrg 2004-03-25 Dhruv Matani <dhruvbird (a] gmx.net> 4223 1.1 mrg 4224 1.1 mrg * include/bits/stl_vector.h: Created a _Vector_impl class and made 4225 1.1 mrg it derive from the allocator, instead of the _Vector_base class, 4226 1.1 mrg deriving from the allocator which was not conformant. Changed all 4227 1.1 mrg references to the _M_start, _M_finish, and _M_end_of_storage to 4228 1.1 mrg _M_impl.*. 4229 1.1 mrg * include/bits/vector.tcc: Same as above (changed all references 4230 1.1 mrg to the concerned variables). 4231 1.1 mrg 4232 1.1 mrg 2004-03-25 Dhruv Matani <dhruvbird (a] gmx.net> 4233 1.1 mrg 4234 1.1 mrg * testsuite/23_containers/deque/cons/clear_allocator.cc: New. 4235 1.1 mrg * testsuite/23_containers/list/cons/clear_allocator.cc: New. 4236 1.1 mrg * testsuite/23_containers/vector/cons/clear_allocator.cc: New. 4237 1.1 mrg 4238 1.1 mrg 2004-03-24 Dhruv Matani <dhruvbird (a] gmx.net> 4239 1.1 mrg 4240 1.1 mrg * include/ext/malloc_allocator.h: Fixed the construct function to 4241 1.1 mrg call global placement new instead of assignment. Added a check 4242 1.1 mrg after the return from malloc to check whether returned pointer is 4243 1.1 mrg NULL, and if so, throw std::bad_alloc(). 4244 1.1 mrg * include/ext/debug_allocator.h: Added a check in the deallocate 4245 1.1 mrg function to check whether the user has passed a NULL pointer or 4246 1.1 mrg not. 4247 1.1 mrg 4248 1.1 mrg 2004-03-24 Benjamin Kosnik <bkoz (a] redhat.com> 4249 1.1 mrg 4250 1.1 mrg * docs/html/20_util/allocator.html: Add bitmap_allocator links. 4251 1.1 mrg 4252 1.1 mrg 2004-03-24 Andreas Schwab <schwab (a] suse.de> 4253 1.1 mrg 4254 1.1 mrg * testsuite/lib/prune.exp (prune_g++_output): Ignore errata 4255 1.1 mrg warning from IA64 assembler. 4256 1.1 mrg 4257 1.1 mrg 2004-03-24 Dhruv Matani <dhruvbird (a] gmx.net> 4258 1.1 mrg 4259 1.1 mrg * include/ext/bitmap_allocator.h: (_Bit_scan_forward) -> Made this 4260 1.1 mrg function call __builtin_ctz instead of the while loop. 4261 1.1 mrg (allocate) -> If condition has __builtin_expect. 4262 1.1 mrg (deallocate) -> Ditto. 4263 1.1 mrg Renamed a few left-over variables and typedefs according to the 4264 1.1 mrg C++STYLE mentioned in the documentation. 4265 1.1 mrg Protected calls to __gthread* by __gthread_active_p(), whose value 4266 1.1 mrg is cached in the local variable __threads_active. 4267 1.1 mrg 4268 1.1 mrg 2004-03-24 Felix Yen <fwy (a] alumni.brown.edu> 4269 1.1 mrg 4270 1.1 mrg * testsuite/performance/20_util/allocator/producer_consumer.cc: 4271 1.1 mrg Use linear algorithm for producer. 4272 1.1 mrg 4273 1.1 mrg 2004-03-24 Paolo Carlini <pcarlini (a] suse.de> 4274 1.1 mrg 4275 1.1 mrg * include/ext/mt_allocator.h (__mt_alloc<>::allocate, 4276 1.1 mrg __mt_alloc<>::deallocate): Avoid redundant conditionals. 4277 1.1 mrg 4278 1.1 mrg 2004-03-23 Benjamin Kosnik <bkoz (a] redhat.com> 4279 1.1 mrg 4280 1.1 mrg * include/bits/locale_facets.h: Tweaks for 80 column. 4281 1.1 mrg (__numpunct_cache::_M_cache): Move to locale_facets.tcc. 4282 1.1 mrg (__moneypunct_cache::_M_cache): Same. 4283 1.1 mrg (num_get): Don't inherit from __num_base. 4284 1.1 mrg (num_put): Same. 4285 1.1 mrg (money_get): Don't inherit from money_base. 4286 1.1 mrg (money_put): Same. 4287 1.1 mrg (__timepunct::_M_am_pm_format): New. 4288 1.1 mrg (time_get::_M_extract_num): Return iterator, use ios_base as argument. 4289 1.1 mrg (time_get::_M_extract_name): Same. 4290 1.1 mrg (time_get::_M_extract_via_format): Same. 4291 1.1 mrg * include/bits/locale_facets.tcc: Tweaks for 80 column. 4292 1.1 mrg Use _M_getloc instead of getloc. 4293 1.1 mrg * testsuite/22_locale/money_put/put/char/9780-3.cc: New. 4294 1.1 mrg * testsuite/22_locale/num_put/put/char/9780-2.cc: New. 4295 1.1 mrg * testsuite/22_locale/time_put/put/char/9780-1.cc: New. 4296 1.1 mrg 4297 1.1 mrg 2004-03-22 Paolo Carlini <pcarlini (a] suse.de> 4298 1.1 mrg 4299 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add pool_allocator. 4300 1.1 mrg * configure: Regenerate. 4301 1.1 mrg * config/allocator/pool_allocator_base.h: New. 4302 1.1 mrg * include/ext/pool_allocator.h: Convert to a standard-conforming 4303 1.1 mrg allocator. 4304 1.1 mrg * src/allocator.cc: Tweak instantiations. 4305 1.1 mrg * testsuite/performance/20_util/allocator/insert.cc: Add __pool_alloc. 4306 1.1 mrg * testsuite/performance/20_util/allocator/insert_insert.cc: Ditto. 4307 1.1 mrg * testsuite/performance/20_util/allocator/list_sort_search.cc: Ditto. 4308 1.1 mrg * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto. 4309 1.1 mrg * testsuite/performance/20_util/allocator/map_thread.cc: Ditto. 4310 1.1 mrg * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto. 4311 1.1 mrg 4312 1.1 mrg 2004-03-22 Hans-Peter Nilsson <hp (a] axis.com> 4313 1.1 mrg 4314 1.1 mrg * config/cpu/cris/atomicity.h (__atomic_add): Remove "static 4315 1.1 mrg inline" and attribute-unused. Qualify parameter __mem with 4316 1.1 mrg "volatile". 4317 1.1 mrg (__exchange_and_add): Ditto. Add back memory clobber to asm. 4318 1.1 mrg 4319 1.1 mrg 2004-03-20 Paolo Carlini <pcarlini (a] suse.de> 4320 1.1 mrg 4321 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/2.cc: 4322 1.1 mrg Remove junk. 4323 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/3.cc: 4324 1.1 mrg Likewise. 4325 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/6.cc: 4326 1.1 mrg Likewise. 4327 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/7.cc: 4328 1.1 mrg Likewise. 4329 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/8.cc: 4330 1.1 mrg Likewise. 4331 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/9.cc: 4332 1.1 mrg Likewise. 4333 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: 4334 1.1 mrg Likewise. 4335 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc: 4336 1.1 mrg Likewise. 4337 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc: 4338 1.1 mrg Likewise. 4339 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc: 4340 1.1 mrg Likewise. 4341 1.1 mrg 4342 1.1 mrg 2004-03-20 Paolo Carlini <pcarlini (a] suse.de> 4343 1.1 mrg 4344 1.1 mrg * include/std/std_valarray.h: Document DR389 [Ready]. 4345 1.1 mrg * docs/html/ext/howto.html: Add an entry for DR389. 4346 1.1 mrg 4347 1.1 mrg 2004-03-19 Michael Eager <eager (a] mvista.com> 4348 1.1 mrg 4349 1.1 mrg * config/cpu/mips/atomicity.h: Prevent reg loads between LL and 4350 1.1 mrg SC instructions. 4351 1.1 mrg 4352 1.1 mrg 2004-03-19 Paolo Carlini <pcarlini (a] suse.de> 4353 1.1 mrg 4354 1.1 mrg * testsuite/22_locale/num_get/get/char/11.cc: Remove redundant 4355 1.1 mrg static_cast-s. 4356 1.1 mrg * testsuite/22_locale/num_get/get/char/12.cc: Likewise. 4357 1.1 mrg * testsuite/22_locale/num_get/get/char/13.cc: Likewise. 4358 1.1 mrg * testsuite/22_locale/num_get/get/char/14.cc: Likewise. 4359 1.1 mrg * testsuite/22_locale/num_get/get/char/15.cc: Likewise. 4360 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise. 4361 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise. 4362 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/13.cc: Likewise. 4363 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/14.cc: Likewise. 4364 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise. 4365 1.1 mrg 4366 1.1 mrg 2004-03-19 Paolo Carlini <pcarlini (a] suse.de> 4367 1.1 mrg Petur Runolfsson <peturr02 (a] ru.is> 4368 1.1 mrg 4369 1.1 mrg PR libstdc++/12077 4370 1.1 mrg * include/ext/stdio_sync_filebuf.h (showmanyc): Remove, there's 4371 1.1 mrg no way to find out the conversion used by the underlying FILE*. 4372 1.1 mrg * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: New. 4373 1.1 mrg * testsuite/27_io/objects/char/9.cc: Tweak. 4374 1.1 mrg 4375 1.1 mrg 2004-03-19 Paolo Carlini <pcarlini (a] suse.de> 4376 1.1 mrg 4377 1.1 mrg PR libstdc++/14648 4378 1.1 mrg * include/ext/ropeimpl.h (rope<>::_S_apply_to_pieces): Fix 4379 1.1 mrg memory allocation/deallocation calls. 4380 1.1 mrg * testsuite/ext/14648.cc: New. 4381 1.1 mrg 4382 1.1 mrg 2004-03-19 Peter Schmid <schmid (a] snake.iap.physik.tu-darmstadt.de> 4383 1.1 mrg 4384 1.1 mrg PR libstdc++/14647 4385 1.1 mrg * include/backward/bvector.h (bit_vector): Allocator is in std 4386 1.1 mrg namespace. 4387 1.1 mrg 4388 1.1 mrg 2004-03-19 Phil Edwards <phil (a] codesourcery.com> 4389 1.1 mrg 4390 1.1 mrg * acinclude.m4 (GLIBCXX_CHECK_WCHAR_T_SUPPORT): Set LIBICONV, 4391 1.1 mrg not libiconv. SUBST this variable as well. 4392 1.1 mrg * testsuite/Makefile.am (site.exp): New target, based on that 4393 1.1 mrg created by automake. Also set libiconv. 4394 1.1 mrg 4395 1.1 mrg * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in, 4396 1.1 mrg libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, 4397 1.1 mrg testsuite/Makefile.in: Regenerate. 4398 1.1 mrg 4399 1.1 mrg 2004-03-16 Benjamin Kosnik <bkoz (a] redhat.com> 4400 1.1 mrg 4401 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Default setting is 4402 1.1 mrg new_allocator for all hosts. 4403 1.1 mrg * configure: Regenerate. 4404 1.1 mrg 4405 1.1 mrg 2004-03-16 Paolo Carlini <pcarlini (a] suse.de> 4406 1.1 mrg 4407 1.1 mrg * testsuite/22_locale/num_put/put/char/4.cc: Fix for 64-bit pointers. 4408 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise. 4409 1.1 mrg 4410 1.1 mrg 2004-03-15 Paolo Carlini <pcarlini (a] suse.de> 4411 1.1 mrg 4412 1.1 mrg * include/bits/locale_facets.tcc (money_get<>::_M_extract): 4413 1.1 mrg Adjust the logic underlying the parsing of symbol to deal 4414 1.1 mrg correctly with an optional sign component (i.e., when either 4415 1.1 mrg negative_sign or positive_sign is empty) 4416 1.1 mrg * testsuite/22_locale/money_get/get/char/19.cc: New. 4417 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/19.cc: New. 4418 1.1 mrg 4419 1.1 mrg 2004-03-15 Paolo Carlini <pcarlini (a] suse.de> 4420 1.1 mrg 4421 1.1 mrg * include/bits/locale_facets.tcc (money_get<>::_M_extract): 4422 1.1 mrg Do not accept an incomplete currency symbol. 4423 1.1 mrg * testsuite/22_locale/money_get/get/char/18.cc: New. 4424 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/18.cc: New. 4425 1.1 mrg 4426 1.1 mrg 2004-03-13 Benjamin Kosnik <bkoz (a] redhat.com> 4427 1.1 mrg 4428 1.1 mrg * config/allocator: New. 4429 1.1 mrg * config/allocator/bitmap_allocator_base.h: New. 4430 1.1 mrg * config/allocator/malloc_allocator_base.h: New. 4431 1.1 mrg * config/allocator/mt_allocator_base.h: New. 4432 1.1 mrg * config/allocator/new_allocator_base.h: New. 4433 1.1 mrg * include/bits/allocator.h: Include c++allocator.h. 4434 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): New. 4435 1.1 mrg * aclocal.m4: Regenerate. 4436 1.1 mrg * configure.ac: Use GLIBCXX_ENABLE_ALLOCATOR. 4437 1.1 mrg * configure: Regenerate. 4438 1.1 mrg * include/Makefile.am (host_headers_extra): Add c++allocator.h. 4439 1.1 mrg * include/Makefile.in: Regenerate. 4440 1.1 mrg * docs/html/configopts.html: Add enable-libstdcxx-allocator. 4441 1.1 mrg 4442 1.1 mrg 2004-03-12 Benjamin Kosnik <bkoz (a] redhat.com> 4443 1.1 mrg 4444 1.1 mrg * include/bits/allocator.h: Revert. 4445 1.1 mrg 4446 1.1 mrg 2004-03-12 Paolo Carlini <pcarlini (a] suse.de> 4447 1.1 mrg 4448 1.1 mrg * docs/html/ext/howto.html: Add entry for DR 253 [Ready]. 4449 1.1 mrg * include/bits/gslice_array.h: Add comment about DR 253. 4450 1.1 mrg * include/bits/indirect_array.h: Likewise. 4451 1.1 mrg * include/bits/mask_array.h: Likewise. 4452 1.1 mrg * include/bits/slice_array.h: Likewise. 4453 1.1 mrg 4454 1.1 mrg 2004-03-12 Benjamin Kosnik <bkoz (a] redhat.com> 4455 1.1 mrg 4456 1.1 mrg * testsuite/20_util/allocator/14176.cc: New. 4457 1.1 mrg * include/ext/mt_allocator.h: Formatting fixes. 4458 1.1 mrg 4459 1.1 mrg 2004-03-11 Dhruv Matani <dhruvbird (a] HotPOP.com> 4460 1.1 mrg 4461 1.1 mrg * include/Makefile.am (ext_headers): Add 4462 1.1 mrg ${ext_srcdir}/bitmap_allocator.h . 4463 1.1 mrg * include/Makefile.in: Regenerate. 4464 1.1 mrg * docs/html/ext/ballocator_doc.txt: New file. 4465 1.1 mrg * include/ext/bitmap_allocator.h: New file. 4466 1.1 mrg * testsuite/performance/20_util/allocator/list_sort_search.cc: Add 4467 1.1 mrg test. 4468 1.1 mrg * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise. 4469 1.1 mrg * testsuite/performance/20_util/allocator/producer_consumer.cc: Add 4470 1.1 mrg test for the bitmap_allocator<>. 4471 1.1 mrg * testsuite/performance/20_util/allocator/insert.cc: Likewise. 4472 1.1 mrg * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise. 4473 1.1 mrg * testsuite/performance/20_util/allocator/map_thread.cc: Likewise. 4474 1.1 mrg 4475 1.1 mrg 2004-03-11 Paolo Carlini <pcarlini (a] suse.de> 4476 1.1 mrg 4477 1.1 mrg * include/std/std_complex.h (pow(const complex&, const _Tp&), 4478 1.1 mrg pow(const _Tp&, const complex&), pow(const complex&, 4479 1.1 mrg const complex&)): Fully qualify with std:: a few calls. 4480 1.1 mrg * testsuite/26_numerics/complex/13450.cc: Minor tweak. 4481 1.1 mrg 4482 1.1 mrg 2004-03-11 Steven Bosscher <stevenb (a] suse.de> 4483 1.1 mrg 4484 1.1 mrg PR libstdc++/11706 4485 1.1 mrg * include/c_std/cmath.tcc (__cmath_power): Define inline. 4486 1.1 mrg 4487 1.1 mrg 2004-03-10 Kelley Cook <kcook (a] gcc.gnu.org> 4488 1.1 mrg 4489 1.1 mrg * configure.ac: Bump AC_PREREQ to 2.59. 4490 1.1 mrg 4491 1.1 mrg 2004-03-10 Paolo Carlini <pcarlini (a] suse.de> 4492 1.1 mrg 4493 1.1 mrg * testsuite/26_numerics/valarray_subset_assignment.cc: Fix typos. 4494 1.1 mrg 4495 1.1 mrg 2004-03-10 Paul Kienzle <pkienzle (a] nist.gov> 4496 1.1 mrg Paolo Carlini <pcarlini (a] suse.de> 4497 1.1 mrg 4498 1.1 mrg PR libstdc++/13450 4499 1.1 mrg * include/std/std_complex.h (pow(const complex&, const _Tp&), 4500 1.1 mrg pow(const _Tp&, const complex&)): Use cmath pow only when safe. 4501 1.1 mrg * testsuite/26_numerics/complex/13450.cc: New. 4502 1.1 mrg 4503 1.1 mrg * testsuite/26_numerics/cmath/overloads.C: Rename to overloads.cc. 4504 1.1 mrg * testsuite/26_numerics/complex/pow.C: Rename to pow.cc and fix. 4505 1.1 mrg 4506 1.1 mrg 2004-03-10 Jerry Quinn <jlquinn (a] optonline.net> 4507 1.1 mrg 4508 1.1 mrg PR libstdc++/3247 4509 1.1 mrg * include/bits/gslice_array.h (gslice_array()): Make public. 4510 1.1 mrg (operator=(gslice_array)): Make public. Implement. 4511 1.1 mrg * include/bits/indirect_array.h (indirect_array()): Make public. 4512 1.1 mrg * include/bits/mask_array.h (mask_array()): Make public. 4513 1.1 mrg (operator=(mask_array)): Make public. Implement. 4514 1.1 mrg * include/bits/valarray_array.tcc (__valarray_copy): 4515 1.1 mrg Comment. Add versions for gslice_array and mask_array. 4516 1.1 mrg * testsuite/26_numerics/valarray_subset_assignment.cc: New test. 4517 1.1 mrg 4518 1.1 mrg 2004-03-09 Benjamin Kosnik <bkoz (a] redhat.com> 4519 1.1 mrg 4520 1.1 mrg * testsuite/23_containers/deque/modifiers/swap.cc: Add in bits for 4521 1.1 mrg non-weak systems. 4522 1.1 mrg * testsuite/23_containers/vector/modifiers/swap.cc: Same. 4523 1.1 mrg * testsuite/23_containers/set/modifiers/swap.cc: Same. 4524 1.1 mrg * testsuite/23_containers/multiset/modifiers/swap.cc: Same. 4525 1.1 mrg * testsuite/23_containers/multimap/modifiers/swap.cc: Same. 4526 1.1 mrg * testsuite/23_containers/map/modifiers/swap.cc: Same. 4527 1.1 mrg * testsuite/23_containers/list/modifiers/swap.cc: Same. 4528 1.1 mrg 4529 1.1 mrg * testsuite/22_locale/locale/cons/12658_thread.cc: Catch exceptions. 4530 1.1 mrg 4531 1.1 mrg 2004-03-08 Benjamin Kosnik <bkoz (a] redhat.com> 4532 1.1 mrg 4533 1.1 mrg PR c++/13658 4534 1.1 mrg * testsuite/23_containers/deque/modifiers/swap.cc: New. 4535 1.1 mrg * testsuite/23_containers/list/modifiers/swap.cc: New. 4536 1.1 mrg * testsuite/23_containers/map/modifiers/swap.cc: New. 4537 1.1 mrg * testsuite/23_containers/multimap/modifiers/swap.cc: New. 4538 1.1 mrg * testsuite/23_containers/multiset/modifiers/swap.cc: New. 4539 1.1 mrg * testsuite/23_containers/set/modifiers/swap.cc: New. 4540 1.1 mrg * testsuite/23_containers/vector/modifiers/swap.cc: New. 4541 1.1 mrg 4542 1.1 mrg 2004-03-08 Petur Runolfsson <peturr02 (a] ru.is> 4543 1.1 mrg 4544 1.1 mrg PR libstdc++/12658 4545 1.1 mrg * testsuite/22_locale/locale/cons/12658_thread.cc: New. 4546 1.1 mrg 4547 1.1 mrg 2004-03-08 Paolo Carlini <pcarlini (a] suse.de> 4548 1.1 mrg 4549 1.1 mrg * docs/html/ext/howto.html: Add entry for DR 103 [WP]. 4550 1.1 mrg * include/bits/stl_multiset.h: Add comment about DR 103. 4551 1.1 mrg * include/bits/stl_set.h: Likewise. 4552 1.1 mrg 4553 1.1 mrg 2004-03-08 Paolo Carlini <pcarlini (a] suse.de> 4554 1.1 mrg 4555 1.1 mrg * include/bits/locale_facets.tcc (money_get<>::_M_extract): 4556 1.1 mrg The value _space_ indicates that at least one space is required 4557 1.1 mrg at that position. 4558 1.1 mrg * testsuite/22_locale/money_get/get/char/17.cc: New. 4559 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/17.cc: New. 4560 1.1 mrg 4561 1.1 mrg * testsuite/22_locale/money_get/get/char/7.cc: Minor tweaks. 4562 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/7.cc: Likewise. 4563 1.1 mrg 4564 1.1 mrg * include/bits/locale_facets.tcc (money_get<>::do_get(long_double&)): 4565 1.1 mrg Remove redundant conditional on __str.size(). 4566 1.1 mrg 4567 1.1 mrg 2004-03-08 Benjamin Kosnik <bkoz (a] redhat.com> 4568 1.1 mrg 4569 1.1 mrg * include/bits/allocator.h: Switch defaults to mt_alloc. 4570 1.1 mrg 4571 1.1 mrg 2004-03-06 Benjamin Kosnik <bkoz (a] redhat.com> 4572 1.1 mrg 4573 1.1 mrg * include/ext/mt_allocator.h (_S_initialize): If 4574 1.1 mrg !__GTHREAD_MUTEX_INIT, then initialize _S_thread_freelist_mutex. 4575 1.1 mrg 4576 1.1 mrg 2004-03-06 Benjamin Kosnik <bkoz (a] redhat.com> 4577 1.1 mrg 4578 1.1 mrg PR libstdc++/12658 4579 1.1 mrg * src/locale_init.cc (locale::locale): Lock critical regions with 4580 1.1 mrg external mutexes. 4581 1.1 mrg (locale::global): Same. 4582 1.1 mrg * include/bits/concurrence.h (__glibcxx_mutex_define_initialized): 4583 1.1 mrg Add in once bits for cases without __GTHREAD_MUTEX_INIT. 4584 1.1 mrg (__glibcxx_mutex_lock): Same. 4585 1.1 mrg 4586 1.1 mrg * config/cpu/generic/atomicity.h: Remove 4587 1.1 mrg _GLIBCXX_NEED_GENERIC_MUTEX, use concurrence.h. 4588 1.1 mrg * src/misc-inst.cc: Move all locking bits out of this file. 4589 1.1 mrg 4590 1.1 mrg * config/os/hpux/os_defines.h: Remove _GLIBCXX_INST_ATOMICITY_LOCK. 4591 1.1 mrg * src/misc-inst.cc: Same. 4592 1.1 mrg * config/cpu/hppa/atomicity.h: Same. 4593 1.1 mrg 4594 1.1 mrg * config/linker-map.gnu: Remove types in the signature of atomic 4595 1.1 mrg exports, as they may vary. 4596 1.1 mrg 4597 1.1 mrg 2004-03-06 Paolo Carlini <pcarlini (a] suse.de> 4598 1.1 mrg 4599 1.1 mrg * include/bits/locale_facets.tcc: Tweak the comment preceding 4600 1.1 mrg has_facet: doesn't throw. 4601 1.1 mrg 4602 1.1 mrg 2004-03-06 Paolo Carlini <pcarlini (a] suse.de> 4603 1.1 mrg 4604 1.1 mrg * testsuite/22_locale/money_get/get/char/1.cc: Clean up. 4605 1.1 mrg * testsuite/22_locale/money_get/get/char/2.cc: Likewise. 4606 1.1 mrg * testsuite/22_locale/money_get/get/char/3.cc: Likewise. 4607 1.1 mrg * testsuite/22_locale/money_get/get/char/4.cc: Likewise. 4608 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise. 4609 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise. 4610 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise. 4611 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise. 4612 1.1 mrg 4613 1.1 mrg 2004-03-06 Paolo Carlini <pcarlini (a] suse.de> 4614 1.1 mrg 4615 1.1 mrg * include/bits/locale_facets.tcc (num_get<>::_M_extract_float, 4616 1.1 mrg num_get<>::_M_extract_int, num_get<>::do_get(bool&), 4617 1.1 mrg __pad<>::_S_pad): Prefer plain operator== to traits::eq(). 4618 1.1 mrg * testsuite/testsuite_character.h (struct __gnu_test::character): 4619 1.1 mrg Provide operator==. 4620 1.1 mrg * testsuite/testsuite_hooks.h (struct __gnu_test::pod_char): 4621 1.1 mrg Likewise. 4622 1.1 mrg 4623 1.1 mrg 2004-03-05 Paolo Carlini <pcarlini (a] suse.de> 4624 1.1 mrg 4625 1.1 mrg * testsuite/27_io/fpos/14320-2.cc: Remove xfail. 4626 1.1 mrg 4627 1.1 mrg 2004-03-04 Benjamin Kosnik <bkoz (a] redhat.com> 4628 1.1 mrg 4629 1.1 mrg * testsuite/23_containers/multiset/insert/1.cc: Test result string. 4630 1.1 mrg 4631 1.1 mrg * testsuite/23_containers/bitset/invalidation/1.cc: Main always 4632 1.1 mrg returns 0. 4633 1.1 mrg * testsuite/23_containers/deque/invalidation/4.cc: Same. 4634 1.1 mrg * testsuite/23_containers/list/invalidation/1.cc: Same. 4635 1.1 mrg * testsuite/23_containers/list/invalidation/2.cc: Same. 4636 1.1 mrg * testsuite/23_containers/list/invalidation/3.cc: Same. 4637 1.1 mrg * testsuite/23_containers/list/invalidation/4.cc: Same. 4638 1.1 mrg * testsuite/23_containers/map/invalidation/2.cc: Same. 4639 1.1 mrg * testsuite/23_containers/multimap/invalidation/1.cc: Same. 4640 1.1 mrg * testsuite/23_containers/multimap/invalidation/2.cc: Same. 4641 1.1 mrg * testsuite/23_containers/multiset/invalidation/1.cc: Same. 4642 1.1 mrg * testsuite/23_containers/multiset/invalidation/2.cc: Same. 4643 1.1 mrg * testsuite/23_containers/set/invalidation/1.cc: Same. 4644 1.1 mrg * testsuite/23_containers/set/invalidation/2.cc: Same. 4645 1.1 mrg * testsuite/23_containers/vector/invalidation/1.cc: Same. 4646 1.1 mrg * testsuite/23_containers/vector/invalidation/2.cc: Same. 4647 1.1 mrg * testsuite/23_containers/vector/invalidation/3.cc: Same. 4648 1.1 mrg * testsuite/23_containers/vector/invalidation/4.cc: Same. 4649 1.1 mrg 4650 1.1 mrg 2004-03-04 Paolo Carlini <pcarlini (a] suse.de> 4651 1.1 mrg 4652 1.1 mrg * scripts/testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to 4653 1.1 mrg CXXFLAGS_save. 4654 1.1 mrg * testsuite/lib/libstdc++.exp: Don't add it conditionally to 4655 1.1 mrg DEFAULT_CXXFLAGS. 4656 1.1 mrg * testsuite/18_support/numeric_limits.cc: Remove "-D_GLIBCXX_ASSERT" 4657 1.1 mrg from the dg-options. 4658 1.1 mrg * testsuite/23_containers/vector/invalidation/1.cc: Likewise. 4659 1.1 mrg * testsuite/23_containers/vector/invalidation/2.cc: Likewise. 4660 1.1 mrg * testsuite/23_containers/vector/invalidation/3.cc: Likewise. 4661 1.1 mrg * testsuite/23_containers/vector/invalidation/4.cc: Likewise. 4662 1.1 mrg * testsuite/23_containers/vector/resize/1.cc: Likewise. 4663 1.1 mrg * testsuite/26_numerics/complex_value.cc: Likewise. 4664 1.1 mrg * testsuite/27_io/ios_base/storage/1.cc: Likewise. 4665 1.1 mrg * testsuite/27_io/ios_base/storage/2.cc: Likewise. 4666 1.1 mrg * testsuite/27_io/ios_base/storage/3.cc: Likewise. 4667 1.1 mrg * testsuite/27_io/manipulators/standard/char/2.cc: Likewise. 4668 1.1 mrg * testsuite/27_io/objects/char/5.cc: Likewise. 4669 1.1 mrg * testsuite/27_io/objects/wchar_t/5.cc: Likewise. 4670 1.1 mrg * testsuite/backward/11460.cc: Likewise. 4671 1.1 mrg * testsuite/thread/pthread7-rope.cc: Likewise. 4672 1.1 mrg 4673 1.1 mrg * testsuite/21_strings/basic_string/compare/char/1.cc: Add 4674 1.1 mrg missing test variable. 4675 1.1 mrg * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Add 4676 1.1 mrg missing test variable. 4677 1.1 mrg 4678 1.1 mrg 2004-03-04 Benjamin Kosnik <bkoz (a] redhat.com> 4679 1.1 mrg 4680 1.1 mrg * testsuite/20_util/allocator/1.cc: Provide explicit 4681 1.1 mrg instantiations for non-weak systems. 4682 1.1 mrg * testsuite/20_util/binders.cc: Same. 4683 1.1 mrg * testsuite/20_util/allocator/8230.cc: Same. 4684 1.1 mrg * testsuite/20_util/allocator/10378.cc: Same. 4685 1.1 mrg * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same. 4686 1.1 mrg * testsuite/22_locale/ctype/is/char/2.cc: Same. 4687 1.1 mrg * testsuite/thread/pthread7-rope.cc: Same. 4688 1.1 mrg * testsuite/thread/pthread6.cc: Same. 4689 1.1 mrg * testsuite/thread/pthread5.cc: Same. 4690 1.1 mrg * testsuite/thread/pthread4.cc: Same. 4691 1.1 mrg * testsuite/thread/pthread1.cc: Same. 4692 1.1 mrg * testsuite/ext/rope.cc: Same. 4693 1.1 mrg * testsuite/ext/hash_set.cc: Same. 4694 1.1 mrg * testsuite/ext/hash_map.cc: Same. 4695 1.1 mrg * testsuite/ext/concept_checks.cc: Same. 4696 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Same. 4697 1.1 mrg * testsuite/25_algorithms/unique/2.cc: Same. 4698 1.1 mrg * testsuite/25_algorithms/unique/1.cc: Same. 4699 1.1 mrg * testsuite/25_algorithms/rotate.cc: Same. 4700 1.1 mrg * testsuite/25_algorithms/min_max.cc: Same. 4701 1.1 mrg * testsuite/25_algorithms/equal.cc: Same. 4702 1.1 mrg * testsuite/24_iterators/rel_ops.cc: Same. 4703 1.1 mrg * testsuite/24_iterators/iterator.cc: Same. 4704 1.1 mrg * testsuite/24_iterators/insert_iterator.cc: Same. 4705 1.1 mrg * testsuite/24_iterators/front_insert_iterator.cc: Same. 4706 1.1 mrg * testsuite/24_iterators/back_insert_iterator.cc: Same. 4707 1.1 mrg * testsuite/23_containers/vector/resize/1.cc: Same. 4708 1.1 mrg * testsuite/23_containers/vector/modifiers/2.cc: Same. 4709 1.1 mrg * testsuite/23_containers/vector/modifiers/1.cc: Same. 4710 1.1 mrg * testsuite/23_containers/vector/invalidation/4.cc: Same. 4711 1.1 mrg * testsuite/23_containers/vector/invalidation/3.cc: Same. 4712 1.1 mrg * testsuite/23_containers/vector/invalidation/2.cc: Same. 4713 1.1 mrg * testsuite/23_containers/vector/invalidation/1.cc: Same. 4714 1.1 mrg * testsuite/23_containers/vector/element_access/1.cc: Same. 4715 1.1 mrg * testsuite/23_containers/vector/cons/6513.cc: Same. 4716 1.1 mrg * testsuite/23_containers/vector/cons/3.cc: Same. 4717 1.1 mrg * testsuite/23_containers/vector/cons/2.cc: Same. 4718 1.1 mrg * testsuite/23_containers/vector/cons/1.cc: Same. 4719 1.1 mrg * testsuite/23_containers/vector/capacity/8230.cc: Same. 4720 1.1 mrg * testsuite/23_containers/vector/capacity/1.cc: Same. 4721 1.1 mrg * testsuite/23_containers/vector/bool/6886.cc: Same. 4722 1.1 mrg * testsuite/23_containers/stack/members/7158.cc: Same. 4723 1.1 mrg * testsuite/23_containers/set/invalidation/2.cc: Same. 4724 1.1 mrg * testsuite/23_containers/set/invalidation/1.cc: Same. 4725 1.1 mrg * testsuite/23_containers/queue/members/7157.cc: Same. 4726 1.1 mrg * testsuite/23_containers/priority_queue/members/7161.cc: Same. 4727 1.1 mrg * testsuite/23_containers/multiset/invalidation/2.cc: Same. 4728 1.1 mrg * testsuite/23_containers/multiset/invalidation/2.cc: Same. 4729 1.1 mrg * testsuite/23_containers/multiset/insert/1.cc: Same. 4730 1.1 mrg * testsuite/23_containers/multimap/invalidation/2.cc: Same. 4731 1.1 mrg * testsuite/23_containers/multimap/invalidation/2.cc: Same. 4732 1.1 mrg * testsuite/23_containers/map/operators/1.cc: Same. 4733 1.1 mrg * testsuite/23_containers/map/invalidation/2.cc: Same. 4734 1.1 mrg * testsuite/23_containers/map/invalidation/1.cc: Same. 4735 1.1 mrg * testsuite/23_containers/map/insert/1.cc: Same. 4736 1.1 mrg * testsuite/23_containers/list/operators/4.cc: Same. 4737 1.1 mrg * testsuite/23_containers/list/operators/3.cc: Same. 4738 1.1 mrg * testsuite/23_containers/list/operators/2.cc: Same. 4739 1.1 mrg * testsuite/23_containers/list/operators/1.cc: Same. 4740 1.1 mrg * testsuite/23_containers/list/modifiers/3.cc: Same. 4741 1.1 mrg * testsuite/23_containers/list/modifiers/2.cc: Same. 4742 1.1 mrg * testsuite/23_containers/list/modifiers/1.cc: Same. 4743 1.1 mrg * testsuite/23_containers/list/invalidation/4.cc: Same. 4744 1.1 mrg * testsuite/23_containers/list/invalidation/3.cc: Same. 4745 1.1 mrg * testsuite/23_containers/list/invalidation/2.cc: Same. 4746 1.1 mrg * testsuite/23_containers/list/invalidation/1.cc: Same. 4747 1.1 mrg * testsuite/23_containers/list/cons/9.cc: Same. 4748 1.1 mrg * testsuite/23_containers/list/cons/8.cc: Same. 4749 1.1 mrg * testsuite/23_containers/list/cons/7.cc: Same. 4750 1.1 mrg * testsuite/23_containers/list/cons/6.cc: Same. 4751 1.1 mrg * testsuite/23_containers/list/cons/5.cc: Same. 4752 1.1 mrg * testsuite/23_containers/list/cons/4.cc: Same. 4753 1.1 mrg * testsuite/23_containers/list/cons/3.cc: Same. 4754 1.1 mrg * testsuite/23_containers/list/cons/2.cc: Same. 4755 1.1 mrg * testsuite/23_containers/list/cons/1.cc: Same. 4756 1.1 mrg * testsuite/23_containers/list/capacity/1.cc: Same. 4757 1.1 mrg * testsuite/23_containers/deque/operators/1.cc: Same. 4758 1.1 mrg * testsuite/23_containers/deque/invalidation/4.cc: Same. 4759 1.1 mrg * testsuite/23_containers/deque/invalidation/3.cc: Same. 4760 1.1 mrg * testsuite/23_containers/deque/invalidation/2.cc: Same. 4761 1.1 mrg * testsuite/23_containers/deque/invalidation/1.cc: Same. 4762 1.1 mrg * testsuite/23_containers/deque/cons/2.cc: Same. 4763 1.1 mrg * testsuite/23_containers/deque/cons/1.cc: Same. 4764 1.1 mrg 4765 1.1 mrg * src/allocator.cc: Add char, wchar_t instantiations 4766 1.1 mrg to match extern template declarations in memory.h. 4767 1.1 mrg 4768 1.1 mrg 2004-03-03 Paolo Carlini <pcarlini (a] suse.de> 4769 1.1 mrg 4770 1.1 mrg * include/bits/locale_facets.tcc (money_put<>::_M_insert): 4771 1.1 mrg Fix warning regression. 4772 1.1 mrg 4773 1.1 mrg 2004-03-03 Paolo Carlini <pcarlini (a] suse.de> 4774 1.1 mrg 4775 1.1 mrg * include/bits/locale_facets.tcc (money_put<>::_M_insert): 4776 1.1 mrg Deal properly with empty __digits and negative frac_digits, 4777 1.1 mrg clean-up a bit. 4778 1.1 mrg 4779 1.1 mrg 2004-03-03 Jonathan Wakely <redi (a] gcc.gnu.org> 4780 1.1 mrg 4781 1.1 mrg * docs/html/documentation.html: Regenerate. 4782 1.1 mrg 4783 1.1 mrg 2004-03-02 Paolo Carlini <pcarlini (a] suse.de> 4784 1.1 mrg 4785 1.1 mrg PR libstdc++/14320 4786 1.1 mrg * include/bits/postypes.h (class streamoff): Remove, now 4787 1.1 mrg streamoff is just typedef a 64 bit signed integer type. 4788 1.1 mrg (class fpos): Tweak consistently. 4789 1.1 mrg * testsuite/27_io/fpos/14320-1.cc: New. 4790 1.1 mrg * testsuite/27_io/fpos/14320-2.cc: New. 4791 1.1 mrg * testsuite/27_io/fpos/14320-3.cc: New. 4792 1.1 mrg * testsuite/27_io/fpos/14320-4.cc: New. 4793 1.1 mrg * testsuite/27_io/fpos/14320-5.cc: New. 4794 1.1 mrg * testsuite/27_io/fpos/mbstate_t/4_neg.cc: xfail for now. 4795 1.1 mrg 4796 1.1 mrg 2004-03-02 Paolo Carlini <pcarlini (a] suse.de> 4797 1.1 mrg 4798 1.1 mrg * include/bits/locale_facets.tcc (money_get<>::_M_extract): 4799 1.1 mrg Reorganize a bit the main parsing loop, thus early detecting 4800 1.1 mrg an empty value component. 4801 1.1 mrg * testsuite/22_locale/money_get/get/char/16.cc: New. 4802 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/16.cc: New. 4803 1.1 mrg 4804 1.1 mrg 2004-03-02 Benjamin Kosnik <bkoz (a] redhat.com> 4805 1.1 mrg 4806 1.1 mrg Support automake 1.8.2 4807 1.1 mrg * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override. 4808 1.1 mrg * po/Makefile.am (EXTRA_DIST): New. 4809 1.1 mrg * po/Makefile.in: Regenerate. 4810 1.1 mrg * Makefile.in: Same. 4811 1.1 mrg * include/Makefile.in: Same. 4812 1.1 mrg * libmath/Makefile.in: Same. 4813 1.1 mrg * libsupc++/Makefile.in: Same. 4814 1.1 mrg * src/Makefile.in: Same. 4815 1.1 mrg * testsuite/Makefile.in: Same. 4816 1.1 mrg 4817 1.1 mrg * include/Makefile.am (${host_builddir}/gthr-posix.h): Use 4818 1.1 mrg __GXX_WEAK__ instead of SUPPORTS_WEAK. 4819 1.1 mrg (${host_builddir}/gthr-default.h): Same. 4820 1.1 mrg (${host_builddir}/gthr.h): Same. 4821 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_THREAD): Remove 4822 1.1 mrg _GLIBCXX_SUPPORTS_WEAK, as this behavior can be modified via 4823 1.1 mrg -fno-weak. 4824 1.1 mrg * aclocal.m4: Regenerate. 4825 1.1 mrg * acconfig.h: Remove _GLIBCXX_SUPPORTS_WEAK. 4826 1.1 mrg * config.h.in: Regenerate. 4827 1.1 mrg * configure: Same. 4828 1.1 mrg 4829 1.1 mrg 2004-03-01 Benjamin Kosnik <bkoz (a] redhat.com> 4830 1.1 mrg 4831 1.1 mrg Support autoconf 2.59 4832 1.1 mrg * acinclude.m4: Quote correctly. 4833 1.1 mrg * aclocal.m4: Regenerate. 4834 1.1 mrg * linkage.m4: Same. 4835 1.1 mrg 4836 1.1 mrg 2004-03-01 Benjamin Kosnik <bkoz (a] redhat.com> 4837 1.1 mrg 4838 1.1 mrg * docs/html/test.html: Add multilib RUNTESTFLAGS example. 4839 1.1 mrg 4840 1.1 mrg * docs/html/18_support/howto.html: Add bit about writing to 4841 1.1 mrg stderr, mostly by Zack. 4842 1.1 mrg 4843 1.1 mrg 2004-03-01 Paolo Carlini <pcarlini (a] suse.de> 4844 1.1 mrg 4845 1.1 mrg * include/bits/locale_facets.tcc (money_get<>::_M_extract, 4846 1.1 mrg money_get<>::do_get(string_type&)): ... and two more. 4847 1.1 mrg 4848 1.1 mrg 2004-03-01 Paolo Carlini <pcarlini (a] suse.de> 4849 1.1 mrg 4850 1.1 mrg * include/bits/locale_facets.tcc (money_get<>::_M_extract): 4851 1.1 mrg Fix thinkos in the switch from string_type& to string& as last 4852 1.1 mrg argument. 4853 1.1 mrg 4854 1.1 mrg 2004-03-01 Paolo Carlini <pcarlini (a] suse.de> 4855 1.1 mrg 4856 1.1 mrg * include/bits/locale_facets.tcc (num_get<>::_M_extract_float): 4857 1.1 mrg Also when parsing exponent sign, first look for thousands_sep 4858 1.1 mrg and decimal_point; tweak a bit. 4859 1.1 mrg * testsuite/22_locale/num_get/get/char/15.cc: New. 4860 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/15.cc: New. 4861 1.1 mrg 4862 1.1 mrg * include/bits/locale_facets.tcc (num_get<>::_M_extract_float, 4863 1.1 mrg num_get<>::_M_extract_int): Reorder some conditionals. 4864 1.1 mrg 4865 1.1 mrg 2004-03-01 Paolo Carlini <pcarlini (a] suse.de> 4866 1.1 mrg 4867 1.1 mrg * include/bits/locale_facets.tcc (money_get<>::_M_extract): 4868 1.1 mrg Consistently with numpunct, enforce the requirements in 4869 1.1 mrg 22.2.6.3, p3 for the thousands separators; tweak a bit. 4870 1.1 mrg * testsuite/22_locale/money_get/get/char/15.cc: New. 4871 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/15.cc: New. 4872 1.1 mrg 4873 1.1 mrg 2004-03-01 David Billinghurst <David.Billinghurst (a] riotinto.com> 4874 1.1 mrg 4875 1.1 mrg * testsuite/lib/libstdc++.exp (v3-list-tests): Use 4876 1.1 mrg testsuite_files from correct multilib blddir when running 4877 1.1 mrg testsuite. 4878 1.1 mrg 4879 1.1 mrg 2004-02-29 Phil Edwards <phil (a] codesourcery.com> 4880 1.1 mrg 4881 1.1 mrg * testsuite/Makefile.am (check-abi, check-abi-verbose): Copy 4882 1.1 mrg the summary file to the logfile. 4883 1.1 mrg * testsuite/Makefile.in: Regenerate. 4884 1.1 mrg 4885 1.1 mrg 2004-02-28 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca> 4886 1.1 mrg 4887 1.1 mrg * config/cpu/hppa/atomicity.h (__atomic_add): Make first argument 4888 1.1 mrg volatile. 4889 1.1 mrg * config/os/hpux/os_defines.h (_GLIBCXX_INST_ATOMICITY_LOCK): Use 4890 1.1 mrg __GXX_WEAK__ instead of _GLIBCXX_SUPPORTS_WEAK. 4891 1.1 mrg 4892 1.1 mrg 2004-02-28 Paolo Carlini <pcarlini (a] suse.de> 4893 1.1 mrg 4894 1.1 mrg * include/bits/locale_facets.tcc (num_get<>::_M_extract_float): 4895 1.1 mrg According to 22.2.3.1, p2, 'units' may be followed by 'e' with 4896 1.1 mrg no 'decimal-point' in the middle: in this case too we must fix 4897 1.1 mrg up __found_grouping; slightly tweak. 4898 1.1 mrg * testsuite/22_locale/num_get/get/char/14.cc: New. 4899 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/14.cc: New. 4900 1.1 mrg 4901 1.1 mrg 2004-02-27 Eric Christopher <echristo (a] redhat.com> 4902 1.1 mrg Phil Edwards <phil (a] codesourcery.com> 4903 1.1 mrg 4904 1.1 mrg * testsuite/22_locale/collate/compare/wchar_t/2.cc, 4905 1.1 mrg testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc, 4906 1.1 mrg testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc, 4907 1.1 mrg testsuite/22_locale/collate/hash/wchar_t/2.cc, 4908 1.1 mrg testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc, 4909 1.1 mrg testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc, 4910 1.1 mrg testsuite/22_locale/collate/transform/wchar_t/2.cc, 4911 1.1 mrg testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc, 4912 1.1 mrg testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: 4913 1.1 mrg Use dg-require-iconv. 4914 1.1 mrg * testsuite/lib/libstdc++.exp: Load target-supports.exp. 4915 1.1 mrg 4916 1.1 mrg 2004-02-27 Phil Edwards <phil (a] codesourcery.com> 4917 1.1 mrg Eric Christopher <echristo (a] redhat.com> 4918 1.1 mrg 4919 1.1 mrg * testsuite/config/default.exp: Update with comments. 4920 1.1 mrg (${tool}_target_compile): New wrapper routine. 4921 1.1 mrg * testsuite/lib/dg-options.exp: New file, with dg-require-iconv. 4922 1.1 mrg * testsuite/lib/libstdc++.exp: Update with comments and cosmetic 4923 1.1 mrg fixes. 4924 1.1 mrg (load_gcc_lib, v3track): New routines. 4925 1.1 mrg (v3-init): Rename to libstdc++_init. 4926 1.1 mrg * testsuite/libstdc++-dg/normal.exp: No longer call v3-init. 4927 1.1 mrg Move DEFAULT_CXXFLAGS handling into libstdc++_init. 4928 1.1 mrg 4929 1.1 mrg 2004-02-27 Benjamin Kosnik <bkoz (a] redhat.com> 4930 1.1 mrg 4931 1.1 mrg * config/cpu/hppa/atomicity.h: Include c++config.h to get defines. 4932 1.1 mrg 4933 1.1 mrg * src/misc-inst.cc (_S_atomicity_lock): Move to __gnu_cxx. 4934 1.1 mrg 4935 1.1 mrg * config/os/irix/irix5.2/atomicity.h: Merge.. 4936 1.1 mrg * config/os/irix/irix6.5/atomicity.h: Merge.. 4937 1.1 mrg * config/os/irix/atomicity.h: ...into this. 4938 1.1 mrg * config/os/irix/atomic_word.h: New. 4939 1.1 mrg * configure.host: Set atomic_word_dir for irix. 4940 1.1 mrg 4941 1.1 mrg * hppa/atomicity.h: Change __Atomicity_lock to _Atomicity_lock. 4942 1.1 mrg * i386/atomicity.h: Same. 4943 1.1 mrg * m68k/atomicity.h: Same. 4944 1.1 mrg * sparc/atomicity.h: Same. 4945 1.1 mrg 4946 1.1 mrg 2004-02-27 David Edelsohn <edelsohn (a] gnu.org> 4947 1.1 mrg 4948 1.1 mrg * config/os/aix/atomicity.h: Use __gnu_cxx namespace. Remove 4949 1.1 mrg static, and inline keywords. 4950 1.1 mrg 4951 1.1 mrg 2004-02-27 Paolo Carlini <pcarlini (a] suse.de> 4952 1.1 mrg 4953 1.1 mrg * include/bits/locale_facets.tcc (num_get<>::_M_extract_float, 4954 1.1 mrg num_get<>::_M_extract_int, money_get<>::_M_extract): If appropriate, 4955 1.1 mrg call reserve on the __tmp_gruping string. 4956 1.1 mrg (num_get<>::_M_extract_float): Don't append unnecessarily a 4957 1.1 mrg char() to the returned string. 4958 1.1 mrg * include/bits/locale_facets.tcc: Trivial reformattings. 4959 1.1 mrg 4960 1.1 mrg 2004-02-27 Paolo Carlini <pcarlini (a] suse.de> 4961 1.1 mrg 4962 1.1 mrg * include/bits/locale_facets.h (money_get<>::_M_extract): 4963 1.1 mrg Change signature: now takes a plain string&. 4964 1.1 mrg * include/bits/locale_facets.tcc (money_get<>::_M_extract): 4965 1.1 mrg Update consistently the definition; use the moneypunct cache 4966 1.1 mrg to parse the value; use swap to change __units. 4967 1.1 mrg (money_get<>::do_get(long double&)): Update call of _M_extract, 4968 1.1 mrg avoid ctype::narrow, not correct wrt the standard. 4969 1.1 mrg (money_get<>::do_get(string_type&)): Likewise, update call 4970 1.1 mrg of _M_extract, use ctype::widen. 4971 1.1 mrg * src/locale-inst.cc: Tweak instantiations of _M_extract. 4972 1.1 mrg 4973 1.1 mrg 2004-02-26 Ian Lance Taylor <ian (a] wasabisystems.com> 4974 1.1 mrg 4975 1.1 mrg * testsuite/demangle/abi_examples/01.cc: Expect error -2. 4976 1.1 mrg * testsuite/demangle/abi_examples/02.cc: Likewise. 4977 1.1 mrg * testsuite/demangle/regression/cw-11.cc: Likewise. 4978 1.1 mrg * testsuite/demangle/regression/cw-16.cc: Change two expected 4979 1.1 mrg results to match libiberty demangler output. 4980 1.1 mrg 4981 1.1 mrg 2004-02-26 Benjamin Kosnik <bkoz (a] redhat.com> 4982 1.1 mrg 4983 1.1 mrg PR libstdc++/10246 4984 1.1 mrg * libsupc++/Makefile.am: Use libiberty demangler. 4985 1.1 mrg (c_sources): Add cp-demangle.c. 4986 1.1 mrg * libsupc++/Makefile.in: Regenerate. 4987 1.1 mrg * src/Makefile.am (sources): Remove demangle.cc. 4988 1.1 mrg * src/Makefile.in: Regenerate. 4989 1.1 mrg * include/Makefile.am (bits_headers): Move demangle.h. 4990 1.1 mrg (ext_headers): ...here. 4991 1.1 mrg * include/Makefile.in: Regenerate. 4992 1.1 mrg * include/bits/demangle.h: Move... 4993 1.1 mrg * include/ext/demangle.h: ...here. 4994 1.1 mrg * src/demangle.cc: Remove. 4995 1.1 mrg 4996 1.1 mrg 2004-02-26 Benjamin Kosnik <bkoz (a] redhat.com> 4997 1.1 mrg 4998 1.1 mrg * include/bits/demangle.h: Add type template parameter to all 4999 1.1 mrg templates with just an Allocator template parameter. 5000 1.1 mrg 5001 1.1 mrg 2004-02-25 Benjamin Kosnik <bkoz (a] redhat.com> 5002 1.1 mrg 5003 1.1 mrg * include/bits/atomicity.h: New, forward declarations for __atomic_add 5004 1.1 mrg and __exchange_and_add. 5005 1.1 mrg * config/cpu/generic/atomic_word.h: New, typdef for atomic word. 5006 1.1 mrg * config/cpu/cris/atomic_word.h: Same. 5007 1.1 mrg * config/cpu/sparc/atomic_word.h: Same. 5008 1.1 mrg * include/bits/ios_base.h (_Callback_list::_M_remove_reference): 5009 1.1 mrg Qualifiy with __gnu_cxx. 5010 1.1 mrg (_Callback_list::_M_add_reference): Same. 5011 1.1 mrg * include/bits/locale_classes.h (locale::facet::_M_add_reference): Add. 5012 1.1 mrg (locale::facet::_M_remove_reference): Same. 5013 1.1 mrg (locale::_Impl::_M_add_reference): Add. 5014 1.1 mrg (locale::_Impl::_M_remove_reference): Same. 5015 1.1 mrg * include/bits/basic_string.h (basic_string::_Rep::_M_refcopy): Same. 5016 1.1 mrg (basic_string::_Rep::_M_dispose): Same. 5017 1.1 mrg * src/ios.cc (ios_base::xalloc): Same. 5018 1.1 mrg * src/ios_init.cc (ios_base::Init::Init): Same. 5019 1.1 mrg (ios_base::Init::~Init): Same. 5020 1.1 mrg * src/locale.cc (locale::id::_M_id): Same. 5021 1.1 mrg * config/cpu/i486/atomicity.h: Use __gnu_cxx namespace. Remove 5022 1.1 mrg static, and inline keywords. 5023 1.1 mrg * config/cpu/alpha/atomicity.h: Same. 5024 1.1 mrg * config/cpu/cris/atomicity.h: Same. 5025 1.1 mrg * config/cpu/generic/atomicity.h: Same. 5026 1.1 mrg * config/cpu/hppa/atomicity.h: Same. 5027 1.1 mrg * config/cpu/i386/atomicity.h: Same. 5028 1.1 mrg * config/cpu/ia64/atomicity.h: Same. 5029 1.1 mrg * config/cpu/m68k/atomicity.h: Same. 5030 1.1 mrg * config/cpu/mips/atomicity.h: Same. 5031 1.1 mrg * config/cpu/powerpc/atomicity.h: Same. 5032 1.1 mrg * config/cpu/s390/atomicity.h: Same. 5033 1.1 mrg * config/cpu/sparc/atomicity.h: Same. 5034 1.1 mrg 5035 1.1 mrg * src/Makefile.am (host_sources): Add atomicity.cc. 5036 1.1 mrg (atomicity.cc): New rule. 5037 1.1 mrg * src/Makefile.in: Regenerate. 5038 1.1 mrg * include/Makefile.am (host_headers): Remove host atomicity.h. 5039 1.1 mrg (host_headers): Add atomic_word.h. 5040 1.1 mrg (bits_headers): Add bits atomicity.h. 5041 1.1 mrg Change ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR. 5042 1.1 mrg * include/Makefile.in: Regenerate. 5043 1.1 mrg * configure.host (atomic_word_dir): Add. 5044 1.1 mrg * configure.ac: Substitute ATOMIC_WORD_SRCDIR. Change 5045 1.1 mrg ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR. 5046 1.1 mrg * configure: Regenerate. 5047 1.1 mrg * config/linker-map.gnu: Export __exchange_and_add, and __atomic_add. 5048 1.1 mrg 5049 1.1 mrg * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers. 5050 1.1 mrg * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. 5051 1.1 mrg 5052 1.1 mrg 2004-02-25 Jonathan Wakely <redi (a] gcc.gnu.org> 5053 1.1 mrg 5054 1.1 mrg * docs/html/20_util/howto.html, docs/html/20_util/allocator.html, 5055 1.1 mrg docs/html/ext/howto.html, docs/html/ext/mt_allocator.html: 5056 1.1 mrg Fix markup, more <link> tags. 5057 1.1 mrg 5058 1.1 mrg 2004-02-25 Carlo Wood <carlo (a] alinoe.com> 5059 1.1 mrg 5060 1.1 mrg * bits/demangle.h 5061 1.1 mrg namespace __gnu_cxx::demangler 5062 1.1 mrg (session<Allocator>::qualifier_list_Allocator): Add 5063 1.1 mrg (session<Allocator>::M_qualifier_list_alloc): Add 5064 1.1 mrg (session<Allocator>::decode_type_with_postfix): 5065 1.1 mrg Use M_qualifier_list_alloc instead of calling operator new/delete. 5066 1.1 mrg 5067 1.1 mrg 2004-02-24 Paolo Carlini <pcarlini (a] suse.de> 5068 1.1 mrg 5069 1.1 mrg PR libstdc++/14252 5070 1.1 mrg * include/bits/postypes.h (class streamoff): Add operator++(), 5071 1.1 mrg operator++(int), operator--() and operator--(int). 5072 1.1 mrg * testsuite/27_io/fpos/14252.cc: New. 5073 1.1 mrg 5074 1.1 mrg 2004-02-24 Richard Sandiford <rsandifo (a] redhat.com> 5075 1.1 mrg 5076 1.1 mrg * include/bits/locale_facets.tcc (num_get::_M_extract_int): Fix bounds 5077 1.1 mrg error in handling of hex constants. 5078 1.1 mrg 5079 1.1 mrg 2004-02-24 Paolo Carlini <pcarlini (a] suse.de> 5080 1.1 mrg 5081 1.1 mrg * include/bits/locale_facets.tcc (money_put<>::_M_insert): 5082 1.1 mrg Prefer basic_string::append to operator+= and a temporary. 5083 1.1 mrg 5084 1.1 mrg 2004-02-23 Benjamin Kosnik <bkoz (a] redhat.com> 5085 1.1 mrg 5086 1.1 mrg * libsupc++/vterminate.cc (__gnu_cxx::__verbose_terminate_handler): 5087 1.1 mrg Only use fputs, not write. 5088 1.1 mrg 5089 1.1 mrg 2004-02-23 Benjamin Kosnik <bkoz (a] redhat.com> 5090 1.1 mrg 5091 1.1 mrg * include/ext/malloc_allocator.h: Add operators ==, !=. 5092 1.1 mrg * include/ext/new_allocator.h: Add operators ==, !=. 5093 1.1 mrg * include/ext/mt_allocator.h (__mt_alloc::tune): New. 5094 1.1 mrg (__mt_alloc::_S_get_options): New. 5095 1.1 mrg (__mt_alloc::_S_set_options): New. 5096 1.1 mrg (__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key. 5097 1.1 mrg (__mt_alloc::_S_no_of_bins): To _S_bin_size. 5098 1.1 mrg Move functions out of line, simplify, format. 5099 1.1 mrg * src/allocator.cc: Simplify explicit instantiations. 5100 1.1 mrg * include/bits/allocator.h: Tweak. 5101 1.1 mrg 5102 1.1 mrg 2004-02-22 Paolo Carlini <pcarlini (a] suse.de> 5103 1.1 mrg 5104 1.1 mrg * include/bits/locale_facets.tcc (money_put<>::_M_insert): 5105 1.1 mrg Restructure formatting of value component, first dealing with 5106 1.1 mrg the non-decimal digits; use reserve. 5107 1.1 mrg 5108 1.1 mrg 2004-02-22 Paolo Carlini <pcarlini (a] suse.de> 5109 1.1 mrg 5110 1.1 mrg * include/bits/locale_facets.h (class money_get): Inherit 5111 1.1 mrg from money_base too; tweak declaration of _M_extract, now 5112 1.1 mrg parameterized on _Intl too. 5113 1.1 mrg * include/bits/locale_facets.tcc (money_get<>::_M_extract): 5114 1.1 mrg Update definition to use the cache; call reserve on __res to 5115 1.1 mrg avoid multiple reallocations; fix parsing of sign component 5116 1.1 mrg according to 22.2.6.1.2, p3. 5117 1.1 mrg (money_get<>::do_get(long double&), 5118 1.1 mrg money_get<>::do_get(string_type&)): Update calls of _M_extract. 5119 1.1 mrg * src/locale-inst.cc: Add instantiations of 5120 1.1 mrg money_get::_M_extract<false> and money_get::_M_extract<true>. 5121 1.1 mrg * testsuite/22_locale/money_get/get/char/14.cc: New. 5122 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/14.cc: Ditto. 5123 1.1 mrg 5124 1.1 mrg 2004-02-21 Mark Mitchell <mark (a] codesourcery.com> 5125 1.1 mrg 5126 1.1 mrg * libsupc++/vterminate.cc 5127 1.1 mrg (__gnu_cxx::__verbose_terminate_handler): Guard against recursive 5128 1.1 mrg calls to terminate. 5129 1.1 mrg * src/demangle.cc (__cxa_demangle): Wrap in try-catch block. 5130 1.1 mrg 5131 1.1 mrg * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do 5132 1.1 mrg not set RLIMIT_AS on HP-UX. 5133 1.1 mrg 5134 1.1 mrg 2004-02-21 Mark Mitchell <mark (a] codesourcery.com> 5135 1.1 mrg 5136 1.1 mrg * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do 5137 1.1 mrg not set RLIMIT_AS on HP-UX. 5138 1.1 mrg 5139 1.1 mrg 2004-02-21 Paolo Carlini <pcarlini (a] suse.de> 5140 1.1 mrg 5141 1.1 mrg * include/bits/locale_facets.h (class money_base): Add { _S_minus, 5142 1.1 mrg _S_zero, _S_end } enum, _S_atoms. 5143 1.1 mrg (struct __moneypunct_cache<>): Parameterize on _Intl too; add 5144 1.1 mrg _M_grouping_size, _M_curr_symbol_size, _M_positive_sign_size, 5145 1.1 mrg _M_negative_sign_size, _M_atoms; tweak constructor consistently. 5146 1.1 mrg (__moneypunct_cache<>::~__moneypunct_cache): Update. 5147 1.1 mrg (__moneypunct_cache<>::_M_cache): Fill the cache. 5148 1.1 mrg (class moneypunct): Tweak __cache_type typedef. 5149 1.1 mrg (class money_put): Inherit from money_base too; tweak declaration 5150 1.1 mrg of _M_insert, now parameterized on _Intl. 5151 1.1 mrg * include/bits/locale_facets.tcc 5152 1.1 mrg (struct __use_cache<__moneypunct_cache<_CharT, _Intl> >): New. 5153 1.1 mrg (money_put<>::_M_insert): Update definition to use the cache; 5154 1.1 mrg call reserve on __res to avoid multiple reallocations. 5155 1.1 mrg (money_put<>::do_put(long double), 5156 1.1 mrg money_put<>::do_put(const string_type&): Update calls of _M_insert. 5157 1.1 mrg * config/locale/generic/monetary_members.cc 5158 1.1 mrg (moneypunct<char, true>::_M_initialize_moneypunct, 5159 1.1 mrg moneypunct<char, false>::_M_initialize_moneypunct, 5160 1.1 mrg moneypunct<wchar_t, true>::_M_initialize_moneypunct, 5161 1.1 mrg moneypunct<wchar_t, false>::_M_initialize_moneypunct): Update. 5162 1.1 mrg * config/locale/gnu/monetary_members.cc: Likewise. 5163 1.1 mrg * config/locale/gnu/monetary_members.cc 5164 1.1 mrg (moneypunct<wchar_t, true>::~moneypunct(), 5165 1.1 mrg moneypunct<wchar_t, false>::~moneypunct()): Likewise. 5166 1.1 mrg * src/globals_locale.cc: Tweak fake_money_cache_c. 5167 1.1 mrg * src/locale-inst.cc: Add instantiations for 5168 1.1 mrg money_put::_M_insert<false> and money_put::_M_insert<true> and 5169 1.1 mrg __moneypunct_cache<C, false>, __moneypunct_cache<C, true>. 5170 1.1 mrg * src/locale_facets.cc: Define money_base::_S_atoms. 5171 1.1 mrg * src/locale_init.cc: Update placement new of 5172 1.1 mrg __moneypunct_cache<char, false>, __moneypunct_cache<char, true>, 5173 1.1 mrg __moneypunct_cache<wchar_t, false>, __moneypunct_cache<wchar_T, true>. 5174 1.1 mrg 5175 1.1 mrg * config/locale/generic/numeric_members.cc: Clean up. 5176 1.1 mrg * config/locale/gnu/numeric_members.cc: Likewise. 5177 1.1 mrg * testsuite/22_locale/money_put/put/char/1.cc: Likewise. 5178 1.1 mrg * testsuite/22_locale/money_put/put/char/2.cc: Likewise. 5179 1.1 mrg * testsuite/22_locale/money_put/put/char/3.cc: Likewise. 5180 1.1 mrg * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise. 5181 1.1 mrg * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise. 5182 1.1 mrg * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise. 5183 1.1 mrg 5184 1.1 mrg 2004-02-20 Mark Mitchell <mark (a] codesourcery.com> 5185 1.1 mrg 5186 1.1 mrg * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Open 5187 1.1 mrg FIFO for writing with ios_base::in|ios_base::out. 5188 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. 5189 1.1 mrg * testsuite/27_io/objects/char/7.cc: Likewise. 5190 1.1 mrg * testsuite/27_io/objects/char/9661-1.cc: Open FIFO for writing 5191 1.1 mrg with "r+". 5192 1.1 mrg 5193 1.1 mrg 2004-02-19 David Edelsohn <edelsohn (a] gnu.org> 5194 1.1 mrg 5195 1.1 mrg * 22_locale/collate/compare/wchar_t/2.cc: Change input-charset 5196 1.1 mrg from iso-8859-1 to ISO8859-1. 5197 1.1 mrg * 22_locale/collate/compare/wchar_t/wrapped_env.cc: Same. 5198 1.1 mrg * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: Same. 5199 1.1 mrg * 22_locale/collate/hash/wchar_t/2.cc: Same. 5200 1.1 mrg * 22_locale/collate/hash/wchar_t/wrapped_env.cc: Same. 5201 1.1 mrg * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: Same. 5202 1.1 mrg * 22_locale/collate/transform/wchar_t/2.cc: Same. 5203 1.1 mrg * 22_locale/collate/transform/wchar_t/wrapped_env.cc: Same. 5204 1.1 mrg * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: Same. 5205 1.1 mrg 5206 1.1 mrg 2004-02-18 Paolo Carlini <pcarlini (a] suse.de> 5207 1.1 mrg 5208 1.1 mrg * include/bits/locale_facets.h (money_get<>::_M_extract): 5209 1.1 mrg New, helper for do_get. 5210 1.1 mrg (money_put<>::_M_insert): Likewise, for do_put. 5211 1.1 mrg * include/bits/locale_facets.tcc (money_get<>::_M_extract, 5212 1.1 mrg money_put<>::_M_insert): Define. 5213 1.1 mrg (money_get<>::do_get(long double&), money_get<>::do_get( 5214 1.1 mrg string_type&), money_put::do_put(long double), 5215 1.1 mrg money_put::do_put(const string_type&)): Use the helpers. 5216 1.1 mrg 5217 1.1 mrg 2004-02-18 Paolo Carlini <pcarlini (a] suse.de> 5218 1.1 mrg 5219 1.1 mrg * config/io/basic_file_stdio.cc (__gnu_internal::xwritev): 5220 1.1 mrg Rewrite, avoiding recursion. 5221 1.1 mrg (__gnu_internal::xwrite): Minor tweaks. 5222 1.1 mrg 5223 1.1 mrg 2004-02-17 Stefan Olsson <stefan (a] xapa.se> 5224 1.1 mrg 5225 1.1 mrg * include/ext/mt_allocator.h: Removed the last 5226 1.1 mrg pointer. Deallocated blocks are now added to the front of 5227 1.1 mrg freelists as proposed by Felix Yen. This gives roughly 10% 5228 1.1 mrg performance boost and saves some memory. 5229 1.1 mrg * docs/html/ext/mt_allocator.html: Change due to that deallocated 5230 1.1 mrg blocks now are added to the front of freelists. The reason to this 5231 1.1 mrg approach is also explained. 5232 1.1 mrg 5233 1.1 mrg 2004-02-17 Paolo Carlini <pcarlini (a] suse.de> 5234 1.1 mrg 5235 1.1 mrg * include/bits/locale_facets.tcc (num_get<>::_M_extract_float, 5236 1.1 mrg num_get<>::_M_extract_int, money_get<>::do_get): Simplify 5237 1.1 mrg grouping fidelity conditional. 5238 1.1 mrg 5239 1.1 mrg 2004-02-16 Paolo Carlini <pcarlini (a] suse.de> 5240 1.1 mrg 5241 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/char/13858.cc: 5242 1.1 mrg Qualify exception with std::. 5243 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Ditto. 5244 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto. 5245 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto. 5246 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto. 5247 1.1 mrg * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto. 5248 1.1 mrg 5249 1.1 mrg 2004-02-16 Paolo Carlini <pcarlini (a] suse.de> 5250 1.1 mrg 5251 1.1 mrg * testsuite/ext/enc_filebuf/char/13189.cc: Don't check 5252 1.1 mrg for now that the catch block is not reached. 5253 1.1 mrg * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise. 5254 1.1 mrg 5255 1.1 mrg 2004-02-16 Paolo Carlini <pcarlini (a] suse.de> 5256 1.1 mrg 5257 1.1 mrg * include/bits/locale_facets.tcc (money_get::do_get(string_type&)): 5258 1.1 mrg Fix parsing of the remaining sign characters. 5259 1.1 mrg * 22_locale/money_get/get/char/2.cc: Tweak: now, correctly, 5260 1.1 mrg the input is scanned 'til eof. 5261 1.1 mrg * 22_locale/money_get/get/char/4.cc: Likewise. 5262 1.1 mrg * 22_locale/money_get/get/wchar_t/2.cc: Likewise. 5263 1.1 mrg * 22_locale/money_get/get/wchar_t/4.cc: Likewise. 5264 1.1 mrg * 22_locale/money_get/get/char/8.cc: Tweak: override do_neg_format, 5265 1.1 mrg not do_pos_format: the former is the only one that matters during 5266 1.1 mrg input. 5267 1.1 mrg * 22_locale/money_get/get/wchar_t/8.cc: Likewise. 5268 1.1 mrg 5269 1.1 mrg * 22_locale/money_get/get/char/6.cc: Minor tweak. 5270 1.1 mrg * 22_locale/money_get/get/wchar_t/6.cc: Likewise. 5271 1.1 mrg 5272 1.1 mrg 2004-02-15 David Asher <david.asher (a] cavium.com> 5273 1.1 mrg 5274 1.1 mrg PR libstdc++/11352 5275 1.1 mrg * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't 5276 1.1 mrg access __olds beyond __oldlen. 5277 1.1 mrg 5278 1.1 mrg 2004-02-14 Paolo Carlini <pcarlini (a] suse.de> 5279 1.1 mrg 5280 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Make 5281 1.1 mrg sure the exception is actually thrown. 5282 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto. 5283 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto. 5284 1.1 mrg * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto. 5285 1.1 mrg 5286 1.1 mrg 2004-02-14 Paolo Carlini <pcarlini (a] suse.de> 5287 1.1 mrg 5288 1.1 mrg PR libstdc++/13858 5289 1.1 mrg * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external): 5290 1.1 mrg In case of conversion errors, throw ios_failure; simplify. 5291 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/char/13858.cc: New. 5292 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto. 5293 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Tweak, 5294 1.1 mrg previously we didn't throw in case of conversion errors, instead 5295 1.1 mrg just returned eof(). 5296 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto. 5297 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto. 5298 1.1 mrg * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto. 5299 1.1 mrg 5300 1.1 mrg * include/bits/fstream.tcc (basic_filebuf<>::overflow): 5301 1.1 mrg Trivial simplification of a conditional. 5302 1.1 mrg 5303 1.1 mrg 2004-02-12 Paolo Carlini <pcarlini (a] suse.de> 5304 1.1 mrg 5305 1.1 mrg PR libstdc++/13731 (final part: writev) 5306 1.1 mrg * config/io/basic_file_stdio.cc (__gnu_internal::xwritev): 5307 1.1 mrg New, a wrapper around writev() handling partial writes. 5308 1.1 mrg (__basic_file<char>::xwrite): Move to __gnu_internal and make 5309 1.1 mrg static. 5310 1.1 mrg (__basic_file<char>::xsputn): Update call. 5311 1.1 mrg (__basic_file<char>::xsputn_2): Likewise. 5312 1.1 mrg * config/io/basic_file_stdio.h (__basic_file<char>::xwrite): 5313 1.1 mrg Don't declare, now static. 5314 1.1 mrg 5315 1.1 mrg 2004-02-11 Stefan Olsson <stefan (a] xapa.se> 5316 1.1 mrg 5317 1.1 mrg * docs/html/ext/mt_allocator.html: New. 5318 1.1 mrg 5319 1.1 mrg 2004-02-11 Benjamin Kosnik <bkoz (a] redhat.com> 5320 1.1 mrg 5321 1.1 mrg * docs/html/20_util/allocator.html: New file, consolidate 5322 1.1 mrg allocator information here. Revamp. 5323 1.1 mrg * docs/html/documentation.html: Change links. 5324 1.1 mrg * docs/html/20_util/howto.html: Same. 5325 1.1 mrg * docs/html/ext/howto.html: Same. 5326 1.1 mrg 5327 1.1 mrg 2004-02-11 Paolo Carlini <pcarlini (a] suse.de> 5328 1.1 mrg 5329 1.1 mrg PR libstdc++/13731 (first part: write) 5330 1.1 mrg * config/io/basic_file_stdio.h (__basic_file<char>::xwrite): 5331 1.1 mrg New, declare. 5332 1.1 mrg * config/io/basic_file_stdio.cc (__basic_file<char>::xwrite): 5333 1.1 mrg Define it: a wrapper around write() handling partial write. 5334 1.1 mrg (__basic_file<char>::xsputn): Use it. 5335 1.1 mrg (__basic_file<char>::xsputn_2): Likewise. 5336 1.1 mrg 5337 1.1 mrg 2004-02-11 Paolo Carlini <pcarlini (a] suse.de> 5338 1.1 mrg Petur Runolfsson <peturr02 (a] ru.is> 5339 1.1 mrg 5340 1.1 mrg PR libstdc++/14078 5341 1.1 mrg * include/std/std_istream.h (operator>>(__istream_type& (*) 5342 1.1 mrg (__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)), 5343 1.1 mrg operator>>(ios_base& (*)(ios_base&))): Declare inline. 5344 1.1 mrg * include/std/std_ostream.h (operator<<(__ostream_type& (*) 5345 1.1 mrg (__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)), 5346 1.1 mrg operator<<(ios_base& (*) (ios_base&))): Likewise. 5347 1.1 mrg * testsuite/performance/27_io/fmtflags_manipulators.cc: New. 5348 1.1 mrg 5349 1.1 mrg 2004-02-10 Loren J. Rittle <ljrittle (a] acm.org> 5350 1.1 mrg 5351 1.1 mrg PR libstdc++/14098 5352 1.1 mrg * config/linker-map.gnu: Add typeinfo and typeinfo name for 5353 1.1 mrg __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >. 5354 1.1 mrg 5355 1.1 mrg PR libstdc++/14097 5356 1.1 mrg * config/linker-map.gnu: Add typeinfo and typeinfo name for 5357 1.1 mrg __gnu_cxx::stdio_filebuf<char, std::char_traits<char> >. 5358 1.1 mrg 5359 1.1 mrg 2004-02-09 Loren J. Rittle <ljrittle (a] acm.org> 5360 1.1 mrg 5361 1.1 mrg * include/ext/pool_allocator.h: Include c++config.h. 5362 1.1 mrg 5363 1.1 mrg 2004-02-09 Stefan Olsson <stefan (a] xapa.se> 5364 1.1 mrg 5365 1.1 mrg * include/ext/mt_allocator.h: thread_id is unused in non threaded 5366 1.1 mrg applications and now has a ifdef to remove it completely on 5367 1.1 mrg compilers without thread support. Include stdlib.h due to a 5368 1.1 mrg compiler warning on getenv(). 5369 1.1 mrg 5370 1.1 mrg 2004-02-09 Paul Brook <paul (a] codesourcery.com> 5371 1.1 mrg 5372 1.1 mrg * libstdc++-v3/configure.host: Explicitly check for atomicity.h file. 5373 1.1 mrg 5374 1.1 mrg 2004-02-09 Paolo Carlini <pcarlini (a] suse.de> 5375 1.1 mrg 5376 1.1 mrg PR libstdc++/14071 5377 1.1 mrg * src/locale_init.cc (locale::global(const locale&)): Use 5378 1.1 mrg locale::name() in order to decide whether calling setlocale. 5379 1.1 mrg * testsuite/22_locale/locale/global_locale_objects/14071.cc: New. 5380 1.1 mrg 5381 1.1 mrg * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name()): 5382 1.1 mrg Avoid computing &= unnecessarily. 5383 1.1 mrg 5384 1.1 mrg 2004-02-09 James E Wilson <wilson (a] specifixinc.com> 5385 1.1 mrg 5386 1.1 mrg PR libstdc++/5625 5387 1.1 mrg * libsuspc++/eh_personality.cc (PERSONALITY_FUNCTION): Use 5388 1.1 mrg __builtin_extend_pointer. 5389 1.1 mrg 5390 1.1 mrg 2004-02-09 Paolo Carlini <pcarlini (a] suse.de> 5391 1.1 mrg 5392 1.1 mrg PR libstdc++/14072 5393 1.1 mrg * include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale): 5394 1.1 mrg Don't leave dangling pointers. 5395 1.1 mrg * testsuite/27_io/basic_ios/imbue/14072.cc: New. 5396 1.1 mrg * testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put 5397 1.1 mrg facet is needed in the final test. 5398 1.1 mrg 5399 1.1 mrg 2004-02-09 Bernardo Innocenti <bernie (a] develer.com> 5400 1.1 mrg 5401 1.1 mrg * crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*. 5402 1.1 mrg * configure: Regenerate. 5403 1.1 mrg 5404 1.1 mrg 2004-02-08 Richard Henderson <rth (a] redhat.com> 5405 1.1 mrg 5406 1.1 mrg PR libstdc++/14026 5407 1.1 mrg * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust 5408 1.1 mrg uncaughtExceptions during nested catch rethrow. 5409 1.1 mrg * testsuite/18_support/14026.cc: New. 5410 1.1 mrg 5411 1.1 mrg 2004-02-08 Paolo Carlini <pcarlini (a] suse.de> 5412 1.1 mrg 5413 1.1 mrg * include/bits/basic_string.tcc (assign(const _CharT*, size_type)): 5414 1.1 mrg When working in place remember to set the state to sharable 5415 1.1 mrg (otherwise, _M_mutate does it). 5416 1.1 mrg 5417 1.1 mrg 2004-02-08 Bernardo Innocenti <bernie (a] develer.com> 5418 1.1 mrg 5419 1.1 mrg * include/bits/allocator.h, include/bits/basic_ios.h, 5420 1.1 mrg include/bits/basic_ios.tcc, include/bits/basic_string.h, 5421 1.1 mrg include/bits/basic_string.tcc, include/bits/boost_concept_check.h, 5422 1.1 mrg include/bits/char_traits.h, include/bits/codecvt.h, 5423 1.1 mrg include/bits/concurrence.h, include/bits/cpp_type_traits.h, 5424 1.1 mrg include/bits/demangle.h, include/bits/deque.tcc, 5425 1.1 mrg include/bits/fstream.tcc, include/bits/functexcept.h, 5426 1.1 mrg include/bits/gslice.h, include/bits/gslice_array.h, 5427 1.1 mrg include/bits/indirect_array.h, include/bits/ios_base.h, 5428 1.1 mrg include/bits/istream.tcc, include/bits/list.tcc, 5429 1.1 mrg include/bits/locale_classes.h, include/bits/locale_facets.h, 5430 1.1 mrg include/bits/locale_facets.tcc, include/bits/localefwd.h, 5431 1.1 mrg include/bits/mask_array.h, include/bits/ostream.tcc, 5432 1.1 mrg include/bits/postypes.h, include/bits/slice_array.h, 5433 1.1 mrg include/bits/sstream.tcc, include/bits/stl_algo.h, 5434 1.1 mrg include/bits/stl_algobase.h, include/bits/stl_bvector.h, 5435 1.1 mrg include/bits/stl_construct.h, include/bits/stl_deque.h, 5436 1.1 mrg include/bits/stl_function.h, include/bits/stl_heap.h, 5437 1.1 mrg include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h, 5438 1.1 mrg include/bits/stl_list.h, include/bits/stl_map.h, 5439 1.1 mrg include/bits/stl_multimap.h, include/bits/stl_multiset.h, 5440 1.1 mrg include/bits/stl_numeric.h, include/bits/stl_pair.h, 5441 1.1 mrg include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h, 5442 1.1 mrg include/bits/stl_relops.h, include/bits/stl_set.h, 5443 1.1 mrg include/bits/stl_stack.h, include/bits/stl_tempbuf.h, 5444 1.1 mrg include/bits/stl_threads.h, include/bits/stl_tree.h, 5445 1.1 mrg include/bits/stl_uninitialized.h, include/bits/stl_vector.h, 5446 1.1 mrg include/bits/stream_iterator.h, include/bits/streambuf.tcc, 5447 1.1 mrg include/bits/streambuf_iterator.h,include/bits/stringfwd.h, 5448 1.1 mrg include/bits/type_traits.h, include/bits/valarray_after.h, 5449 1.1 mrg include/bits/valarray_array.h, include/bits/valarray_array.tcc, 5450 1.1 mrg include/bits/valarray_before.h, include/bits/vector.tcc: Remove 5451 1.1 mrg trailing whitespace. 5452 1.1 mrg 5453 1.1 mrg 2004-02-06 Paolo Carlini <pcarlini (a] suse.de> 5454 1.1 mrg 5455 1.1 mrg * include/bits/basic_string.h: Fix comment. 5456 1.1 mrg 5457 1.1 mrg 2004-02-06 Paolo Carlini <pcarlini (a] suse.de> 5458 1.1 mrg 5459 1.1 mrg * include/bits/stl_construct.h: Wrap overlong lines, reformat 5460 1.1 mrg according to the coding standards. 5461 1.1 mrg * include/bits/stl_pair.h: Likewise. 5462 1.1 mrg * include/bits/stl_raw_storage_iter.h: Likewise. 5463 1.1 mrg * include/bits/stl_stack.h: Likewise. 5464 1.1 mrg * include/bits/stl_uninitialized.h: Likewise. 5465 1.1 mrg * include/bits/stream_iterator.h: Likewise. 5466 1.1 mrg * include/bits/streambuf_iterator.h: Likewise. 5467 1.1 mrg * include/bits/type_traits.h: Likewise. 5468 1.1 mrg 5469 1.1 mrg 2004-02-06 Paolo Carlini <pcarlini (a] suse.de> 5470 1.1 mrg 5471 1.1 mrg * testsuite/27_io/basic_filebuf/open/char/9507.cc: 5472 1.1 mrg Adjust timings. 5473 1.1 mrg 5474 1.1 mrg 2004-02-05 Loren J. Rittle <ljrittle (a] acm.org> 5475 1.1 mrg 5476 1.1 mrg * scripts/check_performance: Support PCH. 5477 1.1 mrg 5478 1.1 mrg * scripts/check_performance (CXX): Add -DNOTHREAD. 5479 1.1 mrg * testsuite/performance/20_util/allocator/insert.cc: Integrate 5480 1.1 mrg threaded tests from insert_insert.cc. Tweak iterations, 5481 1.1 mrg remove special cases. 5482 1.1 mrg * testsuite/performance/20_util/allocator/insert_insert.cc: 5483 1.1 mrg Make all tests single-threaded. Tweak iterations. 5484 1.1 mrg * testsuite/performance/20_util/allocator/map_thread.cc: 5485 1.1 mrg Tweak iterations. 5486 1.1 mrg * testsuite/performance/20_util/allocator/producer_consumer.cc: 5487 1.1 mrg Likewise. 5488 1.1 mrg 5489 1.1 mrg 2004-02-05 Geoffrey Keating <geoffk (a] apple.com> 5490 1.1 mrg 5491 1.1 mrg PR 12179 5492 1.1 mrg * .cvsignore: New. 5493 1.1 mrg * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not 5494 1.1 mrg 'gcc-lib'. Add comment about poorly-named variables. 5495 1.1 mrg * aclocal.m4: Regenerate. 5496 1.1 mrg * configure: Regenerate. 5497 1.1 mrg 5498 1.1 mrg 2004-02-05 Paolo Carlini <pcarlini (a] suse.de> 5499 1.1 mrg 5500 1.1 mrg * include/bits/locale_facets.tcc (money_get::do_get(string_type&)): 5501 1.1 mrg Thousands-sep are always optional; thousands-sep are not allowed 5502 1.1 mrg after the decimal_point. 5503 1.1 mrg * testsuite/22_locale/money_get/get/char/12.cc: New. 5504 1.1 mrg * testsuite/22_locale/money_get/get/char/13.cc: New. 5505 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/12.cc: New. 5506 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/13.cc: New. 5507 1.1 mrg 5508 1.1 mrg * testsuite/22_locale/money_get/get/char/1.cc: Clean-up. 5509 1.1 mrg * testsuite/22_locale/money_get/get/char/2.cc: Likewise. 5510 1.1 mrg * testsuite/22_locale/money_get/get/char/3.cc: Likewise. 5511 1.1 mrg * testsuite/22_locale/money_get/get/char/4.cc: Likewise. 5512 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise. 5513 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise. 5514 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise. 5515 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise. 5516 1.1 mrg 5517 1.1 mrg * testsuite/22_locale/money_get/get/char/9.cc: Fix citation from 5518 1.1 mrg the standard. 5519 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/9.cc: Likewise. 5520 1.1 mrg 5521 1.1 mrg 2004-02-05 Richard Sandiford <rsandifo (a] redhat.com> 5522 1.1 mrg 5523 1.1 mrg * config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T): 5524 1.1 mrg Define. 5525 1.1 mrg * config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use 5526 1.1 mrg it to decide whether FIONREAD should take an off_t or int argument. 5527 1.1 mrg 5528 1.1 mrg 2004-02-05 Paolo Carlini <pcarlini (a] suse.de> 5529 1.1 mrg 5530 1.1 mrg * include/bits/stl_function.h: Minor formatting changes. 5531 1.1 mrg 5532 1.1 mrg 2004-02-04 Zack Weinberg <zack (a] codesourcery.com> 5533 1.1 mrg 5534 1.1 mrg Revert previous change to config/abi/*/baseline_symbols.txt. 5535 1.1 mrg 5536 1.1 mrg 2004-02-04 Benjamin Kosnik <bkoz (a] redhat.com> 5537 1.1 mrg Zack Weinberg <zack (a] codesourcery.com> 5538 1.1 mrg 5539 1.1 mrg * config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode): 5540 1.1 mrg New function. 5541 1.1 mrg (__basic_file<char>::sys_open, __basic_file<char>::open): Use it. 5542 1.1 mrg (__basic_file<char>::_M_open_mode): Delete. 5543 1.1 mrg * config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode. 5544 1.1 mrg 5545 1.1 mrg * testsuite/27_io/basic_filebuf/close/char/9964.cc 5546 1.1 mrg * testsuite/27_io/basic_filebuf/open/char/9507.cc: 5547 1.1 mrg Correct flags to filebuf::open calls. 5548 1.1 mrg 5549 1.1 mrg * config/abi/alpha-freebsd5/baseline_symbols.txt 5550 1.1 mrg * config/abi/alpha-linux-gnu/baseline_symbols.txt 5551 1.1 mrg * config/abi/hppa-linux-gnu/baseline_symbols.txt 5552 1.1 mrg * config/abi/i386-freebsd4/baseline_symbols.txt 5553 1.1 mrg * config/abi/i386-freebsd5/baseline_symbols.txt 5554 1.1 mrg * config/abi/i486-linux-gnu/baseline_symbols.txt 5555 1.1 mrg * config/abi/ia64-linux-gnu/baseline_symbols.txt 5556 1.1 mrg * config/abi/mips-linux-gnu/baseline_symbols.txt 5557 1.1 mrg * config/abi/sparc-freebsd5/baseline_symbols.txt 5558 1.1 mrg * config/abi/sparc-linux-gnu/baseline_symbols.txt 5559 1.1 mrg * config/abi/x86_64-linux-gnu/baseline_symbols.txt: 5560 1.1 mrg Remove entry for __basic_file<char>::_M_open_mode. 5561 1.1 mrg 5562 1.1 mrg 2004-02-04 Loren J. Rittle <ljrittle (a] acm.org> 5563 1.1 mrg 5564 1.1 mrg * testsuite/performance/20_util/allocator/insert.cc (main): Tweak. 5565 1.1 mrg 5566 1.1 mrg 2004-02-04 Felix Yen <fwy (a] alumni.brown.edu> 5567 1.1 mrg 5568 1.1 mrg * testsuite/performance/20_util/producer_consumer.cc: New. 5569 1.1 mrg * testsuite/performance/20_util/allocator/insert_insert.cc: Two loops. 5570 1.1 mrg 5571 1.1 mrg 2004-02-04 Benjamin Kosnik <bkoz (a] redhat.com> 5572 1.1 mrg 5573 1.1 mrg * testsuite/performance/20_util/allocator.cc: Move to.. 5574 1.1 mrg * testsuite/performance/20_util/allocator/insert.cc: ...here. 5575 1.1 mrg * testsuite/performance/20_util/allocator_thread.cc: Move to... 5576 1.1 mrg * testsuite/performance/20_util/allocator/insert_insert.cc: ...here. 5577 1.1 mrg * testsuite/performance/20_util/allocator_map_thread.cc: Move to... 5578 1.1 mrg * testsuite/performance/20_util/allocator/map_thread.cc: ...here. 5579 1.1 mrg 5580 1.1 mrg 2004-02-04 Jonathan Wakely <redi (a] gcc.gnu.org> 5581 1.1 mrg 5582 1.1 mrg * docs/html/faq/index.html: Recommend using LD_LIBRARY_PATH. 5583 1.1 mrg * docs/html/faq/index.txt: Regenerate. 5584 1.1 mrg 5585 1.1 mrg 2004-02-04 Dhruv Matani <dhruvbird (a] gmx.net> 5586 1.1 mrg 5587 1.1 mrg * include/ext/debug_allocator.h: _M_extra now stands for the 5588 1.1 mrg number of extra objects instead of the number of extra bytes. 5589 1.1 mrg (debug_allocator::allocate): Adjust. 5590 1.1 mrg (debug_allocator::deallocate): Adjust. 5591 1.1 mrg 5592 1.1 mrg * include/ext/pool_allocator.h: Fix typo. 5593 1.1 mrg 5594 1.1 mrg 2004-02-03 Felix Yen <fwy (a] alumni.brown.edu> 5595 1.1 mrg Benjamin Kosnik <bkoz (a] redhat.com> 5596 1.1 mrg 5597 1.1 mrg * testsuite/performance/20_util/allocator.cc: Add map, 5598 1.1 mrg deque, set tests. 5599 1.1 mrg * testsuite/performance/20_util/allocator_thread.cc: Same. 5600 1.1 mrg 5601 1.1 mrg 2004-02-03 Paolo Carlini <pcarlini (a] suse.de> 5602 1.1 mrg 5603 1.1 mrg * include/bits/basic_string.h (insert(iterator)): Remove, 5604 1.1 mrg non-standard and already scheduled for removal. 5605 1.1 mrg 5606 1.1 mrg 2004-02-03 Paolo Carlini <pcarlini (a] suse.de> 5607 1.1 mrg 5608 1.1 mrg * include/bits/stl_iterator_base_funcs.h: Minor formatting 5609 1.1 mrg and indentation tweaks. 5610 1.1 mrg * include/bits/stl_iterator_base_types.h: Likewise. 5611 1.1 mrg * include/bits/stl_list.h: Likewise. 5612 1.1 mrg * include/bits/stl_map.h: Likewise. 5613 1.1 mrg * include/bits/stl_tempbuf.h: Likewise. 5614 1.1 mrg 5615 1.1 mrg 2004-02-02 Jerry Quinn <jlquinn (a] optonline.net> 5616 1.1 mrg 5617 1.1 mrg * include/bits/gslice.h, include/bits/gslice_array.h, 5618 1.1 mrg include/bits/indirect_array.h, include/bits/mask_array.h, 5619 1.1 mrg include/bits/slice_array.h, include/bits/stl_numeric.h, 5620 1.1 mrg include/std/std_valarray.h: Update copyright years. 5621 1.1 mrg 5622 1.1 mrg 2004-02-02 Jerry Quinn <jlquinn (a] optonline.net> 5623 1.1 mrg 5624 1.1 mrg * include/bits/gslice.h (gslice): Document. 5625 1.1 mrg * include/bits/gslice_array.h (gslice_array): Document. 5626 1.1 mrg * include/bits/indirect_array (indirect_array): Document. 5627 1.1 mrg * include/bits/mask_array (mask_array): Document. 5628 1.1 mrg * include/bits/slice_array.h (slice,slice_array): Document. 5629 1.1 mrg * include/bits/stl_numeric.h (accumulate, inner_product, partial_sum, 5630 1.1 mrg adjacent_difference): Document 5631 1.1 mrg * include/std/std_valarray.h (valarray): Document. 5632 1.1 mrg 5633 1.1 mrg 2004-02-02 Benjamin Kosnik <bkoz (a] redhat.com> 5634 1.1 mrg 5635 1.1 mrg * docs/html/19_diagnostics/howto.html: Move verbose terminate 5636 1.1 mrg documentation... 5637 1.1 mrg * docs/html/18_support/howto.html: Here. 5638 1.1 mrg * docs/html/documentation.html: Add reference here. 5639 1.1 mrg 5640 1.1 mrg 2004-02-02 Paolo Carlini <pcarlini (a] suse.de> 5641 1.1 mrg 5642 1.1 mrg * config/locale/gnu/c++locale_internal.h: Remove prototypes 5643 1.1 mrg of no longer used GLIBC thread locale functions. 5644 1.1 mrg 5645 1.1 mrg 2004-02-02 Eric Christopher <echristo (a] redhat.com> 5646 1.1 mrg Zack Weinberg <zack (a] codesourcery.com> 5647 1.1 mrg 5648 1.1 mrg * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use 5649 1.1 mrg -finput-charset. 5650 1.1 mrg * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto. 5651 1.1 mrg * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto 5652 1.1 mrg * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto. 5653 1.1 mrg * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto. 5654 1.1 mrg * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto. 5655 1.1 mrg * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto. 5656 1.1 mrg * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto. 5657 1.1 mrg * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: 5658 1.1 mrg Ditto. 5659 1.1 mrg 5660 1.1 mrg 2004-02-02 Paolo Carlini <pcarlini (a] suse.de> 5661 1.1 mrg 5662 1.1 mrg * include/bits/stl_function.h: Additional minor tweaks. 5663 1.1 mrg * include/bits/stl_multiset.h: Likewise. 5664 1.1 mrg 5665 1.1 mrg * include/bits/stl_queue.h: Minor tweaks. 5666 1.1 mrg 5667 1.1 mrg 2004-02-02 Paolo Carlini <pcarlini (a] suse.de> 5668 1.1 mrg 5669 1.1 mrg PR libstdc++/13976 (continued) 5670 1.1 mrg * include/ext/malloc_allocator.h (malloc_allocator::deallocate): 5671 1.1 mrg Make the second parameter unnamed, to void unused parameter 5672 1.1 mrg warnings. 5673 1.1 mrg * include/ext/new_allocator.h (new_allocator::deallocate): Ditto. 5674 1.1 mrg 5675 1.1 mrg 2004-02-02 Paolo Carlini <pcarlini (a] suse.de> 5676 1.1 mrg 5677 1.1 mrg PR libstdc++/13976 5678 1.1 mrg * include/ext/malloc_allocator.h (malloc_allocator::allocate): 5679 1.1 mrg Make the second parameter unnamed, to void unused parameter 5680 1.1 mrg warnings. 5681 1.1 mrg * include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto. 5682 1.1 mrg * include/ext/new_allocator.h (new_allocator::allocate): Ditto. 5683 1.1 mrg 5684 1.1 mrg 2004-02-01 Paolo Carlini <pcarlini (a] suse.de> 5685 1.1 mrg 5686 1.1 mrg * include/bits/stl_algo.h: Additional minor tweaks. 5687 1.1 mrg * include/bits/stl_map.h: Likewise. 5688 1.1 mrg * include/bits/stl_multimap.h: Likewise. 5689 1.1 mrg * include/bits/stl_multiset.h: Likewise. 5690 1.1 mrg * include/bits/stl_set.h: Likewise. 5691 1.1 mrg * include/bits/stl_tree.h: Likewise. 5692 1.1 mrg 5693 1.1 mrg 2004-02-01 Paolo Carlini <pcarlini (a] suse.de> 5694 1.1 mrg 5695 1.1 mrg * include/bits/vector.tcc (vector::_M_insert_aux(iterator)): 5696 1.1 mrg Remove, unused. 5697 1.1 mrg 5698 1.1 mrg 2004-02-01 Paolo Carlini <pcarlini (a] suse.de> 5699 1.1 mrg 5700 1.1 mrg * include/bits/stl_function.h: Additional minor tweaks. 5701 1.1 mrg 5702 1.1 mrg 2004-02-01 Paolo Carlini <pcarlini (a] suse.de> 5703 1.1 mrg 5704 1.1 mrg * include/bits/deque.tcc: Wrap overlong lines, constify 5705 1.1 mrg a few variables, reformat according to the coding standards. 5706 1.1 mrg * include/bits/list.tcc: Likewise. 5707 1.1 mrg * include/bits/stl_deque.h: Likewise. 5708 1.1 mrg * include/bits/stl_function.h: Likewise. 5709 1.1 mrg * include/bits/stl_iterator.h: Likewise. 5710 1.1 mrg * include/bits/stl_iterator_base_funcs.h: Likewise. 5711 1.1 mrg * include/bits/stl_iterator_base_types.h: Likewise. 5712 1.1 mrg * include/bits/stl_list.h: Likewise. 5713 1.1 mrg * include/bits/stl_map.h: Likewise. 5714 1.1 mrg * include/bits/stl_multimap.h: Likewise. 5715 1.1 mrg * include/bits/stl_multiset.h: Likewise. 5716 1.1 mrg * include/bits/stl_relops.h: Likewise. 5717 1.1 mrg * include/bits/stl_set.h: Likewise. 5718 1.1 mrg 5719 1.1 mrg 2004-02-01 Paolo Carlini <pcarlini (a] suse.de> 5720 1.1 mrg 5721 1.1 mrg * include/bits/stl_bvector.h: Wrap overlong lines, constify 5722 1.1 mrg a few variables, reformat according to the coding standards. 5723 1.1 mrg * include/bits/stl_tree.h: Likewise. 5724 1.1 mrg 5725 1.1 mrg 2004-01-31 Paolo Carlini <pcarlini (a] suse.de> 5726 1.1 mrg 5727 1.1 mrg * include/bits/stl_algo.h: Minor additional reformat, add 5728 1.1 mrg copyright year. 5729 1.1 mrg * include/bits/stl_algobase.h: Add copyright year. 5730 1.1 mrg 5731 1.1 mrg 2004-01-31 Paolo Carlini <pcarlini (a] suse.de> 5732 1.1 mrg 5733 1.1 mrg * include/bits/stl_algo.h: Wrap overlong lines, constify 5734 1.1 mrg a few variables, reformat according to the coding standards. 5735 1.1 mrg * include/bits/stl_algobase.h: Likewise. 5736 1.1 mrg * include/bits/stl_heap.h: Likewise. 5737 1.1 mrg 5738 1.1 mrg 2004-01-31 Paolo Carlini <pcarlini (a] suse.de> 5739 1.1 mrg 5740 1.1 mrg * include/bits/basic_string.h (_Rep::operator[]): Remove, unused. 5741 1.1 mrg 5742 1.1 mrg * include/bits/basic_string.h: Fix two comments. 5743 1.1 mrg 5744 1.1 mrg 2004-01-31 Per Bothner <per (a] bothner.com> 5745 1.1 mrg 5746 1.1 mrg * include/ext/mt_allocator.h 5747 1.1 mrg (__mt_alloc::_S_thread_freelist_mutex): Guard with 5748 1.1 mrg __GTHREAD_MUTEX_INIT. 5749 1.1 mrg 5750 1.1 mrg 2004-01-31 Paolo Carlini <pcarlini (a] suse.de> 5751 1.1 mrg 5752 1.1 mrg * include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak. 5753 1.1 mrg 5754 1.1 mrg 2004-01-30 Paolo Carlini <pcarlini (a] suse.de> 5755 1.1 mrg 5756 1.1 mrg * testsuite/21_strings/basic_string/cons/char/6.cc: New. 5757 1.1 mrg * testsuite/21_strings/basic_string/cons/wchar_t/6.cc: New. 5758 1.1 mrg * testsuite/performance/21_strings/string_cons_input_iterator.cc: New. 5759 1.1 mrg 5760 1.1 mrg 2004-01-30 Felix Yen <fwy (a] alumni.brown.edu> 5761 1.1 mrg 5762 1.1 mrg * testsuite/performance/20_util/allocator_thread.cc (do_loop): 5763 1.1 mrg Don't use clear, but instead assign. Use insert. 5764 1.1 mrg 5765 1.1 mrg 2004-01-30 Benjamin Kosnik <bkoz (a] redhat.com> 5766 1.1 mrg 5767 1.1 mrg * src/demangle.cc: Add instantiations. 5768 1.1 mrg * src/Makefile.am: Remove special rules for demangle.lo, demangle.o. 5769 1.1 mrg * src/Makefile.in: Regenerate. 5770 1.1 mrg 5771 1.1 mrg 2004-01-30 David Edelsohn <edelsohn (a] gnu.org> 5772 1.1 mrg 5773 1.1 mrg * src/allocator.cc: Protect _S_get_thread_id() and 5774 1.1 mrg _S_thread_key_destr() with #ifdef __GTHREADS. 5775 1.1 mrg 5776 1.1 mrg 2004-01-30 Paolo Carlini <pcarlini (a] suse.de> 5777 1.1 mrg 5778 1.1 mrg Reshuffle performance testsuite. 5779 1.1 mrg * testsuite/performance/allocator.cc, allocator_map_thread.cc, 5780 1.1 mrg allocator_thread.cc, complex_norm.cc, container_benchmark.cc, 5781 1.1 mrg cout_insert_int.cc, filebuf_copy.cc, filebuf_sputc.cc, 5782 1.1 mrg fstream_seek_write.cc, ifstream_extract_float.cc, 5783 1.1 mrg ifstream_extract_int.cc, ifstream_getline.cc, is_wchar_t.cc, 5784 1.1 mrg list_create_fill_sort.cc, map_create_fill.cc, 5785 1.1 mrg narrow_widen_char.cc, narrow_widen_wchar_t.cc, 5786 1.1 mrg ofstream_insert_float.cc, ofstream_insert_int.cc, 5787 1.1 mrg string_append.cc, wchar_t_in.cc, wchar_t_length.cc, 5788 1.1 mrg wchar_t_out.cc: Split into... 5789 1.1 mrg * testsuite/performance/20_util/allocator.cc: New. 5790 1.1 mrg * testsuite/performance/20_util/allocator_map_thread.cc: New. 5791 1.1 mrg * testsuite/performance/20_util/allocator_thread.cc: New. 5792 1.1 mrg * testsuite/performance/21_strings/string_append: New. 5793 1.1 mrg * testsuite/performance/22_locale/is_wchar_t.cc: New. 5794 1.1 mrg * testsuite/performance/22_locale/narrow_widen_char.cc: New. 5795 1.1 mrg * testsuite/performance/22_locale/narrow_widen_wchar_t.cc: New. 5796 1.1 mrg * testsuite/performance/22_locale/wchar_t_in.cc: New. 5797 1.1 mrg * testsuite/performance/22_locale/wchar_t_length.cc: New. 5798 1.1 mrg * testsuite/performance/22_locale/wchar_t_out.cc: New. 5799 1.1 mrg * testsuite/performance/23_containers/container_benchmark.cc: New. 5800 1.1 mrg * testsuite/performance/23_containers/list_create_fill_sort.cc: New. 5801 1.1 mrg * testsuite/performance/23_containers/map_create_fill.cc: New. 5802 1.1 mrg * testsuite/performance/26_numerics/complex_norm.cc: New. 5803 1.1 mrg * testsuite/performance/27_io/cout_insert_int.cc: New. 5804 1.1 mrg * testsuite/performance/27_io/filebuf_copy.cc: New. 5805 1.1 mrg * testsuite/performance/27_io/filebuf_sputc.cc: New. 5806 1.1 mrg * testsuite/performance/27_io/fstream_seek_write.cc: New. 5807 1.1 mrg * testsuite/performance/27_io/ifstream_extract_float.cc: New. 5808 1.1 mrg * testsuite/performance/27_io/ifstream_extract_int.cc: New. 5809 1.1 mrg * testsuite/performance/27_io/ifstream_getline.cc: New. 5810 1.1 mrg * testsuite/performance/27_io/ofstream_insert_float.cc: New. 5811 1.1 mrg * testsuite/performance/27_io/ofstream_insert_int.cc: New. 5812 1.1 mrg 5813 1.1 mrg 2004-01-30 Paolo Carlini <pcarlini (a] suse.de> 5814 1.1 mrg 5815 1.1 mrg * include/bits/basic_string.tcc (_Rep::_S_create): 5816 1.1 mrg Never allocate a string bigger than max_size(); always keep 5817 1.1 mrg __capacity and __size in sync to avoid memory leaks at 5818 1.1 mrg deallocation time. 5819 1.1 mrg 5820 1.1 mrg 2004-01-30 Paolo Carlini <pcarlini (a] suse.de> 5821 1.1 mrg 5822 1.1 mrg * include/bits/basic_string.tcc (_S_construct(_InIterator, 5823 1.1 mrg _InIterator, const _Alloc&, input_iterator_tag)): Simplify 5824 1.1 mrg the double loop, streamline. 5825 1.1 mrg 5826 1.1 mrg * include/bits/basic_string.tcc: Very minor tweaks. 5827 1.1 mrg 5828 1.1 mrg 2004-01-30 Loren J. Rittle <ljrittle (a] acm.org> 5829 1.1 mrg 5830 1.1 mrg * scripts/check_performance: Only compile with $THREAD_FLAG 5831 1.1 mrg when test is marked to require it. Allow multiple 5832 1.1 mrg compilations/executions of marked tests. 5833 1.1 mrg * testsuite/testsuite_performance.h (report_performance): 5834 1.1 mrg Report dynamic thread support status. 5835 1.1 mrg (report_header): Likewise. 5836 1.1 mrg * testsuite/performance/allocator.cc: Stabilize iteration 5837 1.1 mrg count. Support more allocators. Mark each allocator test to 5838 1.1 mrg run and report independently. 5839 1.1 mrg * testsuite/performance/allocator_map_thread.cc: Likewise. 5840 1.1 mrg * testsuite/performance/allocator_thread.cc: Likewise. 5841 1.1 mrg 5842 1.1 mrg 2004-01-29 Stephen M. Webb <stephen.webb (a] bregmasoft.com> 5843 1.1 mrg 5844 1.1 mrg * config/local/generic/c_locale.h: Change ::malloc() to new char[]. 5845 1.1 mrg * config/local/gnu/c_locale.h: Change ::malloc() to new char[]. 5846 1.1 mrg * include/bits/stl_tempbuf.h: Convert _Temporary_buffer to use 5847 1.1 mrg std::get_temporary_buffer() instead of duplicating its code. 5848 1.1 mrg Update to C++STYLE conventions. 5849 1.1 mrg * include/std/std_memory.h (get_temporary_buffer): Use ::operator 5850 1.1 mrg new() instead of std::malloc(). 5851 1.1 mrg (return_temporary_buffer): Use ::operator delete() instead of 5852 1.1 mrg std::free(). 5853 1.1 mrg 5854 1.1 mrg 2004-01-29 Benjamin Kosnik <bkoz (a] redhat.com> 5855 1.1 mrg 5856 1.1 mrg * include/bits/allocator.h: Temporary switch to new_allocator as 5857 1.1 mrg the default to unjam bootstraps. 5858 1.1 mrg 5859 1.1 mrg 2004-01-28 Benjamin Kosnik <bkoz (a] redhat.com> 5860 1.1 mrg 5861 1.1 mrg * include/Makefile.am (bits_headers): Remove allocator_traits.h. 5862 1.1 mrg * include/Makefile.in: Regenerate. 5863 1.1 mrg * include/bits/allocator_traits.h: Remove. 5864 1.1 mrg * include/bits/allocator.h: Remove allocator_traits.h include, and 5865 1.1 mrg relevant comments. 5866 1.1 mrg (allocator): Empty base class, inherit from the underlying allocator. 5867 1.1 mrg * src/allocator-inst.cc: Move __pool_alloc instantiation to... 5868 1.1 mrg * src/allocator.cc: ...here. New. For the underlying allocators. 5869 1.1 mrg Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits. 5870 1.1 mrg * config/linker-map.gnu: Remove __pool_alloc bits. 5871 1.1 mrg * src/Makefile.am (sources): Add allocator.cc. 5872 1.1 mrg * src/Makefile.in: Regenerate. 5873 1.1 mrg * testsuite/20_util/allocator/1.cc: Split second test into... 5874 1.1 mrg * testsuite/20_util/allocator/8230.cc: ...this. 5875 1.1 mrg * include/bits/stl_bvector.h (__gnu_norm): Change bit_vector 5876 1.1 mrg typedef to use std::allocatore. Format. 5877 1.1 mrg * include/ext/pool_allocator.h: Remove allocator_traits.h include, 5878 1.1 mrg _Alloc_traits. 5879 1.1 mrg * include/ext/mt_allocator.h (__gnu_cxx): Qualify 5880 1.1 mrg __throw_bad_alloc calls. Don't include <memory>. 5881 1.1 mrg * include/ext/malloc_allocator.h: Remove <memory> include. 5882 1.1 mrg * include/ext/new_allocator.h (new_allocator): Same. 5883 1.1 mrg * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using 5884 1.1 mrg declaration. Switch __alloc to _Alloc. 5885 1.1 mrg * include/ext/hashtable.h: Remove __alloc. 5886 1.1 mrg * include/backward/alloc.h: Only inject allocator, not 5887 1.1 mrg implementation details. 5888 1.1 mrg 5889 1.1 mrg * include/ext/mt_allocator.h: Replace free with delete. 5890 1.1 mrg 5891 1.1 mrg 2004-01-28 Benjamin Kosnik <bkoz (a] redhat.com> 5892 1.1 mrg 5893 1.1 mrg * src/globals_io.cc: Change to __gnu_internal namespace. 5894 1.1 mrg * src/globals_locale.cc: Same. 5895 1.1 mrg * src/locale_init.cc: Same. 5896 1.1 mrg * src/ios_init.cc: Same. 5897 1.1 mrg 5898 1.1 mrg 2004-01-28 Stefan Olsson <stefan (a] snon.net> 5899 1.1 mrg 5900 1.1 mrg * include/ext/mt_allocator.h: Replaced all malloc() calls with 5901 1.1 mrg operator new(). Added support for the env variable 5902 1.1 mrg GLIBCXX_FORCE_NEW (this required the _S_init call to be the first 5903 1.1 mrg one in allocate() as well). Fix typos. 5904 1.1 mrg 5905 1.1 mrg 2004-01-28 Paolo Carlini <pcarlini (a] suse.de> 5906 1.1 mrg 5907 1.1 mrg * include/bits/basic_string.h (_S_create(size_t, 5908 1.1 mrg const _Alloc&): Change signature to take two size_type 5909 1.1 mrg arguments. 5910 1.1 mrg * include/bits/basic_string.tcc (_S_construct(_InIterator, 5911 1.1 mrg _InIterator, const _Alloc&, input_iterator_tag)): Update 5912 1.1 mrg call, tweak a bit. 5913 1.1 mrg (_S_construct(_InIterator, _InIterator, const _Alloc&, 5914 1.1 mrg forward_iterator_tag)): Likewise. 5915 1.1 mrg (_S_construct(size_type, _CharT, const _Alloc&)): Likewise. 5916 1.1 mrg (_M_mutate(size_type, size_type, size_type)): Don't 5917 1.1 mrg implement the exponential growth policy, demand it to 5918 1.1 mrg _S_create, update call and simplify. 5919 1.1 mrg (_M_clone(const _Alloc&, size_type)): Likewise. 5920 1.1 mrg (_S_create(size_type, size_type, const _Alloc&)): Implement 5921 1.1 mrg the growth policy, simplify otherwise. 5922 1.1 mrg 5923 1.1 mrg * include/bits/basic_string.h (_Rep::operator[]): Tweak 5924 1.1 mrg signature to take a size_type, consistently with the other 5925 1.1 mrg members. 5926 1.1 mrg 5927 1.1 mrg 2004-01-27 Benjamin Kosnik <bkoz (a] redhat.com> 5928 1.1 mrg 5929 1.1 mrg * testsuite/27_io/ios_base/storage/11584.cc: Correct new and 5930 1.1 mrg delete declarations, add include and test variable. 5931 1.1 mrg 5932 1.1 mrg 2003-01-27 Jerry Quinn <jlquinn (a] optonline.net> 5933 1.1 mrg 5934 1.1 mrg * include/bits/codecvt.h, include/bits/locale_facets.h, 5935 1.1 mrg include/bits/postypes.h, include/bits/stl_bvector.h, 5936 1.1 mrg include/bits/stl_multiset.h, include/bits/stl_set.h, 5937 1.1 mrg include/bits/stream_iterator.h, include/bits/streambuf_iterator.h, 5938 1.1 mrg include/std/std_complex.h: Document. 5939 1.1 mrg 5940 1.1 mrg 2004-01-27 Jerry Quinn <jlquinn (a] optonline.net> 5941 1.1 mrg 5942 1.1 mrg PR libstdc++/11584 5943 1.1 mrg * include/bits/ios_base.h (ios_base::_M_grow_words): Add 5944 1.1 mrg iword/pword selector. 5945 1.1 mrg (ios_base::iword, ios_base::pword): Use it. 5946 1.1 mrg * src/ios.cc (ios_base::_M_grow_words): Clear _M_word_zero 5947 1.1 mrg iword or pword member on alloc failure. 5948 1.1 mrg * testsuite/27_io/ios_base/storage/11584.cc: New test. 5949 1.1 mrg 5950 1.1 mrg 2004-01-27 Ulrich Weigand <uweigand (a] de.ibm.com> 5951 1.1 mrg PJ Darcy <darcypj (a] us.ibm.com> 5952 1.1 mrg 5953 1.1 mrg * configure.host: Add support for *-tpf. 5954 1.1 mrg * crossconfig.m4: Likewise. 5955 1.1 mrg * configure: Regenerate. 5956 1.1 mrg * config/os/tpf: New directory. 5957 1.1 mrg * config/os/tpf/os_defines.h: New file. 5958 1.1 mrg * config/os/tpf/ctype_base.h: Likewise. 5959 1.1 mrg * config/os/tpf/ctype_inline.h: Likewise. 5960 1.1 mrg * config/os/tpf/ctype_noninline.h: Likewise. 5961 1.1 mrg 5962 1.1 mrg 2004-01-27 Paolo Carlini <pcarlini (a] suse.de> 5963 1.1 mrg 5964 1.1 mrg PR libstdc++/13884 5965 1.1 mrg * include/bits/sstream.tcc: Guard use of extern template. 5966 1.1 mrg 5967 1.1 mrg 2004-01-27 Paolo Carlini <pcarlini (a] suse.de> 5968 1.1 mrg 5969 1.1 mrg * include/bits/basic_string.tcc 5970 1.1 mrg (basic_string(const basic_string&, size_type, size_type), 5971 1.1 mrg basic_string(const basic_string&, size_type, size_type, 5972 1.1 mrg const _Alloc&)): Avoid unnecessarily constructing iterators. 5973 1.1 mrg 5974 1.1 mrg 2004-01-26 Paolo Carlini <pcarlini (a] suse.de> 5975 1.1 mrg 5976 1.1 mrg * config/locale/generic/c_locale.cc: Fix throw messages 5977 1.1 mrg to use the __N marker. 5978 1.1 mrg * config/locale/gnu/c_locale.cc: Likewise. 5979 1.1 mrg * config/locale/ieee_1003.1-2001/codecvt_specializations.h: 5980 1.1 mrg Likewise. 5981 1.1 mrg * docs/html/17_intro/C++STYLE: Likewise. 5982 1.1 mrg * include/bits/basic_ios.tcc: Likewise. 5983 1.1 mrg * include/bits/fstream.tcc: Likewise. 5984 1.1 mrg * include/bits/vector.tcc: Likewise. 5985 1.1 mrg * include/ext/ropeimpl.h: Likewise. 5986 1.1 mrg * include/std/std_bitset.h: Likewise. 5987 1.1 mrg * src/ios.cc: Likewise. 5988 1.1 mrg * src/locale.cc: Likewise. 5989 1.1 mrg * src/localename.cc: Likewise. 5990 1.1 mrg 5991 1.1 mrg 2004-01-26 Paolo Carlini <pcarlini (a] suse.de> 5992 1.1 mrg 5993 1.1 mrg * include/bits/basic_string.h (_M_replace_aux): Use the 5994 1.1 mrg __N marker in throw message. 5995 1.1 mrg * include/bits/basic_string.tcc (assign(const _CharT*, 5996 1.1 mrg size_type), insert(size_type, const _CharT*, size_type), 5997 1.1 mrg replace(size_type, size_type, const _CharT*, size_type), 5998 1.1 mrg reserve, _Rep::_S_create, resize, _M_replace_dispatch): 5999 1.1 mrg Likewise. 6000 1.1 mrg 6001 1.1 mrg * include/bits/basic_string.h, include/bits/basic_string.tcc: 6002 1.1 mrg Fold overlong lines, minor formatting changes. 6003 1.1 mrg 6004 1.1 mrg 2004-01-26 Paolo Carlini <pcarlini (a] suse.de> 6005 1.1 mrg 6006 1.1 mrg * include/bits/basic_string.h (replace(iterator, iterator, 6007 1.1 mrg const basic_string&)): Remove _GLIBCXX_DEBUG_PEDASSERT. 6008 1.1 mrg (replace(iterator, iterator, const _CharT*)): Ditto. 6009 1.1 mrg (replace(iterator, iterator, const _CharT*, size_type)): 6010 1.1 mrg Add missing _GLIBCXX_DEBUG_PEDASSERT. 6011 1.1 mrg 6012 1.1 mrg 2004-01-26 Paolo Carlini <pcarlini (a] suse.de> 6013 1.1 mrg 6014 1.1 mrg * include/bits/basic_string.tcc (replace(size_type, 6015 1.1 mrg size_type, const _CharT*, size_type)): Implement optimized 6016 1.1 mrg in-place algorithm for non-overlapping ranges. 6017 1.1 mrg * testsuite/21_strings/basic_string/replace/char/6.cc: New. 6018 1.1 mrg * testsuite/21_strings/basic_string/replace/wchar_t/6.cc: New. 6019 1.1 mrg 6020 1.1 mrg * include/bits/basic_string.tcc (insert(size_type, 6021 1.1 mrg const _CharT*, size_type)): Tweak slightly. 6022 1.1 mrg 6023 1.1 mrg 2004-01-26 Andreas Schwab <schwab (a] suse.de> 6024 1.1 mrg 6025 1.1 mrg * config/locale/gnu/monetary_members.cc: Restore locale before 6026 1.1 mrg rethrowing exception. 6027 1.1 mrg 6028 1.1 mrg 2004-01-25 Paolo Carlini <pcarlini (a] suse.de> 6029 1.1 mrg 6030 1.1 mrg * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe): 6031 1.1 mrg Define inline here. 6032 1.1 mrg * include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe): 6033 1.1 mrg Move inline. 6034 1.1 mrg 6035 1.1 mrg * include/bits/basic_string.tcc: Very minor tweaks. 6036 1.1 mrg 6037 1.1 mrg 2004-01-25 Paolo Carlini <pcarlini (a] suse.de> 6038 1.1 mrg 6039 1.1 mrg * testsuite/performance/string_append.cc: Increase number 6040 1.1 mrg of iterations. 6041 1.1 mrg 6042 1.1 mrg 2004-01-25 Paolo Carlini <pcarlini (a] suse.de> 6043 1.1 mrg 6044 1.1 mrg * include/bits/basic_string.h (erase(size_type, size_type), 6045 1.1 mrg erase(iterator), erase(iterator, iterator)): Call _M_replace_safe 6046 1.1 mrg instead, thus avoiding redundant check for length_error. 6047 1.1 mrg 6048 1.1 mrg * include/bits/basic_string.h: Tweak some comments. 6049 1.1 mrg 6050 1.1 mrg 2004-01-24 Paolo Carlini <pcarlini (a] suse.de> 6051 1.1 mrg 6052 1.1 mrg * include/bits/basic_string.tcc (operator+(const _CharT*, 6053 1.1 mrg const basic_string&)): No need to go through the append 6054 1.1 mrg taking two iterators. 6055 1.1 mrg 6056 1.1 mrg 2004-01-24 Paolo Carlini <pcarlini (a] suse.de> 6057 1.1 mrg 6058 1.1 mrg * include/bits/basic_string.tcc (rfind(_CharT, size_type)): 6059 1.1 mrg Revert last change to use std::min: machine language is worse. 6060 1.1 mrg (find_last_of(const _CharT*, size_type, size_type)): Ditto. 6061 1.1 mrg (find_last_not_of(const _CharT*, size_type, size_type)): Ditto. 6062 1.1 mrg (find_last_not_of(_CharT, size_type)): Ditto. 6063 1.1 mrg 6064 1.1 mrg * include/bits/basic_string.tcc (insert(size_type, const _CharT*, 6065 1.1 mrg size_type)): Discard the value returned by _M_check. 6066 1.1 mrg (replace(size_type, size_type, const _CharT*, size_type)): Ditto. 6067 1.1 mrg (append(const basic_string&, size_type, size_type)): Ditto. 6068 1.1 mrg (copy(_CharT*, size_type, size_type)): Ditto. 6069 1.1 mrg (compare(size_type, size_type, const basic_string&)): Ditto. 6070 1.1 mrg (compare(size_type, size_type, const basic_string&, 6071 1.1 mrg size_type, size_type)): Ditto. 6072 1.1 mrg (compare(size_type, size_type, const _CharT*)): Ditto. 6073 1.1 mrg (compare(size_type, size_type, const _CharT*, size_type)): Ditto. 6074 1.1 mrg 6075 1.1 mrg 2004-01-24 Paolo Carlini <pcarlini (a] suse.de> 6076 1.1 mrg 6077 1.1 mrg * include/bits/basic_string.h (insert(size_type, 6078 1.1 mrg const basic_string&, size_type, size_type)): Define inline here. 6079 1.1 mrg * include/bits/basic_string.tcc (insert(size_type, 6080 1.1 mrg const basic_string&, size_type, size_type)): Move inline. 6081 1.1 mrg 6082 1.1 mrg 2004-01-24 Paolo Carlini <pcarlini (a] suse.de> 6083 1.1 mrg 6084 1.1 mrg * include/bits/basic_string.h (assign(const basic_string&, 6085 1.1 mrg size_type, size_type)): Define inline here. 6086 1.1 mrg (replace(size_type, size_type, const basic_string&, 6087 1.1 mrg size_type, size_type)): Ditto. 6088 1.1 mrg (_M_replace_dispatch(iterator, iterator, _InputIterator, 6089 1.1 mrg _InputIterator, __false_type)): Only declare. 6090 1.1 mrg (_M_replace(iterator, iterator, _InputIterator, 6091 1.1 mrg _InputIterator)): Remove. 6092 1.1 mrg * include/bits/basic_string.tcc (assign(const basic_string&, 6093 1.1 mrg size_type, size_type)): Move inline. 6094 1.1 mrg (replace(size_type, size_type, const basic_string&, 6095 1.1 mrg size_type, size_type)): Ditto. 6096 1.1 mrg (_M_replace_dispatch(iterator, iterator, _InputIterator, 6097 1.1 mrg _InputIterator, __false_type)): Define, now does also what 6098 1.1 mrg _M_replace did before. 6099 1.1 mrg * src/string-inst.cc (_M_replace): Don't instantiate. 6100 1.1 mrg 6101 1.1 mrg * include/bits/basic_string.tcc (find(const _CharT*, 6102 1.1 mrg size_type, size_type)): Tidy. 6103 1.1 mrg (rfind(_CharT, size_type)): Ditto. 6104 1.1 mrg (find_first_not_of(const _CharT*, size_type, size_type)): Ditto. 6105 1.1 mrg (find_first_not_of(_CharT, size_type)): Ditto. 6106 1.1 mrg (find_last_not_of(const _CharT*, size_type, size_type)): Ditto. 6107 1.1 mrg (find_last_not_of(_CharT, size_type)): Ditto. 6108 1.1 mrg 6109 1.1 mrg 2004-01-23 Paolo Carlini <pcarlini (a] suse.de> 6110 1.1 mrg 6111 1.1 mrg PR libstdc++/13838 6112 1.1 mrg * include/debug/bitset (operator|=): Fix typo. 6113 1.1 mrg * testsuite/23_containers/bitset/operations/13838.cc: New. 6114 1.1 mrg 6115 1.1 mrg 2004-01-23 Paolo Carlini <pcarlini (a] suse.de> 6116 1.1 mrg 6117 1.1 mrg * include/bits/basic_string.tcc (insert(size_type, 6118 1.1 mrg const _CharT*, size_type __n)): Fix length_error check. 6119 1.1 mrg (replace(size_type, size_type, const _CharT*, size_type): 6120 1.1 mrg Ditto; call _M_replace_safe. 6121 1.1 mrg (_M_replace_aux(size_type, size_type, size_type, _CharT): 6122 1.1 mrg Fix length_error check. 6123 1.1 mrg (_M_replace(iterator, iterator, _InputIterator, 6124 1.1 mrg _InputIterator)): Ditto, tweak. 6125 1.1 mrg (_M_replace_safe(size_type, size_type, const _CharT*, 6126 1.1 mrg size_type)): Remove length_error check. 6127 1.1 mrg 6128 1.1 mrg * include/bits/basic_string.tcc (append(const basic_string&), 6129 1.1 mrg append(const basic_string&, size_type, size_type)): Tweak 6130 1.1 mrg comment. 6131 1.1 mrg 6132 1.1 mrg * include/bits/basic_string.tcc (copy(_CharT*, size_type, 6133 1.1 mrg size_type)): If __n == 0 don't call traits::copy. 6134 1.1 mrg 6135 1.1 mrg 2004-01-23 Stefan Olsson <stefan (a] snon.net> 6136 1.1 mrg 6137 1.1 mrg * include/ext/mt_allocator.h: Reduce lock contention. 6138 1.1 mrg 6139 1.1 mrg 2004-01-23 Paolo Carlini <pcarlini (a] suse.de> 6140 1.1 mrg 6141 1.1 mrg PR libstdc++/13831 6142 1.1 mrg * include/bits/fstream.tcc (underflow): Remove unused 6143 1.1 mrg variable. 6144 1.1 mrg * include/bits/streambuf_iterator.h (equal): Ditto. 6145 1.1 mrg * include/bits/locale_facets.h (_M_convert_from_char): 6146 1.1 mrg Ditto. 6147 1.1 mrg 6148 1.1 mrg 2004-01-23 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu> 6149 1.1 mrg 6150 1.1 mrg PR c/13814 6151 1.1 mrg * config/linker-map.gnu (nan): Delete. 6152 1.1 mrg * libmath/mathconf.h (NAN, nan): Delete. 6153 1.1 mrg * linkage.m4 (nan): Don't check for it. 6154 1.1 mrg * libmath/nan.c: Delete file. 6155 1.1 mrg 6156 1.1 mrg * config.h.in, configure: Regenerate. 6157 1.1 mrg 6158 1.1 mrg 2004-01-23 Paolo Carlini <pcarlini (a] suse.de> 6159 1.1 mrg 6160 1.1 mrg * include/bits/basic_string.h (push_back(_CharT)): 6161 1.1 mrg Call _M_replace_aux. 6162 1.1 mrg (insert(size_type, const basic_string&)): Trivial tweak. 6163 1.1 mrg (insert(size_type, size_type, _CharT)): Call _M_replace_aux. 6164 1.1 mrg (insert(iterator, _CharT)): Ditto. 6165 1.1 mrg (erase(size_type, size_type)): Ditto. 6166 1.1 mrg (erase(iterator)): Ditto. 6167 1.1 mrg (erase(iterator, iterator)): Ditto. 6168 1.1 mrg (replace(size_type, size_type, size_type, _CharT)): Ditto. 6169 1.1 mrg 6170 1.1 mrg 2004-01-23 Loren J. Rittle <ljrittle (a] acm.org> 6171 1.1 mrg 6172 1.1 mrg libstdc++/13823 6173 1.1 mrg * testsuite/performance/allocator_map_thread.cc: New test. 6174 1.1 mrg 6175 1.1 mrg 2004-01-22 Paolo Carlini <pcarlini (a] suse.de> 6176 1.1 mrg 6177 1.1 mrg * include/bits/locale_facets.tcc 6178 1.1 mrg (money_put::do_put(..., long double)): Use the basic_string 6179 1.1 mrg constructor for char arrays, not that for C-strings, to pass 6180 1.1 mrg __digits to do_put(..., const string_type&): __ws isn't 6181 1.1 mrg null-terminated. 6182 1.1 mrg 6183 1.1 mrg 2004-01-22 Paolo Carlini <pcarlini (a] suse.de> 6184 1.1 mrg 6185 1.1 mrg * include/bits/basic_string.h (_M_replace_safe): Change 6186 1.1 mrg signatures to take size_types and const _CharT*. 6187 1.1 mrg (_M_replace_aux): Likewise, takes size_types instead of 6188 1.1 mrg iterators. 6189 1.1 mrg (append(size_type, _CharT)): Update call. 6190 1.1 mrg (assign(size_type, _CharT)): Ditto. 6191 1.1 mrg (replace(iterator, iterator, size_type, _CharT)): Ditto. 6192 1.1 mrg (_M_replace_dispatch(iterator, iterator, _Integer, 6193 1.1 mrg _Integer, __true_type)): Ditto. 6194 1.1 mrg * include/bits/basic_string.tcc (assign(const _CharT*, 6195 1.1 mrg size_type)): Ditto. 6196 1.1 mrg (insert(size_type, const _CharT*, size_type)): Ditto. 6197 1.1 mrg (replace(size_type, size_type, const _CharT*, 6198 1.1 mrg size_type)): Ditto. 6199 1.1 mrg (_M_replace(iterator, iterator, _InputIterator, 6200 1.1 mrg _InputIterator)): Ditto. 6201 1.1 mrg (append(const basic_string&)): Ditto. 6202 1.1 mrg (append(const basic_string&, size_type, size_type): Ditto. 6203 1.1 mrg (append(const _CharT*, size_type): Ditto. 6204 1.1 mrg (_M_replace_safe, _M_replace_safe): Change definitions 6205 1.1 mrg accordingly, simplify. 6206 1.1 mrg * string-inst.cc (_M_replace_safe): Don't instantiate. 6207 1.1 mrg 6208 1.1 mrg 2004-01-21 Paolo Carlini <pcarlini (a] suse.de> 6209 1.1 mrg 6210 1.1 mrg * include/bits/basic_string.tcc (append(const basic_string&)): 6211 1.1 mrg Revert previous change. 6212 1.1 mrg (append(const basic_string&, size_type, size_type)): Revert 6213 1.1 mrg previous change, use _M_check and _M_limit. 6214 1.1 mrg 6215 1.1 mrg 2004-01-21 Paolo Carlini <pcarlini (a] suse.de> 6216 1.1 mrg 6217 1.1 mrg * include/bits/basic_string.h (_M_check): Change to return 6218 1.1 mrg a checked __pos and take an additional const char* argument. 6219 1.1 mrg (_M_fold): Rename to _M_limit, change to return a size_type, 6220 1.1 mrg corresponding to the __off limited to the actual length. 6221 1.1 mrg (insert(size_type, size_type, _CharT)): Update call, call 6222 1.1 mrg replace. 6223 1.1 mrg (insert(iterator, _CharT)): Call replace(iterator, iterator, 6224 1.1 mrg size_type, _CharT) instead. 6225 1.1 mrg (erase(size_type, size_type)): Update calls. 6226 1.1 mrg (replace(size_type, size_type, size_type, _CharT)): Ditto. 6227 1.1 mrg (substr(size_type, size_type)): Use _M_check. 6228 1.1 mrg * include/bits/basic_string.tcc (basic_string(const basic_string&, 6229 1.1 mrg size_type, size_type)): Update calls. 6230 1.1 mrg (basic_string(const basic_string&, size_type, size_type, 6231 1.1 mrg const _Alloc&)): Ditto. 6232 1.1 mrg (assign(const basic_string&, size_type, size_type)): Use the 6233 1.1 mrg new _M_check and _M_limit. 6234 1.1 mrg (insert(size_type, const basic_string&, size_type, size_type): 6235 1.1 mrg Ditto. 6236 1.1 mrg (insert(size_type, const _CharT*, size_type)): Ditto. 6237 1.1 mrg (replace(size_type, size_type, const _CharT*, size_type): Ditto. 6238 1.1 mrg (replace(size_type, size_type, const basic_string&, 6239 1.1 mrg size_type, size_type)): Ditto. 6240 1.1 mrg (append(const basic_string&)): Ditto. 6241 1.1 mrg (append(const basic_string&, size_type, size_type)): Ditto. 6242 1.1 mrg (copy(_CharT*, size_type, size_type)): Ditto. 6243 1.1 mrg (compare(size_type, size_type, const basic_string&)): Ditto. 6244 1.1 mrg (compare(size_type, size_type, const basic_string&,size_type, 6245 1.1 mrg size_type)): Ditto. 6246 1.1 mrg (compare(size_type, size_type, const _CharT*)): Ditto. 6247 1.1 mrg (compare(size_type, size_type, const _CharT*, size_type)): Ditto. 6248 1.1 mrg 6249 1.1 mrg 2004-01-19 Stefan Olsson <stefan (a] snon.net> 6250 1.1 mrg 6251 1.1 mrg * include/ext/mt_allocator.h: If a thread, when it dies, still has 6252 1.1 mrg memory on it's freelist this memory is not returned to global 6253 1.1 mrg list. Simplification of deallocate so that memory is always 6254 1.1 mrg returned to the calling thread id's freelist instead of to 6255 1.1 mrg global. Fix typos. Add volatile where appropriate. 6256 1.1 mrg 6257 1.1 mrg 2004-01-19 Loren J. Rittle <ljrittle (a] acm.org> 6258 1.1 mrg 6259 1.1 mrg * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered. 6260 1.1 mrg * testsuite/ext/stdio_filebuf/char/10063-3.cc: New test. Like -2 but 6261 1.1 mrg use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream. 6262 1.1 mrg 6263 1.1 mrg 2004-01-19 Paolo Carlini <pcarlini (a] suse.de> 6264 1.1 mrg 6265 1.1 mrg * src/debug.cc: Make sure all the names are prefixed with 6266 1.1 mrg double (or single) underscore. 6267 1.1 mrg 6268 1.1 mrg 2004-01-19 Paolo Carlini <pcarlini (a] suse.de> 6269 1.1 mrg 6270 1.1 mrg * src/debug.cc: Trivial formatting change. 6271 1.1 mrg 6272 1.1 mrg 2004-01-19 Paolo Carlini <pcarlini (a] suse.de> 6273 1.1 mrg 6274 1.1 mrg * include/bits/basic_string.tcc (_S_construct(size_type, 6275 1.1 mrg _CharT, const _Alloc&)): Remove redundant try/catch. 6276 1.1 mrg (_M_mutate(size_type, size_type, size_type)): Ditto. 6277 1.1 mrg (_M_clone(const _Alloc&, size_type)): Ditto. 6278 1.1 mrg 6279 1.1 mrg 2004-01-18 Paolo Carlini <pcarlini (a] suse.de> 6280 1.1 mrg 6281 1.1 mrg * include/bits/basic_string.h (c_str()): Simplify, due to 6282 1.1 mrg 21.3.4 the internal representation is always kept null-terminated. 6283 1.1 mrg * include/bits/basic_string.tcc (_M_clone): Null-terminate. 6284 1.1 mrg * testsuite/21_strings/basic_string/element_access/char/4.cc: New. 6285 1.1 mrg * testsuite/21_strings/basic_string/element_access/wchar_t/4.cc: 6286 1.1 mrg Ditto. 6287 1.1 mrg 6288 1.1 mrg 2004-01-18 Paolo Carlini <pcarlini (a] suse.de> 6289 1.1 mrg 6290 1.1 mrg * include/bits/basic_string.h (append(size_type, _CharT)): 6291 1.1 mrg Moved inline, just call _M_replace_aux, no source iterators at 6292 1.1 mrg risk of being clobbered. 6293 1.1 mrg (assign(size_type, _CharT)): Call directly _M_replace_aux. 6294 1.1 mrg (_M_replace(iterator, iterator, _InputIterator, _InputIterator, 6295 1.1 mrg input_iterator_tag)): Remove fifth unused argument. 6296 1.1 mrg (_M_replace_dispatch(iterator, iterator, _InputIterator, 6297 1.1 mrg _InputIterator, __false_type)): Update call. 6298 1.1 mrg * include/bits/basic_string.tcc (replace(size_type, size_type, 6299 1.1 mrg const _CharT*, size_type)): Update call. 6300 1.1 mrg (_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak 6301 1.1 mrg throw string literal. 6302 1.1 mrg (_M_replace_safe(iterator, iterator, _ForwardIterator, 6303 1.1 mrg _ForwardIterator)): Likewise. 6304 1.1 mrg (_M_replace(iterator, iterator, _InputIterator, _InputIterator, 6305 1.1 mrg input_iterator_tag)): Remove fifth unused argument. 6306 1.1 mrg (append(size_type __n, _CharT __c)): Move inline. 6307 1.1 mrg * src/string-inst.cc (S::_M_replace(S::iterator, S::iterator, 6308 1.1 mrg const C*, const C*, input_iterator_tag)): Remove fifth unused 6309 1.1 mrg argument. 6310 1.1 mrg 6311 1.1 mrg 2004-01-16 Benjamin Kosnik <bkoz (a] redhat.com> 6312 1.1 mrg 6313 1.1 mrg * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards. 6314 1.1 mrg * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same. 6315 1.1 mrg 6316 1.1 mrg 2004-01-16 Danny Smith <dannysmith (a] users.sourceforge.net> 6317 1.1 mrg 6318 1.1 mrg * testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling 6319 1.1 mrg mkfifo for mingw32. 6320 1.1 mrg 6321 1.1 mrg 2004-01-15 Stefan Olsson <stefan (a] snon.net> 6322 1.1 mrg 6323 1.1 mrg * include/ext/mt_allocator.h: Reuse thread id's as soon as 6324 1.1 mrg possible by changing the behaviour of thread_freelist to do 6325 1.1 mrg push_front when threads die instead of push_back. 6326 1.1 mrg 6327 1.1 mrg 2004-01-14 Paolo Carlini <pcarlini (a] suse.de> 6328 1.1 mrg 6329 1.1 mrg * include/bits/locale_facets.h (struct __numpunct_cache): 6330 1.1 mrg Add member _M_grouping_size, caching the length of _M_grouping. 6331 1.1 mrg (__numpunct_cache<>::_M_cache): Assign the latter. 6332 1.1 mrg (__verify_grouping): Move declaration... 6333 1.1 mrg * include/bits/locale_facets.tcc (__verify_grouping): 6334 1.1 mrg ... here, change signature to take a const char* and a size_t 6335 1.1 mrg for the grouping; not a template anymore. 6336 1.1 mrg (__add_grouping, num_put::_M_group_int, num_put::_M_group_float): 6337 1.1 mrg Likewise change signature and tweak consistently. 6338 1.1 mrg (num_get::_M_extract_float, num_get::_M_extract_int, 6339 1.1 mrg num_put::_M_insert_int, num_put::_M_insert_float, 6340 1.1 mrg money_get::do_get(string_type&), money_get::do_put(string_type)): 6341 1.1 mrg Update callers. 6342 1.1 mrg * config/locale/generic/numeric_members.cc 6343 1.1 mrg (numpunct<>::_M_initialize_numpunct): Assign the new member. 6344 1.1 mrg * config/locale/gnu/numeric_members.cc 6345 1.1 mrg (numpunct<>::_M_initialize_numpunct): Likewise. 6346 1.1 mrg * src/locale-inst.cc (__add_grouping): Tweak signature. 6347 1.1 mrg (__verify_grouping): Don't instantiate, not a template anymore. 6348 1.1 mrg 6349 1.1 mrg * include/bits/locale_facets.h: Rename _M_truename_len -> 6350 1.1 mrg _M_truename_size, _M_falsename_len -> _M_falsename_size. 6351 1.1 mrg * include/bits/locale_facets.tcc: Likewise. 6352 1.1 mrg * config/locale/generic/numeric_members.cc: Likewise. 6353 1.1 mrg * config/locale/gnu/numeric_members.cc: Likewise. 6354 1.1 mrg 6355 1.1 mrg 2004-01-14 Stefan Olsson <stefan (a] snon.net> 6356 1.1 mrg 6357 1.1 mrg * include/ext/mt_allocator.h: Fixups. 6358 1.1 mrg * testsuite/performance/allocator.cc: Enable __mt_alloc tests. 6359 1.1 mrg * testsuite/performance/allocator_thread.cc: Same. 6360 1.1 mrg 6361 1.1 mrg 2004-01-13 Benjamin Kosnik <bkoz (a] redhat.com> 6362 1.1 mrg 6363 1.1 mrg * testsuite/performance/ifstream_extract_float.cc: Add higher 6364 1.1 mrg precision tests. 6365 1.1 mrg * testsuite/performance/ofstream_insert_float.cc: Same. 6366 1.1 mrg 6367 1.1 mrg 2004-01-13 Paolo Carlini <pcarlini (a] suse.de> 6368 1.1 mrg 6369 1.1 mrg * src/locale-misc-inst.cc (__convert_from_v(long), 6370 1.1 mrg __convert_from_v(unsigned long), __convert_from_v(long long), 6371 1.1 mrg __convert_from_v(unsigned long long)): Remove, unused. 6372 1.1 mrg 6373 1.1 mrg 2004-01-13 Benjamin Kosnik <bkoz (a] redhat.com> 6374 1.1 mrg 6375 1.1 mrg * testsuite/performance/ifstream_extract_float.cc: New. 6376 1.1 mrg * testsuite/performance/ofstream_insert_float.cc: Float generation 6377 1.1 mrg matches above. 6378 1.1 mrg 6379 1.1 mrg * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into... 6380 1.1 mrg * 20_util/auto_ptr/1.cc: ...this. 6381 1.1 mrg * 20_util/auto_ptr/2.cc: Same. 6382 1.1 mrg * 20_util/auto_ptr/3.cc: Same. 6383 1.1 mrg * 20_util/auto_ptr/3946.cc: Same. 6384 1.1 mrg * 20_util/auto_ptr/4.cc: Same. 6385 1.1 mrg * 20_util/auto_ptr/5.cc: Same. 6386 1.1 mrg * 20_util/auto_ptr/6.cc: Same. 6387 1.1 mrg * 20_util/auto_ptr/7.cc: Same. 6388 1.1 mrg * 20_util/auto_ptr/assign_neg.cc 6389 1.1 mrg * 20_util/pairs.cc: Break into... 6390 1.1 mrg * 20_util/pair/1.cc: ...this. 6391 1.1 mrg * 20_util/pair/2.cc: Same. 6392 1.1 mrg * 20_util/pair/3.cc: Same. 6393 1.1 mrg * 20_util/pair/4.cc: Same. 6394 1.1 mrg 6395 1.1 mrg 2004-01-13 Paolo Carlini <pcarlini (a] suse.de> 6396 1.1 mrg 6397 1.1 mrg * include/bits/locale_facets.tcc (num_get::do_get(void*&)): 6398 1.1 mrg Set correctly just basefield, the only group that matters. 6399 1.1 mrg 6400 1.1 mrg 2004-01-13 Paolo Carlini <pcarlini (a] suse.de> 6401 1.1 mrg 6402 1.1 mrg * include/ext/rope (_Rope_rep_alloc_base): Eliminate. 6403 1.1 mrg (_Rope_rep_base): Inherit directly from the rope allocator; 6404 1.1 mrg use rebinding instead of _Alloc_traits; pick up data member 6405 1.1 mrg from _Rope_rep_alloc_base. 6406 1.1 mrg (_Rope_alloc_base): Eliminate. 6407 1.1 mrg (_Rope_base): Inherit directly from the rope allocator; use 6408 1.1 mrg rebinding instead of _Alloc_traits; pick up data member from 6409 1.1 mrg _Rope_alloc_base. 6410 1.1 mrg (rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation, 6411 1.1 mrg rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak. 6412 1.1 mrg 6413 1.1 mrg 2004-01-13 Paolo Carlini <pcarlini (a] suse.de> 6414 1.1 mrg 6415 1.1 mrg PR libstdc++/13650 6416 1.1 mrg * include/bits/basic_string.tcc (compare(size_type, size_type, 6417 1.1 mrg const _CharT*, size_type)): Implement correctly the resolution 6418 1.1 mrg of DR 5: basically, s is a char array, -not- a C string. 6419 1.1 mrg * include/bits/basic_string.h: Tweak some comments. 6420 1.1 mrg * testsuite/21_strings/basic_string/compare/char/13650.cc: New. 6421 1.1 mrg * testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New. 6422 1.1 mrg 6423 1.1 mrg 2004-01-12 Andreas Tobler <a.tobler (a] schweiz.ch> 6424 1.1 mrg 6425 1.1 mrg * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for 6426 1.1 mrg Solaris. 6427 1.1 mrg 6428 1.1 mrg 2004-01-12 Paolo Carlini <pcarlini (a] suse.de> 6429 1.1 mrg 6430 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: 6431 1.1 mrg Use try_mkfifo. 6432 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: 6433 1.1 mrg Likewise. 6434 1.1 mrg 6435 1.1 mrg 2004-01-12 Paolo Carlini <pcarlini (a] suse.de> 6436 1.1 mrg 6437 1.1 mrg * include/bits/locale_facets.h (struct __numpunct_cache): 6438 1.1 mrg Add members _M_truename_len and _M_falsename_len, caching 6439 1.1 mrg the lengths of _M_truename and _M_falsename. 6440 1.1 mrg (__numpunct_cache<>::_M_cache): Assign the latter. 6441 1.1 mrg * include/bits/locale_facets.tcc (num_get::do_get(bool&), 6442 1.1 mrg num_put::do_put(bool)): Use the new members, thus avoiding 6443 1.1 mrg computing string lengths again and again. 6444 1.1 mrg * config/locale/generic/numeric_members.cc 6445 1.1 mrg (numpunct<>::_M_initialize_numpunct): Assign the new members. 6446 1.1 mrg * config/locale/gnu/numeric_members.cc 6447 1.1 mrg (numpunct<>::_M_initialize_numpunct): Likewise. 6448 1.1 mrg 6449 1.1 mrg 2004-01-12 Mark Mitchell <mark (a] codesourcery.com> 6450 1.1 mrg 6451 1.1 mrg * testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it. 6452 1.1 mrg * testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define 6453 1.1 mrg it. 6454 1.1 mrg * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo 6455 1.1 mrg and remove Cygwin XFAIL. 6456 1.1 mrg * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. 6457 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. 6458 1.1 mrg * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. 6459 1.1 mrg * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: 6460 1.1 mrg Likewise. 6461 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. 6462 1.1 mrg * testsuite/27_io/objects/char/7.cc: Likewise. 6463 1.1 mrg * testsuite/27_io/objects/char/9661-1.cc: Likewise. 6464 1.1 mrg * testsuite/27_io/objects/wchar_t/7.cc: Likewise. 6465 1.1 mrg * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. 6466 1.1 mrg 6467 1.1 mrg 2004-01-11 Gabriel Dos Reis <gdr (a] integrable-solutions.net> 6468 1.1 mrg 6469 1.1 mrg * include/std/std_complex.h (std::complex<>::real): Return a 6470 1.1 mrg reference. Add non-const overload. 6471 1.1 mrg (std::complex<>::real): Likewise. 6472 1.1 mrg (std::real): Likewise. 6473 1.1 mrg (std::imag): Likewise. 6474 1.1 mrg (std::operator+): Tidy. 6475 1.1 mrg (std::operator-): Likewise. 6476 1.1 mrg (std::operator*): Likewise. 6477 1.1 mrg (std::operator/): Likewise. 6478 1.1 mrg (std::operator>>): Likewise. 6479 1.1 mrg 6480 1.1 mrg 2004-01-11 Paolo Carlini <pcarlini (a] suse.de> 6481 1.1 mrg 6482 1.1 mrg PR libstdc++/13582 6483 1.1 mrg * include/bits/fstream.tcc (imbue): Exploit the external 6484 1.1 mrg buffer to imbue 'on the fly' a new locale and convert its 6485 1.1 mrg remainder with the new codecvt facet. 6486 1.1 mrg (underflow): Tweak slightly to deal with this special case. 6487 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New. 6488 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto. 6489 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto. 6490 1.1 mrg * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto. 6491 1.1 mrg * testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto. 6492 1.1 mrg 6493 1.1 mrg 2004-01-10 Paolo Carlini <pcarlini (a] suse.de> 6494 1.1 mrg 6495 1.1 mrg * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html: 6496 1.1 mrg Import Revision 28. 6497 1.1 mrg 6498 1.1 mrg 2004-01-10 Paolo Carlini <pcarlini (a] suse.de> 6499 1.1 mrg 6500 1.1 mrg PR libstdc++/13630 6501 1.1 mrg * include/bits/locale_classes.h (class locale): Fix category 6502 1.1 mrg typedef. 6503 1.1 mrg * testsuite/22_locale/locale/13630.cc: Add. 6504 1.1 mrg 6505 1.1 mrg 2004-01-10 Giovanni Bajo <giovannibajo (a] gcc.gnu.org> 6506 1.1 mrg 6507 1.1 mrg * include/bits/locale_facets.h: Make a name really dependent. This 6508 1.1 mrg will be needed when Core Issue 224 is implemented. 6509 1.1 mrg 6510 1.1 mrg 2004-01-09 Paolo Carlini <pcarlini (a] suse.de> 6511 1.1 mrg 6512 1.1 mrg * testsuite/performance/allocator.cc: Demangle typeid(obj).name(). 6513 1.1 mrg * testsuite/performance/allocator_thread.cc: Likewise. 6514 1.1 mrg 6515 1.1 mrg 2004-01-07 Benjamin Kosnik <bkoz (a] redhat.com> 6516 1.1 mrg 6517 1.1 mrg * crossconfig.m4: Add LFS, io bits to linux cross config. 6518 1.1 mrg * acconfig.h: Remove obsolete bits, reorder. 6519 1.1 mrg * config.h.in: Regenerate. 6520 1.1 mrg * aclocal.m4: Same. 6521 1.1 mrg * configure: Same. 6522 1.1 mrg 6523 1.1 mrg 2004-01-07 Gawain Bolton <gp.bolton (a] computer.org> 6524 1.1 mrg 6525 1.1 mrg * include/bits/stl_list.h: 6526 1.1 mrg * include/bits/list.tc: 6527 1.1 mrg * src/list.cc: 6528 1.1 mrg Performance enhancements for destructor, push_front(), 6529 1.1 mrg push_back(), pop_front(), pop_back(), sort() 6530 1.1 mrg Eliminated static_casts where possible. 6531 1.1 mrg Moved code out of header files into new src/list.cc 6532 1.1 mrg implementation file for library where possible. 6533 1.1 mrg Remove inheritance from iterator class and create separate 6534 1.1 mrg classes for non-constant and constant iterators. 6535 1.1 mrg * include/bits/stl_tree.h (_Rb_tree class): 6536 1.1 mrg * src/tree.cc: 6537 1.1 mrg Only erase contents in destructor. 6538 1.1 mrg Eliminate unnecessary initialization in assignment operator. 6539 1.1 mrg Optimize for the nominal case by not checking whether 6540 1.1 mrg container is empty in clear(). 6541 1.1 mrg Re-order test in _M_insert() to improve performance. 6542 1.1 mrg Move initialization of new node's left & right pointers to 6543 1.1 mrg src/tree.cc to where new node's colour is initialized 6544 1.1 mrg and to reduce the amount of inline code. 6545 1.1 mrg Use _M_leftmost() and _M_end() to improve readability where 6546 1.1 mrg appropriate. 6547 1.1 mrg Create separate classes for non-constant and constant 6548 1.1 mrg iterators to clarify code, avoid extra template parameters and 6549 1.1 mrg casting away constness. 6550 1.1 mrg 6551 1.1 mrg 2004-01-07 Benjamin Kosnik <bkoz (a] redhat.com> 6552 1.1 mrg 6553 1.1 mrg * src/Makefile.am (sources): Add list.cc, tree.cc. 6554 1.1 mrg * src/stl_tree.cc: Move to... 6555 1.1 mrg * src/tree.cc: ...here. 6556 1.1 mrg * src/list.cc: Add. 6557 1.1 mrg * config/linker-map.gnu: Tweaks. 6558 1.1 mrg * testsuite/23_containers/map/operators/1_neg.cc: Add excess errors. 6559 1.1 mrg * testsuite/23_containers/set/operators/1_neg.cc: Add excess errors. 6560 1.1 mrg 6561 1.1 mrg * bits/stl_vector.h: Column wrap comments. 6562 1.1 mrg 6563 1.1 mrg 2004-01-07 Loren J. Rittle <ljrittle (a] acm.org> 6564 1.1 mrg 6565 1.1 mrg (re-open) PR libstdc++/12658 6566 1.1 mrg * src/locale_init.cc (locale::locale): Remove ill-scoped mutex. 6567 1.1 mrg (locale::global): Likewise. 6568 1.1 mrg 6569 1.1 mrg 2004-01-07 Paolo Carlini <pcarlini (a] suse.de> 6570 1.1 mrg 6571 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc: 6572 1.1 mrg Remove redundant #include. 6573 1.1 mrg * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise. 6574 1.1 mrg * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise, 6575 1.1 mrg re-enable normal testing. 6576 1.1 mrg * testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant 6577 1.1 mrg #include. 6578 1.1 mrg * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise. 6579 1.1 mrg * testsuite/27_io/basic_ostream/inserters_character/char/1.cc: 6580 1.1 mrg Likewise. 6581 1.1 mrg * testsuite/27_io/basic_ostream/inserters_character/char/2.cc: 6582 1.1 mrg Likewise. 6583 1.1 mrg * testsuite/27_io/basic_ostream/inserters_character/char/3.cc: 6584 1.1 mrg Likewise. 6585 1.1 mrg * testsuite/27_io/basic_ostream/inserters_character/char/4.cc: 6586 1.1 mrg Likewise. 6587 1.1 mrg * testsuite/27_io/basic_ostream/inserters_character/char/5.cc: 6588 1.1 mrg Likewise. 6589 1.1 mrg * testsuite/27_io/basic_ostream/inserters_character/char/6.cc: 6590 1.1 mrg Likewise. 6591 1.1 mrg * testsuite/27_io/basic_ostream/inserters_character/char/8.cc: 6592 1.1 mrg Likewise. 6593 1.1 mrg * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc: 6594 1.1 mrg More properly, #include <locale>. 6595 1.1 mrg * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc: 6596 1.1 mrg Remove redundant #include. 6597 1.1 mrg * testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise. 6598 1.1 mrg * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove 6599 1.1 mrg redundant DejaGnu directive. 6600 1.1 mrg * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove 6601 1.1 mrg redundant #include. 6602 1.1 mrg 6603 1.1 mrg 2004-01-06 Benjamin Kosnik <bkoz (a] redhat.com> 6604 1.1 mrg Stefan Olsson <stefan (a] snon.net> 6605 1.1 mrg 6606 1.1 mrg * scripts/check_performance: Use -pthread. 6607 1.1 mrg * testsuite/performance/allocator.cc: Tweaks, add list. 6608 1.1 mrg * testsuite/performance/allocator_thread.cc: New. 6609 1.1 mrg 6610 1.1 mrg 2004-01-06 Jerry Quinn <jlquinn (a] optonline.net> 6611 1.1 mrg 6612 1.1 mrg * include/bits/locale_facets.h: Document public classes and 6613 1.1 mrg functions. 6614 1.1 mrg * include/bits/locale_facets.tcc (time_get::_M_extract_via_format): 6615 1.1 mrg Add comment. 6616 1.1 mrg 6617 1.1 mrg 2004-01-06 Paolo Carlini <pcarlini (a] suse.de> 6618 1.1 mrg 6619 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/char/1.cc: 6620 1.1 mrg Remove redundant #includes. 6621 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/char/2.cc: 6622 1.1 mrg Likewise. 6623 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/char/3.cc: 6624 1.1 mrg Likewise. 6625 1.1 mrg * testsuite/27_io/basic_istream/get/char/1.cc: Likewise. 6626 1.1 mrg * testsuite/27_io/basic_istream/get/char/2.cc: Likewise. 6627 1.1 mrg * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise. 6628 1.1 mrg * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise. 6629 1.1 mrg * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise. 6630 1.1 mrg * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise. 6631 1.1 mrg * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise. 6632 1.1 mrg * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise. 6633 1.1 mrg * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise. 6634 1.1 mrg * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise. 6635 1.1 mrg * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise. 6636 1.1 mrg * testsuite/27_io/basic_istream/read/char/1.cc: Likewise. 6637 1.1 mrg * testsuite/27_io/basic_istream/read/char/2.cc: Likewise. 6638 1.1 mrg * testsuite/27_io/basic_istream/read/char/3.cc: Likewise. 6639 1.1 mrg * testsuite/27_io/basic_istream/readsome/char/6746-1.cc: 6640 1.1 mrg Likewise. 6641 1.1 mrg * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: 6642 1.1 mrg Likewise. 6643 1.1 mrg * testsuite/27_io/basic_istream/readsome/char/8258.cc: 6644 1.1 mrg Likewise. 6645 1.1 mrg * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc: 6646 1.1 mrg Likewise. 6647 1.1 mrg * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc: 6648 1.1 mrg Likewise. 6649 1.1 mrg * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise. 6650 1.1 mrg * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise. 6651 1.1 mrg * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise. 6652 1.1 mrg 6653 1.1 mrg 2004-01-04 Paolo Carlini <pcarlini (a] suse.de> 6654 1.1 mrg 6655 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: 6656 1.1 mrg Remove redundant #includes. 6657 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: 6658 1.1 mrg Likewise. 6659 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: 6660 1.1 mrg Likewise. 6661 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: 6662 1.1 mrg Likewise. 6663 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: 6664 1.1 mrg Likewise. 6665 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: 6666 1.1 mrg Likewise. 6667 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: 6668 1.1 mrg Likewise. 6669 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: 6670 1.1 mrg Likewise. 6671 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc: 6672 1.1 mrg Likewise. 6673 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc: 6674 1.1 mrg Likewise. 6675 1.1 mrg * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: 6676 1.1 mrg Likewise. 6677 1.1 mrg * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: 6678 1.1 mrg Likewise. 6679 1.1 mrg * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: 6680 1.1 mrg Likewise. 6681 1.1 mrg 6682 1.1 mrg 2004-01-04 Mark Mitchell <mark (a] codesourcery.com> 6683 1.1 mrg 6684 1.1 mrg PR c++/12226 6685 1.1 mrg * testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy 6686 1.1 mrg constructor. 6687 1.1 mrg * testsuite/27_io/basic_fstream/4.cc: Likewise. 6688 1.1 mrg * testsuite/27_io/basic_ifstream/4.cc: Likewise. 6689 1.1 mrg * testsuite/27_io/basic_ios/4.cc: Likewise. 6690 1.1 mrg * testsuite/27_io/basic_iostream/4.cc: Likewise. 6691 1.1 mrg * testsuite/27_io/basic_istream/4.cc: Likewise. 6692 1.1 mrg * testsuite/27_io/basic_istingstream/4.cc: Likewise. 6693 1.1 mrg * testsuite/27_io/basic_ofstream/4.cc: Likewise. 6694 1.1 mrg * testsuite/27_io/basic_ostream/4.cc: Likewise. 6695 1.1 mrg * testsuite/27_io/basic_ostringstream/4.cc: Likewise. 6696 1.1 mrg * testsuite/27_io/basic_stringbuf/5.cc: Likewise. 6697 1.1 mrg * testsuite/27_io/basic_stringstream/4.cc: Likewise. 6698 1.1 mrg 6699 1.1 mrg 2004-01-04 Paolo Carlini <pcarlini (a] suse.de> 6700 1.1 mrg 6701 1.1 mrg * config/locale/generic/numeric_members.cc (_M_initialize_numpunct): 6702 1.1 mrg Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in; 6703 1.1 mrg always use double underscored names. 6704 1.1 mrg * config/locale/gnu/numeric_members.cc (_M_initialize_numpunct): 6705 1.1 mrg Likewise. 6706 1.1 mrg * include/bits/locale_facets.h (struct __numpunct_cache): 6707 1.1 mrg Dimension _M_atoms_out and _M_atoms_in one position smaller. 6708 1.1 mrg (__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out 6709 1.1 mrg and _M_atoms_in. 6710 1.1.1.2 mrg 6712 1.1.1.2 mrg Copyright (C) 2004 Free Software Foundation, Inc. 6713 1.1.1.2 mrg 6714 1.1.1.2 mrg Copying and distribution of this file, with or without modification, 6715 1.1.1.2 mrg are permitted in any medium without royalty provided the copyright 6716 notice and this notice are preserved. 6717