diff options
author | Bernd Schmidt <bernds@cygnus.co.uk> | 1999-07-22 13:40:14 +0000 |
---|---|---|
committer | Bernd Schmidt <crux@gcc.gnu.org> | 1999-07-22 13:40:14 +0000 |
commit | 5f5780e6ad305ed6f932d72076a3b9318220c584 (patch) | |
tree | 2f5c1416b26f9ad72d1047777f0dab07ff601ac7 /gcc | |
parent | 67ebece1ad145815208bef3cc7521fbb201ff502 (diff) | |
download | gcc-5f5780e6ad305ed6f932d72076a3b9318220c584.zip gcc-5f5780e6ad305ed6f932d72076a3b9318220c584.tar.gz gcc-5f5780e6ad305ed6f932d72076a3b9318220c584.tar.bz2 |
Fix a typo in arm_print_operand.
From-SVN: r28219
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f27596e..ce5ddae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk> + + * 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 <bernds@cygnus.co.uk> * builtins.c: New file. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index a0945b3..2f1e7d9 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': |