summaryrefslogtreecommitdiff
path: root/gcc/cfglayout.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-18 21:08:38 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-18 21:08:38 +0000
commit1eefcaee16a1dab7f50551ba1370aafd5a2f69ee (patch)
treeac49e6991cf94a0226441d0291cf1772f162ce65 /gcc/cfglayout.c
parent4a7f56876b1cf7336f85c888f2ced67e160b5765 (diff)
downloadgcc-1eefcaee16a1dab7f50551ba1370aafd5a2f69ee.tar.gz
PR middle-end/46515
* function.c (maybe_copy_prologue_epilogue_insn): Rename from maybe_copy_epilogue_insn; handle prologue insns as well. * rtl.h, cfglayout.c: Update for rename. * recog.c (peep2_attempt): Copy prologue/epilogue data for RTX_FRAME_RELATED_P insns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166920 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfglayout.c')
-rw-r--r--gcc/cfglayout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c
index be99991e8db..e883af4afab 100644
--- a/gcc/cfglayout.c
+++ b/gcc/cfglayout.c
@@ -1179,7 +1179,7 @@ duplicate_insn_chain (rtx from, rtx to)
|| GET_CODE (PATTERN (insn)) == ADDR_DIFF_VEC)
break;
copy = emit_copy_of_insn_after (insn, get_last_insn ());
- maybe_copy_epilogue_insn (insn, copy);
+ maybe_copy_prologue_epilogue_insn (insn, copy);
break;
case CODE_LABEL: