aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
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