]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/bi-arity.c
(chkr_{check_addr,set_right}_libfunc): New definitions.
[gcc.git] / gcc / bi-arity.c
index 0b728974497a51da8f6457831bd3470938a4737a..ea1f3e1de0869eb9c9f9d944e0e27719d5cf5965 100644 (file)
@@ -15,7 +15,8 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with GNU CC; see the file COPYING.  If not, write to
 
 You should have received a copy of the GNU General Public License
 along with GNU CC; see the file COPYING.  If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
 
 
 #include <stdio.h>
 
 
 #include <stdio.h>
@@ -49,7 +50,7 @@ main ()
        printf ("{ %d, %d, %d, {", length (v->inputs),
               length (v->outputs), length (v->literals));
        for (n = v->literals; n; n = n->next)
        printf ("{ %d, %d, %d, {", length (v->inputs),
               length (v->outputs), length (v->literals));
        for (n = v->literals; n; n = n->next)
-         printf ("%scode, ", n->text);
+         printf ("(char) %scode, ", n->text);
        if (v->literals == 0)
          printf ("0");
        printf ("}},\n");
        if (v->literals == 0)
          printf ("0");
        printf ("}},\n");
@@ -62,7 +63,8 @@ main ()
 }
 
 /* Safely allocate NBYTES bytes of memory. Returns pointer to block of
 }
 
 /* Safely allocate NBYTES bytes of memory. Returns pointer to block of
-   memory. */
+   memory.  */
+
 char *
 xmalloc (nbytes)
      int nbytes;
 char *
 xmalloc (nbytes)
      int nbytes;
@@ -77,3 +79,13 @@ xmalloc (nbytes)
 
   return tmp;
 }
 
   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);
+}
This page took 0.029019 seconds and 5 git commands to generate.