From: Chung-Ju Wu Date: Fri, 21 Nov 2014 05:19:00 +0000 (+0000) Subject: [NDS32] Add missing RTX_FRAME_RELATED_P to set fp_adjust_insn rtx. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7064dcad59b39f4431d9695145ce4c7c7088d992;p=gcc.git [NDS32] Add missing RTX_FRAME_RELATED_P to set fp_adjust_insn rtx. gcc/ * config/nds32/nds32.c (nds32_expand_prologue): Set fp_adjust_insn as RTX_FRAME_RELATED_P rtx. From-SVN: r217902 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3c1efa71fcd..a66af1e074b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-11-21 Chung-Ju Wu + + * config/nds32/nds32.c (nds32_expand_prologue): Set fp_adjust_insn + as RTX_FRAME_RELATED_P rtx. + 2014-11-21 Chung-Ju Wu * config/nds32/nds32.opt (march): Add help message. diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c index 6fb2069cc54..156baf26022 100644 --- a/gcc/config/nds32/nds32.c +++ b/gcc/config/nds32/nds32.c @@ -2937,6 +2937,9 @@ nds32_expand_prologue (void) GEN_INT (fp_adjust)); /* Emit rtx into instructions list and receive INSN rtx form. */ fp_adjust_insn = emit_insn (fp_adjust_insn); + + /* The insn rtx 'fp_adjust_insn' will change frame layout. */ + RTX_FRAME_RELATED_P (fp_adjust_insn) = 1; } /* Adjust $sp = $sp - local_size - out_args_size