From: Georg-Johann Lay Date: Thu, 21 Nov 2024 16:52:26 +0000 (+0100) Subject: AVR: Fix a nit in avr-passes.cc::absint_t.dump(). X-Git-Tag: basepoints/gcc-16~3985 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=938094abec2198f5984e0f8c99432700f2f212d9;p=thirdparty%2Fgcc.git AVR: Fix a nit in avr-passes.cc::absint_t.dump(). gcc/ * config/avr/avr-passes.cc (absint_t::dump): Fix missing newline in dump. --- diff --git a/gcc/config/avr/avr-passes.cc b/gcc/config/avr/avr-passes.cc index 3d55cf885c2a..49473efbb0d3 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