From: Richard Stallman Date: Tue, 10 Nov 1992 15:18:12 +0000 (+0000) Subject: (print_rtx): Use sizeof spaces - 1 to get the length of the spaces string. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bcd4420d2323967dc429e67e2ece24d806e92714;p=gcc.git (print_rtx): Use sizeof spaces - 1 to get the length of the spaces string. From-SVN: r2733 --- diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index c77e61bae1e..60e3ca929b3 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -64,7 +64,7 @@ print_rtx (in_rtx) if (sawclose) { fprintf (outfile, "\n%s", - (spaces + (sizeof spaces - indent * 2))); + (spaces + (sizeof spaces - 1 - indent * 2))); sawclose = 0; } @@ -132,7 +132,7 @@ print_rtx (in_rtx) if (sawclose) { fprintf (outfile, "\n%s", - (spaces + (sizeof spaces - indent * 2))); + (spaces + (sizeof spaces - 1 - indent * 2))); sawclose = 0; } fprintf (outfile, "[ "); @@ -149,7 +149,7 @@ print_rtx (in_rtx) } if (sawclose) fprintf (outfile, "\n%s", - (spaces + (sizeof spaces - indent * 2))); + (spaces + (sizeof spaces - 1 - indent * 2))); fprintf (outfile, "] "); sawclose = 1;