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

Submitted by Ian Taylor on July 11, 2011, 8:16 p.m.

Details

Message ID mcrbox0shdn.fsf@coign.corp.google.com
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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;