Commit 89a0b917 by Nick Clifton Committed by Nick Clifton

config/avr/avr.c (legitimate_address_p): Fix debugging print statement to avoid

displaying ASCII control characters.

From-SVN: r102161
parent cac78d37
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
* config/i386/i386.md (lrint<mode>2): Use temporary * config/i386/i386.md (lrint<mode>2): Use temporary
instead of clobbering non-existent memory. 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> 2005-07-19 Ben Elliston <bje@au.ibm.com>
* bt-load.c (link_btr_uses): Fix uninitialised warnings. * bt-load.c (link_btr_uses): Fix uninitialised warnings.
......
...@@ -950,7 +950,7 @@ legitimate_address_p (enum machine_mode mode, rtx x, int strict) ...@@ -950,7 +950,7 @@ legitimate_address_p (enum machine_mode mode, rtx x, int strict)
} }
if (TARGET_ALL_DEBUG) if (TARGET_ALL_DEBUG)
{ {
fprintf (stderr, " ret = %c\n", r); fprintf (stderr, " ret = %c\n", r + '0');
} }
return r == NO_REGS ? 0 : (int)r; return r == NO_REGS ? 0 : (int)r;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment