summaryrefslogtreecommitdiff
path: root/gcc/config/mips
diff options
context:
space:
mode:
authoredlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-25 20:33:52 +0000
committeredlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-25 20:33:52 +0000
commitb3c0f043d5236995ecdfc055dcc2c31a3ad56aa3 (patch)
treeffde292a8838096a9a5d510192f391ff2a3cb3c8 /gcc/config/mips
parent105cb8d7d33f0342bba023aed46ae98f6a30334b (diff)
downloadgcc-b3c0f043d5236995ecdfc055dcc2c31a3ad56aa3.tar.gz
* config/mips/mips.c (mips_compute_frame_info): Skip re-computing
the frame info after reload completed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232803 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips')
-rw-r--r--gcc/config/mips/mips.c4
1 files changed, 4 insertions, 0 deletions
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)))
{