From: Bernd Schmidt Date: Thu, 22 Jul 1999 13:40:14 +0000 (+0000) Subject: Fix a typo in arm_print_operand. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f5780e6ad305ed6f932d72076a3b9318220c584;p=gcc.git Fix a typo in arm_print_operand. From-SVN: r28219 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f27596e24b5..ce5ddaea9ce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Jul 22 14:34:59 1999 Bernd Schmidt + + * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case + (use NUM_REGS instead of NUM_INTS). + Thu Jul 22 11:25:20 1999 Bernd Schmidt * builtins.c: New file. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index a0945b302ef..2f1e7d9a1df 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -6104,7 +6104,7 @@ arm_print_operand (stream, x, code) case 'M': asm_fprintf (stream, "{%R%s-%R%s}", reg_names[REGNO (x)], - reg_names[REGNO (x) + NUM_INTS (GET_MODE (x)) - 1]); + reg_names[REGNO (x) + NUM_REGS (GET_MODE (x)) - 1]); return; case 'd':