Deleted Added
full compact
2c2
< Copyright (C) 1987, 1991, 1992, 1993 Free Software Foundation, Inc.
---
> Copyright (C) 1987, 91, 92, 93, 97, 1998 Free Software Foundation, Inc.
22d21
< #include <stdio.h>
23a23,28
> #ifdef __STDC__
> #include <stdarg.h>
> #else
> #include <varargs.h>
> #endif
> #include "system.h"
34,36d38
< extern void free ();
< extern rtx read_rtx ();
<
101,106c103,109
< static void walk_rtx ();
< static void print_path ();
< char *xmalloc ();
< char *xrealloc ();
< static void fatal ();
< static char *copystr ();
---
> static void gen_insn PROTO ((rtx));
> static void walk_rtx PROTO ((rtx, char *));
> static void print_path PROTO ((char *));
> char *xmalloc PROTO ((unsigned));
> char *xrealloc PROTO ((char *, unsigned));
> static void fatal PVPROTO ((char *, ...)) ATTRIBUTE_PRINTF_1;
> static char *copystr PROTO ((char *));
108c111
< void fancy_abort ();
---
> void fancy_abort PROTO ((void));
143c146
< /* See if we find something that already had this extraction method. */
---
> /* See if we find something that already had this extraction method. */
199d201
< register struct code_ptr *link;
277a280,282
>
> default:
> break;
315a321,328
> if (len == 0)
> {
> /* Don't emit "pat", since we may try to take the address of it,
> which isn't what is intended. */
> printf("PATTERN (insn)");
> return;
> }
>
365,366c378
< fatal (s, a1, a2)
< char *s;
---
> fatal VPROTO ((char *format, ...))
367a380,390
> #ifndef __STDC__
> char *format;
> #endif
> va_list ap;
>
> VA_START (ap, format);
>
> #ifndef __STDC__
> format = va_arg (ap, char *);
> #endif
>
369c392,393
< fprintf (stderr, s, a1, a2);
---
> vfprintf (stderr, format, ap);
> va_end (ap);
440a465
> printf ("#include \"system.h\"\n");
445c470
< printf ("static rtx junk;\n");
---
> printf ("static rtx junk ATTRIBUTE_UNUSED;\n");
457a483
> printf (" int i ATTRIBUTE_UNUSED;\n\n");
505,509c531,532
< printf ("#if __GNUC__ > 1 && !defined (bcopy)\n");
< printf ("#define bcopy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT)\n");
< printf ("#endif\n");
< printf (" bcopy (&XVECEXP (pat, 0, 0), ro,\n");
< printf (" sizeof (rtx) * XVECLEN (pat, 0));\n");
---
> printf (" for (i = XVECLEN (pat, 0) - 1; i >= 0; i--)\n");
> printf (" ro[i] = XVECEXP (pat, 0, i);\n");