aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/avr/avr.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 39e630c..5cd749b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -24,6 +24,11 @@
* config/i386/i386.md (lrint<mode>2): Use temporary
instead of clobbering non-existent memory.
+2005-07-19 Nick Clifton <nickc@redhat.com>
+
+ * config/avr/avr.c (legitimate_address_p): Fix debugging print
+ statement to avoid displaying ASCII control characters.
+
2005-07-19 Ben Elliston <bje@au.ibm.com>
* bt-load.c (link_btr_uses): Fix uninitialised warnings.
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index e061021..ec519cf 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -950,7 +950,7 @@ legitimate_address_p (enum machine_mode mode, rtx x, int strict)
}
if (TARGET_ALL_DEBUG)
{
- fprintf (stderr, " ret = %c\n", r);
+ fprintf (stderr, " ret = %c\n", r + '0');
}
return r == NO_REGS ? 0 : (int)r;
}