summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-22 11:22:51 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-22 11:22:51 +0000
commitaf70b80f1ef890326c3ca03d1c11baa1f87cdb9e (patch)
tree77232aea08622d326c2fa6174c45292b585f4e3d
parent2f4d37378288f304bb4bea9bd567a667978887ad (diff)
downloadppe42-gcc-af70b80f1ef890326c3ca03d1c11baa1f87cdb9e.tar.gz
ppe42-gcc-af70b80f1ef890326c3ca03d1c11baa1f87cdb9e.zip
* print-rtl.c (print_rtx) <case MEM>: Output a space if no MEM_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205251 138bc75d-0d04-0410-961f-82ee72b054a4
-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 b122c3f52c9..ed352021220 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 833bee92f71..a15ab5e972c 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));
OpenPOWER on IntegriCloud