commit 71bee9612b7c97bd509d1b2d7bcc9e113935c4f2 Author: Jonathan Wakely Date: Wed Oct 9 19:07:01 2013 +0100 * testsuite/20_util/shared_ptr/cons/58659.cc: Use VERIFY instead of aborting. diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58659.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58659.cc index 1b823bc..9315796 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58659.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58659.cc @@ -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; }