re PR libstdc++/9582 (ODR violation in std::allocator)

2003-02-18  Paolo Carlini  <pcarlini@unitus.it>

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

From-SVN: r63031
This commit is contained in:
Paolo Carlini 2003-02-18 11:54:37 +01:00 committed by Paolo Carlini
parent f57a2e3a8a
commit 14a65f50b0
2 changed files with 5 additions and 2 deletions

View 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.

View 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))