]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
AVR: Fix a nit in avr-passes.cc::absint_t.dump().
authorGeorg-Johann Lay <avr@gjlay.de>
Thu, 21 Nov 2024 16:52:26 +0000 (17:52 +0100)
committerGeorg-Johann Lay <avr@gjlay.de>
Thu, 21 Nov 2024 16:56:34 +0000 (17:56 +0100)
gcc/
* config/avr/avr-passes.cc (absint_t::dump): Fix missing
newline in dump.

gcc/config/avr/avr-passes.cc

index 3d55cf885c2ab240154bfa6b268600b056215a96..49473efbb0d389e49edc09e8022d26b7bc8857d6 100644 (file)
@@ -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