re PR libstdc++/9582 (ODR violation in std::allocator)
authorPaolo Carlini <pcarlini@unitus.it>
Tue, 18 Feb 2003 10:54:37 +0000 (11:54 +0100)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 18 Feb 2003 10:54:37 +0000 (10:54 +0000)
2003-02-18  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9582
* include/bits/stl_alloc.h (__pool_alloc::allocate):
Remove assert.

From-SVN: r63031

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_alloc.h

index f3fb9fe96e42d0ba220b09a9d62183f7c77b6758..46a80698abaf0beb3b007283c2f6b29e715ec6d4 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
+
+       PR libstdc++/9582
+       * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
+
 2003-02-17  Benjamin Kosnik  <bkoz@redhat.com>
 
        * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
index 96b51d18981a5648d74895231b0b82977c3bcb97..92029ea936c0116dc96f934815d66db793b492f0 100644 (file)
@@ -352,8 +352,6 @@ namespace std
              __atomic_add(&_S_force_new, 1);
            else
              __atomic_add(&_S_force_new, -1);
-           // Trust but verify...
-           assert(_S_force_new != 0);
          }
 
        if ((__n > (size_t) _MAX_BYTES) || (_S_force_new > 0))