mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-08 22:31:40 +08:00
58659.cc: Use VERIFY instead of aborting.
* testsuite/20_util/shared_ptr/cons/58659.cc: Use VERIFY instead of aborting. From-SVN: r203325
This commit is contained in:
parent
2431114fa0
commit
fd673f296a
@ -1,3 +1,8 @@
|
||||
2013-10-09 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||
|
||||
* testsuite/20_util/shared_ptr/cons/58659.cc: Use VERIFY instead of
|
||||
aborting.
|
||||
|
||||
2013-10-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
||||
|
||||
* testsuite/20_util/shared_ptr/cons/58659.cc: Use __builtin_abort().
|
||||
|
@ -47,8 +47,7 @@ namespace std
|
||||
|
||||
void deallocate(value_type* p, size_t n)
|
||||
{
|
||||
if (n != 1 || p != (void*)storage || !allocated)
|
||||
__builtin_abort();
|
||||
VERIFY(n == 1 && p == (void*)storage && allocated);
|
||||
allocated = false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user