From 08012cdae4c361b3ca10be0f00b8576042242043 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 28 Jul 2000 12:46:18 -0700 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/ia64/ia64.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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; -- 2.30.2