OSDN Git Service

2004-03-08 Petur Runolfsson <peturr02@ru.is>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index e146e48..2b4eea2 100644 (file)
@@ -1,3 +1,58 @@
+2004-03-08  Petur Runolfsson  <peturr02@ru.is>
+
+       PR libstdc++/12658
+       * testsuite/22_locale/locale/cons/12658_thread.cc: New.
+
+2004-03-08  Paolo Carlini  <pcarlini@suse.de>
+
+       * docs/html/ext/howto.html: Add entry for DR 103 [WP].
+       * include/bits/stl_multiset.h: Add comment about DR 103.
+       * include/bits/stl_set.h: Likewise.
+
+2004-03-08  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/locale_facets.tcc (money_get<>::_M_extract):
+       The value _space_ indicates that at least one space is required
+       at that position.
+       * testsuite/22_locale/money_get/get/char/17.cc: New.
+       * testsuite/22_locale/money_get/get/wchar_t/17.cc: New.
+
+       * testsuite/22_locale/money_get/get/char/7.cc: Minor tweaks.
+       * testsuite/22_locale/money_get/get/wchar_t/7.cc: Likewise.
+
+       * include/bits/locale_facets.tcc (money_get<>::do_get(long_double&)):
+       Remove redundant conditional on __str.size().
+       
+2004-03-08  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/bits/allocator.h: Switch defaults to mt_alloc.
+
+2004-03-06  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/ext/mt_allocator.h (_S_initialize): If
+       !__GTHREAD_MUTEX_INIT, then initialize _S_thread_freelist_mutex.
+
+2004-03-06  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/12658
+       * src/locale_init.cc (locale::locale): Lock critical regions with
+       external mutexes.
+       (locale::global): Same. 
+       * include/bits/concurrence.h (__glibcxx_mutex_define_initialized): 
+       Add in once bits for cases without __GTHREAD_MUTEX_INIT.
+       (__glibcxx_mutex_lock): Same.
+
+       * config/cpu/generic/atomicity.h: Remove
+       _GLIBCXX_NEED_GENERIC_MUTEX, use concurrence.h.
+       * src/misc-inst.cc: Move all locking bits out of this file.
+
+       * config/os/hpux/os_defines.h: Remove _GLIBCXX_INST_ATOMICITY_LOCK.
+       * src/misc-inst.cc: Same.
+       * config/cpu/hppa/atomicity.h: Same.
+
+       * config/linker-map.gnu: Remove types in the signature of atomic
+       exports, as they may vary.
+       
 2004-03-06  Paolo Carlini  <pcarlini@suse.de>
 
        * include/bits/locale_facets.tcc: Tweak the comment preceding