aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2013-11-22 11:22:51 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2013-11-22 11:22:51 +0000
commit9ccf7d920e6b63ec830b499102bdc6f8ee38d1b3 (patch)
tree77232aea08622d326c2fa6174c45292b585f4e3d
parent72fd36d76a9ee9f8131b970a72c161e1e1cc25d0 (diff)
downloadgcc-9ccf7d920e6b63ec830b499102bdc6f8ee38d1b3.zip
gcc-9ccf7d920e6b63ec830b499102bdc6f8ee38d1b3.tar.gz
gcc-9ccf7d920e6b63ec830b499102bdc6f8ee38d1b3.tar.bz2
* print-rtl.c (print_rtx) <case MEM>: Output a space if no MEM_EXPR.
From-SVN: r205251
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/print-rtl.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b122c3f..ed35202 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-22 Eric Botcazou <ebotcazou@adacore.com>
+
+ * print-rtl.c (print_rtx) <case MEM>: Output a space if no MEM_EXPR.
+
2013-11-22 Richard Sandiford <rdsandiford@googlemail.com>
* config/m32c/cond.md (stzx_16): Use register_operand for operand 0.
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index 833bee9..a15ab5e 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -585,6 +585,8 @@ print_rtx (const_rtx in_rtx)
if (MEM_EXPR (in_rtx))
print_mem_expr (outfile, MEM_EXPR (in_rtx));
+ else
+ fputc (' ', outfile);
if (MEM_OFFSET_KNOWN_P (in_rtx))
fprintf (outfile, "+" HOST_WIDE_INT_PRINT_DEC, MEM_OFFSET (in_rtx));