aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-07-19 16:33:17 +0000
committerNick Clifton <nickc@gcc.gnu.org>2005-07-19 16:33:17 +0000
commit89a0b917ad42084fcadd237119beca05b5b18edf (patch)
tree12290900d9610c686de0afe630e9dca53bd68b18 /gcc/config
parentcac78d37bf19db1f4b818486c3a16db698bcbead (diff)
downloadgcc-89a0b917ad42084fcadd237119beca05b5b18edf.zip
gcc-89a0b917ad42084fcadd237119beca05b5b18edf.tar.gz
gcc-89a0b917ad42084fcadd237119beca05b5b18edf.tar.bz2
config/avr/avr.c (legitimate_address_p): Fix debugging print statement to avoid
displaying ASCII control characters. From-SVN: r102161
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/avr/avr.c2
1 files changed, 1 insertions, 1 deletions
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;
}