diff options
author | Richard Stallman <rms@gnu.org> | 1992-11-10 15:18:12 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-11-10 15:18:12 +0000 |
commit | bcd4420d2323967dc429e67e2ece24d806e92714 (patch) | |
tree | db709fb907358ecbc671707dcc1dd8d1b30db16d /gcc/print-rtl.c | |
parent | 6fdb556ec023fadf615bfab7856fc2f54cc7dc16 (diff) | |
download | gcc-bcd4420d2323967dc429e67e2ece24d806e92714.zip gcc-bcd4420d2323967dc429e67e2ece24d806e92714.tar.gz gcc-bcd4420d2323967dc429e67e2ece24d806e92714.tar.bz2 |
(print_rtx): Use sizeof spaces - 1 to get the length of the spaces string.
From-SVN: r2733
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r-- | gcc/print-rtl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index c77e61b..60e3ca9 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; |