OSDN Git Service

PR fortran/40539 Document LOGICAL representation
[pf3gnuchains/gcc-fork.git] / gcc / ira-costs.c
index 4b9d29f..9e11219 100644 (file)
@@ -367,7 +367,7 @@ record_reg_classes (int n_alts, int n_ops, rtx *ops,
                  continue;
                }
            }
-         
+
          /* Scan all the constraint letters.  See if the operand
             matches any of the constraints.  Collect the valid
             register classes and see if this operand accepts
@@ -651,7 +651,7 @@ record_reg_classes (int n_alts, int n_ops, rtx *ops,
       {
        ira_allocno_t a;
        rtx op = ops[i];
-       
+
        if (! REG_P (op) || REGNO (op) < FIRST_PSEUDO_REGISTER)
          continue;
        a = ira_curr_regno_allocno_map [REGNO (op)];
@@ -703,7 +703,7 @@ record_reg_classes (int n_alts, int n_ops, rtx *ops,
                          if (! TEST_HARD_REG_BIT (reg_class_contents[rclass],
                                                   regno + nr))
                            break;
-                       
+
                        if (nr == (unsigned) hard_regno_nregs[regno][mode])
                          op_costs[i]->cost[k] = -frequency;
                      }
@@ -1180,7 +1180,7 @@ find_costs_and_classes (FILE *dump_file)
     {
       ira_allocno_t a;
       ira_allocno_iterator ai;
-      
+
       pref = pref_buffer;
       FOR_EACH_ALLOCNO (a, ai)
        pref[ALLOCNO_NUM (a)] = reg_preferred_class (ALLOCNO_REGNO (a));
@@ -1375,7 +1375,7 @@ find_costs_and_classes (FILE *dump_file)
              if (regno_cover_class[i] == NO_REGS)
                best = NO_REGS;
              else
-               {             
+               {
                  /* Finding best class which is subset of the common
                     class.  */
                  best_cost = (1 << (HOST_BITS_PER_INT - 2)) - 1;
@@ -1435,7 +1435,7 @@ find_costs_and_classes (FILE *dump_file)
              pref[a_num] = best;
            }
        }
-      
+
       if (internal_flag_ira_verbose > 4 && dump_file)
        {
          if (allocno_p)
@@ -1534,7 +1534,6 @@ setup_allocno_cover_class_and_costs (void)
   int i, j, n, regno, num;
   int *reg_costs;
   enum reg_class cover_class, rclass;
-  enum machine_mode mode;
   ira_allocno_t a;
   ira_allocno_iterator ai;
 
@@ -1542,7 +1541,6 @@ setup_allocno_cover_class_and_costs (void)
   FOR_EACH_ALLOCNO (a, ai)
     {
       i = ALLOCNO_NUM (a);
-      mode = ALLOCNO_MODE (a);
       cover_class = regno_cover_class[ALLOCNO_REGNO (a)];
       ira_assert (pref[i] == NO_REGS || cover_class != NO_REGS);
       ALLOCNO_MEMORY_COST (a) = COSTS (costs, i)->mem_cost;