diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/mips/mips.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1ab9c92..26433bb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2007-10-19 Richard Sandiford <rsandifo@nildram.co.uk> + * config/mips/mips.c (mips16e_build_save_restore): Fix *OFFSET_PTR + calculation. + +2007-10-19 Richard Sandiford <rsandifo@nildram.co.uk> + * config/mips/mips.c (mips_call_tls_get_addr): Don't claim that the call uses the incoming value of $2. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index ad54d77..781388a 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -7488,7 +7488,7 @@ mips16e_build_save_restore (bool restore_p, unsigned int *mask_ptr, } /* Tell the caller what offset it should use for the remaining registers. */ - *offset_ptr = size + (offset - top_offset) + size; + *offset_ptr = size + (offset - top_offset); gcc_assert (n == XVECLEN (pattern, 0)); |
