From: Richard Henderson Date: Fri, 28 Jul 2000 19:46:18 +0000 (-0700) Subject: ia64.c (ia64_print_operand): Fix typos. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08012cdae4c361b3ca10be0f00b8576042242043;p=gcc.git ia64.c (ia64_print_operand): Fix typos. * config/ia64/ia64.c (ia64_print_operand): Fix typos. Sign extend mode size before negating. From-SVN: r35324 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index af5255c2464..32ac1a93ccf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-07-28 Richard Henderson + + * config/ia64/ia64.c (ia64_print_operand): Fix typos. + Sign extend mode size before negating. + 2000-07-28 Richard Henderson * emit-rtl.c (gen_lowpart_common): Add missing 'c' variable. diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index c8de224beba..6b877b5c8ca 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -1998,10 +1998,10 @@ ia64_print_operand (file, x, code) case POST_MODIFY: x = XEXP (XEXP (XEXP (x, 0), 1), 1); if (GET_CODE (x) == CONST_INT) - value = INTVAL (y); + value = INTVAL (x); else if (GET_CODE (x) == REG) { - fprintf (file, ", %s", reg_names[REGNO (y)]); + fprintf (file, ", %s", reg_names[REGNO (x)]); return; } else @@ -2020,7 +2020,7 @@ ia64_print_operand (file, x, code) break; case POST_DEC: - value = - GET_MODE_SIZE (GET_MODE (x)); + value = - (HOST_WIDE_INT) GET_MODE_SIZE (GET_MODE (x)); if (value == -12) value = -16; break;