re PR target/47135 (pdp11.c: incompatible type for TARGET_PRINT_OPERAND_PUNCT_VALID_P)
authorJoern Rennecke <amylaar@spamcop.net>
Fri, 31 Dec 2010 13:42:20 +0000 (13:42 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Fri, 31 Dec 2010 13:42:20 +0000 (13:42 +0000)
PR target/47135
* config/pdp11/pdp11.c (pdp11_asm_print_operand_punct_valid_p): Change
type to match target.def .

From-SVN: r168376

gcc/ChangeLog
gcc/config/pdp11/pdp11.c

index 39fd47a378e50b082b516b4d62dc2b18fdf4f6c9..c02d742d719c4aa8b35965ca9162e56317ed8b83 100644 (file)
        (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
index 21f97d2127d770305ea4a4c5926a049ec45567e1..b6ed97989fcf5bba480f40fb1cca56402272fd81 100644 (file)
@@ -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 == '@');
 }