OSDN Git Service

Update FSF address.
[pf3gnuchains/gcc-fork.git] / gcc / genoutput.c
index eea252a..bbf6200 100644 (file)
@@ -1,5 +1,5 @@
 /* Generate code from to output assembler insns as recognized from rtl.
-   Copyright (C) 1987, 1988, 1992 Free Software Foundation, Inc.
+   Copyright (C) 1987, 1988, 1992, 1994, 1995 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -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
-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.  */
 
 
 /* This program reads the machine description for the compiler target machine
@@ -222,7 +223,7 @@ output_epilogue ()
   printf ("\nrtx (*const insn_gen_function[]) () =\n  {\n");
   for (d = insn_data; d; d = d->next)
     {
-      if (d->name)
+      if (d->name && d->name[0] != '*')
        printf ("    gen_%s,\n", d->name);
       else
        printf ("    0,\n");
@@ -237,7 +238,7 @@ output_epilogue ()
     char * next_name;
     register struct data *n;
 
-    for (n = insn_data, next = 0; n; n = n->next, next++)
+    for (n = insn_data, next = 1; n; n = n->next, next++)
       if (n->name)
        {
          next_name = n->name;
@@ -989,7 +990,7 @@ main (argc, argv)
 
 static int
 n_occurrences (c, s)
-     char c;
+     int c;
      char *s;
 {
   int n = 0;