Commit b87bc4e8 by Richard Sandiford Committed by Richard Sandiford

mips.c (mips16e_build_save_restore): Fix *OFFSET_PTR calculation.

gcc/
	* config/mips/mips.c (mips16e_build_save_restore): Fix *OFFSET_PTR
	calculation.

From-SVN: r129482
parent 2ac02d08
2007-10-19 Richard Sandiford <rsandifo@nildram.co.uk> 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 * config/mips/mips.c (mips_call_tls_get_addr): Don't claim that
the call uses the incoming value of $2. the call uses the incoming value of $2.
...@@ -7488,7 +7488,7 @@ mips16e_build_save_restore (bool restore_p, unsigned int *mask_ptr, ...@@ -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. */ /* 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)); gcc_assert (n == XVECLEN (pattern, 0));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment