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
This commit is contained in:
Joern Rennecke 2010-12-31 13:42:20 +00:00 committed by Joern Rennecke
parent b7b79b5489
commit 522654e698
2 changed files with 5 additions and 1 deletions

View File

@ -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

View 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 == '@');
}