Commit fd673f29 by Jonathan Wakely Committed by Jonathan Wakely

58659.cc: Use VERIFY instead of aborting.

	* testsuite/20_util/shared_ptr/cons/58659.cc: Use VERIFY instead of
	aborting.

From-SVN: r203325
parent 2431114f
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> 2013-10-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
* testsuite/20_util/shared_ptr/cons/58659.cc: Use __builtin_abort(). * testsuite/20_util/shared_ptr/cons/58659.cc: Use __builtin_abort().
......
...@@ -47,8 +47,7 @@ namespace std ...@@ -47,8 +47,7 @@ namespace std
void deallocate(value_type* p, size_t n) void deallocate(value_type* p, size_t n)
{ {
if (n != 1 || p != (void*)storage || !allocated) VERIFY(n == 1 && p == (void*)storage && allocated);
__builtin_abort();
allocated = false; allocated = false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment