mirror of git://gcc.gnu.org/git/gcc.git
Fix unprototyped abort() introduced in libstdc++/58659.cc testcase.
From-SVN: r203321
This commit is contained in:
parent
c1bf2a39b3
commit
57b4899877
|
|
@ -1,3 +1,7 @@
|
|||
2013-10-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
||||
|
||||
* testsuite/20_util/shared_ptr/cons/58659.cc: Use __builtin_abort().
|
||||
|
||||
2013-10-08 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||
|
||||
* testsuite/*: Remove stray semi-colons after function definitions.
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ namespace std
|
|||
void deallocate(value_type* p, size_t n)
|
||||
{
|
||||
if (n != 1 || p != (void*)storage || !allocated)
|
||||
abort();
|
||||
__builtin_abort();
|
||||
allocated = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue