]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/gimple-ssa-strength-reduction.c
decl.c, [...]: Remove redundant enum from machine_mode.
[thirdparty/gcc.git] / gcc / gimple-ssa-strength-reduction.c
index 58160194298a7cf8a9e9edd6ad3bec611631e964..4de84cfec171a3571965aa8da4c1826732082215 100644 (file)
@@ -679,7 +679,7 @@ static int
 stmt_cost (gimple gs, bool speed)
 {
   tree lhs, rhs1, rhs2;
-  enum machine_mode lhs_mode;
+  machine_mode lhs_mode;
 
   gcc_assert (is_gimple_assign (gs));
   lhs = gimple_assign_lhs (gs);
@@ -993,7 +993,7 @@ slsr_process_ref (gimple gs)
 {
   tree ref_expr, base, offset, type;
   HOST_WIDE_INT bitsize, bitpos;
-  enum machine_mode mode;
+  machine_mode mode;
   int unsignedp, volatilep;
   slsr_cand_t c;
 
@@ -2816,7 +2816,7 @@ total_savings (int repl_savings, slsr_cand_t c, const widest_int &incr,
    up sometime.  */
 
 static void
-analyze_increments (slsr_cand_t first_dep, enum machine_mode mode, bool speed)
+analyze_increments (slsr_cand_t first_dep, machine_mode mode, bool speed)
 {
   unsigned i;
 
@@ -3560,7 +3560,7 @@ analyze_candidates_and_replace (void)
         less expensive to calculate than the replaced statements.  */
       else
        {
-         enum machine_mode mode;
+         machine_mode mode;
          bool speed;
 
          /* Determine whether we'll be generating pointer arithmetic