]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix unprototyped abort() introduced in libstdc++/58659.cc testcase.
authorMarcus Shawcroft <marcus.shawcroft@arm.com>
Wed, 9 Oct 2013 14:26:52 +0000 (14:26 +0000)
committerMarcus Shawcroft <mshawcroft@gcc.gnu.org>
Wed, 9 Oct 2013 14:26:52 +0000 (14:26 +0000)
From-SVN: r203321

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/shared_ptr/cons/58659.cc

index 1716af6d1c0fe451ed5c7eeec1213f1a74a42e55..60978e8a17df7c59cfa01727a46ce6a95292d4ee 100644 (file)
@@ -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.
index 5e7c730e3ee62dde742f51a7d12321803dcaec1a..1b823bc50e2a52f6383be25c9149e819f6289c41 100644 (file)
@@ -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;
       }