OSDN Git Service

* config/darwin-c.c (add_framework): Copy the directory name as it
[pf3gnuchains/gcc-fork.git] / gcc / genflags.c
index 1eb3a73..d310273 100644 (file)
@@ -2,7 +2,7 @@
    - some flags HAVE_... saying which simple standard instructions are
    available for this machine.
    Copyright (C) 1987, 1991, 1995, 1998,
-   1999, 2000, 2003 Free Software Foundation, Inc.
+   1999, 2000, 2003, 2004 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -179,13 +179,11 @@ gen_proto (rtx insn)
        {
          putchar ('(');
          for (i = 0; i < num-1; i++)
-           printf ("%c, ", 'a' + i);
-         printf ("%c)\n", 'a' + i);
-         for (i = 0; i < num; i++)
-           printf ("     rtx %c ATTRIBUTE_UNUSED;\n", 'a' + i);
+           printf ("rtx %c ATTRIBUTE_UNUSED, ", 'a' + i);
+         printf ("rtx %c ATTRIBUTE_UNUSED)\n", 'a' + i);
        }
       else
-       puts ("()");
+       puts ("(void)");
       puts ("{\n  return 0;\n}");
     }
 
@@ -211,7 +209,7 @@ gen_insn (rtx insn)
     max_id_len = len;
 
   if (truth == 0)
-    /* emit nothing */;
+    /* Emit nothing.  */;
   else if (truth == 1)
     printf ("#define HAVE_%s 1\n", name);
   else