------- Comment #1 from liqin at gcc dot gnu dot org 2007-05-10 08:21 ------- Index: gcc/config/score/score.c =================================================================== --- gcc/config/score/score.c (revision 124567) +++ gcc/config/score/score.c (working copy) @@ -1167,7 +1167,7 @@ score_print_operand (FILE *file, rtx op, { gcc_assert (code == CONST_INT); fprintf (file, HOST_WIDE_INT_PRINT_HEX, - (unsigned HOST_WIDE_INT) INTVAL (op) >> 16); + (INTVAL (op) >> 16) & 0xffff); } else if (c == 'D') { @@ -1175,7 +1175,7 @@ score_print_operand (FILE *file, rtx op, { rtx temp = gen_lowpart (SImode, op); gcc_assert (GET_MODE (op) == SFmode); - fprintf (file, HOST_WIDE_INT_PRINT_HEX, INTVAL (temp)); + fprintf (file, HOST_WIDE_INT_PRINT_HEX, INTVAL (temp) & 0xffff); } else output_addr_const (file, op);
-- liqin at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-05-10 08:21:37 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30474