mips.c (mips_compute_frame_info): Skip re-computing the frame info after reload completed.

* config/mips/mips.c (mips_compute_frame_info): Skip re-computing
        the frame info after reload completed.

From-SVN: r232803
This commit is contained in:
Bernd Edlinger 2016-01-25 20:33:52 +00:00 committed by Bernd Edlinger
parent 2c89b952c7
commit a4ea172334
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2016-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
* config/mips/mips.c (mips_compute_frame_info): Skip re-computing
the frame info after reload completed.
2016-01-25 Jeff Law <law@redhat.com> 2016-01-25 Jeff Law <law@redhat.com>
PR tree-optimization/69196 PR tree-optimization/69196

View File

@ -10321,6 +10321,10 @@ mips_compute_frame_info (void)
HOST_WIDE_INT offset, size; HOST_WIDE_INT offset, size;
unsigned int regno, i; unsigned int regno, i;
/* Skip re-computing the frame info after reload completed. */
if (reload_completed)
return;
/* Set this function's interrupt properties. */ /* Set this function's interrupt properties. */
if (mips_interrupt_type_p (TREE_TYPE (current_function_decl))) if (mips_interrupt_type_p (TREE_TYPE (current_function_decl)))
{ {