OSDN Git Service

* config/sh/sh.md (prefetch): New pattern.
[pf3gnuchains/gcc-fork.git] / gcc / genattr.c
index 5877516..49f368e 100644 (file)
@@ -165,7 +165,7 @@ write_units (int num_units, struct range *multiplicity, struct range *simultanei
   printf ("#define BLOCKAGE_BITS %d\n", i + 1);
 
   /* INSN_QUEUE_SIZE is a power of two larger than MAX_BLOCKAGE and
-     MAX_READY_COST.  This is the longest time an isnsn may be queued.  */
+     MAX_READY_COST.  This is the longest time an insn may be queued.  */
   i = MAX (blockage->max, ready_cost->max);
   for (q_size = 1; q_size <= i; q_size <<= 1)
     ;
@@ -268,8 +268,7 @@ main (int argc, char **argv)
 
          if (unit == 0)
            {
-             unit = (struct function_unit *)
-               xmalloc (sizeof (struct function_unit));
+             unit = xmalloc (sizeof (struct function_unit));
              unit->name = xstrdup (name);
              unit->multiplicity = multiplicity;
              unit->simultaneity = simultaneity;
@@ -379,7 +378,6 @@ main (int argc, char **argv)
       printf ("   insns scheduling heuristics. */\n");
       printf ("extern int insn_alts (rtx);\n\n");
       printf ("#endif\n\n");
-      printf ("extern int internal_dfa_insn_code (rtx);\n\n");
       printf ("/* Maximal possible number of insns waiting results being\n");
       printf ("   produced by insns whose execution is not finished. */\n");
       printf ("extern int max_insn_queue_index;\n\n");