aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoern Rennecke <amylaar@spamcop.net>2010-12-31 13:42:20 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2010-12-31 13:42:20 +0000
commit522654e6985314f23144dfb70f2bebc85d811623 (patch)
treee1a2e38f8db5998b1534bad55a42b768e66d239d /gcc
parentb7b79b54892848c98fe0d0e8d097a947f0d26f39 (diff)
downloadgcc-522654e6985314f23144dfb70f2bebc85d811623.zip
gcc-522654e6985314f23144dfb70f2bebc85d811623.tar.gz
gcc-522654e6985314f23144dfb70f2bebc85d811623.tar.bz2
re PR target/47135 (pdp11.c: incompatible type for TARGET_PRINT_OPERAND_PUNCT_VALID_P)
PR target/47135 * config/pdp11/pdp11.c (pdp11_asm_print_operand_punct_valid_p): Change type to match target.def . From-SVN: r168376
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/pdp11/pdp11.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 39fd47a..c02d742 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -33,6 +33,10 @@
(MIPS_CPU_STRING_DEFAULT): Undef before defining.
(MULTILIB_DEFAULTS, MIPS_ABI_DEFAULT, SUBTARGET_CC1_SPEC): Likewise.
+ PR target/47135
+ * config/pdp11/pdp11.c (pdp11_asm_print_operand_punct_valid_p): Change
+ type to match target.def .
+
2010-12-30 Mingjie Xing <mingjie.xing@gmail.com>
* config/mips/mips.h (SHIFT_COUNT_TRUNCATED): Change
diff --git a/gcc/config/pdp11/pdp11.c b/gcc/config/pdp11/pdp11.c
index 21f97d2..b6ed979 100644
--- a/gcc/config/pdp11/pdp11.c
+++ b/gcc/config/pdp11/pdp11.c
@@ -770,7 +770,7 @@ pdp11_asm_print_operand (FILE *file, rtx x, int code)
}
static bool
-pdp11_asm_print_operand_punct_valid_p (char c)
+pdp11_asm_print_operand_punct_valid_p (unsigned char c)
{
return (c == '#' || c == '@');
}