2006-08-31 Richard Guenther <rguenther@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Aug 2006 19:52:16 +0000 (19:52 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Aug 2006 19:52:16 +0000 (19:52 +0000)
* include/ext/mt_allocator.h: Remove volatile qualifiers
from data members and corresponding locals and function
signatures.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116606 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/mt_allocator.h

index 49414d9..8fe4374 100644 (file)
@@ -1,3 +1,9 @@
+2006-08-31  Richard Guenther  <rguenther@suse.de>
+
+       * include/ext/mt_allocator.h: Remove volatile qualifiers
+       from data members and corresponding locals and function
+       signatures.
+
 2006-08-31  Paolo Carlini  <pcarlini@suse.de>
 
        * config/abi/pre/gnu.ver: Correct atomic helper function signature
index 07de3ed..ae20d16 100644 (file)
@@ -195,13 +195,13 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
       union _Block_record
       {
        // Points to the block_record of the next free block.
-       _Block_record* volatile         _M_next;
+       _Block_record*                  _M_next;
       };
 
       struct _Bin_record
       {
        // An "array" of pointers to the first free block.
-       _Block_record** volatile        _M_first;
+       _Block_record**                 _M_first;
 
        // A list of the initial addresses of all allocated blocks.
        _Block_address*                 _M_address;
@@ -244,7 +244,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
       // An "array" of bin_records each of which represents a specific
       // power of 2 size. Memory to this "array" is allocated in
       // _M_initialize().
-      _Bin_record* volatile    _M_bin;
+      _Bin_record*              _M_bin;
       
       // Actual value calculated in _M_initialize().
       size_t                   _M_bin_size;     
@@ -271,7 +271,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
       struct _Thread_record
       {
        // Points to next free thread id record. NULL if last record in list.
-       _Thread_record* volatile        _M_next;
+       _Thread_record*                 _M_next;
        
        // Thread id ranging from 1 to _S_max_threads.
        size_t                          _M_id;
@@ -280,7 +280,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
       union _Block_record
       {
        // Points to the block_record of the next free block.
-       _Block_record* volatile         _M_next;
+       _Block_record*                  _M_next;
        
        // The thread id of the thread which has requested this block.
        size_t                          _M_thread_id;
@@ -291,7 +291,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
        // An "array" of pointers to the first free block for each
        // thread id. Memory to this "array" is allocated in
        // _S_initialize() for _S_max_threads + global pool 0.
-       _Block_record** volatile        _M_first;
+       _Block_record**                 _M_first;
        
        // A list of the initial addresses of all allocated blocks.
        _Block_address*                 _M_address;
@@ -300,8 +300,8 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
        // blocks that are on the freelist/used for each thread id.
        // Memory to these "arrays" is allocated in _S_initialize() for
        // _S_max_threads + global pool 0.
-       size_t* volatile                _M_free;
-       size_t* volatile                _M_used;
+       size_t*                         _M_free;
+       size_t*                         _M_used;
        
        // Each bin has its own mutex which is used to ensure data
        // integrity while changing "ownership" on a block.  The mutex
@@ -365,7 +365,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
       // An "array" of bin_records each of which represents a specific
       // power of 2 size. Memory to this "array" is allocated in
       // _M_initialize().
-      _Bin_record* volatile    _M_bin;
+      _Bin_record*             _M_bin;
 
       // Actual value calculated in _M_initialize().
       size_t                   _M_bin_size;