Patchwork libgo patch committed: Use abort, not std::abort, in C code

login
register
mail settings
Submitter Ian Taylor
Date July 11, 2011, 8:16 p.m.
Message ID <mcrbox0shdn.fsf@coign.corp.google.com>
Download mbox | patch
Permalink /patch/104281/
State New
Headers show

Comments

Ian Taylor - July 11, 2011, 8:16 p.m.
This patch changes std::abort() to abort() in C code.  I'm not sure how
this was working previously.  Bootstrapped on x86_64-unknown-linux-gnu.
Committed to mainline.

Ian

Patch

diff -r 3291a9609c87 libgo/runtime/go-unwind.c
--- a/libgo/runtime/go-unwind.c	Thu Jul 07 09:48:11 2011 -0700
+++ b/libgo/runtime/go-unwind.c	Mon Jul 11 09:59:04 2011 -0700
@@ -293,7 +293,7 @@ 
       break;
 
     default:
-      std::abort();
+      abort();
     }
   actions |= state & _US_FORCE_UNWIND;