aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorChung-Ju Wu <jasonwucj@gmail.com>2014-11-21 05:19:00 +0000
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>2014-11-21 05:19:00 +0000
commit7064dcad59b39f4431d9695145ce4c7c7088d992 (patch)
tree88025a79d7e83be47431cc6a10ae4e38542434a0 /gcc
parent667a055aa775e874d7e7b5cd25d5ca6d65bbf686 (diff)
downloadgcc-7064dcad59b39f4431d9695145ce4c7c7088d992.zip
gcc-7064dcad59b39f4431d9695145ce4c7c7088d992.tar.gz
gcc-7064dcad59b39f4431d9695145ce4c7c7088d992.tar.bz2
[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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/nds32/nds32.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3c1efa7..a66af1e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2014-11-21 Chung-Ju Wu <jasonwucj@gmail.com>
+ * config/nds32/nds32.c (nds32_expand_prologue): Set fp_adjust_insn
+ as RTX_FRAME_RELATED_P rtx.
+
+2014-11-21 Chung-Ju Wu <jasonwucj@gmail.com>
+
* config/nds32/nds32.opt (march): Add help message.
2014-11-20 Patrick Palka <ppalka@gcc.gnu.org>
diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c
index 6fb2069..156baf2 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