OSDN Git Service

Don't include xm-i386.h.
[pf3gnuchains/gcc-fork.git] / gcc / bi-arity.c
index da3607f..ea1f3e1 100644 (file)
@@ -63,7 +63,8 @@ main ()
 }
 
 /* Safely allocate NBYTES bytes of memory. Returns pointer to block of
-   memory. */
+   memory.  */
+
 char *
 xmalloc (nbytes)
      int nbytes;
@@ -78,3 +79,13 @@ xmalloc (nbytes)
 
   return tmp;
 }
+
+/* More 'friendly' abort that prints the line and file.
+   config.h can #define abort fancy_abort if you like that sort of thing.  */
+
+void
+fancy_abort ()
+{
+  fprintf (stderr, "Internal gcc abort.\n");
+  exit (FATAL_EXIT_CODE);
+}