diff mbox

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

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

Commit Message

Ian Lance Taylor July 11, 2011, 8:16 p.m. UTC
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
diff mbox

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;