diff --git a/gcc/config/avr/avr-passes.cc b/gcc/config/avr/avr-passes.cc
index 3d55cf885c2ab240154bfa6b268600b056215a96..49473efbb0d389e49edc09e8022d26b7bc8857d6 100644
--- a/gcc/config/avr/avr-passes.cc
+++ b/gcc/config/avr/avr-passes.cc
@@ -960,8 +960,9 @@ struct absint_t
 	    const int sub_regno = eq[i].regno (false /*nonstrict*/);
 	    const bool nop = regno &&  sub_regno == regno + i;
 	    eq[i].dump (nop ? "%s=nop" : "%s", f);
-	    fprintf (f, "%s", i ? "; " : xs + strlen ("%s"));
+	    fprintf (f, "%s", i ? "; " : "");
 	  }
+	fprintf (f, "%s", xs + strlen ("%s"));
       }
   }
 }; // absint_t