From a4ea172334a511739c98a1abe725363cf3ab096c Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Mon, 25 Jan 2016 20:33:52 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d9d59d77710..7e63b598e00 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-01-25 Bernd Edlinger + + * config/mips/mips.c (mips_compute_frame_info): Skip re-computing + the frame info after reload completed. + 2016-01-25 Jeff Law PR tree-optimization/69196 diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index dd54d6ab37a..890e947c094 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -10321,6 +10321,10 @@ mips_compute_frame_info (void) HOST_WIDE_INT offset, size; unsigned int regno, i; + /* Skip re-computing the frame info after reload completed. */ + if (reload_completed) + return; + /* Set this function's interrupt properties. */ if (mips_interrupt_type_p (TREE_TYPE (current_function_decl))) {